/* Страница повода. Дизайн перенесён с макета заказчика
   «Мультик на день рождения (офлайн).html»: тёплая светлая палитра,
   скруглённые формы, Comfortaa + Nunito, полосы чередуют голубое,
   белое и кремовое. Токены сняты с отрендеренного макета, не на глаз.

   Шрифты сменены осознанно: на этой странице Comfortaa + Nunito вместо
   фирменных Unbounded + Manrope. Главная остаётся на фирменных. */

.occ {
  --sky: #e7eefa;
  --sky-2: #d3ddec;
  --cream: #efe6d9;
  --cream-2: #e2d6c6;
  --card: #ffffff;
  --ink: #3e3128;
  --body: #6a5a4c;
  --muted: #8a7a6c;
  --brown: #a9714f;
  --brown-2: #8a5a3d;
  --night: #3a2e24;
  --line: rgba(62, 49, 40, 0.1);
  --shadow: 0 18px 40px -22px rgba(62, 49, 40, 0.32);
  --shadow-lg: 0 30px 70px -34px rgba(62, 49, 40, 0.45);
  --r: 28px;
  --r-lg: 36px;
  /* Фирменная пара сайта, та же что на главной. Указана литералом:
     локальная переменная --body здесь хранит ЦВЕТ текста и перекрывает
     одноимённую шрифтовую из jen-multik.css. */
  --disp: "Unbounded", sans-serif;
  --text: "Manrope", sans-serif;
  --gut: clamp(18px, 4.4vw, 76px);
  --col: min(1240px, 100% - var(--gut) * 2);

  color: var(--ink);
  background: var(--sky);
  font-family: var(--text);
}

.occ h1, .occ h2, .occ h3, .occ h4 { font-family: var(--disp); font-weight: 700; letter-spacing: -0.045em; color: var(--ink); }
.occ p, .occ li, .occ dd, .occ dt, .occ td, .occ th, .occ summary, .occ label, .occ a { font-family: var(--text); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── Шапка. Плавающая скруглённая плашка. ────────────────────────────── */

.topbar {
  position: sticky;
  top: clamp(10px, 1.6vw, 18px);
  z-index: 60;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  width: min(1100px, 100% - var(--gut) * 2);
  margin: clamp(10px, 1.6vw, 18px) auto 0;
  padding: 10px 10px 10px 26px;
  background: var(--card);
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.brand--night { color: var(--ink); font-family: var(--disp); }
.brand--night b { color: var(--ink); }
.occ .brand__mark { color: var(--brown); }
.topbar__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(12px, 1.8vw, 28px); }
.topbar__nav a { color: var(--body); font-size: 15px; font-weight: 600; transition: color 0.2s ease; }
.topbar__nav a:hover { color: var(--brown); }
.topbar__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px;
  color: #fff;
  background: var(--brown);
  border-radius: 999px;
  font-size: 14px; font-weight: 800;
  transition: background-color 0.2s ease;
}
.topbar__cta:hover { background: var(--brown-2); }

/* ── Первый экран ────────────────────────────────────────────────────── */

.stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: center;
  column-gap: clamp(24px, 4vw, 70px);
  width: var(--col);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 74px) 0 clamp(30px, 4vw, 56px);
}
.stage__copy { grid-column: 1; min-width: 0; }

.crumbs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.crumbs a { color: var(--brown); }
.crumbs a:hover { text-decoration: underline; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.chips li {
  padding: 9px 18px;
  color: var(--brown);
  background: var(--card);
  border-radius: 999px;
  font-size: 13px; font-weight: 800;
  box-shadow: 0 6px 16px -12px rgba(62, 49, 40, 0.5);
}

.stage h1 {
  margin: 0 0 22px;
  max-width: 14ch;
  font-size: clamp(29px, 3.4vw, 46px);
  line-height: 1.06;
}
.stage__answer { margin: 0 0 12px; max-width: 40ch; color: var(--ink); font-size: clamp(16px, 1.3vw, 18px); font-weight: 700; line-height: 1.55; }
.stage__lead { margin: 0 0 26px; max-width: 44ch; color: var(--body); font-size: 17px; line-height: 1.62; }

.stage__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 30px;
  color: #fff;
  background: var(--brown);
  border-radius: 999px;
  font-size: 16px; font-weight: 800;
  box-shadow: var(--shadow);
  transition: background-color 0.2s ease, transform 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}
.cta:hover { background: var(--brown-2); transform: translateY(-2px); }
.cta i { font-style: normal; }
.ghost {
  display: inline-flex; align-items: center;
  padding: 18px 28px;
  color: var(--brown);
  background: var(--card);
  border: 2px solid var(--brown);
  border-radius: 999px;
  font-size: 16px; font-weight: 800;
  transition: background-color 0.2s ease;
}
.ghost:hover { background: #fdf7f2; }

.pricenote {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 20px 0 0;
  padding: 14px 22px;
  color: var(--ink);
  background: var(--card);
  border-radius: 999px;
  font-size: 14px; font-weight: 700;
  box-shadow: 0 8px 20px -16px rgba(62, 49, 40, 0.5);
}

/* Работы россыпью: скруглённые карточки под лёгкими углами. */
.stage__cards { grid-column: 2; position: relative; min-height: clamp(340px, 40vw, 500px); }
.shot { position: absolute; margin: 0; padding: 12px 12px 8px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow-lg); }
.shot img { display: block; width: 100%; height: auto; border-radius: 20px; }
.shot figcaption { padding: 8px 4px 2px; color: var(--muted); font-size: 12px; font-weight: 700; text-align: center; }
.shot--1 { width: 42%; left: 12%; top: 0; transform: rotate(-4deg); z-index: 3; }
.shot--2 { width: 50%; left: 0; bottom: 4%; transform: rotate(3deg); z-index: 2; }
.shot--3 { width: 40%; right: 0; bottom: 0; transform: rotate(6deg); z-index: 4; }

.bubble {
  position: absolute;
  right: -14%;
  top: 26%;
  z-index: 5;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--card);
  border-radius: 999px;
  font-size: 13px; font-weight: 800;
  white-space: nowrap;
  box-shadow: var(--shadow);
}

/* Факты карточками. */
.rail {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 14px;
  margin: clamp(30px, 4vw, 56px) 0 0;
}
.rail > div { padding: 22px 24px; background: var(--card); border-radius: var(--r); box-shadow: 0 10px 26px -20px rgba(62, 49, 40, 0.5); }
.rail dt { margin-bottom: 8px; color: var(--brown); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.rail dd { margin: 0; font-family: var(--disp); font-size: clamp(15px, 1.3vw, 18px); font-weight: 700; line-height: 1.24; letter-spacing: -0.035em; }
.rail em { display: block; margin-top: 6px; color: var(--muted); font-family: var(--text); font-size: 13px; font-style: italic; font-weight: 600; }

/* ── Заголовки секций ────────────────────────────────────────────────── */

.occ .eyebrow { margin-bottom: 14px; color: var(--brown); font-family: var(--text); font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.occ .eyebrow::before { display: none; }
.occ h2 { margin: 0; font-size: clamp(24px, 2.5vw, 34px); line-height: 1.1; text-wrap: balance; }

/* ── Полосы. Фон чередуется: небо, белое, крем. ──────────────────────── */

.filmreel, .band, .foot { position: relative; }
.filmreel::before, .band::before, .foot::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.filmreel { background: var(--card); }
.band--intake { background: var(--card); }
.band--prices { background: var(--cream); }
.band--compare { background: var(--card); }
.band--steps { background: var(--sky); }
.band--words { background: var(--cream); }
.band--faq { background: var(--card); }
.band--order { background: var(--cream-2); }
.band--related { background: var(--sky); }
.foot { background: var(--sky); }

.filmreel, .band { padding-inline: max(var(--gut), calc((100% - 1240px) / 2)); }
.filmreel > *, .band > * { width: 100%; margin-inline: 0; }
.filmreel { padding-block: clamp(52px, 6.5vw, 104px) clamp(30px, 4vw, 60px); }
.filmreel__intro { margin-bottom: clamp(30px, 4vw, 62px); }
.filmreel__intro h2 { max-width: 18ch; }

.band > header { margin-bottom: clamp(22px, 3vw, 42px); }
.band > header h2 { max-width: 19ch; }
.band__note { margin: 18px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.band__note a { color: var(--brown); text-decoration: underline; text-underline-offset: 3px; }

.band--intake { padding-block: clamp(40px, 5vw, 82px); }
.band--prices { padding-block: clamp(44px, 5.5vw, 92px); }
.band--compare { padding-block: clamp(48px, 6vw, 100px); }
.band--steps { padding-block: clamp(40px, 5vw, 82px); }
.band--words { padding-block: clamp(48px, 6vw, 100px); }
.band--faq { padding-block: clamp(40px, 5vw, 84px) clamp(48px, 6vw, 96px); }
.band--order { padding-block: clamp(40px, 5vw, 82px); }
.band--related { padding-block: clamp(40px, 5vw, 80px); }

/* ── Главы ───────────────────────────────────────────────────────────── */

.ch {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: start;
  column-gap: clamp(24px, 4vw, 66px);
  padding: clamp(30px, 4vw, 62px) 0;
}
.ch__mark {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
  padding: 7px 16px;
  color: var(--brown);
  background: var(--cream);
  border-radius: 999px;
  font-family: var(--disp);
  font-size: 13px; font-weight: 700;
}
.ch__mark span { color: var(--ink); }
/* .ch__mark — отдельный грид-элемент, поэтому раскладку задаём явно,
   иначе пилюля занимает целую ячейку и растягивается на всю колонку. */
.ch__mark { grid-column: 1; grid-row: 1; justify-self: start; align-self: end; }
.ch__text { grid-column: 1; grid-row: 2; }
.ch__media { grid-column: 2; grid-row: 1 / span 2; }
.ch__name { display: none; }
.ch__text h3 { margin: 0 0 14px; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.16; text-wrap: balance; }
.ch__body { margin: 0; color: var(--body); font-size: 17px; line-height: 1.62; }
.ch__note {
  display: inline-block;
  margin: 18px 0 0;
  padding: 14px 20px;
  color: var(--ink);
  background: var(--cream);
  border-radius: 20px;
  font-size: 14px; font-weight: 700;
  line-height: 1.5;
}
.ch__media { min-width: 0; }
.ch--flip .ch__mark { grid-column: 2; }
.ch--flip .ch__text { grid-column: 2; }
.ch--flip .ch__media { grid-column: 1; }
.ch--strip { grid-template-columns: minmax(0, 1fr); }
.ch--strip .ch__mark { grid-column: 1; grid-row: 1; }
.ch--strip .ch__text { grid-column: 1; grid-row: 2; }
.ch--strip .ch__media { grid-column: 1; grid-row: 3; }
.ch--strip .ch__text { max-width: 40rem; }
.ch--strip .ch__media { margin-top: clamp(22px, 3vw, 36px); }

.ends { display: flex; justify-content: space-between; gap: 14px; margin: 12px 4px 0; color: var(--muted); font-size: 12px; font-weight: 700; }
.ends span:last-child { color: var(--brown); text-align: right; }

.morph { padding: 14px; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.morph__stack { display: grid; place-items: center; border-radius: 24px; overflow: hidden; background: var(--sky); }
.morph__frame { grid-area: 1 / 1; width: min(330px, 100%); }
.morph__frame img { width: 100%; height: auto; }
.morph__frame--photo img { filter: grayscale(1) sepia(0.3) brightness(1.03); }
.morph__frame--hero { will-change: clip-path; }

.voice { margin: 0; padding: 14px; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.voice img { width: 100%; height: auto; border-radius: 24px; will-change: clip-path; }

.scenes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.scenes li { padding: 26px 24px; background: var(--card); border-radius: var(--r); box-shadow: 0 12px 30px -24px rgba(62, 49, 40, 0.55); }
.scenes span { display: inline-block; margin-bottom: 12px; padding: 5px 12px; color: var(--brown); background: var(--cream); border-radius: 999px; font-family: var(--disp); font-size: 13px; font-weight: 700; }
.scenes h4 { margin: 0 0 10px; font-size: 18px; line-height: 1.24; }
.scenes p { margin: 0; color: var(--body); font-size: 15px; line-height: 1.58; }

/* Ролик — главное доказательство, кадр-компаньон идёт накладкой на угол.
   Раньше он стоял под роликом во всю ширину и давал колонке 1100px
   высоты против 229px текста: глава разъезжалась пустотами. */
.premiere { position: relative; margin: 0; padding-bottom: 46px; }
.premiere__frame { padding: 12px; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.premiere__frame video { display: block; width: 100%; height: auto; border-radius: 24px; background: var(--sky); }
.premiere__aside {
  position: absolute;
  right: -4%;
  bottom: 0;
  width: 34%;
  height: auto;
  padding: 8px;
  background: var(--card);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  transform: rotate(5deg);
}

/* ── Что нужно от вас ────────────────────────────────────────────────── */

.triple { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.triple li { padding: 30px 28px; background: var(--sky); border-radius: var(--r); }
.triple span { display: inline-block; margin-bottom: 14px; padding: 5px 13px; color: var(--brown); background: var(--card); border-radius: 999px; font-family: var(--disp); font-size: 13px; font-weight: 700; }
.triple h3 { margin: 0 0 10px; font-size: 20px; }
.triple p { margin: 0; color: var(--body); font-size: 15px; line-height: 1.6; }

/* ── Цены ────────────────────────────────────────────────────────────── */

.pricelist { margin: 0; background: var(--card); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.pricelist > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 14px; padding: 22px 28px; border-top: 1px solid var(--line); }
.pricelist > div:first-child { border-top: 0; }
.pricelist dt { font-size: 16px; font-weight: 700; }
.pricelist dd { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.pricelist b { color: var(--brown); font-family: var(--disp); font-size: clamp(15px, 1.3vw, 18px); font-weight: 700; letter-spacing: -0.035em; }
.pricelist em { color: var(--muted); font-size: 14px; font-style: italic; }

/* ── Сравнение ───────────────────────────────────────────────────────── */

.tablewrap { overflow-x: auto; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.cmp { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { padding: 18px 22px; text-align: left; vertical-align: top; line-height: 1.45; border-top: 1px solid var(--line); }
.cmp thead th { border-top: 0; color: var(--muted); font-size: 13px; font-weight: 800; }
.cmp tbody th { color: var(--ink); font-weight: 800; width: 22%; }
.cmp td { color: var(--body); }
.cmp .is-ours { background: #fbf4ee; color: var(--ink); font-weight: 600; }
.cmp thead .is-ours { background: var(--brown); color: #fff; border-radius: 0; }
.cmp__take { margin: 22px 0 0; max-width: 58ch; font-size: clamp(16px, 1.3vw, 18px); font-weight: 700; line-height: 1.6; }

/* ── Шаги ────────────────────────────────────────────────────────────── */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.steps li { display: block; padding: 26px 24px; background: var(--card); border-radius: var(--r); }
.steps span { display: inline-block; margin-bottom: 12px; padding: 5px 13px; color: var(--brown); background: var(--cream); border-radius: 999px; font-family: var(--disp); font-size: 13px; font-weight: 700; }
.steps h3 { margin: 0 0 8px; font-size: 18px; }
.steps p { margin: 0; color: var(--body); font-size: 15px; line-height: 1.58; }

/* ── Отзывы ──────────────────────────────────────────────────────────── */

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.quotes blockquote { margin: 0; padding: 30px; background: var(--card); border-radius: var(--r); box-shadow: 0 14px 34px -28px rgba(62, 49, 40, 0.6); }
.quotes p { margin: 0; font-size: 16px; line-height: 1.62; }

/* ── FAQ ─────────────────────────────────────────────────────────────── */

.qa { display: grid; gap: 10px; }
.qa details { background: var(--sky); border-radius: var(--r); overflow: hidden; }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; cursor: pointer; font-family: var(--disp); font-size: 15px; letter-spacing: -0.03em; font-weight: 700; line-height: 1.35; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: var(--brown); color: #fff; font-style: normal; font-weight: 800; transition: transform 0.25s cubic-bezier(0.23, 1, 0.32, 1); }
.qa details[open] summary i { transform: rotate(45deg); }
.qa p { margin: 0; padding: 0 26px 24px; color: var(--body); font-size: 16px; line-height: 1.62; }

/* ── Финальный кадр ──────────────────────────────────────────────────── */

.finale { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(60px, 8vw, 130px); background: var(--night); color: #fff; }
.finale__frame { position: absolute; inset: 0; z-index: -2; margin: 0; }
.finale__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.finale::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(40, 30, 22, 0.94) 0%, rgba(40, 30, 22, 0.8) 42%, rgba(40, 30, 22, 0.24) 78%, rgba(40, 30, 22, 0.08) 100%);
}
.finale { padding-inline: max(var(--gut), calc((100% - 1240px) / 2)); }
.finale__copy { max-width: 34rem; }
.finale h2 { margin-bottom: 16px; color: #fff; }
.finale p { margin: 0 0 26px; color: rgba(255, 255, 255, 0.86); font-size: 17px; line-height: 1.62; }
.finale .cta { background: var(--card); color: var(--brown); }
.finale .cta:hover { background: #fdf7f2; }

/* ── Заявка ──────────────────────────────────────────────────────────── */
/* Форма приходит из общего компонента. На светлой карточке ей нужны
   светлые переменные: тёмные заданы в jen-multik.css под селектором
   «.order .lead-form», поэтому переопределяем их здесь, иначе поля
   останутся белым по белому. */

.band--order .order {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: 0;
  background: transparent;
}
.band--order .order__copy h2 { margin-bottom: 14px; }
.brand--night { letter-spacing: 0; }
.band--order .order__copy p { color: var(--body); font-size: 17px; line-height: 1.62; }

.occ .order .lead-form {
  --form-text: var(--ink);
  --form-muted: var(--muted);
  --form-surface: #ffffff;
  padding: clamp(22px, 3vw, 34px);
  background: var(--card);
  border: 0;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.occ .order .lead-field input,
.occ .order .lead-field select,
.occ .order .lead-field textarea {
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 18px;
}
.occ .order .lead-field input:focus,
.occ .order .lead-field select:focus,
.occ .order .lead-field textarea:focus { border-color: var(--brown); box-shadow: 0 0 0 3px rgba(169, 113, 79, 0.16); }
.occ .order .lead-field span { color: var(--muted); }
.occ .order .lead-form__consent,
.occ .order .lead-form__consent a { color: var(--body); }
.occ .order .lead-form button[type="submit"] { background: var(--brown); color: #fff; }

/* ── Соседние поводы ─────────────────────────────────────────────────── */

.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.related a {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 14px;
  height: 100%; padding: 24px 26px;
  background: var(--card); border-radius: var(--r);
  transition: transform 0.25s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.25s ease;
}
.related a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.related span { font-family: var(--disp); font-size: 15px; font-weight: 700; letter-spacing: -0.03em; }
.related em { grid-column: 1; color: var(--muted); font-size: 13px; font-style: normal; }
.related i { grid-row: 1 / span 2; color: var(--brown); font-style: normal; font-size: 19px; }

/* ── Подвал ──────────────────────────────────────────────────────────── */

.foot { padding-bottom: clamp(28px, 3.5vw, 48px); }
.foot { padding-inline: max(var(--gut), calc((100% - 1240px) / 2)); }
.foot__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.foot__top p { margin: 0; color: var(--muted); font-size: 14px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot__links a { color: var(--body); font-size: 14px; font-weight: 600; }
.foot__links a:hover { color: var(--brown); }
.foot__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 26px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.foot__occasions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.foot__occasions > span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.foot__occasions a { padding: 8px 16px; background: var(--card); border-radius: 999px; font-size: 13px; font-weight: 700; }
.foot__occasions a:hover { color: var(--brown); }
.foot__legal { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

/* ── Адаптив ─────────────────────────────────────────────────────────── */

@media (max-width: 1023px) {
  .ch, .ch--flip { grid-template-columns: minmax(0, 1fr); row-gap: clamp(18px, 3vw, 28px); }
  .ch__mark, .ch--flip .ch__mark { grid-column: 1; grid-row: 1; }
  .ch__text, .ch--flip .ch__text { grid-column: 1; grid-row: 2; }
  .ch__media, .ch--flip .ch__media { grid-column: 1; grid-row: 3; }
  .band--order .order { grid-template-columns: 1fr; }
}

@media (max-width: 899px) {
  .stage { grid-template-columns: 1fr; row-gap: clamp(26px, 5vw, 44px); }
  .stage__copy { grid-column: 1; order: 2; }
  .stage__cards { grid-column: 1; order: 1; min-height: clamp(300px, 84vw, 440px); }
  .rail { order: 3; }
  .topbar { grid-template-columns: auto auto; row-gap: 12px; padding-left: 18px; }
  .topbar__nav { grid-column: 1 / -1; order: 3; justify-content: flex-start; }
  .bubble { right: 0; top: 18%; }
}

@media (max-width: 620px) {
  .topbar { border-radius: 26px; }
  .ends { flex-direction: column; gap: 4px; }
  .ends span:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .morph__frame--hero, .voice img { clip-path: none !important; }
  .shot { transform: none !important; }
}

/* ── Стикеры и неправильные формы ────────────────────────────────────── */
/* Персонажи оригинальные, сгенерированы под этот сайт. Чужих героев
   не копируем — правило проекта из docs/design/03-occasions/README.md.
   Стикеры декоративные: aria-hidden и пустой alt, в текст не лезут. */

.sticker {
  position: absolute;
  z-index: 6;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 18px 26px rgba(62, 49, 40, 0.28));
}
.sticker--kid { width: clamp(96px, 11vw, 150px); left: -6%; bottom: 6%; transform: rotate(-7deg); }
.sticker--granny { width: clamp(88px, 9vw, 128px); right: -7%; bottom: -14%; transform: rotate(6deg); }
.sticker--dad { width: clamp(80px, 8vw, 116px); right: 1%; top: 46%; transform: rotate(-6deg); }

.ch--voice .ch__media, .band--intake { position: relative; }

/* Формы. Карточки перестают быть одинаковыми прямоугольниками:
   один угол всегда мягче остальных, как у речевого пузыря. */
.scenes li:nth-child(4n+1) { border-radius: 34px 34px 34px 10px; }
.scenes li:nth-child(4n+2) { border-radius: 34px 34px 10px 34px; }
.scenes li:nth-child(4n+3) { border-radius: 10px 34px 34px 34px; }
.scenes li:nth-child(4n+4) { border-radius: 34px 10px 34px 34px; }
.triple li:nth-child(odd) { border-radius: 40px 40px 40px 12px; }
.triple li:nth-child(even) { border-radius: 40px 40px 12px 40px; }
.steps li:nth-child(odd) { border-radius: 32px 32px 12px 32px; }
.steps li:nth-child(even) { border-radius: 32px 32px 32px 12px; }
.rail > div:nth-child(odd) { border-radius: 30px 30px 30px 10px; }
.rail > div:nth-child(even) { border-radius: 30px 30px 10px 30px; }
.related a:nth-child(odd) { border-radius: 30px 30px 30px 10px; }

/* Отзывы как настоящие реплики: с хвостиком пузыря. */
.quotes blockquote { position: relative; border-radius: 32px 32px 32px 8px; }
.quotes blockquote::after {
  content: "";
  position: absolute;
  left: 22px;
  bottom: -11px;
  width: 22px;
  height: 14px;
  background: var(--card);
  clip-path: polygon(0 0, 100% 0, 12% 100%);
}

/* Пузырь на карточке работ тоже получает хвостик. */
.bubble { border-radius: 999px 999px 999px 6px; }

@media (max-width: 899px) {
  .sticker--kid { width: 92px; left: auto; right: 2%; bottom: -4%; }
  .sticker--granny { width: 84px; right: 0; bottom: -8%; }
  .sticker--dad { display: none; }
}

/* ── Композиция: ломаем ровные ряды ──────────────────────────────────── */
/* Замер до правки: соотношение ширин в каждом ряду было 1.0, перекрытий 1,
   кругов 1. Ровная сетка одинаковых прямоугольников и читается скучной.
   Цель из docs/bar.md: разброс ширин от 1.6, перекрытий от 3, кругов от 2. */

@media (min-width: 900px) {
  /* Сцены: первая карточка крупная, остальные мельче и со сдвигом. */
  .scenes { grid-template-columns: 1.7fr 1fr 1fr; grid-auto-rows: min-content; align-items: start; }
  .scenes li:nth-child(1) { grid-row: span 2; padding: 34px 32px; }
  .scenes li:nth-child(2) { margin-top: 26px; }
  .scenes li:nth-child(3) { margin-top: -6px; }
  .scenes li:nth-child(4) { grid-column: 2 / span 2; margin-top: -10px; margin-left: 12%; }

  /* Что нужно от вас: средняя карточка шире и опущена. */
  .triple { grid-template-columns: 1fr 1.5fr 0.9fr; align-items: start; }
  .triple li:nth-child(2) { margin-top: 34px; }
  .triple li:nth-child(3) { margin-top: 12px; margin-left: -8%; }

  /* Шаги: лесенкой. */
  .steps { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; align-items: start; }
  .steps li:nth-child(2) { margin-top: 28px; }
  .steps li:nth-child(3) { margin-top: 56px; }
  .steps li:nth-child(4) { margin-top: 18px; }

  /* Отзывы: карточки налезают друг на друга. */
  .quotes { grid-template-columns: 1.4fr 1fr 1.1fr; align-items: start; }
  .quotes blockquote:nth-child(2) { margin-top: 46px; margin-left: -9%; z-index: 2; }
  .quotes blockquote:nth-child(3) { margin-top: 14px; margin-left: -6%; z-index: 3; }
  .quotes blockquote { position: relative; }

  /* Соседние поводы: последняя карточка шире. */
  .related { grid-template-columns: 1fr 1fr 1fr 1.4fr; }
  .related li:nth-child(even) a { margin-top: 20px; }

  /* Факты: вторая и четвёртая опущены. */
  .rail > div:nth-child(2) { margin-top: 22px; }
  .rail > div:nth-child(4) { margin-top: 12px; }
}

/* Реплики поверх границ карточек. */
.say {
  position: absolute;
  z-index: 4;
  padding: 9px 16px;
  color: var(--ink);
  background: var(--card);
  border-radius: 999px 999px 999px 6px;
  font-size: 13px; font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 10px 22px -12px rgba(62, 49, 40, 0.55);
  transform: rotate(-4deg);
}
.say--alt { background: var(--brown); color: #fff; border-radius: 999px 999px 6px 999px; transform: rotate(5deg); }
.scenes li { position: relative; }
.scenes li .say { right: -18px; top: -16px; }
.scenes li .say--alt { right: auto; left: -20px; bottom: -18px; top: auto; }
.quotes .say--alt { right: -14px; top: -16px; font-size: 17px; padding: 10px 14px; }

/* Круглые формы как самостоятельные элементы. */
.disc {
  position: absolute;
  z-index: 5;
  right: -22px;
  top: -26px;
  display: grid;
  place-items: center;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--brown);
  color: #fff;
  font-family: var(--disp);
  font-size: 15px; font-weight: 700;
  box-shadow: var(--shadow-lg);
  transform: rotate(-8deg);
}
.band--prices { position: relative; }
.band--prices::after {
  content: "";
  position: absolute;
  right: -70px; top: 8%;
  width: 210px; height: 210px;
  border-radius: 50%;
  background: var(--card);
  opacity: 0.55;
  pointer-events: none;
}

/* Стикеры-наклейки: белая высечка по силуэту, как в референсе. */
.sticker {
  filter:
    drop-shadow(2.5px 0 0 #fff) drop-shadow(-2.5px 0 0 #fff)
    drop-shadow(0 2.5px 0 #fff) drop-shadow(0 -2.5px 0 #fff)
    drop-shadow(1.8px 1.8px 0 #fff) drop-shadow(-1.8px -1.8px 0 #fff)
    drop-shadow(1.8px -1.8px 0 #fff) drop-shadow(-1.8px 1.8px 0 #fff)
    drop-shadow(0 16px 22px rgba(62, 49, 40, 0.3));
}
.sticker--kid { transform: rotate(-9deg); }
.sticker--granny { transform: rotate(7deg); }
.sticker--dad { transform: rotate(-6deg); }
.band--intake .triple { position: relative; }

/* ── Неправильные силуэты ────────────────────────────────────────────── */
/* Восемь значений border-radius дают органическую форму, а не
   скруглённый прямоугольник. Растром это делать нечем: подложка не
   тянется под текст и не красится под акцент повода. */

@media (min-width: 900px) {
  /* Карточки «что нужно от вас» — каплевидные, каждая своей формы. */
  /* Силуэт заметный, но не режет строки: край не заходит внутрь текста.
     Проверялось на самой длинной карточке. */
  .triple li { padding: 42px 52px; }
  .triple li:nth-child(1) { border-radius: 34% 66% 30% 70% / 44% 40% 60% 56%; }
  .triple li:nth-child(2) { border-radius: 68% 32% 64% 36% / 38% 46% 54% 62%; }
  .triple li:nth-child(3) { border-radius: 30% 70% 36% 64% / 50% 36% 64% 50%; }

  /* Крупная карточка сцен — с одним «оплывшим» углом. */
  .scenes li:nth-child(1) { border-radius: 40px 40px 40px 96px; }
  .scenes li:nth-child(4) { border-radius: 96px 40px 40px 40px; }
}

/* Кадры глав получают асимметричный силуэт вместо ровной рамки. */
.morph { border-radius: 52px 30px 52px 30px; }
.voice { border-radius: 30px 52px 30px 52px; }
.premiere__frame { border-radius: 44px 44px 44px 88px; }

/* Круг в блоке цен становится живой каплей. */
.band--prices::after {
  border-radius: 62% 38% 44% 56% / 48% 62% 38% 52%;
  animation: drift 18s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { border-radius: 62% 38% 44% 56% / 48% 62% 38% 52%; transform: rotate(0deg); }
  50% { border-radius: 44% 56% 62% 38% / 62% 44% 56% 38%; transform: rotate(9deg); }
}

/* Волна на стыке полос вместо прямого реза. */
.band--compare { position: relative; }
.band--compare::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 46px;
  background: var(--cream);
  clip-path: path("M0,0 L0,26 C220,52 420,0 720,20 C1020,40 1220,4 1440,26 L1440,0 Z");
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .band--prices::after { animation: none; }
}

/* ── Звери с табличками ──────────────────────────────────────────────── */
/* Текст на табличках нарисован генератором и проверен: кириллица верная.
   В индекс он не идёт, поэтому те же факты продублированы текстом
   страницы — в рельсе фактов, прайсе и FAQ. Стикеры декоративные. */

.zoo {
  position: absolute;
  z-index: 4;
  height: auto;
  pointer-events: none;
  filter:
    drop-shadow(2.5px 0 0 #fff) drop-shadow(-2.5px 0 0 #fff)
    drop-shadow(0 2.5px 0 #fff) drop-shadow(0 -2.5px 0 #fff)
    drop-shadow(1.8px 1.8px 0 #fff) drop-shadow(-1.8px -1.8px 0 #fff)
    drop-shadow(1.8px -1.8px 0 #fff) drop-shadow(-1.8px 1.8px 0 #fff)
    drop-shadow(0 18px 24px rgba(62, 49, 40, 0.28));
}
.band--prices, .band--steps, .band--faq { position: relative; }

/* У каждого зверя свой якорь, масштаб и поведение на границе.
   Табличка — весь смысл персонажа, поэтому её ничто не перекрывает:
   приём «выглядывает из-за карточки» разрезал надпись пополам и снят. */

/* Медведь: левый край, стоит НА нижней границе секции, ею подрезан, крупный. */
.band--prices { overflow: clip; }
.zoo--price {
  width: clamp(180px, 21vw, 296px);
  left: -2%; right: auto;
  top: auto; bottom: -9%;
  z-index: 5;
  transform: rotate(-4deg);
}

/* Енот: правый край, привязан к верху, без обрезки, мелкий. */
.zoo--fast {
  width: clamp(112px, 12vw, 172px);
  left: auto; right: 1%;
  top: 6%; bottom: auto;
  z-index: 5;
  transform: rotate(9deg);
}

/* Лис: наполовину уходит за левый край экрана, середина секции. */
.band--faq { overflow: clip; }
.zoo--edits {
  width: clamp(150px, 18vw, 268px);
  /* Не режем табличку краем: на -9% от надписи оставалось «АВОК ТРИ». */
  left: 1%; right: auto;
  top: 30%; bottom: auto;
  z-index: 5;
  transform: rotate(-12deg);
}

/* На узком экране звери мешают тексту: прячем, факты и так есть текстом. */
@media (max-width: 1099px) { .zoo { display: none; } }

/* Контент уступает зверю ровно ту сторону, где тот стоит.
   Без этого медведь накрывал левую колонку прайса. */
@media (min-width: 1100px) {
  .band--prices .pricelist,
  .band--prices .band__note { width: 72%; margin-left: auto; }
  .band--steps .steps { width: 86%; margin-right: auto; }
  .band--faq .qa { width: 84%; margin-left: auto; }
}
