/* =========================================================
   PIXO - стили сайта
   Цвета собраны в переменных ниже: поменяйте здесь - поменяется везде.
   ========================================================= */
:root {
  --bg: #0B0B0C;
  --text: #F4F4F5;
  --muted: #A1A1AA;
  --muted-2: #85858E;   /* чуть светлее #71717A из макета - для контраста 4.5:1 */
  --card: #141416;
  --line: #27272A;
  --line-2: #3F3F46;
  --sep: #1F1F23;
  --gold: #E8B44A;
  --gold-hover: #F5CD72;
  --gold-dark: #8A6417;
  --light: #F4F4F5;
  --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(--gold); }
a:hover { color: var(--gold-hover); }
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(--bg); }

.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(--gold); }

/* ---------- Анимации ---------- */
@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(232, 180, 74, 0); } 30% { box-shadow: 0 0 0 4px rgba(232, 180, 74, .45); } }

.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--light { background: var(--light); color: var(--bg); }
.btn--light:hover { background: #fff; color: var(--bg); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); font-weight: 600; }
.btn--ghost:hover { color: var(--text); border-color: #71717A; }
.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; }

/* ---------- Шапка ---------- */
.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;
}
.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: var(--gold);
  box-shadow: 0 0 16px var(--gold); animation: pulseGlow 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, .55);
    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: #1C1C1F; }
}
@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__booth { flex: 1 1 360px; min-width: 0; display: flex; justify-content: center; padding-bottom: 120px; }

.booth { position: relative; width: 250px; height: 540px; }
.booth > div { position: absolute; }
.booth__halo { inset: -60px; background: radial-gradient(closest-side, rgba(232, 180, 74, .18), rgba(232, 180, 74, 0)); pointer-events: none; }
.booth__body { inset: 0; border-radius: 16px; background: #141416; border: 1px solid #2A2A2E; box-shadow: 0 40px 80px rgba(0, 0, 0, .55); }
.booth__cam { top: 22px; left: 50%; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%; background: #050505; border: 4px solid #2A2A2E; }
.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: var(--text); animation: popIn .3s ease-out; }
.booth__hint { font-size: 13px; color: var(--muted); 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, .5);
}
.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(--bg); text-align: center; padding: 4px 0 2px; overflow-wrap: anywhere; }

/* ---------- Бегущая строка ---------- */
.marquee { border-top: 1px solid var(--sep); border-bottom: 1px solid var(--sep); padding: 22px 0; overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 32s 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: #E4E4E7; }
.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(--gold); box-shadow: 0 0 0 3px rgba(232, 180, 74, .25); }
.input[aria-invalid="true"] { border-color: #F87171; }
.input--date { color-scheme: dark; }
.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='%23A1A1AA' 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: #FCA5A5; }
.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, .5); 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(11, 11, 12, .85); color: var(--text); font-size: 14px; font-weight: 600;
}
.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: #D4D4D8; }

/* ---------- Галерея ---------- */
.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: 280px; flex: 0 0 auto; }
.card figure { display: flex; flex-direction: column; gap: 14px; transform: rotate(var(--r)); transition: transform .35s ease; }
.card__btn {
  display: block; padding: 0; border: 0; background: var(--light); border-radius: 18px; cursor: zoom-in;
  transition: box-shadow .35s ease;
}
.card__btn img { width: 280px; height: 350px; object-fit: cover; border-radius: 18px; display: block; }
.card figure:hover, .card figure:focus-within { transform: rotate(0deg) translateY(-10px) scale(1.04); }
.card figure:hover .card__btn, .card figure:focus-within .card__btn { box-shadow: 0 30px 60px rgba(0, 0, 0, .6); }
.card figcaption { font-size: 14px; color: var(--muted); }
@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(--text); 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: var(--muted); text-align: center; }
.lightbox__btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2);
  background: rgba(20, 20, 22, .9); color: var(--text); 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;
}
.brand:hover { background: #17140C; }
.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(--light); color: var(--bg); }
.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: #52525B; }
.frame .field label, .frame .field legend { color: var(--bg); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--bg);
  background: transparent; color: var(--bg); font-family: var(--body); font-weight: 700; font-size: 15px; cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.chip:hover { background: rgba(11, 11, 12, .08); }
.chip[aria-pressed="true"] { background: var(--bg); color: var(--light); }
.input--light { background: #fff; border-color: #D4D4D8; color: var(--bg); }
.input--light:focus { border-color: var(--gold-dark); box-shadow: 0 0 0 3px rgba(138, 100, 23, .2); }
.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, .25); 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: #1C1A12; border: 1px solid #4A3B17; font-size: 15px; color: var(--gold-hover);
}
.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(--gold); cursor: pointer; }

/* ---------- Входит в стоимость ---------- */
.included { padding-bottom: 120px; display: flex; flex-direction: column; gap: 40px; }
.included__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.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; }

/* ---------- Заявка ---------- */
.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: #2A1414; border: 1px solid #7F1D1D; color: #FECACA; 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); }

/* ---------- Подвал ---------- */
.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); }

/* ---------- Телефоны ---------- */
@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 { animation: 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; }
}
