/* =========================================================
   Песни на заказ — Аниматор Дом (animatordom.ru/music и /music/spasibo).
   Боевая страница с 10.10.2026 на основе макета v3c «Праздник: магнитофон».
   Стиль бренда animatordom.ru: «Мемфис-стикеры» —
   чёрные обводки 3px, жёсткие тени, цвета бренда, системный шрифт.
   Без внешних шрифтов и библиотек.
   ========================================================= */

:root {
  --bg: #FDFDF8;
  --paper: #FFFBEC;
  --ink: #111111;
  --ink-2: #333333;
  --muted: #555555;
  --yellow: #FFDD59;
  --red: #FF4757;
  --green: #2ED573;
  --blue: #5352ED;
  --v1: #4A49E8;
  --v2: #6A4DF0;
  --v3: #7C4FF2;
  --b: 3px solid var(--ink);
  --sh: 6px 6px 0 var(--ink);
  --sh-sm: 4px 4px 0 var(--ink);
  --gutter: 16px;
  --maxw: 1200px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --pop: cubic-bezier(.3, 1.5, .5, 1);
  --out: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- База ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
p { text-wrap: pretty; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { display: block; }
b { font-weight: 800; }

.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.violet :focus-visible,
.promos :focus-visible,
.occasions :focus-visible,
.footer :focus-visible { outline-color: #fff; }
.violet .form :focus-visible { outline-color: var(--blue); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  border: var(--b);
  border-radius: 12px;
  box-shadow: var(--sh);
  color: var(--ink);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--ink); }
.btn--yellow { background: var(--yellow); }
.btn--green { background: var(--green); }

/* ---------- Шапка ---------- */
.header {
  position: relative;
  z-index: 30;
  background: var(--bg);
  border-bottom: var(--b);
}
.header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  text-decoration: none;
}
.logo__word {
  display: inline-block;
  padding: 3px 12px 6px;
  background: var(--red);
  color: #fff;
  border: var(--b);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 27px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.02em;
  transform: rotate(-2deg);
}
.logo__brand {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .01em;
}
.header__cta { display: none; }

/* ---------- Фиолетовые блоки (первый экран и форма) ---------- */
.violet {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(140deg, var(--v1) 0%, var(--v2) 52%, var(--v3) 100%);
}
@supports (overflow: clip) { .violet { overflow: clip; } }

/* лучи сценического света */
.violet::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    conic-gradient(from 202deg at 84% -8%, transparent 0deg, rgba(255,255,255,.12) 6deg, transparent 13deg, transparent 24deg, rgba(255,255,255,.08) 30deg, transparent 37deg, transparent 360deg),
    radial-gradient(55% 45% at 88% 0%, rgba(255,255,255,.16), transparent 70%);
}
/* зерно */
.violet::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .28;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

/* ---------- Первый экран ---------- */
.hero { padding: 22px 0 48px; }

.hero__title {
  font-size: clamp(38px, 11vw, 44px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -.035em;
  text-shadow: 0 3px 0 rgba(30, 18, 120, .35);
}
.plaque {
  display: inline-block;
  margin-top: .14em;
  padding: .02em .2em .1em;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 14px;
  box-shadow: .12em .12em 0 rgba(17, 17, 17, .9);
  text-shadow: none;
  white-space: nowrap;
  transform: rotate(-2deg);
}
.hero__lead {
  max-width: 34em;
  margin-top: 14px;
  color: rgba(255, 255, 255, .96);
  font-size: 17px;
  line-height: 1.5;
}
.btn--hero {
  width: 100%;
  min-height: 60px;
  margin-top: 20px;
  font-size: 20px;
}

/* строка «цена · срок · условие» — стикеры */
.facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 6px;
  margin-top: 16px;
}
.fact {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 3px 8px 4px;
  border: 2px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.fact--price {
  min-height: 38px;
  margin-right: 4px;
  padding: 2px 10px 5px;
  background: var(--yellow);
  color: var(--ink);
  border: var(--b);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -.01em;
  transform: rotate(-2.5deg);
}

.hero__media { position: relative; margin-top: 26px; }

/* мемфис-фигуры */
.decor { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.d-circle {
  position: absolute;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--red);
  border: var(--b);
  box-shadow: 5px 5px 0 var(--ink);
}
.d-stripes {
  position: absolute;
  width: 124px;
  height: 28px;
  background: repeating-linear-gradient(-55deg, var(--yellow) 0 9px, transparent 9px 19px);
}
.d-dots {
  position: absolute;
  width: 108px;
  height: 72px;
  background: radial-gradient(circle, rgba(255, 255, 255, .7) 0 2.6px, transparent 3.2px) 0 0 / 18px 18px;
}
.d-squiggle { position: absolute; width: 112px; height: auto; }
.d-tri {
  position: absolute;
  width: 46px;
  height: 40px;
  background: var(--yellow);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.hero .d-circle { top: 132px; right: -26px; }
.hero .d-stripes { left: -4px; bottom: 4px; }
.hero .d-dots { right: 4px; bottom: -18px; }
.hero .d-squiggle { left: -8px; top: 116px; }
.hero .d-tri { display: none; }

/* ---------- Кассета (плеер-макет) ---------- */
.tape { position: relative; --p: 0; }
.tape--hero { z-index: 1; }

.tape__player {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px 12px 12px;
  background: var(--paper);
  color: var(--ink);
  border: var(--b);
  border-radius: 18px;
  box-shadow: var(--sh);
  transform: rotate(-1.2deg);
  transition: transform .3s var(--out);
}
.tape--hero[data-playing] .tape__player { transform: rotate(0deg); }

.tape__meta { flex: 1; min-width: 0; }
.tape__who {
  display: block;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.02em;
}
.tape__what {
  display: block;
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}
.tape__genre {
  display: inline-block;
  padding: 0 8px 2px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--yellow);
  font-weight: 800;
  white-space: nowrap;
}

/* кнопка ▶ */
.play {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: var(--b);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: var(--sh-sm);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .12s ease, box-shadow .12s ease;
}
.play:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.play:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.play--lg { width: 64px; height: 64px; }
.play__i { width: 26px; height: 26px; fill: var(--ink); }
.play--lg .play__i { width: 30px; height: 30px; }
.play__i--pause { display: none; }
.play[aria-pressed="true"] .play__i--play { display: none; }
.play[aria-pressed="true"] .play__i--pause { display: block; }

/* прогресс — полосатая жёлто-чёрная лента */
.tape__progress {
  position: relative;
  height: 16px;
  margin-top: 10px;
  border: var(--b);
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
}
.tape__fill {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 2px;
  width: calc(var(--p) * (100% - 4px));
  /* 10.10.2026 (МН: «ползунок кривой»): вместо бегущих диагональных полосок — ровная заливка со скруглённым концом */
  background: var(--ink);
  border-radius: 999px;
  transition: width .3s linear;
}

/* наклейка «пример скоро появится» (звука в примерах пока нет) */
.tape__note {
  position: absolute;
  z-index: 4;
  top: -18px;
  right: 12px;
  padding: 3px 10px 5px;
  background: var(--red);
  color: var(--ink);
  border: 2.5px solid var(--ink);
  border-radius: 8px;
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: rotate(3deg) scale(.5);
  transform-origin: 80% 100%;
  transition: opacity .18s ease, transform .3s var(--pop);
}
.tape[data-playing] .tape__note { opacity: 1; transform: rotate(3deg) scale(1); }

/* катушки */
.reel {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: spin 1.7s linear infinite paused;
}
.tape[data-playing] .reel { animation-play-state: running; }
.spool { transform-box: fill-box; transform-origin: 50% 50%; }
.spool--l { transform: scale(calc(1 - var(--p) * .42)); }
.spool--r { transform: scale(calc(.58 + var(--p) * .42)); }

/* ---------- Магнитофон: главный визуал первого экрана ----------
   Состояния (атрибут data-deck у svg, ставит script.js):
   нет — кассета над магнитофоном, крышка деки открыта;
   load — кассета въезжает, крышка закрывается; play — нажата ▶; stop — нажата ■. */
.boombox {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: auto;
  margin: 22px auto 0;
  overflow: visible;
}
.bb-label { font: 800 14px var(--font); fill: #1b1b1f; }
.bb-brand { font: 900 27px var(--font); letter-spacing: 2.5px; fill: url(#bbGold); }
.bb-brand--shadow { fill: #000; fill-opacity: .7; }
.bb-vu__txt { font: 700 8px var(--font); fill: #2a2418; letter-spacing: .4px; }

.bb-cas {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  transform: translate(20px, -284px) rotate(-8deg) scale(1.18);
}
.bb-cas__shadow { opacity: .5; transition: opacity .5s ease .5s; }
.boombox[data-deck] .bb-cas { transform: none; animation: bb-insert 1.05s both; }
.boombox[data-deck] .bb-cas__shadow { opacity: 0; }

.bb-lid {
  transform-box: view-box;
  transform-origin: 320px 434px;
  transform: scaleY(.34);
  transition: transform .42s cubic-bezier(.3, 1.45, .55, 1) .92s;
}
.boombox[data-deck] .bb-lid { transform: none; }
/* верхняя кромка крышки: у открытой видна торцом, у закрытой — тонкий блик */
.bb-lid-edge {
  transform: translateY(87.1px);
  transition: transform .42s cubic-bezier(.3, 1.45, .55, 1) .92s, opacity .3s ease 1.1s;
}
.boombox[data-deck] .bb-lid-edge { transform: none; opacity: .3; }

.bb-key { transition: transform .14s cubic-bezier(.2, .8, .3, 1); }
.bb-key__shade { opacity: 0; transition: opacity .14s ease; }
.boombox[data-deck="play"] .bb-key--play,
.boombox[data-deck="stop"] .bb-key--stop { transform: translateY(10px); }
.boombox[data-deck="play"] .bb-key--play .bb-key__shade,
.boombox[data-deck="stop"] .bb-key--stop .bb-key__shade { opacity: .22; }

.bb-lamp,
.bb-led__on,
.bb-led__glow { opacity: 0; transition: opacity .35s ease; }
.boombox[data-deck="play"] .bb-lamp,
.boombox[data-deck="play"] .bb-led__on,
.boombox[data-deck="play"] .bb-led__glow { opacity: 1; }

/* лента: слева убывает, справа прибывает (--p — прогресс примера) */
.bb-pack { transform-box: fill-box; transform-origin: 50% 50%; }
.bb-pack--l { transform: scale(calc(1 - var(--p) * .54)); }
.bb-pack--r { transform: scale(calc(.46 + var(--p) * .54)); }

/* ---------- Поводы (бегущая лента) ---------- */
.occasions {
  background: var(--ink);
  color: #fff;
  padding: 20px 0 18px;
}
.occasions__in { display: grid; gap: 8px; }
.occasions__title {
  color: var(--yellow);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.01em;
}
.ticker {
  display: flex;
  overflow: hidden;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
}
.ticker.is-running {
  padding-inline: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
}
.ticker__track {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 8px 0 10px;
}
.ticker.is-running .ticker__track {
  flex: none;
  flex-wrap: nowrap;
  padding-right: 12px;
  animation: marquee 52s linear infinite;
}
.ticker.is-running:hover .ticker__track,
.ticker.is-running:focus-within .ticker__track { animation-play-state: paused; }

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  rotate: -2deg;
  -webkit-tap-highlight-color: transparent;
  transition: rotate .2s ease, transform .2s ease;
}
.ticker__track li:nth-child(4n+2) .chip { background: var(--bg); rotate: 1.5deg; }
.ticker__track li:nth-child(4n+3) .chip { background: var(--green); rotate: -1deg; }
.ticker__track li:nth-child(4n+4) .chip { background: var(--red); rotate: 2deg; }
.chip:hover { rotate: 0deg; transform: translateY(-2px); }

/* ---------- Секции ---------- */
.section { padding: 64px 0; }
.h2 {
  margin-bottom: 30px;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.03em;
}
.h2--yellow { color: var(--yellow); }
.u {
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-decoration-thickness: .16em;
  text-underline-offset: .14em;
  text-decoration-skip-ink: none;
}
.u--red { text-decoration-color: var(--red); }

/* ---------- Примеры ---------- */
.examples {
  background:
    radial-gradient(rgba(17, 17, 17, .085) 1.4px, transparent 1.9px) 0 0 / 22px 22px,
    var(--bg);
}
.tapes { display: grid; grid-template-columns: 1fr; gap: 34px; }
.tapes > li { min-width: 0; }

.tape--card {
  --screw: rgba(17, 17, 17, .7);
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px 16px 18px;
  border: var(--b);
  border-radius: 22px;
  box-shadow: var(--sh);
  background:
    radial-gradient(circle at 8px 8px, var(--screw) 0 2.6px, transparent 3.2px),
    radial-gradient(circle at calc(100% - 8px) 8px, var(--screw) 0 2.6px, transparent 3.2px),
    radial-gradient(circle at 8px calc(100% - 8px), var(--screw) 0 2.6px, transparent 3.2px),
    radial-gradient(circle at calc(100% - 8px) calc(100% - 8px), var(--screw) 0 2.6px, transparent 3.2px),
    var(--shell, var(--yellow));
  rotate: -1deg;
  transition: rotate .25s var(--out), transform .25s var(--out), box-shadow .25s var(--out);
}
.tapes > li:nth-child(even) .tape--card { rotate: 1deg; }
.tapes > li:nth-child(3n) .tape--card { rotate: -.5deg; }
.tape--card:hover,
.tape--card[data-playing] {
  rotate: 0deg;
  transform: translateY(-4px);
  box-shadow: 10px 10px 0 var(--ink);
}
.tape--dark { --screw: rgba(255, 255, 255, .4); }

.tape__label {
  position: relative;
  flex: 1 1 auto;
  overflow: hidden;
  padding: 22px 16px 16px;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: 12px;
}
.tape__label::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 9px;
  background: linear-gradient(90deg, var(--red) 0 25%, var(--yellow) 25% 50%, var(--green) 50% 75%, var(--blue) 75% 100%);
  border-bottom: 2px solid var(--ink);
}
.tape--card .tape__who { font-size: 27px; }
.tape__quote {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.42;
}
.tape__deck {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}
.tape__window { flex: 1; min-width: 0; height: 56px; }
.tape--card .tape__progress { margin-top: 14px; }

/* ---------- Как это работает ---------- */
.steps__list { position: relative; display: grid; gap: 18px; }
.steps__list::before {
  content: "";
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 43px;
  border-left: 3px dashed var(--ink);
}
.step {
  position: relative;
  min-height: 92px;
  padding: 18px 18px 20px 86px;
  background: #fff;
  border: var(--b);
  border-radius: 18px;
  box-shadow: var(--sh);
  font-size: 18px;
  line-height: 1.45;
}
.step__num {
  position: absolute;
  top: 16px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: var(--red);
  color: #fff;
  border: var(--b);
  border-radius: 12px;
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  transform: rotate(-5deg);
}
.step:nth-child(2) .step__num { background: var(--blue); transform: rotate(4deg); }
.step:nth-child(3) .step__num { background: var(--yellow); color: var(--ink); transform: rotate(-3deg); }
.step:nth-child(4) .step__num { background: var(--green); color: var(--ink); transform: rotate(5deg); }

/* ---------- Что входит ---------- */
.included {
  background: var(--yellow);
  border-top: var(--b);
  border-bottom: var(--b);
}
.included__head {
  position: relative;
  display: flex;
  flex-direction: column;
}
.nowrap { white-space: nowrap; }
.price-plaque {
  display: inline-block;
  padding: 0 .18em .07em;
  background: var(--ink);
  color: var(--yellow);
  border-radius: 12px;
  white-space: nowrap;
  transform: rotate(2deg);
}
.postcard {
  align-self: flex-end;
  width: 206px;
  height: auto;
  margin: -4px 8px 24px 0;
  transform: rotate(5deg);
  filter: drop-shadow(6px 6px 0 var(--ink));
}
.inc-list { display: grid; gap: 14px; }
.inc {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: var(--b);
  border-radius: 16px;
  box-shadow: 5px 5px 0 var(--ink);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}
.inc::before {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23FFDD59' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.inc--gift { background: var(--paper); }
.gift-tag {
  display: inline-block;
  margin-right: 2px;
  padding: 0 8px 2px;
  background: var(--red);
  border: 2px solid var(--ink);
  border-radius: 7px;
  font-weight: 900;
  transform: rotate(-2deg);
}

/* ---------- Акции ---------- */
.promos { background: var(--ink); color: #fff; }
.tickets { display: grid; gap: 28px; }
.ticket {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 78px;
  min-height: 164px;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 18px;
  rotate: -1deg;
}
.ticket--g { background: var(--green); rotate: .8deg; }
.ticket--r { background: var(--red); rotate: -.6deg; }
.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  right: 78px;
  width: 26px;
  height: 26px;
  margin-right: -13px;
  border-radius: 50%;
  background: var(--ink);
}
.ticket::before { top: -13px; }
.ticket::after { bottom: -13px; }
.ticket__body { padding: 22px 18px 22px 22px; }
.ticket__title {
  margin-bottom: 8px;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.ticket p { font-size: 17px; font-weight: 600; line-height: 1.45; }
.ticket .ticket__local {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 12px 6px;
  background: var(--ink);
  color: var(--yellow);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}
.ticket__local[hidden] { display: none; }
.ticket__stub {
  display: grid;
  place-items: center;
  border-left: 3px dashed rgba(17, 17, 17, .85);
}
.ticket__stub svg { width: 44px; height: 44px; }

/* ---------- Вопросы ---------- */
.faq__grid { display: grid; }
.faq__list { display: grid; gap: 14px; }
.qa {
  background: #fff;
  border: var(--b);
  border-radius: 16px;
  box-shadow: 5px 5px 0 var(--ink);
  transition: box-shadow .2s ease;
}
.qa[open] { box-shadow: 8px 8px 0 var(--ink); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 64px;
  padding: 13px 14px 13px 20px;
  border-radius: 13px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::marker { content: ""; }
.qa__icon {
  position: relative;
  flex: none;
  width: 38px;
  height: 38px;
  background: var(--yellow);
  border: var(--b);
  border-radius: 10px;
  transition: transform .3s var(--pop), background-color .2s ease;
}
.qa__icon::before,
.qa__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 3px;
  margin: -1.5px 0 0 -8px;
  border-radius: 2px;
  background: var(--ink);
}
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon { background: var(--ink); transform: rotate(45deg); }
.qa[open] .qa__icon::before,
.qa[open] .qa__icon::after { background: var(--yellow); }
.qa__a {
  padding: 0 20px 20px;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.55;
}

/* ---------- Форма ---------- */
.order { padding: 60px 0 72px; }
.order .d-stripes { top: 22px; right: -14px; }
.order .d-circle { display: none; }
.order .d-dots { display: none; }
.order .d-squiggle { display: none; }
.order__in { position: relative; z-index: 1; }
.order__title {
  margin-bottom: 26px;
  color: #fff;
  text-shadow: 0 3px 0 rgba(30, 18, 120, .35);
}

.form {
  position: relative;
  padding: 22px 18px;
  background: #fff;
  color: var(--ink);
  border: var(--b);
  border-radius: 22px;
  box-shadow: 8px 8px 0 var(--ink);
}
.form__row { display: grid; gap: 18px; }
.field {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.field__label {
  padding: 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
}
.field--opts { margin-top: 22px; }
.field--opts .field__label { margin-bottom: 10px; }
.input {
  width: 100%;
  height: 58px;
  padding: 0 16px;
  background: #fff;
  border: var(--b);
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  -webkit-appearance: none;
  appearance: none;
  transition: box-shadow .15s ease, border-color .15s ease, background-color .15s ease;
}
.input:focus {
  outline: none;
  background: #FFFDF2;
  border-color: var(--blue);
  box-shadow: 4px 4px 0 var(--blue);
}

.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { position: relative; display: inline-flex; --solid: var(--yellow); }
.opt:nth-child(4n+2) { --solid: var(--red); }
.opt:nth-child(4n+3) { --solid: var(--green); }
.opt:nth-child(4n+4) { --solid: #A98BFA; }
.opt input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.opt span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 15px 0 13px;
  background: #fff;
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s var(--pop), box-shadow .15s ease, background-color .15s ease;
}
.opt span::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--solid);
}
.opt span:hover { box-shadow: 3px 3px 0 var(--ink); transform: translate(-1px, -1px); }
.opt input:checked + span {
  background: var(--solid);
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-2deg);
}
.opt input:checked + span::before {
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5 11-11' fill='none' stroke='%23111111' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.opt input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }

.form__time {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}
.form__time::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-out infinite;
}
.btn--submit {
  width: 100%;
  min-height: 64px;
  margin-top: 14px;
  font-size: 21px;
}
.form__legal {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.form__legal a { color: var(--ink); text-underline-offset: 2px; }
.form__error {
  margin-top: 16px;
  padding: 10px 16px;
  background: var(--red);
  border: var(--b);
  border-radius: 12px;
  box-shadow: var(--sh-sm);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  transform: rotate(-1deg);
}
.form__error:not([hidden]) { animation: pop .35s var(--pop); }
.field__hint {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}
.input.err { border-color: var(--red); box-shadow: 4px 4px 0 var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Подвал ---------- */
.footer {
  padding: 24px 0 28px;
  background: var(--ink);
  color: #D9D9D9;
  font-size: 15px;
}
.footer__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 20px;
}
.footer__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--yellow);
  text-underline-offset: 3px;
}

/* ---------- Липкая кнопка (телефон) ---------- */
.sticky-cta {
  position: fixed;
  z-index: 60;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0 20px;
  background: var(--green);
  color: var(--ink);
  border: var(--b);
  border-radius: 14px;
  box-shadow: 5px 5px 0 var(--ink);
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
  visibility: hidden;
  transform: translateY(calc(100% + 40px));
  transition: transform .3s var(--out), visibility 0s linear .3s;
  -webkit-tap-highlight-color: transparent;
}
.sticky-cta.is-on {
  visibility: visible;
  transform: none;
  transition: transform .3s var(--out), visibility 0s;
}

/* ---------- Анимации ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes barber { to { background-position: 16.97px 0; } }
@keyframes marquee { to { transform: translateX(-100%); } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 213, 115, .6); }
  100% { box-shadow: 0 0 0 10px rgba(46, 213, 115, 0); }
}
@keyframes pop { from { opacity: 0; transform: rotate(-1deg) scale(.85); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes rise-in { from { opacity: 0; transform: translate(26px, 10px) rotate(3deg); } }
/* заголовок и лид — главный контент первого экрана (LCP): без прозрачности, только сдвиг (10.10.2026) */
@keyframes rise-t { from { transform: translateY(18px); } }
@keyframes plaque-in { from { opacity: 0; transform: rotate(-14deg) scale(.6); } }
@keyframes bb-insert {
  0% { transform: translate(20px, -284px) rotate(-8deg) scale(1.18); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  55% { transform: translate(2px, -96px) rotate(-.8deg) scale(1.05); animation-timing-function: cubic-bezier(.3, 0, .5, 1); }
  84% { transform: translate(0, 3px) rotate(0deg) scale(1); animation-timing-function: ease-out; }
  100% { transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__title { animation: rise-t .7s var(--out) backwards; }
  .plaque { animation: plaque-in .6s .4s var(--pop) backwards; }
  .hero__lead { animation: rise-t .7s .08s var(--out) backwards; }
  .btn--hero { animation: rise .7s .16s var(--out) backwards; }
  .facts { animation: rise .7s .24s var(--out) backwards; }
  .tape--hero { animation: rise-in .8s .3s var(--out) backwards; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  /* магнитофон: без въезда кассеты, только состояния */
  .boombox[data-deck] .bb-cas { animation: none; }
  .bb-lid,
  .bb-lid-edge,
  .bb-cas__shadow { transition-delay: 0s !important; }
}

/* =========================================================
   Планшет: 769–1024
   ========================================================= */
@media (min-width: 769px) {
  :root { --gutter: 32px; }
  body { font-size: 18px; }

  .header { position: sticky; top: 0; }
  .header__in { min-height: 76px; }
  .header__cta {
    display: inline-flex;
    min-height: 48px;
    padding: 0 22px;
    box-shadow: var(--sh-sm);
    font-size: 17px;
  }
  .header__cta:hover { box-shadow: 6px 6px 0 var(--ink); }
  #examples, #order { scroll-margin-top: 76px; }

  .section { padding: 84px 0; }
  .h2 { margin-bottom: 40px; font-size: 48px; }

  .hero { padding: 48px 0 72px; }
  .hero__title { font-size: 60px; }
  .hero__lead { max-width: 32em; margin-top: 18px; font-size: 19px; }
  .btn--hero { width: auto; min-height: 62px; margin-top: 26px; padding: 0 40px; }
  .facts { margin-top: 20px; }

  .hero__media { max-width: 600px; margin: 44px auto 0; padding: 0 0 70px; }
  /* снизу место под карточку-пример, чтобы она не закрывала динамики и деку */
  .boombox { max-width: none; margin: 0; padding-bottom: 30px; }
  .tape--hero .tape__player {
    position: absolute;
    left: 0;
    bottom: -46px;
    width: min(410px, 76%);
    transform: rotate(2.5deg);
  }
  .hero .d-circle { top: -26px; right: -10px; width: 92px; height: 92px; }
  .hero .d-stripes { left: 6%; top: -10px; bottom: auto; width: 150px; height: 32px; }
  .hero .d-dots { right: -14px; bottom: 10px; }
  .hero .d-squiggle { left: -24px; top: 40%; width: 120px; }
  .hero .d-tri { display: block; right: 2%; bottom: -6px; }

  .occasions { padding: 18px 0; }
  .occasions__in { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 24px; }
  .occasions__title { font-size: 26px; }
  .ticker { margin-inline: 0; padding-inline: 0; }

  .tapes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 32px; }

  .steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .steps__list::before { display: none; }

  .included__head { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 24px; }
  .postcard { flex: none; width: 250px; margin: -14px 8px 30px 0; }
  .inc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .inc { align-items: center; }

  .tickets { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

  .order { padding: 84px 0 96px; }
  .order__in { max-width: calc(860px + var(--gutter) * 2); }
  .order__title { text-align: center; }
  .order .d-stripes { top: 64px; left: 4%; right: auto; width: 150px; height: 32px; }
  .order .d-circle { display: block; right: 5%; bottom: 80px; width: 96px; height: 96px; }
  .order .d-dots { display: block; right: 7%; top: 60px; }
  .order .d-squiggle { display: block; left: 5%; bottom: 120px; width: 130px; }
  .form { padding: 32px 32px 30px; border-radius: 26px; }
  .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

  .footer { padding: 22px 0; }
  .sticky-cta { display: none; }
}

/* =========================================================
   Ноутбук/десктоп: 1025–1440
   ========================================================= */
@media (min-width: 1025px) {
  :root { --gutter: 40px; }

  .section { padding: 104px 0; }
  .h2 { margin-bottom: 52px; font-size: 56px; }

  .hero { padding: 62px 0 88px; }
  .hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    align-items: center;
    gap: 36px;
  }
  .hero__title { font-size: 70px; }
  .hero__lead { max-width: 30em; margin-top: 22px; font-size: 20px; }
  .btn--hero { min-height: 64px; margin-top: 30px; font-size: 21px; }
  .facts { margin-top: 24px; }

  .hero__media { max-width: none; margin: 0; padding: 18px 0 64px 24px; }
  .boombox { max-width: 560px; margin: 0 0 0 auto; }
  .tape--hero .tape__player { left: 0; bottom: -40px; width: min(420px, 82%); }
  .hero .d-circle { top: -18px; right: 0; width: 104px; height: 104px; }
  .hero .d-stripes { left: 16%; top: -6px; }
  .hero .d-dots { right: -24px; bottom: 30px; }
  .hero .d-squiggle { left: 20%; top: auto; bottom: -36px; }
  .hero .d-tri { right: 8%; bottom: 0; }

  .tapes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 34px; }

  .steps__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-top: 30px; }
  .steps__list::before {
    display: block;
    top: 30px;
    bottom: auto;
    left: 40px;
    right: 40px;
    border-left: 0;
    border-top: 3px dashed var(--ink);
  }
  .step { min-height: 200px; padding: 52px 22px 26px; }
  .tape__quote { font-size: 18px; }
  .step__num { top: -31px; left: 20px; width: 62px; height: 62px; font-size: 32px; }

  .postcard { width: 300px; margin: -36px 20px 34px 0; transform: rotate(6deg); }
  .inc-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

  .tickets { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
  .ticket__title { font-size: 28px; }

  .faq__grid { grid-template-columns: 300px minmax(0, 1fr); align-items: start; gap: 56px; }
  .faq__title { position: sticky; top: 112px; }
  .qa summary { padding: 15px 16px 15px 24px; font-size: 20px; }
  .qa__a { padding: 0 24px 22px; }

  .order { padding: 100px 0 112px; }
}

/* =========================================================
   Большой монитор: > 1440
   ========================================================= */
@media (min-width: 1441px) {
  :root { --maxw: 1240px; }
  .hero__title { font-size: 78px; }
  .hero { padding: 76px 0 100px; }
}

/* =========================================================
   Рабочее время менеджера 7:00–21:00 по Москве (классы на <html> ставит скрипт в <head>):
   is-work — «за 1 час», время ответа, «Сколько ждать?», мессенджеры на «Спасибо»; ночью сроков не видно.
   is-today — до 19:00 по Москве, акция «Успеем сегодня».
   ========================================================= */
html:not(.is-work) .when-work,
html:not(.is-today) .when-today { display: none !important; }
html.is-today .when-later { display: none !important; }

/* Первый экран без соседней колонки (телефон и планшет) — текст по центру */
@media (max-width: 1024px) {
  .hero__text { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .facts { justify-content: center; }
}

/* Акции: билеты всегда по центру (и одинокий третий на планшете) */
@media (min-width: 769px) {
  .tickets { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
  .ticket { flex: 0 1 calc((100% - 28px) / 2); }
}
@media (min-width: 1025px) {
  .tickets { gap: 30px; }
  .ticket { flex-basis: calc((100% - 60px) / 3); }
}

/* =========================================================
   Телефон ≤ 768: всё по центру (МН 10.10.2026: «на телефоне всё прижимается влево»)
   ========================================================= */
@media (max-width: 768px) {
  .header__in { justify-content: center; }
  .occasions__title { text-align: center; }
  .h2 { text-align: center; }
  .tape__label { text-align: center; }

  /* шаги: номер сверху по центру, пунктир — посередине между карточками */
  .steps__list { gap: 46px; padding-top: 28px; }
  .steps__list::before { left: 50%; margin-left: -1.5px; }
  .step { min-height: 0; padding: 46px 18px 20px; text-align: center; }
  .step__num { top: -28px; left: 50%; margin-left: -28px; }

  .included__head { align-items: center; }
  .postcard { align-self: center; margin: -4px 0 24px; }
  .inc { justify-content: center; align-items: center; text-align: center; }

  .ticket__body { text-align: center; }

  /* вопрос по центру карточки: слева отступ на ширину кнопки «+» справа */
  .qa summary { padding-left: 66px; text-align: center; }
  .qa summary > span { flex: 1; }
  .qa__a { text-align: center; }

  .order__title { text-align: center; }
  .field__label,
  .field__hint { text-align: center; }
  .field--opts .field__label { width: 100%; }
  .opts { justify-content: center; }
  .form__time { justify-content: center; text-align: center; }
  .form__legal,
  .form__error { text-align: center; }

  .footer__in { flex-direction: column; justify-content: center; text-align: center; }
}

/* =========================================================
   «Спасибо» (/music/spasibo)
   ========================================================= */
.thanks { padding: 44px 0 64px; }
.thanks__in { position: relative; z-index: 1; display: flex; justify-content: center; }
.thanks__card {
  width: 100%;
  max-width: 560px;
  padding: 32px 20px 30px;
  background: var(--yellow);
  color: var(--ink);
  border: var(--b);
  border-radius: 24px;
  box-shadow: 10px 10px 0 var(--ink);
  text-align: center;
}
.thanks__title {
  font-size: clamp(30px, 8vw, 42px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.02em;
}
.thanks__text {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.5;
}
.thanks__lbl {
  margin-top: 22px;
  font-size: 16px;
  font-weight: 800;
}
.msgs {
  display: grid;
  gap: 12px;
  max-width: 320px;
  margin: 12px auto 0;
}
.msg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 56px;
  padding: 0 22px;
  border: var(--b);
  border-radius: 14px;
  box-shadow: 5px 5px 0 var(--ink);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease, box-shadow .15s ease;
}
.msg svg { flex: none; width: 23px; height: 23px; fill: #fff; }
.msg--tg { background: linear-gradient(135deg, #2ab5f5, #1c8fd6); }
.msg--wa { background: linear-gradient(135deg, #4fe06d, #22b457); }
.msg:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.msg:active { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
.thanks__back { margin-top: 26px; }
.thanks .d-circle { top: 20px; right: -26px; }
.thanks .d-stripes { left: -6px; bottom: 22px; }
.thanks .d-dots { right: 4%; bottom: 14px; }

@media (min-width: 769px) {
  .thanks { padding: 76px 0 100px; }
  .thanks__card { padding: 44px 44px 40px; }
  .thanks .d-circle { top: 56px; right: 8%; width: 96px; height: 96px; }
  .thanks .d-stripes { left: 6%; top: 64px; bottom: auto; width: 150px; height: 32px; }
  .thanks .d-dots { right: 10%; bottom: 40px; }
}

/* =========================================================
   Короткая форма на /music (только телефон) и шаг 2 на «Спасибо» — МН 10.10.2026
   ========================================================= */
.form--short { max-width: 560px; margin-inline: auto; }
.form--short .field__hint { margin-top: 2px; }

.thanks__in { flex-direction: column; align-items: center; gap: 34px; }
.thanks__next { margin-top: 16px; font-size: 18px; font-weight: 800; line-height: 1.4; }
.thanks__foot { width: 100%; max-width: 560px; color: #fff; text-align: center; }
.thanks__foot .thanks__lbl { margin-top: 0; }

.dop { width: 100%; max-width: 680px; }
.dop__title { font-size: clamp(26px, 6vw, 34px); font-weight: 900; line-height: 1.1; letter-spacing: -.01em; }
.dop__sub { margin-top: 8px; color: var(--ink-2); font-size: 17px; line-height: 1.45; }
.dop__phone { margin-top: 20px; }
.dop__field { margin-top: 22px; }
.dop__tips {
  margin: 0;
  padding: 12px 14px 12px 32px;
  background: var(--paper);
  border: 2px dashed var(--ink);
  border-radius: 12px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.45;
}
.dop__tips li { list-style: disc; }
.dop__tips li + li { margin-top: 4px; }
.dop__story {
  height: auto;
  min-height: 150px;
  padding: 12px 16px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  resize: vertical;
}

.rec { display: grid; gap: 12px; margin-top: 22px; }
.rec__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.rec__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  background: #fff;
  color: var(--ink);
  border: var(--b);
  border-radius: 14px;
  box-shadow: var(--sh-sm);
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.rec__btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.rec__btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.rec__dot { width: 14px; height: 14px; border: 2px solid var(--ink); border-radius: 50%; background: var(--red); }
.rec__btn[aria-pressed="true"] { background: var(--red); }
.rec__btn[aria-pressed="true"] .rec__dot { border-radius: 3px; background: #fff; animation: pulse 1.4s ease-out infinite; }
.rec__time { font-size: 20px; font-weight: 900; font-variant-numeric: tabular-nums; }
.rec__ready { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.rec__ready[hidden] { display: none; }
.rec__ready audio { flex: 1 1 240px; min-width: 0; height: 44px; }
.rec__del {
  min-height: 44px;
  padding: 0 14px;
  background: none;
  border: 2px solid var(--ink);
  border-radius: 10px;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.rec__file { position: relative; display: inline-flex; min-height: 44px; align-items: center; color: var(--muted); font-size: 15px; font-weight: 600; cursor: pointer; }
.rec__file u { color: var(--ink); text-underline-offset: 2px; }
.rec__file input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.rec__err { color: #C0182A; font-size: 15px; font-weight: 700; }
.rec__err[hidden] { display: none; }
.dop__done { max-width: 680px; background: #fff; }

@media (min-width: 769px) {
  .dop__phone { max-width: 360px; }
}
@media (max-width: 768px) {
  .dop__title, .dop__sub { text-align: center; }
  .rec { justify-items: center; text-align: center; }
  .rec__row, .rec__ready { justify-content: center; }
  .dop__tips { text-align: left; }
}
.field[hidden],
.rec__btn[hidden] { display: none; }

/* Примеры: неполный последний ряд кассет — по центру (МН 10.10.2026) */
@media (min-width: 769px) and (max-width: 1024px) {
  .tapes > li:last-child:nth-child(2n+1) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 16px); }
}
@media (min-width: 1025px) {
  /* сетка 6 колонок, кассета = 2: неполный последний ряд (1 или 2 кассеты) встаёт по центру */
  .tapes { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tapes > li { grid-column: span 2; }
  .tapes > li:last-child:nth-child(3n+1) { grid-column: 3 / span 2; }
  .tapes > li:nth-last-child(2):nth-child(3n+1) { grid-column: 2 / span 2; }
}

/* =========================================================
   SEO-текст после формы (раскрыт, не сворачивать — МН 10.10.2026)
   ========================================================= */
.seo { background: var(--bg); }
.seo__in { max-width: calc(820px + var(--gutter) * 2); }
.seo h2 {
  margin: 44px 0 16px;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.seo h2:first-child { margin-top: 0; }
.seo p { margin-top: 14px; color: var(--ink-2); font-size: 17px; line-height: 1.65; }
.seo h2 + p { margin-top: 0; }
.seo strong { color: var(--ink); font-weight: 700; }
.seo ul { margin: 14px 0 0; padding-left: 22px; color: var(--ink-2); font-size: 17px; line-height: 1.6; }
.seo li { list-style: disc; }
.seo li + li { margin-top: 6px; }
.seo li::marker { color: var(--red); }
@media (min-width: 769px) {
  .seo h2 { font-size: 34px; margin-top: 56px; }
  .seo p, .seo ul { font-size: 18px; }
}
@media (max-width: 768px) {
  .seo h2 { text-align: center; }
}

/* Плашка под H1 (вынесена из заголовка, 10.10.2026): «демо до оплаты» */
.hero__badge { margin-top: 12px; font-size: 30px; font-weight: 900; line-height: 1.1; letter-spacing: -.02em; }
.hero__badge .plaque { margin-top: 0; }
@media (min-width: 769px) { .hero__badge { font-size: 40px; } }
@media (min-width: 1025px) { .hero__badge { font-size: 46px; } }
@media (min-width: 1441px) { .hero__badge { font-size: 50px; } }
