/* Тёплая Керамика, версия 3 (22.10.2026). Уровень и подход эталона pervy-detailing: приборка из плиток с зазором 6 px,
   кадр на всю плитку, один плотный шрифт, табло погоды, нижний док с панелью. Своя идея: тёмная мокрая глина вместо
   чёрного, мягкий радиус 14 px как у посуды, горчичный их логотипа на действиях, терракота их стены на ценниках.
   Движение только transform и opacity, без размытия и масок. */

@font-face {
  font-family: "Wix Madefor Display";
  src: url("fonts/WixMadeforDisplay-cyrillic.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Wix Madefor Display";
  src: url("fonts/WixMadeforDisplay-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #1a130e;
  --tile: #271d16;
  --tile2: #33271e;
  --tile3: #3e3026;
  --line: rgba(246, 238, 226, 0.1);
  --ink: #f6eee2;
  --mute: #c4b29d;
  --y: #f3b72f;
  --y2: #ffc94d;
  --t: #c2532e;
  --err: #ffb79c;
  --r: 14px;
  --gap: 6px;
  --pad: 12px;
  --f: "Wix Madefor Display", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0.75, 0.15, 1);
}
@media (min-width: 1101px) {
  :root {
    --pad: 24px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}
html.lock,
html.lock body {
  overflow: hidden;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img {
  display: block;
  max-width: 100%;
  -webkit-user-drag: none;
  user-select: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
a {
  -webkit-tap-highlight-color: transparent;
}
h1,
h2,
h3,
p,
figure,
blockquote,
ol {
  margin: 0;
}
p,
dd,
blockquote,
.tile__txt > span {
  text-wrap: pretty;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--y);
  outline-offset: 2px;
}
.tk {
  padding: 0 var(--pad);
  display: grid;
  gap: 0;
}
.tk > section {
  scroll-margin-top: var(--pad);
}

/* ===== типографика ===== */
.h1 {
  font-weight: 600;
  font-size: clamp(46px, 14.6vw, 72px);
  line-height: 0.93;
  letter-spacing: -0.045em;
}
.h2 {
  font-weight: 600;
  font-size: clamp(34px, 3.4vw, 56px);
  line-height: 1;
  letter-spacing: -0.035em;
}
.h3 {
  font-weight: 600;
  font-size: clamp(24px, 1.9vw, 30px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

/* ===== плитка ===== */
.tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--tile);
  isolation: isolate;
}
.tile > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.9s var(--ease);
}
.tile:has(> img)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 13, 9, 0) 25%, rgba(20, 13, 9, 0.55) 55%, rgba(20, 13, 9, 0.94) 100%);
}
a.tile:hover > img {
  transform: scale(1.04);
}
.tile__txt {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  display: grid;
  gap: 6px;
  justify-items: start;
}
.tile__txt b {
  font-weight: 600;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.tile__txt > span {
  color: rgba(246, 238, 226, 0.86);
  font-size: 15px;
  line-height: 1.4;
  max-width: 34ch;
}

/* ===== кнопки ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.25s, color 0.25s, transform 0.2s;
}
.btn:active {
  transform: scale(0.98);
}
.btn--light {
  background: var(--ink);
  color: #1a130e;
}
.btn--light:hover {
  background: #fff;
}
.btn--y {
  background: var(--y);
  color: #1a130e;
}
.btn--y:hover {
  background: var(--y2);
}
.sq {
  width: 72px;
  height: 72px;
  flex: none;
  border-radius: var(--r);
  background: var(--tile);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  transition: background-color 0.25s;
}
.sq:hover {
  background: var(--tile2);
}
.sq--y {
  background: var(--y);
  color: #1a130e;
}
.sq--y:hover {
  background: var(--y2);
}

/* ===== первый экран ===== */
.hero {
  position: relative;
  margin: 0 calc(var(--pad) * -1);
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  max-height: 1000px;
}
.hero__main {
  height: 100%;
  border-radius: 0;
  background: #120c08;
}
.reel,
.reel__f {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.reel {
  z-index: -2;
  overflow: hidden;
}
.reel__f {
  object-fit: cover;
  object-position: 50% 55%;
}
.reel__f--2,
.reel__f--3 {
  opacity: 0;
}
/* медленная смена трёх кадров рук на круге: только opacity и transform, на паузе вне экрана */
.reel__f--1 {
  animation: kb1 18s linear infinite;
}
.reel__f--2 {
  animation: kb2 18s linear infinite;
}
.reel__f--3 {
  animation: kb3 18s linear infinite;
}
.reel.is-off .reel__f {
  animation-play-state: paused;
}
@keyframes kb1 {
  0% { transform: scale(1.1); }
  35% { transform: scale(1.02); }
  100% { transform: scale(1.1); }
}
@keyframes kb2 {
  0%, 30% { opacity: 0; transform: scale(1.1); }
  36% { opacity: 1; }
  64% { opacity: 1; }
  70%, 100% { opacity: 0; transform: scale(1.01); }
}
@keyframes kb3 {
  0%, 63% { opacity: 0; transform: scale(1.1); }
  69% { opacity: 1; }
  95% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.02); }
}
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(18, 12, 8, 0.72) 0%, rgba(18, 12, 8, 0.7) 34%, rgba(18, 12, 8, 0.12) 54%, rgba(18, 12, 8, 0.05) 70%, rgba(18, 12, 8, 0.86) 92%);
}
.brand {
  position: absolute;
  top: 12px;
  left: 12px;
  height: 48px;
  display: flex;
  align-items: center;
  color: var(--y);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-shadow: 0 1px 12px rgba(18, 12, 8, 0.45);
}
.wx {
  position: absolute;
  top: 12px;
  left: 90px;
  right: 12px;
  min-height: 72px;
  border-radius: var(--r);
  background: rgba(39, 29, 22, 0.92);
  padding: 11px 16px;
  display: grid;
  align-content: center;
  gap: 2px;
}
.wx__place {
  font-size: 12.5px;
  color: var(--mute);
}
.wx__now {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.wx__now b {
  font-weight: 600;
}
.wx__hint {
  display: none;
  margin-top: 6px !important;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.35;
  color: var(--y);
}
.hero__txt {
  position: absolute;
  top: 104px;
  bottom: calc(84px + env(safe-area-inset-bottom));
  left: 16px;
  right: 16px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  justify-items: start;
  align-content: start;
}
.hero__k {
  font-size: 14px;
  font-weight: 500;
  color: var(--y);
  margin-bottom: 12px !important;
}
.l {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.l > span {
  display: inline-block;
}
.br-d {
  display: none;
}
.hero__p {
  display: none;
}
.hero__row {
  grid-row: 4;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hero__rate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  white-space: nowrap;
}
.hero__rate svg,
.stars i {
  color: var(--y);
}
.hero__side {
  display: none;
}

/* оценка: общая плитка для первого экрана и отзывов */
.score-top {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
}
.stars {
  display: inline-flex;
  gap: 3px;
}
.stars i {
  width: 15px;
  height: 15px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.5 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5L2.5 9.4l6.6-.9z'/%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 24 24'%3E%3Cpath d='m12 2.5 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5L2.5 9.4l6.6-.9z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.score-n {
  position: absolute;
  left: 18px;
  bottom: 52px;
  font-weight: 500;
  font-size: clamp(96px, 9vw, 150px);
  line-height: 0.85;
  letter-spacing: -0.05em;
}
.score-s {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: rgba(246, 238, 226, 0.88);
}

/* появление первого экрана: строки заголовка выезжают из-под края, остальное проявляется */
.js .l > span {
  transform: translateY(105%);
}
.js.is-ready .l > span {
  transform: none;
  transition: transform 1s var(--ease) calc(0.12s + var(--i) * 0.11s);
}
.js .up {
  opacity: 0;
  transform: translateY(14px);
}
.js.is-ready .up {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s ease 0.55s, transform 0.9s var(--ease) 0.55s;
}
.js .hero__side > * {
  opacity: 0;
  transform: translateY(20px);
}
.js.is-ready .hero__side > * {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s ease 0.5s, transform 1s var(--ease) 0.5s;
}
.js.is-ready .hero__side > * + * {
  transition-delay: 0.62s;
}

/* появление блоков при прокрутке, один раз */
.js [data-mo] {
  opacity: 0;
  transform: translateY(24px);
}
.js [data-mo].arm {
  will-change: transform, opacity;
}
.js [data-mo].in {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease calc(var(--i, 0) * 0.07s), transform 0.9s var(--ease) calc(var(--i, 0) * 0.07s);
}

/* ===== заголовок блока ===== */
.sec-head {
  display: grid;
  gap: 10px;
  padding: 44px 4px 16px;
}
.sec-head p {
  color: var(--mute);
  max-width: 46ch;
}

/* ===== форматы ===== */
.fgrid {
  display: grid;
  gap: var(--gap);
}
.fmt {
  min-height: 430px;
}
.fmt::after {
  background: linear-gradient(180deg, rgba(20, 13, 9, 0.1) 0%, rgba(20, 13, 9, 0) 18%, rgba(20, 13, 9, 0.5) 42%, rgba(20, 13, 9, 0.95) 78%) !important;
}
.tag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--t);
  color: #fff7ee;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: calc(100% - 28px);
  text-align: right;
}
.fmt__body {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 8px;
  justify-items: start;
}
.fmt__m {
  font-size: 14px;
  color: var(--y);
  font-weight: 500;
  line-height: 1.35;
}
.fmt__d {
  font-size: 15px;
  line-height: 1.42;
  color: rgba(246, 238, 226, 0.86);
  max-width: 40ch;
}
.add {
  margin-top: 6px;
  height: 46px;
  padding: 0 18px 0 8px;
  border-radius: 12px;
  background: rgba(246, 238, 226, 0.12);
  border: 1px solid rgba(246, 238, 226, 0.28);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
.add:hover {
  background: rgba(246, 238, 226, 0.2);
}
.add__ic {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--ink);
  color: #1a130e;
  display: grid;
  place-items: center;
}
.add.is-on {
  background: var(--y);
  border-color: var(--y);
  color: #1a130e;
}
.add.is-on .add__ic {
  background: #1a130e;
  color: var(--y);
}

/* ===== запись ===== */
.book {
  display: grid;
  gap: var(--gap);
  padding-top: 56px;
}
.stage {
  aspect-ratio: 16 / 11;
  background: #120c08;
}
.stage > img {
  opacity: 0;
  transition: opacity 0.7s ease, transform 1.4s var(--ease);
  transform: scale(1.04);
}
.stage > img.is-on {
  opacity: 1;
  transform: none;
}
.stage::after {
  background: linear-gradient(180deg, rgba(20, 13, 9, 0) 30%, rgba(20, 13, 9, 0.85) 100%) !important;
}
.stage__txt {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 8px;
}
.stage__txt p {
  font-size: 15px;
  color: rgba(246, 238, 226, 0.88);
  max-width: 44ch;
}
.wiz {
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
}
.wiz__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.wiz__n {
  font-size: 14px;
  color: var(--mute);
  white-space: nowrap;
}
.wiz__bar {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--line);
  overflow: hidden;
}
.wiz__bar span {
  display: block;
  height: 100%;
  background: var(--y);
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform 0.6s var(--ease);
}
.pane {
  flex: 1;
}
.pane.is-in {
  animation: paneIn 0.5s var(--ease) both;
}
@keyframes paneIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.pane__t {
  font-weight: 600;
  font-size: clamp(28px, 2.4vw, 38px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.pane__t:focus {
  outline: none;
}
.pane__lead {
  margin-top: 8px !important;
  color: var(--mute);
  font-size: 15px;
  max-width: 52ch;
}
.pane__body {
  margin-top: 18px;
}
.pane__err {
  margin-top: 14px !important;
  color: var(--err);
  font-weight: 500;
  font-size: 15px;
}
.pane__err.is-in {
  animation: paneIn 0.35s var(--ease) both;
}
.wiz__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}
.wiz__back {
  height: 52px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--tile2);
  font-weight: 600;
  transition: background-color 0.25s;
}
.wiz__back:hover {
  background: var(--tile3);
}
.wiz__next,
.wiz__send {
  flex: 1;
}

/* шаг 1: форматы */
.kinds {
  display: grid;
  gap: var(--gap);
}
.kind {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr 24px;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 8px;
  border-radius: 12px;
  background: var(--tile2);
  border: 1.5px solid transparent;
  text-align: left;
  transition: border-color 0.25s, background-color 0.25s;
}
.kind:hover {
  background: var(--tile3);
}
.kind.is-on {
  border-color: var(--y);
}
.kind__img {
  width: 60px;
  height: 60px;
  border-radius: 9px;
  overflow: hidden;
}
.kind__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kind__txt {
  display: grid;
  gap: 2px;
}
.kind__l {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
}
.kind__s {
  font-size: 14px;
  color: var(--mute);
  line-height: 1.3;
}
.mark {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid rgba(246, 238, 226, 0.35);
  position: relative;
}
.is-on > .mark {
  background: var(--y);
  border-color: var(--y);
}
.is-on > .mark::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3.5px;
  width: 6px;
  height: 11px;
  border: solid #1a130e;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* шаг 2: люди */
.ppl {
  display: grid;
  gap: var(--gap);
}
.prow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 12px 16px;
  border-radius: 12px;
  background: var(--tile2);
}
.prow__l {
  display: grid;
  gap: 2px;
}
.prow__l b {
  font-weight: 600;
  font-size: 17px;
}
.prow__l span {
  font-size: 14px;
  color: var(--mute);
}
.stepper {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
}
.stepper__b {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--tile3);
  display: grid;
  place-items: center;
  transition: background-color 0.2s, opacity 0.2s;
}
.stepper__b:hover {
  background: #4a3a2e;
}
.stepper__b:disabled {
  opacity: 0.35;
  cursor: default;
}
.stepper__v {
  min-width: 34px;
  text-align: center;
  font-weight: 600;
  font-size: 20px;
}
.sum {
  margin-top: var(--gap);
  padding: 16px;
  border-radius: 12px;
  background: rgba(243, 183, 47, 0.12);
  display: grid;
  gap: 2px;
}
.sum b {
  font-weight: 600;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--y);
}
.sum--txt b {
  font-size: 22px;
}
.sum span {
  font-size: 14px;
  color: var(--mute);
}
.hint,
.time-note,
.picked {
  margin-top: 12px !important;
  font-size: 14px;
  color: var(--mute);
}
.sub-h {
  font-size: 14px;
  color: var(--mute);
  margin: 0 0 8px !important;
}
.sub-h ~ .sub-h {
  margin-top: 18px !important;
}
.chips,
.times {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
}
.chip {
  height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--tile2);
  font-weight: 500;
  font-size: 16px;
  border: 1.5px solid transparent;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.chip:hover {
  background: var(--tile3);
}
.chip.is-on {
  background: var(--y);
  color: #1a130e;
  font-weight: 600;
}
.times {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.chip--wide {
  grid-column: 1 / -1;
}
.check {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  cursor: pointer;
}
.check input {
  width: 22px;
  height: 22px;
  accent-color: var(--y);
  margin: 0;
  flex: none;
}
.date-pair {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: center;
  padding: 8px;
  border-radius: 12px;
  background: var(--tile2);
}
.date-pair img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 9px;
}
.date-pair div {
  display: grid;
  gap: 4px;
  padding-right: 8px;
}
.date-pair b {
  font-weight: 600;
  font-size: 20px;
}
.date-pair span {
  font-size: 14px;
  color: var(--mute);
}

/* шаг 3: календарь */
.cal__h,
.cal__g {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal__h span {
  text-align: center;
  font-size: 13px;
  color: var(--mute);
  padding-bottom: 6px;
}
.day {
  position: relative;
  height: 48px;
  border-radius: 10px;
  background: var(--tile2);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0;
  font-weight: 600;
  font-size: 17px;
  line-height: 1;
  transition: background-color 0.2s, color 0.2s;
}
.day:hover {
  background: var(--tile3);
}
.day--wk {
  color: #ffd27a;
}
.day__m {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--mute);
  margin-top: 3px;
}
.day.is-on {
  background: var(--y);
  color: #1a130e;
}
.day.is-on .day__m {
  color: #1a130e;
}

/* шаг 5: поля */
.field {
  display: grid;
  gap: 6px;
}
.field + .field {
  margin-top: 12px;
}
.field__l {
  font-size: 14px;
  color: var(--mute);
}
.field__i {
  height: 54px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--tile2);
  color: var(--ink);
  padding: 0 16px;
  font: inherit;
  font-size: 17px;
  outline: none;
  transition: border-color 0.2s;
}
.field__i:focus {
  border-color: var(--y);
}
.field__i::placeholder {
  color: rgba(196, 178, 157, 0.6);
}

/* итог */
.bill {
  border-radius: 12px;
  background: var(--tile2);
  overflow: hidden;
}
.bill__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.bill__ava {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--y);
  color: #1a130e;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.bill__who {
  display: grid;
  line-height: 1.25;
}
.bill__who b {
  font-weight: 600;
}
.bill__who span {
  font-size: 13px;
  color: var(--mute);
}
.bill__text {
  margin: 14px 14px 6px !important;
  padding: 12px 14px;
  border-radius: 12px 12px 4px 12px;
  background: #3f3226;
  font-size: 15px;
  line-height: 1.45;
}
.bill__time {
  padding: 0 14px 12px;
  text-align: right;
  font-size: 13px;
  color: var(--mute);
}
.bill-sum {
  margin-top: var(--gap);
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(243, 183, 47, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.bill-sum span {
  color: var(--mute);
  font-size: 15px;
}
.bill-sum b {
  color: var(--y);
  font-weight: 600;
  font-size: 22px;
}

/* ===== обжиг ===== */
.fire {
  display: grid;
  gap: var(--gap);
  padding-top: 56px;
}
.fire__head {
  padding: 22px 20px;
  display: grid;
  gap: 12px;
  align-content: end;
  background: var(--tile);
}
.fire__head p {
  color: var(--mute);
  max-width: 40ch;
}
.fire__pic {
  aspect-ratio: 5 / 4;
}
.fire__steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--gap);
}
.fire__steps li {
  padding: 18px 20px 20px;
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 14px;
  row-gap: 4px;
}
.fire__n {
  grid-row: 1 / 3;
  font-weight: 600;
  font-size: 56px;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--y);
}
.fire__steps b {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.fire__steps li > span:last-child {
  color: var(--mute);
  font-size: 15px;
  line-height: 1.45;
}

/* ===== отзывы ===== */
.reviews {
  display: grid;
  gap: var(--gap);
  padding-top: 56px;
}
.rv-score {
  min-height: 380px;
}
.quote {
  padding: 22px 20px;
  display: grid;
  gap: 16px;
  align-content: space-between;
}
.quote blockquote {
  font-size: 18px;
  line-height: 1.42;
  letter-spacing: -0.005em;
}
.quote figcaption {
  font-size: 14px;
  color: var(--mute);
}

/* ===== вопросы ===== */
.faq {
  display: grid;
  gap: var(--gap);
  padding-top: 56px;
}
.faq__head {
  padding: 22px 20px;
  display: grid;
  gap: 10px;
  align-content: end;
}
.faq__head p {
  color: var(--mute);
}
.acc {
  padding: 4px 20px;
}
.acc__item + .acc__item {
  border-top: 1px solid var(--line);
}
.acc__q {
  width: 100%;
  min-height: 64px;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.25;
}
.acc__x {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--tile2);
  position: relative;
  transition: background-color 0.25s;
}
.acc__x::before,
.acc__x::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  margin: -1px 0 0 -7px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.4s var(--ease);
}
.acc__x::after {
  transform: rotate(90deg);
}
.is-open .acc__x {
  background: var(--y);
  color: #1a130e;
}
.is-open .acc__x::after {
  transform: rotate(0deg);
}
.acc__a {
  padding: 0 0 18px;
}
.acc__a p {
  color: var(--mute);
  max-width: 60ch;
}

/* ===== адрес ===== */
.visit {
  display: grid;
  gap: var(--gap);
  padding-top: 56px;
}
.v-where {
  min-height: 520px;
}
.v-where__txt {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: grid;
  gap: 10px;
  justify-items: start;
}
.v-where__txt p {
  color: rgba(246, 238, 226, 0.88);
  max-width: 46ch;
  margin-bottom: 6px !important;
}
.v-talk {
  padding: 22px 18px 14px;
}
.v-talk__t {
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-bottom: 12px !important;
}
.row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  line-height: 1.25;
  font-weight: 600;
}
.row small {
  display: block;
  font-weight: 400;
  font-size: 14px;
  color: var(--mute);
  margin-top: 2px;
}
a.row:hover .row__ic {
  background: var(--tile3);
}
a.row:hover .row__ic--y {
  background: var(--y2);
}
.row__ic {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--tile2);
  display: grid;
  place-items: center;
  transition: background-color 0.25s;
}
.row__ic--y {
  background: var(--y);
  color: #1a130e;
}

/* ===== подвал ===== */
.foot {
  margin-top: 56px;
  padding: 20px 0 calc(100px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.foot__brand {
  width: 72px;
  height: 72px;
  border-radius: var(--r);
  background: var(--y);
  color: #1a130e;
  padding: 10px 11px;
  display: flex;
  align-items: flex-end;
  font-weight: 700;
  font-size: 12.5px;
  line-height: 1.05;
}
.foot__addr {
  color: var(--mute);
  font-size: 15px;
  line-height: 1.4;
}
.foot__nav {
  display: flex;
  gap: var(--gap);
  margin-left: auto;
}
.foot__nav .sq {
  width: 64px;
  height: 64px;
}

/* ===== док ===== */
.dock {
  position: fixed;
  z-index: 70;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex;
  gap: var(--gap);
  pointer-events: none;
  transition: transform 0.45s var(--ease);
}
.dock > * {
  pointer-events: auto;
}
.dock.is-hid {
  transform: translateY(calc(100% + 40px));
}
.dock__menu {
  flex: 1;
  height: 56px;
  padding: 0 18px 0 20px;
  border-radius: var(--r);
  background: var(--y);
  color: #1a130e;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  transition: background-color 0.25s, color 0.25s;
}
.dock__l {
  margin-right: auto;
}
.dock__i--x {
  display: none;
}
.topnav {
  position: fixed;
  z-index: 71;
  top: calc(12px + env(safe-area-inset-top));
  right: 12px;
  transition: transform 0.45s var(--ease);
}
.topnav.is-hid {
  transform: translateY(calc(-100% - 40px));
}
.topnav .dock__menu {
  height: 48px;
  padding: 0 14px 0 18px;
  box-shadow: 0 6px 20px rgba(18, 12, 8, 0.35);
}
.topnav.is-open .dock__menu {
  background: var(--tile2);
  color: var(--y);
}
.topnav.is-open .dock__i--x {
  display: block;
}
.topnav.is-open .dock__i--m {
  display: none;
}
.dock.is-open .dock__go {
  display: none !important;
}
.dock__go {
  flex: 1.25;
  min-width: 0;
  height: 56px;
  padding: 0 16px;
  border-radius: var(--r);
  background: var(--tile2);
  display: grid;
  align-content: center;
  line-height: 1.15;
}
.dock__go small {
  font-size: 12px;
  color: var(--mute);
}
.dock__go b {
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* панель меню: плотная подложка без размытия, плитки проявляются по очереди */
.dash {
  position: fixed;
  inset: 0;
  z-index: 60;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.dash::-webkit-scrollbar {
  display: none;
}
.dash__bg {
  position: fixed;
  inset: 0;
  background: rgba(20, 13, 9, 0.94);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.dash.is-in .dash__bg {
  opacity: 1;
}
.dash__grid {
  position: relative;
  margin: calc(72px + env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}
.dash__grid > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s ease, transform 0.55s var(--ease);
}
.dash.is-in .dash__grid > * {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.05s + var(--i, 0) * 0.05s);
}
.d-top {
  grid-column: 1 / -1;
  display: flex;
  gap: var(--gap);
}
.sq--wide {
  flex: 1;
  width: auto;
  padding: 0 16px;
  font-size: 15px;
}
.d-main {
  grid-column: 1 / -1;
  height: 250px;
}
.d-big {
  font-size: 34px !important;
}
.d-a,
.d-b {
  height: 180px;
}
.d-c {
  grid-column: 1 / -1;
  height: 140px;
}
.d-a .tile__txt b,
.d-b .tile__txt b,
.d-c .tile__txt b {
  font-size: 20px;
}
.d-sm {
  padding: 16px;
  min-height: 112px;
  display: grid;
  align-content: end;
  gap: 4px;
  transition: background-color 0.25s;
}
.d-sm:hover {
  background: var(--tile2);
}
.d-sm b {
  font-weight: 600;
  font-size: 18px;
}
.d-sm span {
  font-size: 13.5px;
  color: var(--mute);
  line-height: 1.3;
}

/* ===== 360-400 px: заголовок не шире экрана ===== */
@media (max-width: 380px) {
  .h1 {
    font-size: 14vw;
  }
  .hero__row .btn {
    padding: 0 18px;
  }
}

/* ===== планшет ===== */
@media (min-width: 761px) {
  :root {
    --pad: 16px;
  }
  .tk {
    padding: 0 var(--pad);
  }
  .fgrid {
    grid-template-columns: 1fr 1fr;
  }
  .reviews {
    grid-template-columns: 1fr 1fr;
  }
  .rv-score {
    grid-column: 1 / -1;
  }
  .fire {
    grid-template-columns: 1fr 1fr;
  }
  .fire__head,
  .fire__steps {
    grid-column: 1 / -1;
  }
  .fire__steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .fire__steps li {
    grid-template-columns: 1fr;
  }
  .fire__n {
    grid-row: auto;
    margin-bottom: 14px;
  }
  .visit {
    grid-template-columns: 7fr 5fr;
  }
  .kinds {
    grid-template-columns: 1fr 1fr;
  }
  .wx__hint {
    display: block;
  }
  .wx {
    left: auto;
    right: 16px;
    top: 16px;
    width: 320px;
  }
  .brand {
    top: 16px;
    left: 16px;
    font-size: 20px;
  }
  .dock {
    left: 0;
    right: 0;
    justify-content: center;
  }
  .topnav {
    top: 16px;
    right: 16px;
  }
  .dock__go {
    flex: none;
    width: 260px;
  }
  .dash__grid {
    margin: 80px 16px 16px;
  }
}

/* ===== компьютер ===== */
@media (min-width: 1101px) {
  .hero {
    margin: 0;
    padding: var(--pad) 0;
    height: 100vh;
    min-height: 680px;
    max-height: 1100px;
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: var(--gap);
  }
  .hero__main {
    border-radius: var(--r);
  }
  .hero__shade {
    background:
      linear-gradient(90deg, rgba(18, 12, 8, 0.75) 0%, rgba(18, 12, 8, 0.35) 55%, rgba(18, 12, 8, 0.1) 100%),
      linear-gradient(180deg, rgba(18, 12, 8, 0.45) 0%, rgba(18, 12, 8, 0) 28%, rgba(18, 12, 8, 0.1) 55%, rgba(18, 12, 8, 0.9) 100%);
  }
  .reel__f {
    object-position: 50% 45%;
  }
  .brand {
    top: 20px;
    left: 20px;
  }
  .topnav {
    top: 36px;
    right: 36px;
  }
  .wx {
    top: 20px;
    right: 20px;
  }
  .hero__txt {
    top: auto;
    bottom: 36px;
    left: 40px;
    right: 40px;
    display: block;
  }
  .hero__k {
    font-size: 16px;
    margin-bottom: 18px !important;
  }
  .h1 {
    font-size: clamp(54px, 4.5vw, 86px);
    line-height: 0.95;
  }
  .l {
    display: inline-block;
  }
  .br-d {
    display: inline;
  }
  .hero__p {
    display: block;
    margin-top: 22px !important;
    max-width: 50ch;
    font-size: 17px;
    color: rgba(246, 238, 226, 0.88);
  }
  .hero__row {
    margin-top: 28px;
    justify-content: flex-start;
    gap: 28px;
  }
  .hero__rate {
    font-size: 15px;
  }
  .hero__side {
    display: grid;
    grid-template-rows: 1.15fr 1fr;
    gap: var(--gap);
    min-height: 0;
  }
  .hero__side .tile__txt b {
    font-size: 28px;
  }

  .sec-head {
    grid-template-columns: 1fr auto;
    align-items: end;
    padding: 64px 4px 18px;
  }
  .sec-head p {
    text-align: right;
    max-width: 44ch;
  }
  .fgrid {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, clamp(360px, calc((100vh - 180px) / 2), 470px));
  }
  .fmt {
    min-height: 0;
  }
  .fmt--krug { grid-column: 1 / 6; }
  .fmt--lepka { grid-column: 6 / 10; }
  .fmt--deti { grid-column: 10 / 13; }
  .fmt--svidanie { grid-column: 1 / 4; }
  .fmt--individ { grid-column: 4 / 8; }
  .fmt--prazdnik { grid-column: 8 / 13; }
  .fmt--deti .fmt__d,
  .fmt--svidanie .fmt__d {
    font-size: 14px;
  }
  .fmt__body {
    left: 22px;
    right: 22px;
    bottom: 20px;
  }

  .book {
    padding-top: var(--gap);
    grid-template-columns: 5fr 7fr;
    min-height: calc(100vh - 2 * var(--pad));
  }
  .stage {
    aspect-ratio: auto;
    min-height: 620px;
  }
  .stage__txt {
    left: 32px;
    right: 32px;
    bottom: 30px;
    gap: 14px;
  }
  .stage__txt p {
    font-size: 17px;
  }
  .wiz {
    padding: 28px 30px 26px;
  }
  .kinds {
    grid-template-columns: 1fr 1fr;
  }
  .kind {
    grid-template-columns: 72px 1fr 24px;
  }
  .kind__img {
    width: 72px;
    height: 72px;
  }
  .day {
    height: 54px;
  }
  .wiz__next,
  .wiz__send {
    flex: none;
    min-width: 240px;
    margin-left: auto;
  }

  .fire {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: clamp(340px, 48vh, 470px) auto;
    padding-top: 64px;
  }
  .fire__head {
    grid-column: 1 / 5;
    padding: 30px 28px;
  }
  .fire__pic {
    aspect-ratio: auto;
  }
  .fire__pic:not(.fire__pic--after) {
    grid-column: 5 / 9;
  }
  .fire__pic--after {
    grid-column: 9 / 13;
  }
  .fire__steps {
    grid-column: 1 / 13;
  }
  .fire__steps li {
    padding: 26px 28px 28px;
  }

  .reviews {
    grid-template-columns: 4fr 4fr 4fr;
    padding-top: 64px;
  }
  .rv-score {
    grid-column: 1;
    grid-row: 1 / 3;
    min-height: 560px;
  }
  .quote {
    padding: 28px 28px 24px;
  }
  .quote blockquote {
    font-size: 20px;
  }

  .faq {
    grid-template-columns: 4fr 8fr;
    padding-top: var(--gap);
  }
  .faq__head {
    padding: 30px 28px;
  }
  .acc {
    padding: 8px 30px;
  }
  .acc__q {
    font-size: 20px;
    min-height: 76px;
  }

  .visit {
    grid-template-columns: 7fr 5fr;
    padding-top: var(--gap);
    min-height: clamp(460px, 64vh, 620px);
  }
  .v-where {
    min-height: 0;
  }
  .v-where__txt {
    left: 32px;
    right: 32px;
    bottom: 30px;
  }
  .v-talk {
    padding: 30px 28px 20px;
  }
  .foot {
    margin-top: var(--gap);
    padding: 24px 0 calc(100px + var(--pad));
  }

  .dock {
    bottom: var(--pad);
  }
  .dash__grid {
    margin: calc(var(--pad) + 68px) var(--pad) var(--pad);
    height: calc(100vh - 2 * var(--pad) - 76px);
    min-height: 600px;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 80px 1fr 1fr 140px;
  }
  .d-main { grid-column: 1 / 9; grid-row: 1 / 3; height: auto; }
  .d-top { grid-column: 9 / 13; grid-row: 1; }
  .d-top .sq { height: 80px; width: 80px; }
  .d-top .sq--wide { width: auto; }
  .d-c { grid-column: 9 / 13; grid-row: 2 / 4; height: auto; }
  .d-a { grid-column: 1 / 5; grid-row: 3 / 5; height: auto; }
  .d-b { grid-column: 5 / 9; grid-row: 3 / 5; height: auto; }
  .d-s1 { grid-column: 9 / 11; grid-row: 4; }
  .d-s2 { grid-column: 11 / 13; grid-row: 4; }
  .d-big {
    font-size: clamp(40px, 3.6vw, 60px) !important;
  }
  .d-a .tile__txt b,
  .d-b .tile__txt b,
  .d-c .tile__txt b {
    font-size: 26px;
  }
  .d-main .tile__txt {
    left: 30px;
    bottom: 28px;
  }
}

@media (min-width: 1101px) and (max-height: 820px) {
  .h1 {
    font-size: clamp(50px, 4vw, 70px);
  }
  .hero__p {
    font-size: 16px;
    margin-top: 16px !important;
  }
  .hero__row {
    margin-top: 20px;
  }
}

@media (hover: none) {
  a.tile:hover > img {
    transform: none;
  }
}

/* ===== проход правок 1 (22.10) ===== */
.score::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 110px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 13, 9, 0.78), rgba(20, 13, 9, 0));
}
.hero__row {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.hero__rate {
  order: -1;
}
.stage {
  aspect-ratio: 4 / 3;
}
.stage::after {
  background: linear-gradient(180deg, rgba(20, 13, 9, 0.05) 0%, rgba(20, 13, 9, 0.5) 38%, rgba(20, 13, 9, 0.93) 78%) !important;
}
.pane {
  flex: none;
}
.ticket {
  display: none;
}
.ticket dt {
  font-size: 12.5px;
  color: var(--mute);
}
.ticket dd {
  margin: 2px 0 0;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
}
.ticket .mute {
  font-weight: 400;
  color: var(--mute);
}
.wiz__nav {
  margin-top: 20px;
}
.wiz__back {
  padding: 0 16px;
  flex: none;
}
.wiz__send {
  padding: 0 16px;
  font-size: 15px;
  min-width: 0;
}
.v-talk {
  display: flex;
  flex-direction: column;
}
.v-talk__go {
  margin-top: 14px;
  width: 100%;
}
.row--info {
  cursor: default;
}

@media (min-width: 761px) {
  .ticket {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 18px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }
  .pane {
    margin-bottom: 22px;
  }
  .wiz__nav {
    margin-top: 16px;
  }
  .v-talk__go {
    margin-top: auto;
  }
  .hero__row {
    flex-direction: row;
    align-items: center;
  }
  .hero__rate {
    order: 0;
  }
}

@media (min-width: 1101px) {
  .hero {
    padding-bottom: calc(var(--pad) + 68px);
  }
  .hero__row {
    gap: 28px;
  }
  .book {
    min-height: min(calc(100vh - 2 * var(--pad)), 720px);
  }
  .stage {
    aspect-ratio: auto;
  }
  .stage::after {
    background: linear-gradient(180deg, rgba(20, 13, 9, 0) 40%, rgba(20, 13, 9, 0.9) 100%) !important;
  }
  .kinds {
    grid-template-columns: repeat(3, 1fr);
  }
  .kind {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 10px;
    padding: 6px 6px 14px;
  }
  .kind__img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }
  .kind__txt {
    padding: 0 8px;
  }
  .kind .mark {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(26, 19, 14, 0.55);
    border-color: rgba(246, 238, 226, 0.7);
  }
  .kind.is-on .mark {
    background: var(--y);
    border-color: var(--y);
  }
  .v-talk {
    padding-bottom: 28px;
  }
}

.btn svg {
  flex: none;
}
.faq__head {
  min-height: 300px;
}
.faq__head p {
  color: rgba(246, 238, 226, 0.86);
}

@media (min-width: 761px) {
  .ticket[hidden] + .wiz__nav {
    margin-top: auto;
  }
}
