/* =========================================================
   Fotobudka Tashkent - стили сайта
   Цвета собраны в переменных ниже: поменяйте здесь - поменяется везде.
   Светлая тема: светло-серый фон, графитовый акцент.
   ========================================================= */
:root {
  --bg: #F1F0ED;        /* фон страницы - светло-серый, не чисто белый */
  --bg-2: #E8E7E3;      /* чуть темнее - для полос и выделенных блоков */
  --text: #161616;
  --ink: #161616;       /* темный текст на светлом */
  --muted: #55555B;
  --muted-2: #6B6B70;
  --card: #FFFFFF;
  --line: #E1E0DB;
  --line-2: #CCCAC4;
  --sep: #E1E0DB;
  --gold: #1B1B1F;      /* акцент (раньше был золотой) - графит */
  --gold-hover: #34343A;
  --gold-dark: #1B1B1F;
  --dark: #1B1B1F;      /* темные блоки (рамки, будка) */
  --on-dark: #F4F4F5;
  --light: #FFFFFF;
  --head: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease-out: cubic-bezier(.3, .7, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--gold-hover); }
::selection { background: var(--dark); color: var(--on-dark); }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button, input, select { font: inherit; }
[hidden] { display: none !important; }
:target { scroll-margin-top: 16px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.frame :focus-visible { outline-color: var(--on-dark); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 12px 18px; border-radius: 999px; background: var(--gold); color: var(--bg);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--bg); }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
/* Выделенные слова - как маркером: серая полоса под текстом */
.gold {
  color: var(--ink);
  background: linear-gradient(transparent 58%, #D6D3CC 58%, #D6D3CC 92%, transparent 92%);
  padding: 0 .08em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- Анимации ---------- */
@keyframes printOut { 0% { transform: translateY(-100%); } 100% { transform: translateY(0); } }
@keyframes flashFade { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes softFlash { 0% { opacity: 0; } 40% { opacity: .35; } 100% { opacity: 0; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes pulseGlow { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes popIn { 0% { transform: scale(.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes nudge { 0%, 100% { box-shadow: 0 0 0 0 rgba(27, 27, 31, 0); } 30% { box-shadow: 0 0 0 4px rgba(27, 27, 31, .25); } }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-12px) rotate(var(--r, 0deg)); } }
@keyframes wordUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes recBlink { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
@keyframes shotIn { 0% { opacity: 0; transform: scale(1.15); } 100% { opacity: 1; transform: none; } }

.flash {
  position: fixed; inset: 0; z-index: 60; background: #fff; pointer-events: none;
  animation: flashFade .5s ease-out forwards;
}

/* Появление блоков при прокрутке (только если работает JS) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--body); font-weight: 700; font-size: 15px; line-height: 1.2;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { cursor: progress; opacity: .75; transform: none; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 15px; }
.btn--block { display: flex; width: 100%; }
.btn--gold { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: var(--bg); }
.btn--gold { box-shadow: 0 8px 20px rgba(27, 27, 31, .18); }
.btn--gold:hover { box-shadow: 0 12px 26px rgba(27, 27, 31, .24); }
.btn--light { background: var(--dark); color: var(--on-dark); border-color: var(--dark); }
.btn--light:hover { background: var(--gold-hover); color: var(--on-dark); }
.btn--ghost { background: rgba(255, 255, 255, .6); color: var(--text); border-color: var(--line-2); font-weight: 600; }
.btn--ghost:hover { color: var(--text); background: #fff; border-color: #9A9892; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

/* ---------- Типографика ---------- */
.eyebrow {
  margin: 0; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold);
}
.eyebrow--dark { color: var(--gold-dark); font-weight: 700; }
.h2 {
  margin: 0; font-family: var(--head); font-weight: 800;
  font-size: clamp(34px, 5vw, 64px); line-height: 1; letter-spacing: -.02em;
}
.h3 { margin: 0; font-family: var(--head); font-weight: 700; font-size: clamp(26px, 3vw, 38px); line-height: 1.15; }

/* ---------- Шапка ---------- */
/* Шапка прилипает к верху; при прокрутке - полупрозрачный фон (класс is-scrolled ставит script.js) */
.header-bar { position: sticky; top: 0; z-index: 30; transition: background .3s ease, box-shadow .3s ease; }
.header-bar.is-scrolled {
  background: rgba(241, 240, 237, .85);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header {
  position: relative; z-index: 20;
  max-width: 1240px; margin: 0 auto; padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: padding .3s ease;
}
.is-scrolled .header { padding-top: 12px; padding-bottom: 12px; }
/* Полоска прогресса прокрутки под шапкой */
.progress {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--dark); transform-origin: 0 50%; transform: scaleX(0);
}
.logo { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--text); }
.logo:hover { color: var(--text); }
.logo__dot {
  width: 12px; height: 12px; border-radius: 50%; background: #E5484D;
  box-shadow: 0 0 0 4px rgba(229, 72, 77, .15); animation: recBlink 2s ease-in-out infinite;
}
.logo__text { font-family: var(--head); font-weight: 700; font-size: 18px; letter-spacing: .04em; }
.nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--muted); text-decoration: none; padding: 10px 0; transition: color .2s ease; }
.nav a:hover { color: var(--text); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--text);
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  transition: border-color .2s ease, color .2s ease;
}
.icon-btn:hover { color: var(--gold); border-color: var(--gold); }
.nav__insta { display: none; }
@media (max-width: 767px) {
  .nav .nav__insta { display: block; color: var(--gold); }
}
@media (max-width: 480px) {
  .header__actions .icon-btn { display: none; } /* на узком экране Instagram - в меню */
}
.burger {
  display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2);
  background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .25s ease, opacity .25s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 767px) {
  .header { padding: 16px; }
  .burger { display: inline-flex; }
  .header__actions .btn--sm { padding: 0 18px; }
  .nav {
    position: absolute; top: calc(100% - 4px); left: 16px; right: 16px;
    flex-direction: column; gap: 0; padding: 8px; border-radius: 20px;
    background: var(--card); border: 1px solid var(--line); box-shadow: 0 24px 50px rgba(0, 0, 0, .14);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .nav a { padding: 14px 16px; border-radius: 12px; font-size: 17px; color: var(--text); }
  .nav a:hover { background: var(--bg); }
}
@media (max-width: 480px) {
  /* длинное название: в две строки и мельче */
  .logo__text { font-size: 13px; line-height: 1.15; max-width: 9.5em; }
  .header { gap: 10px; }
  .header__actions { gap: 8px; }
  .header__actions .btn--sm { padding: 0 16px; font-size: 14px; }
}
@media (max-width: 359px) {
  .header__actions .btn--sm { padding: 0 12px; font-size: 13px; }
}

/* ---------- Первый экран ---------- */
.hero { padding-top: 48px; padding-bottom: 96px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero__title {
  margin: 0; font-family: var(--head); font-weight: 800;
  font-size: clamp(44px, 8.4vw, 118px); line-height: .95; letter-spacing: -.03em;
}
.hero__lead { margin: 0; max-width: 520px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--muted); }
.stats { display: flex; flex-wrap: wrap; gap: 28px; padding-top: 8px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__num { font-family: var(--head); font-weight: 700; font-size: 26px; line-height: 1.3; }
.stat__label { font-size: 14px; color: var(--muted); }
/* Заголовок: слова выезжают снизу при загрузке */
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.hero__title .w > span { display: inline-block; animation: wordUp .9s var(--ease-out) both; }
.hero__title .w:nth-child(3) > span { animation-delay: .12s; }
.hero__booth { position: relative; flex: 1 1 360px; min-width: 0; display: flex; justify-content: center; padding-bottom: 120px; }

/* Плавающие полароиды вокруг будки */
.floaters { position: absolute; inset: 0; pointer-events: none; }
.floater {
  position: absolute; width: 96px; padding: 6px 6px 22px; background: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .12); animation: floaty 6s ease-in-out infinite;
}
.floater img { display: block; width: 100%; height: 84px; object-fit: cover; }
.floater--1 { --r: -10deg; top: 4%; left: 2%; }
.floater--2 { --r: 8deg; top: 38%; right: 0; animation-delay: -2s; }
.floater--3 { --r: -5deg; bottom: 14%; left: 8%; animation-delay: -4s; width: 80px; }
.floater--3 img { height: 70px; }
@media (max-width: 899px) { .floaters { display: none; } }

.booth { position: relative; width: 250px; height: 540px; transition: transform .25s ease-out; }
.booth > div { position: absolute; }
.booth__halo { inset: -70px; background: radial-gradient(closest-side, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0)); pointer-events: none; }
.booth__body { inset: 0; border-radius: 16px; background: #1B1B1F; border: 1px solid #2A2A2E; box-shadow: 0 40px 80px rgba(0, 0, 0, .28); }
.booth__cam { top: 22px; left: 50%; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%; background: #050505; border: 4px solid #2A2A2E; }
/* Красная точка "запись" у камеры во время отсчета */
.booth__cam::after {
  content: ""; position: absolute; top: -2px; right: -16px; width: 8px; height: 8px; border-radius: 50%;
  background: #E5484D; opacity: 0; transition: opacity .2s ease;
}
.booth.is-rec .booth__cam::after { opacity: 1; animation: recBlink .8s ease-in-out infinite; }
/* Снятый кадр на экране будки сразу после вспышки */
.booth__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: shotIn .4s ease-out both; }
.booth__light {
  top: 70px; width: 12px; height: 220px; border-radius: 6px; background: #fff;
  box-shadow: 0 0 28px rgba(255, 255, 255, .85); animation: pulseGlow 3s ease-in-out infinite;
}
.booth__light--l { left: 20px; }
.booth__light--r { right: 20px; }
.booth__screen {
  top: 70px; left: 50%; transform: translateX(-50%); width: 136px; height: 220px; border-radius: 8px;
  background: #050505; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; overflow: hidden;
}
.booth__count { font-family: var(--head); font-weight: 800; font-size: 96px; line-height: 1; color: #fff; animation: popIn .3s ease-out; }
.booth__hint { font-size: 13px; color: #A1A1AA; text-align: center; padding: 0 12px; line-height: 1.4; }
.booth__label { top: 330px; left: 50%; transform: translateX(-50%); font-family: var(--head); font-size: 11px; letter-spacing: .2em; color: #8A8A93; }
.booth__slot { top: 360px; left: 50%; transform: translateX(-50%); width: 130px; height: 10px; border-radius: 5px; background: #050505; z-index: 2; }
.booth__out { top: 365px; left: 50%; transform: translateX(-50%); width: 104px; height: 300px; overflow: hidden; }

.strip {
  width: 104px; background: var(--light); padding: 6px; display: flex; flex-direction: column; gap: 5px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, .22);
}
.strip.is-printing { animation: printOut 2.2s var(--ease-out) both; }
.strip.is-hidden { visibility: hidden; }
.strip picture, .strip img { display: block; }
.strip img { width: 92px; height: 70px; object-fit: cover; background: #ddd; }
.strip__brand { font-family: var(--head); font-size: 8px; line-height: 1.25; font-weight: 700; color: var(--ink); text-align: center; padding: 4px 0 2px; overflow-wrap: anywhere; }

/* ---------- Бегущая строка ---------- */
.marquee { background: var(--dark); padding: 22px 0; overflow: hidden; }
.marquee .marquee__list { color: #B4B4BB; }
.marquee .marquee__list li::after { content: "✦"; color: #6B6B72; font-size: .8em; }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee__list {
  display: flex; gap: 56px; padding-right: 56px;
  font-family: var(--head); font-weight: 700; font-size: 22px; line-height: 1.3; color: var(--muted-2); white-space: nowrap;
}
.marquee__list li { display: flex; align-items: center; gap: 56px; }
.marquee__list li::after { content: "•"; color: var(--gold); }

/* ---------- Общие секции ---------- */
.section { padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 56px; }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section__titles { display: flex; flex-direction: column; gap: 20px; }
.section__lead { margin: 0; max-width: 440px; font-size: 17px; line-height: 1.6; color: var(--muted); }

/* ---------- Поля ввода ---------- */
.field { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.field-row > .field { flex: 1 1 220px; }
.field-row > .field--narrow { flex-basis: 160px; }
.field label, .field legend { font-size: 14px; font-weight: 700; color: var(--ink); }
.field--plain { border: 0; margin: 0; padding: 0; gap: 10px; }
.field--plain legend { padding: 0; margin-bottom: 10px; }
.field-row { display: flex; flex-wrap: wrap; gap: 16px; }
.input {
  width: 100%; min-height: 52px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line-2);
  background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.input::placeholder { color: #8A8A93; }
.input:focus { outline: none; border-color: var(--dark); background-color: #fff; box-shadow: 0 0 0 3px rgba(27, 27, 31, .12); }
.input[aria-invalid="true"] { border-color: #DC2626; }
.input--date { color-scheme: light; }
.select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2355555B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field__error { margin: 0; font-size: 13px; color: #B91C1C; }
.field__optional { font-weight: 500; color: var(--muted); }
.textarea { min-height: 96px; padding: 14px 16px; line-height: 1.5; resize: vertical; }

/* ---------- Брендирование ---------- */
.brand-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; }
.configurator {
  flex: 1 1 520px; min-width: 0; padding: 40px; border-radius: 28px; background: var(--card); border: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 40px; align-items: center;
}
.configurator__form { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.configurator__title { margin: 0; font-family: var(--head); font-weight: 700; font-size: 22px; }

.mini-booth { --brand: #C8102E; --ink: #FFFFFF; flex: 0 0 auto; margin: 0 auto; position: relative; width: 200px; height: 440px; }
.mini-booth > div { position: absolute; }
.mini-booth__body { inset: 0; border-radius: 14px; background: var(--brand); box-shadow: 0 30px 60px rgba(0, 0, 0, .22); transition: background .4s ease; }
.mini-booth__cam { top: 18px; left: 50%; transform: translateX(-50%); width: 22px; height: 22px; border-radius: 50%; background: #050505; border: 3px solid rgba(255, 255, 255, .25); }
.mini-booth__light { top: 56px; width: 10px; height: 170px; border-radius: 5px; background: #fff; box-shadow: 0 0 24px rgba(255, 255, 255, .85); }
.mini-booth__light--l { left: 16px; }
.mini-booth__light--r { right: 16px; }
.mini-booth__screen { top: 56px; left: 50%; transform: translateX(-50%); width: 108px; height: 170px; border-radius: 6px; background: #050505; }
.mini-booth__slot { top: 246px; left: 50%; transform: translateX(-50%); width: 104px; height: 8px; border-radius: 4px; background: rgba(0, 0, 0, .6); }
.mini-booth__panel {
  left: 14px; right: 14px; top: 272px; bottom: 18px; border-radius: 8px; border: 1px solid var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 10px;
  text-align: center; overflow: hidden; transition: border-color .4s ease;
}
.mini-booth__name { font-family: var(--head); font-weight: 800; font-size: 20px; line-height: 1.1; color: var(--ink); word-break: break-word; transition: color .4s ease; }
.mini-booth__tag { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); opacity: .8; word-break: break-word; transition: color .4s ease; }

.swatches { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.swatch {
  width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--line); padding: 0; cursor: pointer;
  transition: transform .2s ease, border-color .2s ease;
}
.swatch:hover { transform: scale(1.08); }
.swatch[aria-pressed="true"] { border-color: var(--gold); }
.swatch-custom {
  position: relative; width: 44px; height: 44px; border-radius: 50%; border: 2px dashed #52525B;
  display: flex; align-items: center; justify-content: center; cursor: pointer; overflow: hidden;
}
.swatch-custom.is-active { border: 3px solid var(--gold); }
.swatch-custom:focus-within { outline: 2px solid var(--gold); outline-offset: 3px; }
.swatch-custom input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }

.live { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.live__photo { position: relative; flex: 1 1 auto; min-height: 420px; border-radius: 28px; overflow: hidden; background: #fff; }
/* Фото будки целиком (contain), белый фон фото сливается с фоном блока */
.live__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 20px 20px 64px; display: block; }
.live__badge {
  position: absolute; left: 16px; bottom: 16px; padding: 10px 16px; border-radius: 999px;
  background: rgba(27, 27, 31, .88); color: var(--on-dark); font-size: 14px; font-weight: 600;
}
.live__photo { border: 1px solid var(--line); }
.live__photo img { transition: opacity .22s ease, transform .4s var(--ease-out); }
.live__photo.is-swapping img { opacity: 0; transform: scale(.97); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.step { padding: 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.step__num { font-family: var(--head); font-weight: 700; font-size: 20px; color: var(--gold); }
.step__text { font-size: 14px; line-height: 1.4; color: var(--muted); }

/* ---------- Галерея ---------- */
.gallery { padding: 40px 0 120px; display: flex; flex-direction: column; gap: 48px; }
.gallery__head { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.gallery__hint { margin: 0; font-size: 16px; color: var(--muted); }
.gallery__scroller {
  overflow-x: auto; padding: 30px 0 40px; scrollbar-width: thin; scrollbar-color: #3F3F46 transparent;
  scroll-padding-inline: max(24px, calc((100vw - 1192px) / 2));
}
.gallery__scroller:focus-visible { outline-offset: -2px; border-radius: 0; }
.gallery__track { display: flex; gap: 28px; padding: 0 max(24px, calc((100vw - 1192px) / 2)); width: max-content; }
/* Карточки-полароиды: белая рамка, подпись внизу, "скотч" сверху */
.card { width: 300px; flex: 0 0 auto; }
.card figure {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 12px 12px 18px; background: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .10), 0 2px 6px rgba(0, 0, 0, .06);
  transform: rotate(var(--r)); transition: transform .4s var(--ease-out), box-shadow .4s ease;
}
.card figure::before {
  content: ""; position: absolute; top: -12px; left: 50%; width: 92px; height: 24px; margin-left: -46px;
  background: rgba(214, 211, 204, .75); transform: rotate(calc(var(--r) * -1.5));
}
.card__btn { display: block; padding: 0; border: 0; background: #EEE; border-radius: 2px; cursor: zoom-in; overflow: hidden; }
.card__btn img { width: 276px; height: 345px; object-fit: cover; display: block; transition: transform .6s var(--ease-out); }
.card figure:hover, .card figure:focus-within { transform: rotate(0deg) translateY(-10px) scale(1.04); box-shadow: 0 30px 60px rgba(0, 0, 0, .16); }
.card figure:hover .card__btn img { transform: scale(1.05); }
.card figcaption { font-size: 15px; font-weight: 600; color: var(--ink); text-align: center; }
@media (max-width: 767px) {
  .gallery__scroller { scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scroll-padding-inline: 0; }
  .card { scroll-snap-align: center; width: min(280px, 76vw); }
  .card__btn img { width: 100%; height: auto; aspect-ratio: 4 / 5; }
  .gallery__track { gap: 20px; padding: 0 12vw; }
}

/* Лайтбокс */
.lightbox {
  width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; padding: 0; border: 0;
  background: rgba(5, 5, 6, .94); color: var(--on-dark); overflow: hidden;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; animation: fadeIn .2s ease; }
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox__inner { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 72px 16px 24px; max-height: 100%; }
.lightbox__inner img {
  display: block; width: auto; height: auto; max-width: min(92vw, 640px); max-height: calc(100vh - 150px);
  border-radius: 16px; background: var(--light); object-fit: contain;
}
.lightbox__caption { margin: 0; font-size: 15px; color: #A1A1AA; text-align: center; }
.lightbox__btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid #3F3F46;
  background: rgba(20, 20, 22, .9); color: var(--on-dark); cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}
.lightbox__btn:hover { background: #26262A; border-color: #71717A; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 767px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
  .lightbox__inner { padding-bottom: 88px; }
  .lightbox__inner img { max-height: calc(100vh - 210px); }
}

/* ---------- Бренды ---------- */
.section--brands { padding-top: 40px; padding-bottom: 140px; gap: 48px; }
.section--brands .section__lead { max-width: 420px; }
.brands {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
}
.brand {
  background: var(--bg); padding: 40px 32px; min-height: 180px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px; transition: background .3s ease, color .3s ease;
}
.brand:hover { background: var(--dark); color: var(--on-dark); }
.brand:hover .brand__caption { color: #A1A1AA; }
.brand__name { font-family: var(--head); font-weight: 700; font-size: 30px; line-height: 1.15; letter-spacing: -.01em; }
.brand__logo { display: block; max-width: 180px; max-height: 56px; width: auto; height: auto; object-fit: contain; }
.brand__caption { font-size: 14px; color: var(--muted); }
@media (max-width: 599px) {
  .brand { padding: 28px 24px; min-height: 140px; }
  .brand__name { font-size: 26px; }
}

/* ---------- Собери рамку ---------- */
/* Темный блок посреди светлой страницы - для ритма */
.frame { background: var(--dark); color: var(--on-dark); }
.frame .eyebrow--dark { color: #A1A1AA; }
.frame__inner { padding-top: 120px; padding-bottom: 120px; display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.frame__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.frame__lead { margin: 0; font-size: 18px; line-height: 1.6; color: #B4B4BB; }
.frame .field label, .frame .field legend { color: var(--on-dark); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid #52525B;
  background: transparent; color: var(--on-dark); font-family: var(--body); font-weight: 700; font-size: 15px; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.chip:hover { border-color: var(--on-dark); }
.chip[aria-pressed="true"] { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
.input--light { background: #fff; border-color: #fff; color: var(--ink); }
.input--light:focus { border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .3); }
.frame__preview { flex: 1 1 320px; min-width: 0; display: flex; justify-content: center; padding: 16px 0; }
.photo-strip {
  --fbg: #F5F1EA; --ffg: #2B2620; --facc: #B08A3E;
  width: 250px; padding: 14px; background: var(--fbg); border: 2px solid var(--facc);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45); transform: rotate(-3deg);
  display: flex; flex-direction: column; gap: 10px; transition: background .3s ease, border-color .3s ease;
}
.photo-strip picture, .photo-strip img { display: block; }
.photo-strip img { width: 100%; height: 150px; object-fit: cover; background: #ddd; }
.photo-strip__caption { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 0 4px; text-align: center; min-width: 0; }
.photo-strip__title { font-family: var(--head); font-weight: 700; font-size: 17px; color: var(--facc); overflow-wrap: anywhere; transition: color .3s ease; }
.photo-strip__names { font-size: 14px; font-weight: 600; color: var(--ffg); overflow-wrap: anywhere; min-height: 1.5em; }
.photo-strip__date { font-size: 12px; color: var(--ffg); opacity: .8; min-height: 1.5em; }

/* ---------- Цены ---------- */
.price { flex-direction: row; flex-wrap: wrap; gap: 64px; align-items: center; }
.price__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.price__lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted); }
.badge {
  margin: 0; align-self: flex-start; padding: 10px 16px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line); font-size: 15px; color: var(--ink);
}
/* Плашка "Бонус" */
.bonus {
  display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 16px; border-radius: 14px;
  background: var(--dark); color: var(--on-dark); font-size: 15px; line-height: 1.4;
}
.bonus__tag {
  flex: 0 0 auto; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--ink);
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
/* Переключатель "с брендом / без бренда" */
.switch { display: flex; align-items: center; gap: 14px; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track {
  position: relative; flex: 0 0 auto; width: 56px; height: 32px; border-radius: 999px;
  background: var(--line-2); transition: background .25s ease;
}
.switch__track::after {
  content: ""; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .25s var(--ease-out);
}
.switch input:checked + .switch__track { background: var(--dark); }
.switch input:checked + .switch__track::after { transform: translateX(24px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--dark); outline-offset: 3px; }
.switch__text { display: flex; flex-direction: column; gap: 2px; font-size: 15px; font-weight: 700; color: var(--ink); }
.switch__note { font-size: 13px; font-weight: 500; color: var(--muted); }
.calc .switch { padding: 16px 18px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
/* Мини-будка без брендирования - обычный графитовый корпус */
.mini-booth .mini-booth__panel, .mini-booth .mini-booth__plain { transition: opacity .4s ease, transform .4s var(--ease-out); }
.mini-booth__plain {
  left: 14px; right: 14px; top: 272px; bottom: 18px; display: flex; align-items: center; justify-content: center;
  font-family: var(--head); font-size: 11px; letter-spacing: .2em; color: #8A8A93; opacity: 0;
}
/* Будка без бренда - белая (как настоящая) */
.mini-booth.is-plain .mini-booth__body { background: #F6F6F8; box-shadow: 0 30px 60px rgba(0, 0, 0, .14), inset 0 0 0 1px #E4E3DF; }
.mini-booth.is-plain .mini-booth__light { box-shadow: 0 0 0 1px #E1E0DB, 0 0 18px rgba(255, 255, 255, .9); }
.mini-booth.is-plain .mini-booth__cam { border-color: #E1E0DB; }
.mini-booth.is-plain .mini-booth__slot { background: #C9C7C2; }
.mini-booth.is-plain .mini-booth__plain { color: #A9A7A2; }
.mini-booth.is-plain .mini-booth__panel { opacity: 0; transform: scale(.9); }
.mini-booth.is-plain .mini-booth__plain { opacity: 1; }
.configurator.is-plain .configurator__brand-fields { opacity: .55; }
.configurator__brand-fields { display: flex; flex-direction: column; gap: 24px; transition: opacity .3s ease; }
.calc__extra { font-size: 14px; color: var(--muted); margin-top: -16px; }
.calc {
  flex: 1 1 460px; min-width: 0; padding: 40px; border-radius: 28px; background: var(--card); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 28px;
}
.calc__top { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; }
.calc__hours { font-size: 18px; color: var(--muted); }
.calc__price { font-family: var(--head); font-weight: 800; font-size: clamp(32px, 4vw, 52px); line-height: 1.1; color: var(--text); white-space: nowrap; }
.calc__cur { font-size: .45em; color: var(--muted); font-weight: 500; }
.calc__scale { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted-2); margin-top: -12px; }
.range { width: 100%; height: 28px; margin: 0; accent-color: var(--dark); cursor: pointer; }
.calc { box-shadow: 0 20px 50px rgba(0, 0, 0, .06); }

/* ---------- Входит в стоимость ---------- */
.included { padding-bottom: 120px; display: flex; flex-direction: column; gap: 40px; }
.included__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 899px) { .included__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .included__grid { grid-template-columns: 1fr; } }
.inc { padding: 28px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.inc span { font-size: 17px; font-weight: 600; line-height: 1.4; }
.inc svg { color: var(--ink); transition: transform .4s var(--ease-out); }
.inc { transition: transform .3s ease, box-shadow .3s ease; }
.inc:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0, 0, 0, .08); }
.inc:hover svg { transform: rotate(-8deg) scale(1.1); }
.inc--bonus { background: var(--dark); border-color: var(--dark); color: var(--on-dark); position: relative; }
.inc--bonus svg { color: var(--on-dark); }
.inc--bonus .bonus__tag { position: absolute; top: 16px; right: 16px; }

/* ---------- Заявка ---------- */
.book { border-top: 1px solid var(--sep); }
.book__inner { padding-top: 120px; padding-bottom: 72px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 32px; }
.book__title { margin: 0; font-family: var(--head); font-weight: 800; font-size: clamp(40px, 7vw, 96px); line-height: .95; letter-spacing: -.03em; }
.book__lead { margin: 0; max-width: 540px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.form-card { width: 100%; max-width: 640px; padding: 36px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); text-align: left; }
.form { display: flex; flex-direction: column; gap: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.summary {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 12px; padding: 16px 18px; border-radius: 14px;
  background: var(--bg); border: 1px dashed var(--line-2); font-size: 15px; color: var(--muted);
}
.summary strong { color: var(--text); }
.summary__brand { flex-basis: 100%; }
.summary.is-updated { animation: nudge 1s ease; }
.form__note { margin: 0; font-size: 13px; color: var(--muted-2); text-align: center; }
.form__error {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; border-radius: 14px; background: #FDECEC; border: 1px solid #F5C2C2; color: #8A1C1C; font-weight: 600;
}
.form__error p { margin: 0; }
.success { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 24px 0; text-align: center; animation: popIn .4s ease-out; }
.success__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; }
.success__title { margin: 0; font-family: var(--head); font-weight: 700; font-size: 24px; }
.success__title:focus { outline: none; }
.success__text { margin: 0; font-size: 16px; color: var(--muted); }
.book__or { margin: 0; font-size: 15px; color: var(--muted-2); }
.form-card { box-shadow: 0 24px 60px rgba(0, 0, 0, .07); }
.book { background: var(--bg-2); border-top: 0; }

/* Конфетти после заявки */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 70; overflow: hidden; }
.confetti i { position: absolute; top: -20px; display: block; }

/* ---------- Подвал ---------- */
.footer {
  padding-top: 32px; padding-bottom: 48px; border-top: 1px solid var(--sep);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted-2);
}
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--gold-hover); }

/* ---------- Фон: мягкие блики света ---------- */
@keyframes drift1 { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(18vw, 22vh) scale(1.15); } }
@keyframes drift2 { 0% { transform: translate(0, 0) scale(1.1); } 100% { transform: translate(-22vw, -14vh) scale(.95); } }
@keyframes drift3 { 0% { transform: translate(0, 0); } 100% { transform: translate(-10vw, 18vh); } }
.glow { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.glow i { position: absolute; display: block; border-radius: 50%; }
.glow i:nth-child(1) {
  width: 70vmax; height: 70vmax; left: -20vmax; top: -25vmax;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0));
  animation: drift1 26s ease-in-out infinite alternate;
}
.glow i:nth-child(2) {
  width: 60vmax; height: 60vmax; right: -18vmax; bottom: -20vmax;
  background: radial-gradient(closest-side, rgba(255, 238, 214, .75), rgba(255, 238, 214, 0));
  animation: drift2 32s ease-in-out infinite alternate;
}
.glow i:nth-child(3) {
  width: 45vmax; height: 45vmax; right: 10vw; top: 5vh;
  background: radial-gradient(closest-side, rgba(205, 202, 196, .55), rgba(205, 202, 196, 0));
  animation: drift3 38s ease-in-out infinite alternate;
}
.book { background: rgba(232, 231, 227, .7); }

/* ---------- Плавная прокрутка (Lenis) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.hero, .book { position: relative; }

/* ---------- Заголовки по словам (fx.js) ---------- */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.sw > span { display: inline-block; will-change: transform; }

/* ---------- Галерея: листается вбок при прокрутке, наклон от скорости, можно тянуть мышкой ---------- */
.gallery.is-pinned { padding-top: 110px; min-height: 100vh; justify-content: center; }
.gallery.is-pinned .gallery__scroller { overflow: hidden; cursor: grab; }
.gallery.is-pinned .gallery__scroller.is-dragging { cursor: grabbing; }
.gallery.is-pinned .gallery__scroller.is-dragging .card__btn { pointer-events: none; }
.card { will-change: transform; }

/* ---------- Раскрытие фото "шторкой" (fx.js) ---------- */
.has-gsap [data-reveal] { clip-path: inset(100% 0 0 0); }
[data-reveal] img { will-change: transform; }

/* ---------- Фото-сетка с наездом ----------
   Сетка фото с событий; при прокрутке центральное фото вырастает на весь экран,
   остальные разлетаются, и появляется подпись. Двигает fx.js (GSAP), без него - просто сетка с подписью. */
.zoom { position: relative; height: 100vh; min-height: 560px; overflow: hidden; }
.zoom__grid {
  --gap: 14px;
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(92vw, calc((100vh - 4 * var(--gap)) / 3 * 5 + 4 * var(--gap)));
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap);
}
.zoom__cell { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 14px; background: #ddd; will-change: transform; }
.zoom__cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.zoom__cell--center { z-index: 2; }
.zoom__cell--center::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 12, .72) 0%, rgba(10, 10, 12, .15) 55%, rgba(10, 10, 12, 0) 100%);
  opacity: var(--shade, 0);
}
.zoom__caption {
  position: absolute; left: 0; right: 0; bottom: 9vh; z-index: 3; color: #fff;
  display: flex; flex-direction: column; gap: 14px; pointer-events: none;
}
.zoom__caption .eyebrow { color: rgba(255, 255, 255, .8); }
.zoom__caption .h2 { color: #fff; max-width: 14ch; }
.zoom__caption p:last-child { margin: 0; max-width: 460px; font-size: 18px; line-height: 1.55; color: rgba(255, 255, 255, .85); }
/* без GSAP подпись стоит на затемненном центральном фото */
html:not(.has-gsap) .zoom__cell--center::after { opacity: 1; }
.has-gsap .zoom__caption { opacity: 0; }
@media (max-width: 767px) {
  .zoom__grid { --gap: 8px; width: 96vw; }
  .zoom__cell { border-radius: 8px; }
  .zoom__caption { bottom: 7vh; }
  .zoom__caption p:last-child { font-size: 16px; }
}

/* ---------- Маленький кадр - большие эмоции ---------- */
.moment { padding-top: 120px; padding-bottom: 60px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.moment__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.moment__list { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.moment__list li {
  display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 600; color: var(--muted-2);
  transition: color .4s ease, transform .4s var(--ease-out);
}
.moment__list li.is-on { color: var(--ink); transform: translateX(6px); }
.moment__dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid currentColor; transition: background .4s ease; }
.moment__list li.is-on .moment__dot { background: var(--ink); }
/* "Стена" со светом сверху справа */
.moment__stage {
  position: relative; flex: 1 1 440px; min-width: 0; height: 520px; border-radius: 32px; overflow: hidden;
  background: linear-gradient(160deg, #FBFAF8 0%, #ECEAE5 100%);
  box-shadow: inset 0 0 0 1px var(--line);
}
.moment__light {
  position: absolute; right: -120px; top: -140px; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}
/* Тень на стене: падает вниз-влево от полоски, свет сверху справа */
.moment__shadow {
  position: absolute; left: 6%; bottom: 6%; width: 62%; height: auto; overflow: visible;
  transform: skewX(14deg) rotate(-8deg); transform-origin: 70% 0;
}
.moment__shadow .shape { fill: rgba(30, 28, 26, .2); opacity: 0; transform: scale(.85); transform-origin: 50% 50%; transition: opacity .7s ease, transform .9s var(--ease-out); }
.moment__shadow .shape.is-on { opacity: 1; transform: none; }
.moment__shadow g.shape path[stroke] { fill: none; stroke: rgba(30, 28, 26, .2); }
/* Сама фотополоска - маленькая, висит в воздухе */
.moment__strip {
  position: absolute; right: 16%; top: 12%; width: 96px; padding: 6px; background: #fff;
  display: flex; flex-direction: column; gap: 5px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .14); transform: rotate(10deg);
  animation: floaty 5s ease-in-out infinite; --r: 10deg;
}
.moment__strip img { display: block; width: 84px; height: 60px; object-fit: cover; }
.moment__strip span { font-family: var(--head); font-size: 7px; font-weight: 700; text-align: center; padding-top: 3px; color: var(--ink); }
@media (max-width: 767px) {
  .moment { padding-top: 80px; padding-bottom: 32px; gap: 32px; }
  .moment__stage { height: 380px; border-radius: 24px; }
  .moment__strip { width: 76px; right: 12%; }
  .moment__strip img { width: 64px; height: 46px; }
  .moment__list li { font-size: 16px; }
}

/* ---------- Телефоны ---------- */
@media (max-width: 767px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero { padding-top: 24px; padding-bottom: 48px; gap: 40px; }
  .section { padding-top: 80px; padding-bottom: 80px; gap: 40px; }
  .section--brands { padding-top: 24px; padding-bottom: 96px; }
  .gallery { padding-bottom: 80px; gap: 24px; }
  .frame__inner, .book__inner { padding-top: 80px; }
  .frame__inner { padding-bottom: 80px; gap: 48px; }
  .configurator, .calc { padding: 24px; border-radius: 24px; }
  .configurator { gap: 32px; }
  .brand-grid { gap: 32px; }
  .live__photo { min-height: 0; aspect-ratio: 4 / 5; }
  .included { padding-bottom: 80px; }
  .form-card { padding: 22px; border-radius: 24px; }
  .book__inner .btn-row .btn { width: 100%; }
  .marquee__list { font-size: 18px; gap: 40px; padding-right: 40px; }
  .marquee__list li { gap: 40px; }
}
@media (max-width: 479px) {
  .steps { grid-template-columns: 1fr; }
  .step { flex-direction: row; align-items: center; gap: 14px; padding: 14px 18px; }
  .hero .btn-row .btn { flex: 1 1 100%; }
}

/* ---------- Пользователи с отключенной анимацией ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .logo__dot, .booth__light, .floater, .hero__title .w > span, .glow i, .moment__strip { animation: none; }
  .booth { transform: none !important; }
  .confetti { display: none; }
  .marquee__track { animation: none; width: auto; justify-content: center; }
  .marquee__list { flex-wrap: wrap; justify-content: center; white-space: normal; row-gap: 12px; padding: 0 16px; }
  .marquee__list[aria-hidden="true"] { display: none; }
  .flash { animation: softFlash .6s ease-out forwards; }
  .strip.is-printing { animation: fadeIn .4s ease both; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .swatch:hover { transform: none; }
  .card figure, .card figure:hover, .card figure:focus-within { transform: rotate(var(--r)); }
  .summary.is-updated, .success, .booth__count, .lightbox[open] { animation: none; }
}
/* Без анимаций: фото сразу видны */
@media (prefers-reduced-motion: reduce) { .has-gsap [data-reveal] { clip-path: none; } .has-gsap .zoom__caption { opacity: 1; } }

/* ---------- Сетка фото (на месте бывшего блока с тенью) ---------- */
.egrid { padding-top: 120px; padding-bottom: 120px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.egrid__text { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.egrid__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.egrid__item { margin: 0; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: #e6e4df; }
.egrid__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease-out); }
.egrid__item:hover img { transform: scale(1.05); }
@media (max-width: 899px) {
  .egrid { grid-template-columns: 1fr; gap: 32px; padding-top: 80px; padding-bottom: 80px; }
  .egrid__text { position: static; }
  .egrid__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .egrid__item { border-radius: 12px; }
}
/* ---------- Фото "проявляются" из пикселей (fx.js, прием Codrops Image Pixel Loading) ---------- */
.px-wrap { position: relative; }
.px-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; image-rendering: pixelated; }
.px-hidden { opacity: 0; }
/* ---------- Красивые выпадающие списки в форме (script.js) ---------- */
.cselect { position: relative; }
.cselect__native { position: absolute !important; inset: 0; opacity: 0; pointer-events: none; }
.cselect__btn { text-align: left; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cselect.is-open .cselect__btn { border-color: var(--dark); background-color: #fff; box-shadow: 0 0 0 3px rgba(27, 27, 31, .12); }
.cselect__list {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40;
  margin: 0; padding: 6px; list-style: none; max-height: 300px; overflow-y: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .12), 0 4px 12px rgba(0, 0, 0, .05);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top center;
  transition: opacity .18s ease, transform .22s var(--ease-out), visibility 0s linear .22s;
}
.cselect.is-open .cselect__list { opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .22s var(--ease-out); }
.cselect__list:focus { outline: none; }
.cselect__opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-radius: 11px; cursor: pointer;
  font-family: var(--body); font-size: 15px; font-weight: 600; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.cselect__opt svg { opacity: 0; flex: 0 0 auto; }
.cselect__opt.is-active { background: var(--bg); }
.cselect__opt[aria-selected="true"] svg { opacity: 1; }

/* ---------- Дата, время и цифры - шрифтом сайта ---------- */
.input { font-variant-numeric: tabular-nums; }
textarea.input { font-family: var(--body); }
.input--date::-webkit-datetime-edit, .input--date::-webkit-datetime-edit-fields-wrapper { font-family: var(--body); font-weight: 500; }
.input--date::-webkit-datetime-edit-text { color: var(--muted-2); padding: 0 2px; }
.input--date::-webkit-datetime-edit-day-field:focus,
.input--date::-webkit-datetime-edit-month-field:focus,
.input--date::-webkit-datetime-edit-year-field:focus,
.input--date::-webkit-datetime-edit-hour-field:focus,
.input--date::-webkit-datetime-edit-minute-field:focus { background: var(--dark); color: #fff; border-radius: 4px; }
.input--date::-webkit-calendar-picker-indicator { opacity: .5; cursor: pointer; transition: opacity .2s ease; }
.input--date::-webkit-calendar-picker-indicator:hover { opacity: 1; }
select.select option { font-family: var(--body); font-size: 15px; }
/* ---------- Фон: стена из кубиков с волной от курсора (bg3d.js). Пока не загрузилась - видны мягкие блики ---------- */
.bg3d { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.has-cubes .bg3d { opacity: 1; }
.has-cubes .glow { display: none; }
.has-cubes .book { background: rgba(241, 240, 237, .55); }
/* =========================================================
   Приемы с fourmula.ai, подобранные под наш стиль
   ========================================================= */
/* --- Меню-"капсула" по центру шапки --- */
.header { position: relative; }
.pill-wrap { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 25; }
.pill {
  display: flex; align-items: center; gap: 6px; padding: 5px 5px 5px 6px;
  background: rgba(27, 27, 31, .92); color: #fff; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.pill .burger.pill__menu {
  display: inline-flex; flex-direction: row; align-items: center; gap: 10px;
  width: auto; height: 38px; padding: 0 14px 0 12px; border: 0; border-radius: 999px;
  background: transparent; color: #fff; cursor: pointer; font: 600 15px/1 var(--body);
  transition: background .2s ease;
}
.pill .burger.pill__menu:hover { background: rgba(255, 255, 255, .1); }
.pill__icon { display: inline-flex; flex-direction: column; gap: 4px; width: 18px; }
.pill .pill__icon span { display: block; width: 18px; height: 1.5px; border-radius: 2px; background: #fff; transition: transform .25s ease, opacity .25s ease; }
.pill .burger[aria-expanded="true"] .pill__icon span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.pill .burger[aria-expanded="true"] .pill__icon span:nth-child(2) { opacity: 0; }
.pill .burger[aria-expanded="true"] .pill__icon span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.pill__pct {
  min-width: 50px; height: 38px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .14);
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 14px/1 var(--body); font-variant-numeric: tabular-nums; color: #fff;
}
/* выпадающее меню под капсулой */
.pill-wrap .nav {
  position: absolute; top: calc(100% + 10px); left: 50%; right: auto;
  width: 280px; margin-left: -140px; padding: 10px; border-radius: 24px;
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(27, 27, 31, .96); border: 0; box-shadow: 0 30px 60px rgba(0, 0, 0, .25);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top center;
  transition: opacity .2s ease, transform .25s var(--ease-out), visibility 0s linear .25s;
}
.pill-wrap .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .25s var(--ease-out); }
.pill-wrap .nav a { color: #fff; font-family: var(--head); font-size: 18px; font-weight: 600; padding: 12px 16px; border-radius: 14px; text-decoration: none; }
.pill-wrap .nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.pill-wrap .nav a.nav__small { display: block; font-family: var(--body); font-size: 14px; color: #A1A1AA; margin-top: 6px; border-top: 1px solid rgba(255, 255, 255, .1); border-radius: 0 0 14px 14px; }
@media (max-width: 767px) {
  .pill-wrap { position: static; transform: none; margin-left: auto; }
  .header__actions { display: none; }
  .pill-wrap .nav { position: absolute; left: 16px; right: 16px; width: auto; margin-left: 0; top: calc(100% + 6px); }
  .pill .burger.pill__menu { padding: 0 12px; }
}

/* --- Двухцветные заголовки: вторая часть серым --- */
.tone, .gold { color: #A3A19B; background: none; padding: 0; }
.frame .tone { color: #6E6E76; }

/* --- Блок "Что мы делаем": подпись слева, крупный текст справа --- */
.statement { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 40px; padding-top: 110px; padding-bottom: 110px; }
.statement__label { margin: 0; padding-top: 10px; font-size: 15px; font-weight: 600; color: var(--ink); }
.statement__text {
  margin: 0; padding-left: 40px; border-left: 1px solid rgba(22, 22, 22, .15);
  font-family: var(--head); font-weight: 500; font-size: clamp(24px, 3.1vw, 44px); line-height: 1.18; letter-spacing: -.02em; color: var(--ink);
}
.fw { display: inline; }
@media (max-width: 767px) {
  .statement { grid-template-columns: 1fr; gap: 16px; padding-top: 70px; padding-bottom: 70px; }
  .statement__text { padding-left: 0; border-left: 0; }
}

/* --- Большие мягкие панели разделов поверх кубиков --- */
#booths, #egrid, #brands, #price, .included {
  background: rgba(255, 255, 255, .64);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .8); border-radius: 40px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .05);
  width: calc(100% - 32px); max-width: 1288px; margin: 0 auto 24px;
  padding: 64px 56px;
}
#price { align-items: center; }
.included { gap: 32px; }
.configurator, .calc, .step, .live__photo, .egrid__item { border-radius: 28px; }
.configurator, .calc, .step { background: #fff; }
@media (max-width: 767px) {
  #booths, #egrid, #brands, #price, .included { width: calc(100% - 16px); border-radius: 28px; padding: 36px 18px; margin-bottom: 12px; }
}/* старые правила бургера не должны задевать капсулу */
.pill .burger > .pill__icon { display: inline-flex; width: 18px; height: auto; background: none; transform: none !important; opacity: 1 !important; }
.pill .burger > .pill__label { display: inline; width: auto; height: auto; background: none; transform: none !important; opacity: 1 !important; }
/* =========================================================
   Меню-панель (раскрывается из капсулы), кнопка темы
   ========================================================= */
.pill { position: relative; z-index: 2; }
.pill__theme {
  width: 38px; height: 38px; border: 0; border-radius: 50%; padding: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; background: transparent; color: #fff;
  transition: background .2s ease, transform .4s var(--ease-out);
}
.pill__theme:hover { background: rgba(255, 255, 255, .12); }
.pill__theme:active { transform: rotate(40deg); }
.pill__theme .i-sun { display: none; }
[data-theme="dark"] .pill__theme .i-sun { display: block; }
[data-theme="dark"] .pill__theme .i-moon { display: none; }
/* панель меню: вырастает из капсулы вниз (как на fourmula) */
.pill-wrap .nav {
  top: -8px; left: 50%; right: auto; width: 320px; margin-left: -160px;
  padding: 70px 22px 22px; border-radius: 30px; gap: 0; z-index: 1;
  background: #E6E5E1; color: var(--ink); box-shadow: 0 30px 70px rgba(0, 0, 0, .18);
  opacity: 1; visibility: hidden; transform: none;
  clip-path: inset(0 0 calc(100% - 60px) 0 round 30px);
  transition: clip-path .5s cubic-bezier(.7, 0, .2, 1), visibility 0s linear .5s;
}
.pill-wrap .nav.is-open { visibility: visible; clip-path: inset(0 0 0 0 round 30px); transition: clip-path .55s cubic-bezier(.7, 0, .2, 1); }
.pill-wrap.is-open .pill { box-shadow: none; }
.nav__label { margin: 0 0 8px; padding: 0 2px; font-size: 12px; color: var(--muted-2); }
.nav__label--sep { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(22, 22, 22, .12); }
.pill-wrap .nav a {
  color: var(--ink); font-family: var(--body); font-size: 22px; font-weight: 600; letter-spacing: -.01em;
  padding: 5px 2px; border-radius: 8px; text-decoration: none;
  opacity: 0; transform: translateY(10px); transition: opacity .3s ease, transform .4s var(--ease-out), color .2s ease;
}
.pill-wrap .nav.is-open a { opacity: 1; transform: none; }
.pill-wrap .nav.is-open a:nth-of-type(1) { transition-delay: .12s; }
.pill-wrap .nav.is-open a:nth-of-type(2) { transition-delay: .16s; }
.pill-wrap .nav.is-open a:nth-of-type(3) { transition-delay: .2s; }
.pill-wrap .nav.is-open a:nth-of-type(4) { transition-delay: .24s; }
.pill-wrap .nav.is-open a:nth-of-type(5) { transition-delay: .28s; }
.pill-wrap .nav.is-open a:nth-of-type(6) { transition-delay: .32s; }
.pill-wrap .nav.is-open a:nth-of-type(7) { transition-delay: .36s; }
.pill-wrap .nav a:hover { background: none; color: var(--muted-2); }
.pill-wrap .nav a.nav__small { font-size: 16px; margin: 0; border: 0; border-radius: 8px; color: var(--ink); }
@media (max-width: 767px) {
  .pill-wrap { position: relative; }
  .pill-wrap .nav { left: auto; right: -6px; margin-left: 0; width: min(320px, calc(100vw - 20px)); }
}

/* =========================================================
   Белые панели: мягкая тень, отступ после темного блока
   ========================================================= */
#booths, #egrid, #brands, #price, .included {
  border: 1px solid rgba(0, 0, 0, .05);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 2px 6px rgba(0, 0, 0, .04), 0 24px 60px rgba(0, 0, 0, .09);
}
#price { margin-top: 32px; }
.frame + #price, .gallery + #brands { margin-top: 32px; }

/* =========================================================
   Хоровод фото (по мотивам fourmula.ai)
   ========================================================= */
@keyframes ringSpin { to { transform: rotate(360deg); } }
.ring { --size: min(560px, 82vw); position: relative; width: var(--size); height: var(--size); margin: 0 auto; }
.ring__rot { position: absolute; inset: 0; animation: ringSpin 70s linear infinite; }
.ring__item {
  position: absolute; left: 50%; top: 50%; margin: 0; width: calc(var(--size) * .22); height: calc(var(--size) * .22);
  transform: translate(-50%, -50%) rotate(calc(var(--i) * 45deg)) translateY(calc(var(--size) * -.37)) rotate(calc(var(--i) * -45deg));
}
.ring__upright { display: block; width: 100%; height: 100%; animation: ringSpin 70s linear infinite reverse; }
.ring__shape {
  display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 30%;
  transform: rotate(var(--tilt)); box-shadow: 0 14px 30px rgba(0, 0, 0, .12);
  transition: transform .5s var(--ease-out);
}
.ring__shape img { width: 100%; height: 100%; object-fit: cover; display: block; transform: rotate(calc(var(--tilt) * -1)) scale(1.42); }
.ring__item:hover .ring__shape { transform: rotate(var(--tilt)) scale(1.08); }
.ring:hover .ring__rot, .ring:hover .ring__upright { animation-play-state: paused; }
.ring__center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ring__btn {
  width: calc(var(--size) * .2); height: calc(var(--size) * .2); border-radius: 28%;
  display: flex; align-items: center; justify-content: center;
  background: var(--card); border: 1px solid var(--line-2); color: var(--muted-2);
}
.ring__cap { font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.egrid { align-items: center; }

/* =========================================================
   Темная тема
   ========================================================= */
.theme-anim, .theme-anim * { transition: background-color .4s ease, color .4s ease, border-color .4s ease !important; }
[data-theme="dark"] {
  --bg: #111113; --bg-2: #18181B; --text: #F2F2F3; --ink: #F2F2F3;
  --muted: #A1A1AA; --muted-2: #8A8A93; --card: #1B1B1F; --line: #2A2A2F; --line-2: #3A3A40; --sep: #2A2A2F;
  --gold: #F2F2F3; --gold-hover: #FFFFFF; --gold-dark: #F2F2F3; --dark: #F2F2F3; --on-dark: #111113; --light: #1B1B1F;
  color-scheme: dark;
}
[data-theme="dark"] body { background: var(--bg); }
[data-theme="dark"] .header-bar.is-scrolled { background: rgba(17, 17, 19, .82); box-shadow: 0 1px 0 var(--line); }
[data-theme="dark"] .pill { background: rgba(38, 38, 43, .95); }
[data-theme="dark"] .pill-wrap .nav { background: #232327; }
[data-theme="dark"] .nav__label--sep { border-top-color: rgba(255, 255, 255, .1); }
[data-theme="dark"] #booths, [data-theme="dark"] #egrid, [data-theme="dark"] #brands, [data-theme="dark"] #price, [data-theme="dark"] .included {
  background: rgba(27, 27, 31, .72); border-color: rgba(255, 255, 255, .06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 24px 60px rgba(0, 0, 0, .4);
}
[data-theme="dark"] .configurator, [data-theme="dark"] .calc, [data-theme="dark"] .step, [data-theme="dark"] .form-card,
[data-theme="dark"] .inc, [data-theme="dark"] .badge, [data-theme="dark"] .cselect__list { background: #222226; border-color: var(--line); }
[data-theme="dark"] .marquee, [data-theme="dark"] .frame { background: #1B1B1F; }
[data-theme="dark"] .marquee .marquee__list li::after { color: #4A4A52; }
[data-theme="dark"] .frame .chip[aria-pressed="true"] { background: #F2F2F3; color: #111113; }
[data-theme="dark"] .frame .h2, [data-theme="dark"] .frame .field label, [data-theme="dark"] .frame .field legend { color: #F2F2F3; }
[data-theme="dark"] .book, [data-theme="dark"].has-cubes .book { background: rgba(17, 17, 19, .55); }
[data-theme="dark"] .input { background-color: #151518; color: var(--ink); }
[data-theme="dark"] .input:focus { background-color: #1B1B1F; border-color: #F2F2F3; box-shadow: 0 0 0 3px rgba(255, 255, 255, .12); }
[data-theme="dark"] .input--light { background: #fff; color: #161616; }
[data-theme="dark"] .tone, [data-theme="dark"] .gold { color: #6E6E76; }
[data-theme="dark"] .brand { background: #1B1B1F; }
[data-theme="dark"] .brand:hover { background: #F2F2F3; color: #111113; }
[data-theme="dark"] .bonus { background: #F2F2F3; color: #111113; }
[data-theme="dark"] .bonus__tag { background: #111113; color: #F2F2F3; }
[data-theme="dark"] .summary { background: #151518; }
[data-theme="dark"] .statement__text { border-left-color: rgba(255, 255, 255, .15); }
[data-theme="dark"] .ring__shape { box-shadow: 0 14px 30px rgba(0, 0, 0, .45); }
[data-theme="dark"] .switch__track { background: #3A3A40; }
[data-theme="dark"] .success__icon svg { stroke: #111113; }
[data-theme="dark"] .form__error { background: #2A1414; border-color: #7F1D1D; color: #FECACA; }
@media (prefers-reduced-motion: reduce) { .ring__rot, .ring__upright { animation: none; } }[data-theme="dark"] .btn--ghost { background: rgba(255, 255, 255, .04); color: var(--ink); border-color: var(--line-2); }
[data-theme="dark"] .btn--ghost:hover { background: rgba(255, 255, 255, .1); color: var(--ink); }
[data-theme="dark"] .hero__lead, [data-theme="dark"] .section__lead { color: var(--muted); }[data-theme="dark"] .booth__halo { background: radial-gradient(closest-side, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0)); }
[data-theme="dark"] .booth__body { border-color: #34343A; box-shadow: 0 40px 80px rgba(0, 0, 0, .6); }
/* Капсула: тот же черный, что у кнопки "Забронировать", и чуть шире */
.pill { background: var(--dark); -webkit-backdrop-filter: none; backdrop-filter: none; gap: 10px; padding: 5px 6px 5px 8px; }
.pill .burger.pill__menu { padding: 0 22px 0 16px; gap: 12px; }
.pill__pct { min-width: 64px; }
.pill-wrap .nav { width: 340px; margin-left: -170px; }
[data-theme="dark"] .pill { background: #26262B; }
/* =========================================================
   Календарь и выбор времени в стиле сайта (script.js)
   ========================================================= */
.cdate { position: relative; }
.cdate__btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; cursor: pointer; font-weight: 500; }
.cdate__btn svg { flex: 0 0 auto; color: var(--muted-2); }
.cdate__btn.is-empty .cdate__val { color: #8A8A93; }
.cdate.is-open .cdate__btn { border-color: var(--dark); background-color: var(--card); box-shadow: 0 0 0 3px rgba(27, 27, 31, .12); }
.cdate__pop {
  position: absolute; left: 0; top: calc(100% + 8px); z-index: 45; width: 318px; padding: 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .14), 0 4px 12px rgba(0, 0, 0, .05);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top left;
  transition: opacity .18s ease, transform .22s var(--ease-out), visibility 0s linear .22s;
}
.cdate.is-open .cdate__pop { opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .22s var(--ease-out); }
.cdate__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cdate__title { font-family: var(--head); font-size: 16px; font-weight: 700; color: var(--ink); }
.cdate__nav {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s ease, opacity .2s ease;
}
.cdate__nav:hover { background: var(--bg); }
.cdate__nav:disabled { opacity: .3; cursor: default; background: transparent; }
.cdate__wd, .cdate__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cdate__wd span { text-align: center; font-size: 12px; font-weight: 600; color: var(--muted-2); padding: 4px 0 8px; }
.cdate__day {
  height: 38px; border: 0; border-radius: 12px; background: transparent; cursor: pointer;
  font-family: var(--body); font-size: 15px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums;
  transition: background .15s ease, color .15s ease;
}
.cdate__day:hover { background: var(--bg); }
.cdate__day.is-other { color: var(--muted-2); opacity: .55; }
.cdate__day:disabled { color: var(--muted-2); opacity: .3; cursor: default; background: transparent; text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, .25); }
.cdate__day.is-today { box-shadow: inset 0 0 0 1.5px var(--dark); }
.cdate__day.is-sel, .cdate__day.is-sel:hover { background: var(--dark); color: var(--on-dark); opacity: 1; }
.cdate__day:focus-visible { outline: 2px solid var(--dark); outline-offset: 1px; }
.cdate__foot { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.cdate__link { border: 0; background: none; padding: 6px 4px; cursor: pointer; font: 600 14px/1 var(--body); color: var(--muted); }
.cdate__link:hover { color: var(--ink); }
[data-theme="dark"] .cdate__pop { background: #222226; }
[data-theme="dark"] .cdate__day:disabled { text-decoration-color: rgba(255, 255, 255, .25); }
/* Тексты на постоянно темных/светлых подложках - не зависят от темы */
.live__badge { color: #F4F4F5; }
[data-theme="dark"] .frame { color: #F2F2F3; }
[data-theme="dark"] .frame .chip { color: #F2F2F3; border-color: #52525B; }
[data-theme="dark"] .frame .chip[aria-pressed="true"] { color: #111113; }
[data-theme="dark"] .card figcaption { color: #161616; }
[data-theme="dark"] .inc--bonus .bonus__tag { background: #F2F2F3; color: #111113; }
[data-theme="dark"] .inc:hover { background: #F2F2F3; color: #111113; }
/* Пункты меню: буквы прокатываются вверх, остальные пункты бледнеют */
.roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.2; padding-bottom: .04em; }
.roll__row { display: block; white-space: nowrap; }
.roll__row--b { position: absolute; left: 0; top: 100%; }
.roll .ch { display: inline-block; transition: transform .6s cubic-bezier(.65, 0, .25, 1); transition-delay: calc(var(--d) * 22ms); }
.pill-wrap .nav a:hover .ch, .pill-wrap .nav a:focus-visible .ch { transform: translateY(-100%); }
.pill-wrap .nav a { transition: opacity .35s ease, transform .4s var(--ease-out); }
.pill-wrap .nav.is-open:hover a { opacity: .35; }
.pill-wrap .nav.is-open a:hover, .pill-wrap .nav.is-open a:focus-visible { opacity: 1; color: var(--ink); }
.pill-wrap .nav a:hover { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .roll .ch { transition: none; } .pill-wrap .nav a:hover .ch { transform: none; } }.pill-wrap .nav.is-open.is-ready a { transition-delay: 0s; }
/* Анимируется только пункт под курсором; уходящий возвращается мгновенно (слово то же - скачка не видно) */
.roll .ch { transition: none; }
.pill-wrap .nav a:hover .ch, .pill-wrap .nav a:focus-visible .ch {
  transition: transform .55s cubic-bezier(.65, 0, .25, 1); transition-delay: calc(var(--d) * 18ms);
}/* фон чуть размыт - мягче для глаз */
.bg3d { filter: blur(0.45px); }
/* Второй вариант фона: сетка с искрами (bggrid.js) */
.bggrid { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.has-grid .glow, .has-grid .bg3d { display: none; }
.has-grid .book { background: rgba(241, 240, 237, .55); }
/* Галерея листается движением мышки - полоса прокрутки не нужна */
.gallery__scroller.is-pan { scrollbar-width: none; }
.gallery__scroller.is-pan::-webkit-scrollbar { display: none; }
/* Короткая фраза: крупнее и с воздухом */
.statement__text { font-size: clamp(30px, 4.6vw, 64px); line-height: 1.1; max-width: 16ch; }
.statement { padding-top: 140px; padding-bottom: 140px; align-items: center; }/* хоровод фото сразу после бегущей строки - с отступом */
#egrid { margin-top: 32px; }
/* Описания под заголовками - контрастнее и чуть крупнее (было слишком бледно) */
.section__lead, .hero__lead, .price__lead, .book__lead, .egrid__text .section__lead {
  color: #3A3A3F; font-size: clamp(17px, 1.35vw, 19px); font-weight: 500; line-height: 1.6;
}
.frame__lead { color: #C9C9CF; font-weight: 500; }
.step__text, .brand__caption, .gallery__hint, .calc__scale, .form__note { color: #4A4A50; }
[data-theme="dark"] .section__lead, [data-theme="dark"] .hero__lead, [data-theme="dark"] .price__lead,
[data-theme="dark"] .book__lead { color: #C9C9CF; }
[data-theme="dark"] .step__text, [data-theme="dark"] .brand__caption, [data-theme="dark"] .gallery__hint,
[data-theme="dark"] .calc__scale, [data-theme="dark"] .form__note { color: #A9A9B1; }
/* =========================================================
   Бренды: плитки как на референсе - скругленные клетки, четкая рамка, искры в углах
   ========================================================= */
.brands {
  background: none; border: 0; border-radius: 0; overflow: visible;
  gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.brand {
  position: relative; border-radius: 22px;
  background: rgba(255, 255, 255, .7); border: 1px solid rgba(22, 22, 22, .14);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset;
  transition: background .3s ease, color .3s ease, border-color .3s ease, transform .4s var(--ease-out), box-shadow .4s ease;
}
/* искра в верхнем левом углу плитки */
.brand::before {
  content: ""; position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; pointer-events: none;
  background: #6f8fe6;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0C10 6 14 10 20 10C14 10 10 14 10 20C10 14 6 10 0 10C6 10 10 6 10 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0C10 6 14 10 20 10C14 10 10 14 10 20C10 14 6 10 0 10C6 10 10 6 10 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .55; transition: opacity .3s ease, transform .5s var(--ease-out);
}
.brand:hover { background: var(--dark); color: #F4F4F5; border-color: var(--dark); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, .14); }
.brand:hover .brand__caption { color: #A9A9B1; }
.brand:hover::before { opacity: 1; transform: rotate(90deg) scale(1.3); }
[data-theme="dark"] .brand { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
[data-theme="dark"] .brand:hover { background: #F2F2F3; color: #111113; border-color: #F2F2F3; }
[data-theme="dark"] .brand:hover .brand__caption { color: #55555B; }
[data-theme="dark"] .brand::before { background: #9db4ff; }
@media (max-width: 599px) { .brands { gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); } .brand { border-radius: 18px; } }
/* Плитки брендов и карточки "входит в стоимость": появление при прокрутке (GSAP двигает transform)
   и подъем при наведении (здесь - отдельное свойство translate) больше не мешают друг другу */
.brand { transition: background .3s ease, color .3s ease, border-color .3s ease, translate .4s var(--ease-out), box-shadow .4s ease; }
.brand:hover { transform: none; translate: 0 -4px; }
.inc { transition: background .35s ease, color .35s ease, translate .3s ease, box-shadow .3s ease; }
.inc:hover { transform: none; translate: 0 -4px; }
/* =========================================================
   Блок "Собери свою рамку": живой
   ========================================================= */
/* сетка с искрами + голубой свет за курсором */
.frame { position: relative; overflow: hidden; --mx: 70%; --my: 40%; }
.frame::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(520px circle at var(--mx) var(--my), rgba(102, 153, 255, .16), rgba(102, 153, 255, 0) 65%),
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 112px 112px,
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 112px 112px;
  transition: background-position .2s;
}
.frame::after {
  /* искры на пересечениях сетки, мягко мерцают */
  content: ""; position: absolute; inset: -6px; pointer-events: none; opacity: .55;
  background: radial-gradient(circle, rgba(170, 190, 255, .9) 0 1.4px, transparent 2.2px) -1px -1px / 112px 112px;
  animation: frameTwinkle 4s ease-in-out infinite alternate;
}
@keyframes frameTwinkle { from { opacity: .25; } to { opacity: .7; } }
.frame__inner { position: relative; z-index: 1; }

/* полоска: парит, наклоняется за мышкой, по ней бежит блик */
@keyframes psFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.ps-float { animation: psFloat 6s ease-in-out infinite; }
.ps-tilt { transform-style: preserve-3d; will-change: transform; }
.photo-strip { position: relative; overflow: hidden; }
.ps-glare {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(420px circle at var(--gx, 30%) var(--gy, 20%), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 60%);
}
/* перепечатка при смене события */
@keyframes psOut { to { transform: rotate(-3deg) translateY(60px); opacity: 0; } }
@keyframes psIn { from { transform: rotate(-3deg) translateY(-70px); opacity: 0; clip-path: inset(0 0 100% 0); } to { transform: rotate(-3deg); opacity: 1; clip-path: inset(0 0 0 0); } }
.photo-strip.is-print-out { animation: psOut .38s cubic-bezier(.6, 0, .9, .5) forwards; }
.photo-strip.is-print-in { animation: psIn .8s cubic-bezier(.2, .8, .2, 1) both; }

/* кнопки событий: белая подложка переезжает к выбранной */
.chips.has-pill { position: relative; }
.chip-pill {
  position: absolute; left: 0; top: 0; border-radius: 999px; background: var(--on-dark); z-index: 0;
  transition: transform .5s cubic-bezier(.65, 0, .25, 1), width .5s cubic-bezier(.65, 0, .25, 1);
}
.chips.has-pill .chip { position: relative; z-index: 1; background: transparent; transition: color .3s ease, border-color .3s ease; }
.chips.has-pill .chip[aria-pressed="true"] { color: var(--ink); border-color: transparent; background: transparent; }
[data-theme="dark"] .chip-pill { background: #F2F2F3; }
[data-theme="dark"] .chips.has-pill .chip[aria-pressed="true"] { color: #111113; }

/* мигающий курсор на полоске, пока вводят имена/дату */
@keyframes caretBlink { 50% { opacity: 0; } }
.photo-strip .is-typing::after { content: ""; display: inline-block; width: 1.5px; height: 1em; margin-left: 2px; vertical-align: -2px; background: currentColor; animation: caretBlink 1s steps(1) infinite; }
@media (prefers-reduced-motion: reduce) { .ps-float, .frame::after { animation: none; } }
/* Текст про бренды: крупнее, названия брендов выделены, вывод - отдельным акцентом */
.brands__lead { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.45; max-width: 460px; }
.brands__lead b { font-weight: 700; color: var(--ink); }
.brands__lead .tone-dark { display: block; margin-top: 10px; font-family: var(--head); font-weight: 700; color: var(--ink); }
/* Кнопка в центре хоровода: отсчет 3-2-1 и вспышка */
.ring__btn { position: relative; cursor: pointer; padding: 0; font: inherit; transition: transform .3s var(--ease-out), border-color .3s ease, color .3s ease, box-shadow .3s ease; }
.ring__btn:hover { transform: scale(1.06); color: var(--ink); border-color: var(--ink); box-shadow: 0 14px 30px rgba(0, 0, 0, .12); }
.ring__btn:active { transform: scale(.96); }
.ring__btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.ring__cam { transition: opacity .2s ease, transform .3s ease; }
.ring__count { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 800; font-size: calc(var(--size) * .1); color: var(--ink); pointer-events: none; }
@keyframes ringPop { from { transform: scale(1.8); opacity: 0; } to { transform: none; opacity: 1; } }
.ring__count.is-pop { animation: ringPop .35s cubic-bezier(.2, .8, .2, 1); }
.ring.is-shooting .ring__cam { opacity: 0; transform: scale(.6); }
.ring.is-shooting .ring__btn { border-color: var(--ink); }
/* во время отсчета хоровод крутится быстрее */
.ring:hover .ring__rot, .ring:hover .ring__upright { animation-play-state: running; }
@keyframes ringPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(102, 153, 255, .0); } 50% { box-shadow: 0 0 0 10px rgba(102, 153, 255, .18); } }
.ring__btn { animation: ringPulse 2.6s ease-in-out infinite; }
.ring__cap { transition: opacity .3s ease; }
/* Кнопка "Наверх" */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  background: var(--dark); color: var(--on-dark); box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
  transition: opacity .3s ease, transform .4s var(--ease-out), visibility 0s linear .4s, box-shadow .3s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .4s var(--ease-out), box-shadow .3s ease; }
.to-top:hover { box-shadow: 0 16px 36px rgba(0, 0, 0, .28); }
.to-top:hover .to-top__arrow { transform: translateY(-3px); }
.to-top:focus-visible { outline: 2px solid var(--dark); outline-offset: 4px; }
.to-top__arrow { transition: transform .3s var(--ease-out); }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; opacity: .55; transition: stroke-dashoffset .15s linear; }
@media (max-width: 767px) { .to-top { right: 16px; bottom: 16px; width: 48px; height: 48px; } }
/* =========================================================
   Логотип в черной капсуле, живой 24/7:
   мигает красная точка "запись" с кольцом, по капсуле регулярно пробегает блик
   ========================================================= */
.logo {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 0 20px 0 16px; min-height: 48px; border-radius: 999px;
  background: var(--dark); color: var(--on-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}
.logo:hover { color: var(--on-dark); }
.logo .logo__text { color: var(--on-dark); }
.logo__dot { position: relative; width: 10px; height: 10px; background: #FF4D52; box-shadow: none; animation: recBlink 1.6s ease-in-out infinite; }
.logo__dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(255, 77, 82, .6);
  animation: recRing 1.6s ease-out infinite;
}
@keyframes recRing { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
/* блик пробегает по капсуле каждые ~4.5 секунды */
.logo::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent);
  transform: skewX(-20deg); animation: logoSheen 4.5s ease-in-out infinite;
}
@keyframes logoSheen { 0%, 62% { left: -60%; } 100% { left: 130%; } }
[data-theme="dark"] .logo { background: #26262B; color: #F2F2F3; }
[data-theme="dark"] .logo .logo__text { color: #F2F2F3; }
@media (max-width: 480px) { .logo { padding: 0 14px 0 12px; min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { .logo::before, .logo__dot::after { animation: none; } }
/* =========================================================
   Шапка: все три капсулы одной высоты; название в логотипе бежит непрерывно
   ========================================================= */
:root { --cap-h: 50px; }
.logo { height: var(--cap-h); min-height: 0; padding: 0 16px 0 18px; gap: 12px; width: 268px; }
.logo::before { display: none; }                 /* блик убран - движется само название */
.pill { height: var(--cap-h); padding: 6px; box-sizing: border-box; }
.pill .burger.pill__menu, .pill__theme, .pill__pct { height: calc(var(--cap-h) - 12px); }
.pill__theme { width: calc(var(--cap-h) - 12px); }
.header__actions .btn--sm { height: var(--cap-h); min-height: 0; padding: 0 26px; }
.logo__run {
  position: relative; flex: 1 1 auto; min-width: 0; overflow: hidden; height: 100%;
  display: flex; align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.logo__track {
  display: inline-flex; align-items: center; gap: 14px; padding-right: 14px; white-space: nowrap;
  font-family: var(--head); font-weight: 700; font-size: 17px; letter-spacing: .02em; color: var(--on-dark);
  animation: logoRun 9s linear infinite;
}
.logo__track i { font-style: normal; color: #FF4D52; font-size: 12px; }
@keyframes logoRun { from { transform: translateX(0); } to { transform: translateX(-50%); } }
[data-theme="dark"] .logo__track { color: #F2F2F3; }
@media (max-width: 767px) { :root { --cap-h: 46px; } .logo { width: 200px; } .logo__track { font-size: 14px; } }
@media (max-width: 380px) { .logo { width: 160px; } }
@media (prefers-reduced-motion: reduce) { .logo__track { animation: none; } }/* телефон: капсула меню компактнее (только иконка), логотипу больше места */
@media (max-width: 767px) {
  .pill .pill__label { display: none; }
  .pill .burger.pill__menu { padding: 0 12px; }
  .pill__pct { min-width: 50px; padding: 0 8px; }
  .logo { flex: 1 1 auto; width: auto; max-width: 220px; }
  .header { gap: 10px; }
}/* логотип снова с обычным названием (капсула парит - script.js) */
.logo { width: auto; will-change: transform; }
.logo .logo__text { font-size: 17px; white-space: nowrap; }
@media (max-width: 767px) { .logo { max-width: none; } .logo .logo__text { font-size: 13px; line-height: 1.15; white-space: normal; max-width: 9.5em; } }/* капсулы тоньше */
:root { --cap-h: 42px; }
.pill { padding: 4px; }
.pill .burger.pill__menu, .pill__theme, .pill__pct { height: calc(var(--cap-h) - 8px); }
.pill__theme { width: calc(var(--cap-h) - 8px); }
.pill .burger.pill__menu { font-size: 14px; padding: 0 18px 0 14px; }
.pill__pct { font-size: 13px; min-width: 56px; }
.header__actions .btn--sm { padding: 0 22px; font-size: 14px; }
.logo .logo__text { font-size: 15px; }
@media (max-width: 767px) { :root { --cap-h: 40px; } }
/* "Забронировать" в шапке: едва заметно "дышит" (мягкое свечение) и чуть плавает.
   Используется свойство translate - не мешает эффекту магнита (он двигает transform). */
@keyframes bookBreath {
  0%, 100% { box-shadow: 0 0 0 0 rgba(27, 27, 31, 0), 0 6px 16px rgba(0, 0, 0, .12); filter: brightness(1); }
  50% { box-shadow: 0 0 0 5px rgba(27, 27, 31, .07), 0 8px 20px rgba(0, 0, 0, .16); filter: brightness(1.12); }
}
@keyframes bookFloat { 0%, 100% { translate: 0 0; } 33% { translate: 0 -1.5px; } 66% { translate: 0 1px; } }
.header__actions .btn--sm { animation: bookBreath 3.6s ease-in-out infinite, bookFloat 5.2s ease-in-out infinite; }
[data-theme="dark"] .header__actions .btn--sm { animation-name: bookBreathDark, bookFloat; }
@keyframes bookBreathDark {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); filter: brightness(1); }
  50% { box-shadow: 0 0 0 5px rgba(255, 255, 255, .06); filter: brightness(.94); }
}
@media (prefers-reduced-motion: reduce) { .header__actions .btn--sm { animation: none; } }
/* =========================================================
   Заставка при открытии сайта
   ========================================================= */
.intro { display: none; }
.has-intro .intro { display: block; position: fixed; inset: 0; z-index: 300; pointer-events: none;
  animation: introSafety 0s linear 4.5s forwards; } /* подстраховка: исчезнет сама, если скрипт не сработал */
@keyframes introSafety { to { visibility: hidden; } }
.has-intro:not(.intro-done) body { overflow: hidden; }
.intro__shutter { position: absolute; left: 0; right: 0; height: 50.5%; background: #141416; transition: transform .95s cubic-bezier(.75, 0, .2, 1); }
.intro__shutter--top { top: 0; }
.intro__shutter--bot { bottom: 0; }
.intro.is-open .intro__shutter--top { transform: translateY(-101%); }
.intro.is-open .intro__shutter--bot { transform: translateY(101%); }
.intro__center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 14px; color: #F4F4F5; text-align: center;
  transition: opacity .25s ease, transform .4s ease;
}
.intro.is-flash .intro__center { opacity: 0; transform: translate(-50%, -50%) scale(.96); }
.intro__dot { width: 12px; height: 12px; border-radius: 50%; background: #FF4D52; box-shadow: 0 0 0 6px rgba(255, 77, 82, .18); animation: recBlink 1s ease-in-out infinite; }
.intro__brand { font-family: var(--head); font-weight: 700; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: #A1A1AA; }
.intro__count { font-family: var(--head); font-weight: 800; font-size: clamp(72px, 14vw, 160px); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.intro__bar { display: block; width: 180px; height: 2px; background: rgba(255, 255, 255, .15); border-radius: 2px; overflow: hidden; }
.intro__bar i { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
/* вспышка: белый свет на мгновение заливает экран */
.intro::after { content: ""; position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.intro.is-flash::after { animation: introFlash .55s ease-out forwards; }
@keyframes introFlash { 0% { opacity: 0; } 18% { opacity: .95; } 100% { opacity: 0; } }/* "Забронировать": плавание теперь делает script.js (случайный дрейф), здесь - только "дыхание", чуть заметнее */
.header__actions .btn--sm { animation: bookBreath 3.2s ease-in-out infinite; }
[data-theme="dark"] .header__actions .btn--sm { animation: bookBreathDark 3.2s ease-in-out infinite; }
@keyframes bookBreath {
  0%, 100% { box-shadow: 0 0 0 0 rgba(27, 27, 31, 0), 0 6px 16px rgba(0, 0, 0, .12); filter: brightness(1); }
  50% { box-shadow: 0 0 0 6px rgba(27, 27, 31, .09), 0 10px 22px rgba(0, 0, 0, .18); filter: brightness(1.22); }
}
/* Блок заявки - без серой подложки, под ним тот же фон с сеткой, что и везде */
.book, .has-cubes .book, .has-grid .book, [data-theme="dark"] .book, [data-theme="dark"].has-cubes .book, [data-theme="dark"].has-grid .book { background: transparent; }
/* =========================================================
   Подвал
   ========================================================= */
.foot { position: relative; overflow: hidden; margin-top: 40px; padding-top: 72px; border-top: 1px solid var(--line); }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.foot__title { margin: 0 0 14px; font-family: var(--head); font-weight: 800; font-size: clamp(36px, 4.6vw, 64px); line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.foot__sub { margin: 0; max-width: 360px; font-size: 16px; line-height: 1.55; color: var(--muted); font-weight: 500; }
.foot__label { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.foot__nav { display: flex; flex-direction: column; gap: 8px; }
.foot__nav a { color: var(--ink); font-weight: 600; font-size: 16px; text-decoration: none; width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease-out); padding-bottom: 2px; }
.foot__nav a:hover { color: var(--ink); background-size: 100% 1.5px; }
.foot__contacts { display: flex; flex-direction: column; gap: 10px; }
.foot__pill {
  display: flex; align-items: center; gap: 14px; padding: 10px 18px 10px 14px; border-radius: 999px; width: fit-content; min-width: 260px;
  background: var(--dark); color: var(--on-dark); text-decoration: none;
  transition: transform .35s var(--ease-out), box-shadow .35s ease;
}
.foot__pill svg { flex: 0 0 auto; width: 36px; height: 36px; padding: 9px; border-radius: 50%; background: rgba(255, 255, 255, .12); box-sizing: border-box; }
.foot__pill span { display: flex; flex-direction: column; font-weight: 700; font-size: 15px; line-height: 1.2; }
.foot__pill small { font-weight: 500; font-size: 13px; opacity: .65; }
.foot__pill:hover { color: var(--on-dark); transform: translateX(6px); box-shadow: 0 14px 30px rgba(0, 0, 0, .18); }
[data-theme="dark"] .foot__pill { background: #222226; color: #F2F2F3; border: 1px solid #2E2E34; }
[data-theme="dark"] .foot__pill:hover { color: #F2F2F3; }
/* огромное слово снизу: полупрозрачное, уходит за край */
.foot__big {
  margin-top: 56px; text-align: center; white-space: nowrap; user-select: none; pointer-events: none;
  font-family: var(--head); font-weight: 800; font-size: 12.4vw; line-height: .82; overflow: hidden; letter-spacing: -.04em;
  background: linear-gradient(180deg, rgba(22, 22, 22, .14), rgba(22, 22, 22, 0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
[data-theme="dark"] .foot__big { background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 85%); -webkit-background-clip: text; background-clip: text; }
.foot__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted-2); }
@media (max-width: 899px) {
  .foot__top { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .foot { padding-top: 56px; }
  .foot__top { grid-template-columns: 1fr; gap: 32px; }
  .foot__pill { min-width: 0; width: 100%; }
  .foot__bottom { flex-direction: column; gap: 4px; }
}
/* ===== Телефон: шапка не шире экрана (капсула меню больше не уезжает вправо) ===== */
@media (max-width: 767px) {
  .header { gap: 8px; }
  .pill-wrap { position: relative; left: auto; top: auto; transform: none; margin-left: auto; flex: 0 0 auto; }
  .pill-wrap .nav { left: auto; right: 0; margin-left: 0; width: min(340px, calc(100vw - 32px)); }
  .logo { min-width: 0; overflow: hidden; }
}
@media (max-width: 400px) {
  .pill { gap: 4px; padding: 4px; }
  .pill .burger.pill__menu { padding: 0 12px 0 10px; gap: 8px; }
  .pill__pct { min-width: 48px; padding: 0 6px; font-size: 12px; }
}

/* ===== Телефон и планшет: без размытия фона под панелями (главная причина тормозов) ===== */
@media (hover: none), (max-width: 767px) {
  #booths, #egrid, #brands, #price, .included {
    -webkit-backdrop-filter: none; backdrop-filter: none;
    background: rgba(250, 250, 248, .93);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 12px 30px rgba(0, 0, 0, .07);
  }
  [data-theme="dark"] #booths, [data-theme="dark"] #egrid, [data-theme="dark"] #brands, [data-theme="dark"] #price, [data-theme="dark"] .included {
    background: rgba(27, 27, 31, .94);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 12px 30px rgba(0, 0, 0, .35);
  }
  .pill { -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ничего не вылезает за правый край экрана (иначе телефон уменьшает всю страницу) */
main, .foot { overflow-x: clip; }

/* ===== Телефон: аккуратные мелочи ===== */
@media (max-width: 599px) {
  /* кольцо из фото: снимки чуть меньше и дальше от центра, подпись в 2 строки - ничего не налезает */
  .ring { --size: min(560px, 88vw); }
  .ring__item { width: calc(var(--size) * .19); height: calc(var(--size) * .19);
    transform: translate(-50%, -50%) rotate(calc(var(--i) * 45deg)) translateY(calc(var(--size) * -.4)) rotate(calc(var(--i) * -45deg)); }
  .ring__center { gap: 8px; }
  .ring__cap { font-size: 12px; white-space: normal; text-align: center; max-width: calc(var(--size) * .42); line-height: 1.3; }
  /* названия брендов помещаются в плитку */
  .brand__name { font-size: 20px; overflow-wrap: anywhere; hyphens: auto; }
  /* кнопка "Забронировать на 4 часа" целиком */
  .calc .btn--lg, #book-hours { font-size: 15px; padding: 0 16px; }
  .foot__big { font-size: 12vw; }
}
@media (max-width: 767px) {
  .logo { overflow: visible; flex: 0 1 auto; }
  .logo .logo__text { font-size: 13.5px; }
}

/* ===== Телефон: капсулы шапки компактнее (логотип и меню) ===== */
@media (max-width: 767px) {
  :root { --cap-h: 38px; }
  .logo { padding: 0 12px 0 10px; gap: 8px; }
  .logo .logo__text { font-size: 12px; line-height: 1.12; }
  .pill { gap: 2px; padding: 3px; }
  .pill .burger.pill__menu { padding: 0 10px 0 8px; gap: 6px; font-size: 13px; }
  .pill__icon, .pill .pill__icon span { width: 15px; }
  .pill__theme { width: 30px; }
  .pill__pct { min-width: 42px; padding: 0 6px; font-size: 11.5px; }
  .pill .burger.pill__menu, .pill__theme, .pill__pct { height: calc(var(--cap-h) - 6px); }
}
@media (max-width: 599px) {
  .brand__name { font-size: 17px; overflow-wrap: normal; hyphens: manual; }
}
@media (max-width: 599px) { .brand { padding: 22px 16px; } .brand__name { font-size: 16px; } }

/* ===== Белая будка (без брендирования) в светлой теме: серая подложка и четкий контур, чтобы не сливалась с белой панелью ===== */
.mini-booth { isolation: isolate; }
.mini-booth::before {
  content: ""; position: absolute; z-index: -1; inset: -14px; border-radius: 24px;
  background: radial-gradient(120% 90% at 50% 40%, #E9E8E4 0%, #DEDDD8 100%);
  opacity: 0; transition: opacity .4s ease;
}
.mini-booth.is-plain::before { opacity: 1; }
.mini-booth.is-plain .mini-booth__body {
  background: linear-gradient(180deg, #FFFFFF 0%, #F3F3F1 100%);
  box-shadow: 0 0 0 1px #CFCDC7, 0 24px 50px rgba(0, 0, 0, .16), 0 6px 14px rgba(0, 0, 0, .06);
}
.mini-booth.is-plain .mini-booth__light { box-shadow: 0 0 0 1px #CFCDC7, 0 0 14px rgba(255, 255, 255, .9); }
.mini-booth.is-plain .mini-booth__plain { color: #8E8C86; }
/* в темной теме подложка не нужна - белая будка и так видна */
[data-theme="dark"] .mini-booth::before { display: none; }
@media (max-width: 599px) { .egrid .h2 { font-size: clamp(26px, 8vw, 34px); } }

/* Бонус-карточка в темной теме: светлая (наоборот к светлой теме), текст хорошо виден */
[data-theme="dark"] .inc--bonus { background: #F2F2F3; border-color: #F2F2F3; color: #111113; }
[data-theme="dark"] .inc--bonus *:not(.bonus__tag) { color: #111113; }
[data-theme="dark"] .inc--bonus svg { color: #111113; }
[data-theme="dark"] .inc--bonus .bonus__tag { background: #111113; color: #F2F2F3; }

/* ===== Кошки - наша фишка (анимации LottieFiles, Lottie Simple License) ===== */
/* 1) Кошка выглядывает из-под капсулы меню (только компьютер) */
.pill { position: relative; z-index: 2; }
.cat-peek { position: absolute; z-index: 1; top: calc(50% + 20px); left: 50%; width: 66px; height: 60px; margin-left: -33px; overflow: hidden; pointer-events: none; display: none; }
.cat-peek__cv { display: block; width: 66px; height: 117px; transform: scaleY(-1); transform-origin: 50% 0; margin-top: 117px; }
@media (hover: hover) and (pointer: fine) and (min-width: 768px) { .cat-peek { display: block; } }
.pill-wrap.is-open .cat-peek { display: none; }
/* 2) Кошка спит на кнопке Telegram в подвале и просыпается от мыши/касания */
.foot__contacts { position: relative; }
.foot__catspot { position: relative; width: fit-content; }
@media (max-width: 599px) { .foot__catspot { width: 100%; } }
/* кошка привязана к кнопке. --cat-sink - насколько кошка "проседает" на кнопку: больше число = ниже кошка, меньше = выше */
.foot-cat { --cat-sink: 15.5px; position: absolute; z-index: 2; right: 30px; bottom: calc(100% - var(--cat-sink)); width: 96px; height: 96px; display: block; cursor: pointer; opacity: 0; transition: opacity .5s ease; }
.foot-cat.is-ready { opacity: 1; }
[data-theme="dark"] .foot-cat { filter: invert(1) brightness(.88); }/* кошку в меню можно спугнуть кликом */
.cat-peek.is-up { pointer-events: auto; cursor: pointer; }
