/* ==========================================================================
   Развлекательный центр «Порхай» — стили
   Дизайн-система снята с оригинального сайта на Тильде без изменений.
   ========================================================================== */

/* --- Шрифт -------------------------------------------------------------- */
/* Evolventa, SIL OFL. Локальная копия — основная, CDN Тильды — запасной путь
   до тех пор, пока файлы не положены в assets/fonts/. */
@font-face {
  font-family: 'Evolventa';
  src: url('fonts/Evolventa-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Evolventa';
  src: url('fonts/Evolventa-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- Токены ------------------------------------------------------------- */
:root {
  --mint:        #DFFFFE;
  --mint-deep:   #B9FFFD;
  --mint-grey:   #C3E1DD;
  --ink:         #4A4A4A;
  --teal:        #38A2A5;
  --teal-2:      #3AA9AC;
  --yellow:      #F5CF37;
  --coral:       #F95D51;
  --coral-2:     #FF8562;
  --pink:        #ECBDC7;
  --peach:       #FFD6D2;
  --cream:       #FFEEB6;
  --cream-2:     #FFECCB;
  --green:       #62C584;
  --plum:        #88134B;
  --white:       #FFFFFF;

  --stage:       1265px;   /* ширина макета оригинала */
  --header-h:    80px;

  --font: 'Evolventa', Arial, Helvetica, sans-serif;
}

/* --- База --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

/* Кляксы лент намеренно вылезают за края секций по вертикали, поэтому
   режем только по горизонтали: overflow-x:clip не превращает вторую ось
   в скроллируемую, в отличие от overflow-x:hidden. */
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; border: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.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;
}

.stage {
  position: relative;
  width: 100%;
  max-width: var(--stage);
  margin: 0 auto;
  padding: 0 32px;
}

/* --- Кнопки ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 400;
  text-align: center;
  cursor: pointer;
  border: 0;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--yellow {
  min-width: 199px;
  height: 59px;
  padding: 0 34px;
  font-size: 16px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 50px;
}
.btn--yellow:hover { box-shadow: 0 6px 18px rgba(245, 207, 55, .45); }

.btn--teal {
  height: 40px;
  padding: 0 30px;
  font-size: 14px;
  color: var(--white);
  background: var(--teal);
  border-radius: 20px;
}
.btn--teal:hover { box-shadow: 0 6px 16px rgba(56, 162, 165, .38); }

/* --- Шапка -------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color .25s ease, box-shadow .25s ease;
}
.header.is-stuck {
  background: var(--mint);
  box-shadow: 0 2px 18px rgba(74, 74, 74, .08);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
}
.header__logo { flex: 0 0 auto; display: block; }
.header__logo img { display: block; height: 46px; width: auto; }

.nav { flex: 1 1 auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 22px;
  justify-content: center;
}
.nav__link {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  white-space: nowrap;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .18s ease, color .18s ease;
}
.nav__link:hover { color: var(--teal); border-bottom-color: var(--teal); }

.header__cta { flex: 0 0 auto; }

.burger {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  background: none; border: 0;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  margin: 5px auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* --- Первый экран ------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--mint);
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero__stage {
  position: relative;
  min-height: 590px;
  display: flex;
  align-items: flex-start;
}
/* Отступы подобраны так, чтобы блоки встали на те же координаты,
   что и в оригинале: флаг 122px от верха, H1 — 202, текст — 348, кнопка — 462. */
.hero__content {
  position: relative;
  z-index: 3;
  max-width: 660px;
  padding: 42px 0 149px;
}
.hero__flag {
  display: block;
  width: 154px; height: auto;
  margin-bottom: -34px;
  margin-left: -2px;
}
.hero__title {
  position: relative;
  font-size: 58px;
  line-height: 1;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
  max-width: 660px;
}
.hero__text {
  margin-top: 30px;
  max-width: 632px;
  font-size: 20px;
  line-height: 26px;
  font-weight: 400;
  color: var(--ink);
}
.hero__text b { font-weight: 700; }
.hero__buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.hero__buttons .btn--yellow {
  height: auto;
  min-height: 59px;
  padding: 14px 30px;
  white-space: normal;
  text-align: center;
  line-height: 1.2;
}

/* иллюстрация справа */
.hero__art {
  position: absolute;
  z-index: 1;
  top: -21px;          /* 59px от верха первого экрана, за вычетом шапки */
  left: 53.5%;
  width: 511px;
  height: 511px;
  pointer-events: none;
}
.hero__art img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
}
.hero__art img:nth-child(3) {
  width: 97%; height: 97%;
  top: 1.2%; left: 3.1%;
}

/* мелкий декор первого экрана */
.decor { position: absolute; z-index: 2; pointer-events: none; }
.decor img { display: block; width: 100%; height: auto; }
.decor--dot { border-radius: 50%; background: var(--coral-2); }

/* --- Лента-разделитель -------------------------------------------------- */
/* Белые круги наплывают на секцию сверху и делают «пузырчатый» стык. */
.band {
  position: relative;
  height: 28px;
  z-index: 4;
}
.band__inner {
  position: absolute;
  inset: 0;
  max-width: var(--stage);
  margin: 0 auto;
}
.band__bubble {
  position: absolute;
  width: 109px; height: 109px;
  border-radius: 50%;
  background: var(--white);
}
.band__bubble--lg { width: 116px; height: 116px; }
.band__bit { position: absolute; }
.band__bit img { display: block; width: 100%; height: auto; }

/* --- Секция с карточками ------------------------------------------------ */
.section { position: relative; padding: 109px 0 84px; background: var(--white); }
.section--mint { background: var(--mint); }
/* Плотный интервал — карточные витрины /torty и /pinyaty, заказчик
   03.09.2026: между блоками было слишком свободно для сеток из мелких
   плиток (обычный .section рассчитан на заголовки/текст, не на плотный
   grid). */
.section--compact { padding: 72px 0 60px; }

.section__head { text-align: center; max-width: 856px; margin: 0 auto; }
.section__title {
  font-size: 48px;
  line-height: 64px;
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}
/* Тот же компонент (T030), что и .section__title, но на страницах аренды/
   пакетов "под ключ" он даёт 36px, а не 48px — другой тайловый класс
   Тильды (t-title_xxs у другого шаблона), проверено замером на whiteroom
   и denrozhdeniya. */
.section-title {
  font-size: 36px;
  line-height: 1.23;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  text-wrap: balance;
}
.section__lead {
  margin-top: 23px;
  font-size: 18px;
  line-height: 22px;
  font-weight: 400;
  color: var(--ink);
}

/* Акционный бейдж (группа B/маркетинг — новый элемент, в фирменных цветах,
   как чекбокс согласия или cookie-баннер: сохраняем стиль, не добавляем
   новую палитру). Ограничен по времени, добавлен по просьбе заказчика. */
.promo-badge {
  /* display:table + авто-поля центрируют плашку, оставляя её по ширине
     текста. С inline-block она прижималась к левому краю экрана: рядом
     нет строчного контекста с text-align:center, плашка лежит прямо в
     потоке страницы (на /whiteroom было так же, просто не бросалось в
     глаза до появления второй такой плашки на /vypusknye). */
  display: table;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  padding: 12px 28px;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 50px;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 67px;
  margin: 59px auto 0;
  max-width: 1118px;
}

/* Блок с кнопками после карточек (по просьбе заказчика 24.08.2026) —
   быстрый переход на разовое посещение или дни рождения, не дожидаясь
   пока пользователь долистает до соответствующих секций ниже. */
.cards__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 48px auto 0;
}

/* Карточка: фото со скруглением 35px и две SVG-рамки со смещением,
   как в оригинале — бирюзовая повёрнута на +2.4°, жёлтая на −0.9°. */
.card { position: relative; }
.card__frame {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
.card__frame--teal   { top: -13px; left: -9px;  width: 105.8%; }
.card__frame--yellow { top: -11px; left: -10px; width: 102.7%; }
.card__frame img { display: block; width: 100%; height: auto; }

.card__photo {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  aspect-ratio: 328 / 417;
  border-radius: 35px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
/* Плашка и подпись занимают одну и ту же коробку — 302×96 в координатах
   оригинала. Подпись центрируется внутри неё, а не прижимается к низу:
   иначе двухстрочные подписи уезжают вниз, а трёхстрочная стоит верно. */
.card__plate,
.card__caption {
  position: absolute;
  left: 4.27%;
  bottom: 5.76%;
  width: 92.07%;
}
.card__plate { z-index: 3; }
.card__plate img { display: block; width: 100%; height: auto; }
.card__caption {
  z-index: 4;
  height: 23.02%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3.6%;
  text-align: center;
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
  color: var(--ink);
}

/* --- Плитка «4 шага» ------------------------------------------------------ */
/* У общего .section отступы подобраны под секцию с карточками. Здесь другой
   зазор до заголовка (140px, а не 109) и ниже ещё плитка шагов —
   у секции свои верх и низ, сняты прямым замером оригинала. */
/* Отступ сверху был 140px под ряд широких плиток. Блок стал колонкой и
   заметно ниже — заказчик просил уместить его в один экран, поэтому
   воздух сверху/снизу тоже подрезан. */
.section--steps { padding: 96px 0 84px; }

/* Шагов стало пять, и по просьбе заказчика (25.08.2026) блок собран
   компактно, чтобы влезал в один экран: не ряд из широких плиток с
   иконками, а колонка «номер сбоку от текста». Пять плиток по 260px в ряд
   всё равно не помещались (1460px против 1160px контейнера), а иконки из
   экспорта отпали — в каждой цифра заверстана контуром внутри круга, и
   пятой там просто нет. Мятный круг с цифрой оставлен, поэтому язык блока
   не изменился. */
.steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 620px;
  margin: 44px auto 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.step {
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
}
.step__num {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--mint-deep);
  color: var(--ink);
  font-size: 24px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.step__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--ink);
}

/* --- Варианты аренды залов ----------------------------------------------- */
.section--tariffs { padding: 90px 0 57px; }
.section--tariffs .section__lead { margin-top: 26px; }
/* «Праздники под ключ» — тот же компонент, но карточки на 40px выше
   (у «Корпоратива» нет строк note/price, только пустое место под ними,
   как и в оригинале), поэтому свой нижний отступ. */
.section--keys { padding-bottom: 97px; }

.tariffs {
  display: flex;
  justify-content: center;
  gap: 38px;
  margin: 74px auto 0;
}
.tariff {
  position: relative;
  width: 360px;
  min-height: 528px;
  border-radius: 35px;
}
/* Та же рамочная пара, что и у карточек «Мы делаем ваш праздник ярче»,
   но крупнее и с другим поворотом.
   Рисуем рамку CSS-бордером, а не картинкой из экспорта. В экспорте это
   SVG с зашитыми пропорциями (1496×2161), и высота рамки считалась от её
   собственного соотношения сторон, а не от высоты карточки: на десктопе рамка
   выходила чуть выше карточки и всё выглядело правильно, а на мобильной
   карточка из-за переносов текста становилась выше рамки (543px против
   511px) — и розовый фон карточки торчал из-под рамки снизу.
   Внутри SVG — обычный прямоугольник со скруглением и обводкой 2px,
   повёрнутый матрицей; углы (+1° / −1,105°) и радиус (35px) вычислены
   из этой матрицы, поэтому CSS-версия совпадает с оригиналом, но тянется
   под любую высоту карточки.
   Отступ −5px подобран как самый плотный, при котором рамка нигде не
   заезжает на карточку: поворот на 1° уводит верхний и нижний углы по
   горизонтали на H/2·sin(1°) ≈ 4,7px, поэтому при 5px рамка в одном углу
   касается края карточки, а в противоположном отходит на ~10px — та самая
   «нарисованная от руки» посадка, без белой полосы по периметру.
   Поворот задан отдельным свойством `rotate`, а не `transform`, чтобы
   скрипт мог анимировать `translate` независимо и не затирать поворот. */
.tariff__frame {
  position: absolute;
  inset: -5px;
  z-index: 1;
  pointer-events: none;
  border: 2px solid;
  border-radius: 35px;
}
.tariff__frame--teal   { border-color: #38a2a5; rotate: 1deg; }
.tariff__frame--yellow { border-color: #f5cf37; rotate: -1.105deg; }
.tariff__photo {
  position: absolute;
  z-index: 2;
  display: block;
  border-radius: 50%;
  overflow: hidden;
}
.tariff__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tariff__photo--big   { top: 16px; left: 18px;  width: 196px; height: 196px; }
.tariff__photo--small { top: 79px; left: 180px; width: 162px; height: 162px; }

.tariff__title {
  position: absolute;
  top: 250px; left: 18px; right: 18px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
}
.tariff__desc {
  position: absolute;
  top: 294px; left: 18px; right: 18px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 400;
  color: var(--ink);
}
.tariff__note {
  position: absolute;
  top: 393px; left: 18px; right: 18px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 400;
  color: var(--ink);
}
.tariff__price {
  position: absolute;
  top: 424px; left: 18px; right: 18px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 400;
  color: var(--ink);
}
.tariff__more {
  position: absolute;
  top: 469px; left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.tariff__more:hover { text-decoration: underline; }
.tariff__more img { display: block; width: 20px; height: auto; }

/* --- Предложения для организованных групп -------------------------------- */
.section--groups { padding: 140px 0 155px; }

.groups {
  display: grid;
  grid-template-columns: repeat(3, 360px);
  column-gap: 40px;
  row-gap: 111px;
  justify-content: center;
  max-width: 1160px;
  margin: 62px auto 0;
}
/* «Мастер-классы» — седьмая карточка, одна в последнем ряду, под второй
   колонкой; межрядный интервал у неё на 8px меньше, чем у остальных. */
.group:nth-child(7) { grid-column: 2; margin-top: -8px; }

.group {
  position: relative;
  display: block;
  width: 360px;
  height: 200px;
  margin-top: 49px;
  padding: 102px 24px 0;
  box-sizing: border-box;
  border-radius: 35px;
  background: var(--mint-deep);
  text-align: center;
}
.group__icon {
  position: absolute;
  top: -49px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 134px; height: 134px;
}
.group__icon::before,
.group__icon::after {
  content: '';
  position: absolute;
  width: 142px; height: 142px;
  border-radius: 50%;
}
.group__icon::before { top: -5px; left: -1px; border: 2px solid #f5cf37; }
.group__icon::after  { top: -4px; left: -6px; border: 2px solid #369c9f; }
.group__icon img {
  position: relative;
  z-index: 1;
  display: block;
  width: 134px; height: 134px;
  border-radius: 50%;
  object-fit: cover;
}
/* Пункт без фото (ждём от заказчика) — закрашенный кружок вместо img,
   те же кольца остаются. Тот же приём, что у партнёров без лого. */
.group__icon--empty {
  position: relative;
  z-index: 1;
  width: 134px; height: 134px;
  border-radius: 50%;
  background: var(--peach);
}
.group__title {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--ink);
}
.group__more {
  position: absolute;
  bottom: 32px; left: 0; right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.group:hover .group__more { text-decoration: underline; }
.group__more img { display: block; width: 20px; height: auto; }

/* --- Отзывы --------------------------------------------------------------- */
.reviews {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 75px;
}
.reviews__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 4px;
}
.reviews__track img {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 260px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(74, 74, 74, .12);
}
.reviews__arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--mint);
  cursor: pointer;
  transition: background-color .15s ease;
}
.reviews__arrow:hover { background: var(--teal); }
.reviews__arrow:hover svg polyline { stroke: var(--mint); }
.reviews__arrow svg { display: block; width: 15px; height: 29px; }
.reviews__arrow svg polyline { transition: stroke .15s ease; }
.reviews__arrow--prev svg { transform: scaleX(-1); }

/* --- Видео о центре (над галереей «Незабываемые эмоции») ------------------- */
/* Плеер RuTube подставляется скриптом только по клику (PAGE_SCRIPT, п. 5c):
   до этого здесь обычная наша картинка, поэтому страница не тянет чужой
   плеер и его куки, пока посетитель сам не нажал «play». Скругление — то же
   35px, что у карточек, кнопка — жёлтая из токенов. */
.video {
  position: relative;
  max-width: 900px;
  margin: 48px auto 0;
  aspect-ratio: 16 / 9;
  border-radius: 35px;
  overflow: hidden;
  background: var(--ink);
}
.video__cover {
  display: block;
  width: 100%; height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.video__cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .05), rgba(0, 0, 0, .35));
}
.video__poster { display: block; width: 100%; height: 100%; object-fit: cover; }
.video__play {
  position: absolute;
  top: 50%; left: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 10px 30px rgba(74, 74, 74, .28);
  transform: translate(-50%, -50%);
  transition: transform .2s ease;
}
.video__cover:hover .video__play { transform: translate(-50%, -50%) scale(1.08); }
.video__play svg { width: 26px; height: 30px; margin-left: 6px; fill: var(--ink); }
.video__frame { display: block; width: 100%; height: 100%; border: 0; }

/* --- Галерея «Незабываемые эмоции» ----------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-flow: dense;
  gap: 20px;
  margin-top: 60px;
}
.gallery__item--wide { grid-column: span 3; }
.gallery__item--tall { grid-column: span 2; }
.gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
.gallery__item--wide img { aspect-ratio: 3 / 2; }
.gallery__item--tall img { aspect-ratio: 2 / 3; }

/* --- Скидки от партнёров --------------------------------------------------- */
.section--partners { padding: 140px 0 135px; }
.section--partners .section__lead { margin-top: 26px; }

.partners {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 60px;
  border-top: 1px solid #dbdbdb;
  border-left: 1px solid #dbdbdb;
}
.partners__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  padding: 20px;
  border-right: 1px solid #dbdbdb;
  border-bottom: 1px solid #dbdbdb;
}
.partners__item img { display: block; max-width: 160px; width: 100%; height: auto; }
.partners__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
}

/* --- FAQ -------------------------------------------------------------- */
.section--faq { padding: 140px 0 81px; }

.faq { max-width: 960px; margin-top: 45px; }

.faq__item {
  margin-bottom: 12px;
  background: var(--mint);
  border-radius: 20px;
  overflow: hidden;
}
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__icon {
  position: relative;
  flex: 0 0 auto;
  width: 22px; height: 22px;
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--ink);
  transition: transform .2s ease;
}
.faq__icon::before { width: 22px; height: 2px; transform: translate(-50%, -50%); }
.faq__icon::after   { width: 2px; height: 22px; transform: translate(-50%, -50%); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg) scaleY(0); }
.faq__a {
  padding: 0 32px 28px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
}

/* --- Контакты --------------------------------------------------------- */
.section--contact { padding: 165px 0 105px; }

.contact {
  display: flex;
  gap: 40px;
  max-width: 1160px;
  margin: 0 auto;
}
.contact__info { width: 460px; flex: 0 0 auto; }
.contact__title {
  font-size: 38px;
  line-height: 1.17;
  font-weight: 700;
  color: var(--ink);
}
.contact__text {
  margin-top: 20px;
  font-size: 20px;
  line-height: 31px;
  font-weight: 400;
  color: var(--ink);
}
.contact__text a:hover { text-decoration: underline; }
.contact__socials {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}
.contact__social { display: block; width: 30px; height: 30px; }
.contact__social svg { display: block; width: 100%; height: 100%; }
.contact__social:hover { opacity: .7; }

.contact__map {
  flex: 1 1 auto;
  min-height: 400px;
  border-radius: 20px;
  overflow: hidden;
}
.contact__map iframe { display: block; width: 100%; height: 400px; border: 0; }

/* --- Мобильное меню ------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 990;
  background: var(--mint);
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__inner { position: relative; padding: 100px 32px 48px; min-height: 100%; }
.mobile-menu__close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.mobile-menu__close span {
  position: absolute;
  top: 50%; left: 50%;
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.mobile-menu__close span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.mobile-menu__close span:last-child  { transform: translate(-50%, -50%) rotate(-45deg); }

.mobile-menu__list { display: flex; flex-direction: column; }
.mobile-menu__link {
  display: block;
  padding: 16px 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid rgba(74, 74, 74, .12);
}
.mobile-menu__accent { font-size: 1.15em; text-transform: uppercase; color: var(--teal); }

.mobile-menu__group {
  border-bottom: 1px solid rgba(74, 74, 74, .12);
}
.mobile-menu__group summary {
  padding: 16px 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.mobile-menu__group summary::-webkit-details-marker { display: none; }
.mobile-menu__sublist { padding: 0 0 16px 16px; }
.mobile-menu__sublink {
  display: block;
  padding: 10px 0;
  font-size: 17px;
  color: var(--ink);
}
.mobile-menu__socials { display: flex; gap: 14px; margin-top: 32px; }
.mobile-menu__copy { margin-top: 24px; font-size: 13px; color: var(--ink); }

/* --- Плавающая кнопка связи ------------------------------------------------ */
/* Раскрытие без единой строчки JS — чекбокс-приём, как и в оригинале. */
.float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 950;
}
.float__input {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px;
  opacity: 0;
}
.float__btn {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--teal);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(56, 162, 165, .4);
}
.float__icon { position: absolute; width: 28px; height: auto; transition: opacity .15s ease; }
.float__icon--close { opacity: 0; width: 16px; }
.float__input:checked ~ .float__btn .float__icon--open { opacity: 0; }
.float__input:checked ~ .float__btn .float__icon--close { opacity: 1; }

.float__label {
  position: absolute;
  top: 50%;
  right: 76px;
  transform: translateY(-50%);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(74, 74, 74, .15);
  white-space: nowrap;
}
.float__input:checked ~ .float__label { display: none; }

.float__links {
  position: absolute;
  right: 0;
  bottom: 76px;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  align-items: flex-end;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .2s ease, opacity .2s ease;
}
.float__input:checked ~ .float__links {
  max-height: 200px;
  opacity: 1;
}
.float__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 4px 14px rgba(74, 74, 74, .15);
}
.float__link svg { display: block; width: 28px; height: 28px; }

/* --- Политика конфиденциальности ----------------------------------------- */
.legal { padding-top: calc(var(--header-h) + 60px); }
.legal .section__title { text-align: left; font-size: 40px; }
.legal__meta { margin-top: 10px; font-size: 15px; color: var(--ink); opacity: .65; }
.legal__section { max-width: 800px; margin-top: 40px; }
.legal__section h2 { font-size: 22px; font-weight: 700; color: var(--ink); }
.legal__section p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--ink); }
.legal__section ol { margin-top: 12px; padding-left: 24px; counter-reset: legal-ol; }
.legal__section ol li {
  position: relative;
  margin-top: 10px;
  padding-left: 4px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  list-style: none;
  counter-increment: legal-ol;
}
.legal__section ol li::before {
  content: counter(legal-ol) '.';
  position: absolute;
  left: -24px;
  font-weight: 700;
  color: var(--teal);
}
.legal__section ul { margin-top: 12px; padding-left: 20px; }
.legal__section ul li {
  position: relative;
  margin-top: 10px;
  padding-left: 4px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  list-style: none;
}
.legal__section ul li::before { content: '—'; position: absolute; left: -18px; color: var(--teal); }
.legal__note { margin-top: 40px; padding: 24px; background: var(--mint); border-radius: 20px; }
.legal__note p { font-size: 15px; line-height: 1.6; color: var(--ink); }
.legal__note p + p { margin-top: 10px; }

/* --- Подвал ------------------------------------------------------------- */
.footer {
  padding: 60px 0 90px;
  background: var(--ink);
  text-align: center;
}
.footer__badge { display: block; width: 180px; height: auto; margin: 0 auto; }
.footer__title {
  margin-top: 20px;
  font-size: 26px;
  font-weight: 400;
  color: #c2c2c2;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.footer__link {
  display: inline-block;
  padding: 9px 18px 8px;
  font-size: 12px;
  color: var(--ink);
  background: var(--white);
  border-radius: 30px;
  transition: background-color .15s ease;
}
.footer__link:hover { background: var(--mint); }
.footer__copy {
  margin-top: 32px;
  font-size: 13px;
  color: #c2c2c2;
}
.footer__policy { color: #c2c2c2; text-decoration: underline; }
.footer__policy:hover { color: var(--white); }
.footer__requisites {
  margin-top: 8px;
  font-size: 12px;
  color: #8a8a8a;
}

/* --- Поп-апы программ ----------------------------------------------------- */
/* Своя оболочка модалки — в оригинале это стандартный поп-ап Тильды без
   привязки к дизайн-системе, поэтому оформлена в общем стиле сайта
   (радиусы, цвета), но не снята замером как остальные секции. */
.popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  width: 100%;
  max-width: 760px;
  max-height: 85vh;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 35px;
  background: var(--white);
  color: var(--ink);
}
.popup::backdrop { background: rgba(74, 74, 74, .55); }
.popup__box { position: relative; padding: 48px 40px 40px; overflow-y: auto; max-height: 85vh; }
.popup__close {
  position: sticky;
  float: right;
  top: 0;
  margin: -8px -8px 0 16px;
  height: 40px;
  padding: 0 24px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  color: var(--white);
  background: var(--teal);
  border: 0;
  border-radius: 20px;
  cursor: pointer;
}
.popup__title { font-size: 28px; line-height: 1.25; font-weight: 700; color: var(--ink); padding-right: 100px; }
.popup__subtitle { margin-top: 14px; font-size: 18px; line-height: 1.35; font-weight: 700; color: var(--teal); }
.popup__subtitle p { margin: 6px 0 0; }
.popup__subtitle p:first-child { margin-top: 0; }
.popup__text { margin-top: 18px; font-size: 16px; line-height: 1.5; }
.popup__text p { margin: 12px 0 0; }
.popup__text p:first-child { margin-top: 0; }
.popup__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 24px;
}
.popup__gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
}

/* --- Формы заявки --------------------------------------------------------- */
.popup--form { max-width: 460px; }
.form { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
/* [hidden] и .form { display:flex } — одинаковая специфичность (один класс
   против одного атрибутного селектора), а наш стиль в каскаде идёт после
   стиля браузера — значит именно наш flex и побеждает. Без этой строки
   form.hidden=true из PAGE_SCRIPT ничего не скрывает, поля формы остаются
   видны поверх/рядом с «Спасибо!». Тот же приём уже есть у .mobile-menu[hidden]. */
.form[hidden] { display: none; }
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__label { font-size: 14px; color: var(--ink); opacity: .7; }
.form__input {
  height: 52px;
  padding: 0 20px;
  font-family: var(--font);
  font-size: 16px;
  color: var(--ink);
  background: var(--mint);
  border: 1px solid transparent;
  border-radius: 20px;
  outline: none;
  transition: border-color .15s ease;
}
.form__input:focus { border-color: var(--teal); }
.form__consent { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 13px; line-height: 1.4; color: var(--ink); }
.form__consent input { width: 20px; height: 20px; flex: 0 0 20px; accent-color: var(--teal); margin-top: 1px; }
.form__consent a { color: var(--teal); }
.form__submit { align-self: flex-start; }
/* Форма и заголовок/подзаголовок попапа прячутся при отправке (data-form-head,
   data-form-thanks в PAGE_SCRIPT) — остаётся только это окно с благодарностью,
   без хвоста старого текста формы над ним. Кегли — те же, что у .popup__title/
   .popup__subtitle, чтобы окно выглядело частью той же системы, а не наспех
   добавленной строкой. */
.form__thanks { padding: 32px 0 24px; text-align: center; }
.form__thanks-title { margin: 0; font-size: 28px; line-height: 1.25; font-weight: 700; color: var(--ink); }
.form__thanks-text { margin: 14px 0 0; font-size: 18px; line-height: 1.35; font-weight: 700; color: var(--teal); }

/* --- Баннер согласия на cookie -------------------------------------------- */
/* Карточка внизу слева, а не во всю ширину — чтобы не перекрывать плавающую
   кнопку связи в правом нижнем углу (.float). Группа B аудита, в оригинале
   такого баннера не было вообще. */
.cookie {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 970;
  max-width: 420px;
}
.cookie__box {
  padding: 24px 28px;
  background: var(--ink);
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .25);
}
.cookie__text { font-size: 14px; line-height: 1.5; color: #d9d9d9; }
.cookie__text a { color: var(--mint-deep); }
.cookie__accept { margin-top: 16px; min-width: 0; height: 44px; padding: 0 28px; font-size: 14px; }

/* --- Анимации ----------------------------------------------------------- */
/* Появление при прокрутке. Стили и длительности взяты из оригинала:
   fadeinright и fadeinup со сдвигом 100px, zoomin с масштабом 0,6. */
/* Прячем только если скрипт работает: класс js ставится первой строкой
   в body. Иначе при отключённом или упавшем JS первый экран остался бы
   пустым — контент виден всегда. */
.js [data-anim] {
  opacity: 0;
  transition-property: opacity, transform;
  transition-timing-function: cubic-bezier(.2, .6, .2, 1);
  will-change: opacity, transform;
}
.js [data-anim="fadeinright"] { transform: translateX(100px); }
.js [data-anim="fadeinup"]    { transform: translateY(100px); }
.js [data-anim="zoomin"]      { transform: scale(.6); }
.js [data-anim].is-in         { opacity: 1; transform: none; }

.band__bubble, .band__bit, .hero__art img { will-change: transform; }

/* --- Адаптив ------------------------------------------------------------ */
@media (max-width: 1200px) {
  .nav__list { gap: 16px; }
  .nav__link { font-size: 13px; }
  .hero__art { left: 56%; width: 420px; height: 420px; }
}

@media (max-width: 1000px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; margin-left: auto; }

  .promo-badge { font-size: 14px; padding: 10px 20px; }

  /* Шапка на мобильной прозрачная и лежит поверх первого экрана,
     как в оригинале: логотип заходит на картинку. В отличие от десктопа,
     на мобильной оригинал НЕ получает мятный фон после прокрутки —
     шапка остаётся прозрачной на всю страницу (замерено на 1500/3000/6000px
     скролла). Наш .is-stuck класс всё ещё переключается по scrollY, поэтому
     фон и тень глушим здесь, а не убираем логику целиком. */
  .header.is-stuck { background: transparent; box-shadow: none; }

  /* Лента-разделитель на мобильной у оригинала НЕ пересчитывается в %
     ширины экрана — холст остаётся физически таким же (в масштабе
     desktop), просто обрезается по бокам viewport'ом (overflow-x: clip
     на html уже стоит). Поэтому в видимой полосе остаётся не 16 шариков
     вплотную друг к другу, а всего 6–7 — так и должно быть (замерено на
     оригинале при 375px). Если оставить .band__inner на 100% ширины
     контейнера, все 16 шариков и 15 чёрточек сжимаются в 375px и
     наезжают друг на друга. Фикс — вернуть холсту фиксированную ширину
     --stage и отцентровать, как на десктопе. */
  .band__inner { left: 50%; right: auto; width: var(--stage); max-width: none; margin: 0; transform: translateX(-50%); }

  .hero { padding-top: 0; }
  .hero__stage { flex-direction: column; min-height: 0; }
  .hero__content { max-width: 100%; padding: 23px 0 0; text-align: center; }
  .hero__art {
    position: relative;
    top: auto; left: auto;
    width: 335px; height: 335px;
    max-width: 90vw;
    margin: 44px auto 140px;
  }
  .decor { display: none; }

  .cards { grid-template-columns: 1fr; gap: 62px; max-width: 360px; }
  .section { padding: 64px 0; }
  .section__title { font-size: 32px; line-height: 1.15; }
  .section-title { font-size: 24px; }

  /* Колонка «номер + текст» уже и на десктопе, на телефоне только ужимаем
     кружок и кегль — раскладку менять не нужно. */
  .steps { gap: 12px; margin-top: 32px; }
  .step { gap: 14px; }
  .step__num { width: 44px; height: 44px; font-size: 20px; }
  .step__title { font-size: 16px; }
  .section__lead { font-size: 16px; line-height: 21px; }

  .section--tariffs { padding: 64px 0; }
  .section--tariffs .section__lead { margin-top: 16px; }
  .tariffs { flex-direction: column; align-items: center; gap: 40px; margin-top: 40px; }
  .tariff {
    width: 100%;
    max-width: 335px;
    min-height: 0;
    padding: 200px 24px 22px;
    box-sizing: border-box;
  }
  /* Второе (маленькое) фото раньше заканчивалось на 238px (top:84 + высота
     154), а текст начинался с padding-top:210px — фото перекрывало
     заголовок. Отступ увеличен до 250px, чтобы фото гарантированно не
     задевало текст.
     03.09.2026, заказчик: карточка карусели «Наши залы» такая высокая, что
     заголовок секции и сама карусель не помещаются на экран телефона
     вместе (карточка была 586px). Фото и отступы между строками ужаты —
     фото пропорционально меньше (46%/38% вместо 56%/46%), отступ под них
     195→200px с тем же запасом от перекрытия текстом, что и раньше (26px
     вместо прежних 40px, но при уменьшенных фото этого достаточно).
     Кегли не трогали — риск разойтись с дизайн-системой, только геометрия. */
  .tariff__photo--big  { top: 16px; left: 5%; width: 46%; height: auto; aspect-ratio: 1; }
  .tariff__photo--small { top: 68px; left: 48%; width: 38%; height: auto; aspect-ratio: 1; }
  .tariff__title, .tariff__desc, .tariff__note, .tariff__price, .tariff__more {
    position: static;
    top: auto; left: auto; right: auto;
  }
  .tariff__desc, .tariff__note, .tariff__price { margin-top: 8px; }
  .tariff__more { margin-top: 14px; }

  .section--groups { padding: 64px 0; }
  .groups {
    grid-template-columns: 1fr;
    row-gap: 62px;
    max-width: 335px;
    margin-top: 56px;
  }
  .group:nth-child(7) { grid-column: 1; margin-top: 49px; }

  .popup { max-width: 92vw; max-height: 90vh; }
  .popup__box { padding: 36px 20px 28px; max-height: 90vh; }
  .popup__title { font-size: 22px; padding-right: 90px; }
  .popup__gallery { grid-template-columns: repeat(2, 1fr); }
  .form__thanks-title { font-size: 22px; }

  .reviews { margin-top: 32px; gap: 8px; }
  .reviews__arrow { width: 44px; height: 44px; }
  .reviews__arrow svg { width: 11px; height: 21px; }
  .reviews__track img { width: 200px; }

  .video { margin-top: 32px; border-radius: 24px; }
  .video__play { width: 68px; height: 68px; }
  .video__play svg { width: 20px; height: 23px; margin-left: 4px; }

  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 32px; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-column: span 1; }

  .section--partners { padding: 64px 0; }
  .section--partners .section__lead { margin-top: 16px; }
  .partners { grid-template-columns: repeat(2, 1fr); margin-top: 32px; }
  .partners__item { min-height: 120px; padding: 12px; }

  .section--faq { padding: 64px 0; }
  .faq { margin-top: 32px; }
  .faq__q { padding: 18px 20px; font-size: 17px; gap: 12px; }
  .faq__a { padding: 0 20px 22px; font-size: 15px; }

  .section--contact { padding: 64px 0; }
  .contact { flex-direction: column; gap: 32px; }
  .contact__info { width: 100%; text-align: center; }
  .contact__title { font-size: 30px; }
  .contact__text { font-size: 17px; line-height: 26px; }
  .contact__socials { justify-content: center; }
  .contact__map, .contact__map iframe { min-height: 280px; height: 280px; }

  .footer { padding: 48px 0 64px; }
  .footer__title { font-size: 20px; }
  .footer__nav { margin-top: 24px; }

  .float { right: 16px; bottom: 16px; }
  .float__btn { width: 56px; height: 56px; }
  .float__label { display: none; }
  .float__input:checked ~ .float__label { display: none; }

  .cookie { left: 12px; right: 12px; bottom: 88px; max-width: none; }
  .cookie__box { padding: 20px; }
  .cookie__accept { width: 100%; }
}

/* Кегли и отступы первого экрана на телефоне — из спеки, брейкпоинт 479. */
@media (max-width: 660px) {
  .stage { padding: 0 20px; }
  .hero__flag { width: 104px; margin: 0 auto -4px; }
  .hero__title { font-size: 25px; line-height: 30px; }
  .hero__text { font-size: 15px; line-height: 20px; margin: 18px auto 0; }
  .hero__buttons { margin-top: 23px; justify-content: center; }
  .btn--yellow { min-width: 193px; height: 59px; font-size: 15px; }
  /* По просьбе заказчика (не по замеру оригинала) — крупнее и жирнее
     ради читаемости на фото на мобильной. */
  .card__caption { font-size: 19px; line-height: 23px; font-weight: 700; }
}

/* --- Разовое посещение (rec562299786 и другие, /razovoe) ----------------- */
.page-hero {
  padding: 105px 0 60px;
  background: var(--mint);
  text-align: center;
}
.page-hero__uptitle { font-size: 16px; font-weight: 700; color: var(--ink); }
.page-hero__title { margin-top: 24px; font-size: 48px; line-height: 1.23; font-weight: 700; color: var(--ink); }
.page-hero__descr { margin-top: 21px; font-size: 18px; line-height: 1.55; font-weight: 400; color: var(--ink); }
/* Акцентный фон для первого экрана (/torty, /pinyaty — по просьбе заказчика
   03.09.2026, кнопка заказа переехала прямо сюда). Синего токена в
   дизайн-системе нет — берём --teal, он и так основной интерактивный
   цвет сайта; текст на нём переключаем в белый, тёмно-серый --ink
   на этом фоне не проходит по контрасту. */
.page-hero--accent { background: var(--teal); }
.page-hero--accent .page-hero__uptitle,
.page-hero--accent .page-hero__title,
.page-hero--accent .page-hero__descr { color: var(--white); }
.page-hero--accent .btn { margin-top: 32px; }

.slider { position: relative; max-width: 1160px; margin: 60px auto 0; }
.slider__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  aspect-ratio: 1160 / 700;
  background-size: cover;
  background-position: center;
}
.slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--teal);
  cursor: pointer;
}
.slider__arrow svg { width: 9px; }
.slider__arrow--prev { left: 24px; transform: translateY(-50%) rotate(180deg); }
.slider__arrow--next { right: 24px; }

.price-line { padding: 22px 0 5px; font-size: 18px; font-weight: 700; color: var(--ink); text-align: center; }

.cta-band { padding: 0 0 120px; text-align: center; }

.features { padding: 90px 0 60px; background: var(--white); }
.features__title { font-size: 42px; line-height: 1.23; font-weight: 700; color: var(--ink); text-align: center; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 360px);
  column-gap: 60px;
  row-gap: 90px;
  justify-content: center;
  padding-top: 90px;
}
.features__item { text-align: center; }
/* Было увеличено до 180px по просьбе заказчика, но вернули обратно: исходники
   этих фото в экспорте Тильды — нативно всего 147×143px (это фото, не иконки),
   других версий нигде в экспорте нет. При 180px + retina экрана телефона
   получается апскейл в 3+ раза от реального разрешения — отсюда «пережато».
   140px — тот размер, при котором мыло меньше всего заметно; крупнее без
   новых фото от заказчика не сделать, см. заметку в content/prices.md. */
.features__item img { width: 140px; height: auto; margin: 0 auto 25px; }
.features__item h3 { margin: 12px 0 25px; font-size: 30px; line-height: 1.17; font-weight: 700; color: var(--ink); }
.features__item p { font-size: 18px; line-height: 1.55; font-weight: 400; color: var(--ink); }

/* T090 в оригинале — не центрированная цитата, а левый блок с линией сверху
   и «флажком»-хвостиком снизу, указывающим на автора (замерено на 1265px:
   колонка 960 из 1200 контейнера, отступ слева 120 — классическая
   Тильдовская сетка t-col_10 + t-prefix_1). */
.quote { padding: 135px 0 120px; background: var(--mint); }
.quote__inner {
  max-width: 960px;
  margin-left: 153px;
  border-top: 2px solid var(--ink);
  padding-top: 24px;
}
.quote__text {
  font-size: 28px;
  line-height: 1.29;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
}
.quote__rule { display: block; width: 100%; height: 32px; margin-top: 24px; }
.quote__rule polygon { fill: var(--ink); }
.quote__author { margin-top: 20px; }
.quote__author img { display: block; width: 80px; height: 80px; border-radius: 50%; }
.quote__author-name { margin-top: 15px; font-size: 18px; line-height: 1.22; font-weight: 700; color: var(--ink); }
.quote__author-role { font-size: 13px; line-height: 1.54; font-weight: 400; color: var(--ink); }

.price-table { padding: 105px 0 60px; background: var(--white); text-align: center; }
.price-table__uptitle { font-size: 16px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.price-table__title { margin-top: 10px; font-size: 36px; line-height: 1.23; font-weight: 700; color: var(--ink); }
.price-table__grid {
  max-width: 720px;
  margin: 40px auto 0;
  border-collapse: collapse;
  width: 100%;
}
.price-table__grid th, .price-table__grid td {
  padding: 16px 20px;
  border: 1px solid var(--mint-grey);
  font-size: 16px;
  color: var(--ink);
}
.price-table__grid th { background: var(--mint); font-weight: 700; }
.price-table__grid td:first-child { text-align: left; font-weight: 700; }
.price-table__descr { max-width: 640px; margin: 60px auto 0; font-size: 20px; line-height: 1.55; font-weight: 400; color: var(--ink); }

.cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 550px;
  padding: 40px 32px;
  background-size: cover;
  background-position: center;
  text-align: center;
}
.cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(74, 74, 74, .9), rgba(74, 74, 74, .6));
}
.cover__inner { position: relative; z-index: 1; max-width: 700px; }
.cover__logo { width: 180px; height: auto; margin: 0 auto 24px; }
.cover__title { font-size: 48px; line-height: 1.23; font-weight: 700; color: var(--white); }
.cover__descr { margin-top: 20px; font-size: 24px; line-height: 1.5; font-weight: 400; color: var(--white); }
.cover .btn { margin-top: 32px; }
.cover--full { min-height: 100vh; }
.cover--full::before { background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .7)); }

@media (max-width: 1000px) {
  .page-hero { padding: 64px 0 40px; }
  .page-hero__title { margin-top: 16px; font-size: 28px; line-height: 1.25; }
  .page-hero__descr { font-size: 16px; }

  .cta-band { padding: 0 0 64px; }

  .features { padding: 56px 0 40px; }
  .features__title { font-size: 28px; }
  .features__grid { grid-template-columns: 1fr; gap: 32px; padding-top: 24px; }
  .features__item img { width: 110px; }
  .features__item h3 { font-size: 24px; }

  .quote { padding: 64px 0 56px; }
  .quote__inner { max-width: none; margin-left: 0; padding-top: 18px; }
  .quote__text { font-size: 20px; }

  .price-table { padding: 56px 0 40px; }
  .price-table__title { font-size: 24px; }
  .price-table__grid th, .price-table__grid td { padding: 10px; font-size: 14px; }
  .price-table__descr { font-size: 16px; margin-top: 36px; }

  .cover { min-height: 420px; }
  .cover__title { font-size: 28px; }
  .cover__descr { font-size: 17px; }
}

/* --- Аренда залов: White Room / Loft Box / Комбо+ (rec561673678 и другие) */
/* Общие компоненты для трёх страниц аренды залов — блоки в экспорте
   у них дословно совпадают по типам (t337/t490/t372/t812/t692), отличается
   только контент, поэтому все три страницы используют один набор классов. */
.cover-hero {
  position: relative;
  height: 60vh;
  min-height: 420px;
  max-height: 760px;
  background-size: cover;
  background-position: center;
}
.cover-hero__avatar {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  width: 164px;
  height: 164px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--white);
  background: var(--white);
}
.cover-hero__content { max-width: 760px; margin: 0 auto; padding: 105px 32px 30px; text-align: center; }
.cover-hero__title { font-size: 36px; line-height: 1.23; font-weight: 700; color: var(--ink); text-transform: uppercase; }
.cover-hero__descr { margin-top: 10px; font-size: 16px; line-height: 1.55; font-weight: 400; color: var(--ink); }

.amenities { padding: 30px 0 75px; background: var(--white); }
.amenities__grid {
  display: grid;
  grid-template-columns: repeat(4, 260px);
  column-gap: 40px;
  row-gap: 90px;
  justify-content: center;
}
.amenities__item { text-align: center; }
.amenities__item img { width: 60px; height: 60px; margin: 0 auto; }
.amenities__item h3 { margin-top: 16px; font-size: 24px; line-height: 1.17; font-weight: 700; color: var(--ink); }
.amenities__item p { margin-top: 8px; font-size: 16px; line-height: 1.55; font-weight: 400; color: var(--ink); }

.finetext { padding: 15px 0; font-size: 20px; line-height: 1.55; font-weight: 400; color: var(--ink); text-align: center; }
.finetext__rule { display: block; width: 60px; height: 3px; margin: 0 auto 20px; background: var(--teal); }
.finetext--note { padding: 60px 0; color: var(--plum); }

.pricelist { padding: 90px 0 15px; background: var(--white); text-align: center; }
.pricelist__title { font-size: 42px; line-height: 1.23; font-weight: 700; color: var(--ink); }
.pricelist__descr { margin-top: 20px; font-size: 24px; line-height: 1.5; font-weight: 400; color: var(--ink); }
.pricelist__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 720px;
  margin: 60px auto 0;
}
.pricelist__group { width: 100%; }
.pricelist__group-note { margin-bottom: 12px; font-size: 16px; font-weight: 400; color: var(--ink); opacity: .7; }
.pricelist__group-items { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; width: 100%; }
.pricelist__item { flex: 1 1 260px; max-width: 300px; }
.pricelist__row { display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; color: var(--ink); text-transform: uppercase; }
.pricelist__item-note { margin-top: 6px; font-size: 13px; line-height: 1.4; font-weight: 400; color: var(--ink); opacity: .6; text-align: left; text-transform: none; }
.pricelist__line { margin-top: 10px; border-top: 1px solid var(--teal); opacity: .3; }

/* В оригинале это два разных Тильда-блока (заголовок T030 pt:135, карточки
   T692 pt:45) — их отступы нельзя схлопывать в общий padding секции, иначе
   не хватает места под ленту-разделитель сверху и её шарики наезжают на
   заголовок. */
.teasers { padding: 135px 0 105px; background: var(--mint); }
.teasers__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1160px; margin: 45px auto 0; }
.teasers__grid--one { grid-template-columns: 1fr; max-width: 360px; }
/* Ссылкой работает вся карточка, а не только заголовок — заказчик
   15.09.2026: «чтобы человек не думал, куда именно нажать». */
.teasers__item { display: block; text-align: center; color: var(--ink); text-decoration: none; }
.teasers__item img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; transition: transform .2s ease; }
.teasers__item:hover img { transform: translateY(-4px); }
.teasers__item h3 { margin-top: 16px; font-size: 24px; font-weight: 700; }
.teasers__item:hover h3 { text-decoration: underline; }
.teasers__item p { margin-top: 4px; font-size: 16px; font-weight: 400; color: var(--ink); }

@media (max-width: 1000px) {
  .cover-hero { height: 50vh; min-height: 320px; }
  .cover-hero__avatar { width: 110px; height: 110px; }
  .cover-hero__content { padding: 75px 20px 24px; }
  .cover-hero__title { font-size: 24px; }

  .amenities { padding: 24px 0 48px; }
  /* В оригинале это t-col_3 (4 в ряд на десктопе), а на мобильной Тильда
     схлопывает такую сетку в один столбец — было 2, из-за чего текст
     («Самый глубокий — Белый, средний — Пляж…») переносился некрасиво
     и первый пункт визуально «съезжал». */
  .amenities__grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; row-gap: 32px; }
  .amenities__item img { width: 48px; height: 48px; }
  .amenities__item h3 { font-size: 19px; margin-top: 10px; }

  .pricelist { padding: 56px 0 15px; }
  .pricelist__title { font-size: 26px; }
  .pricelist__descr { font-size: 18px; }
  .pricelist__grid { margin-top: 36px; gap: 32px; }

  .teasers { padding: 105px 0 45px; }
  .teasers__grid { grid-template-columns: 1fr; gap: 32px; max-width: 340px; margin-top: 45px; }
}

/* --- Пакеты "под ключ": День рождения / Выпускной / Корпоратив (rec567316477 и др.) */
.split-hero { padding: 75px 0 90px; }
.split-hero .stage { display: flex; align-items: center; gap: 60px; }
/* Исходник — квадратное фото 1680×1680 с уже вписанным кольцом-рамкой
   (не CSS-эффект, так пришло из экспорта). aspect-ratio:1/1 вместо
   фиксированной высоты — иначе на мобильной ширина/высота контейнера сильно
   расходятся с квадратом источника, background-size:cover обрезает кольцо
   сверху и снизу, и вместо круга получается «срезанный сфероид». */
.split-hero__photo { flex: 1 1 50%; aspect-ratio: 1 / 1; border-radius: 24px; background-size: cover; background-position: center; }
.split-hero__text { flex: 1 1 50%; text-align: center; }
.split-hero__title { font-size: 42px; line-height: 1.23; font-weight: 700; color: var(--ink); text-transform: uppercase; }
/* display:block обязателен — это <span>, без него width/height не
   применяются к строчному элементу (схлопывается в 0×0), из-за чего линия
   не рисовалась и вертикальный отступ между заголовком и текстом пропадал. */
.split-hero__line { display: block; width: 100px; height: 3px; margin: 20px auto; background: var(--yellow); }
.split-hero__descr { font-size: 20px; line-height: 1.55; font-weight: 400; color: var(--ink); }
.split-hero__subtitle { max-width: 400px; margin: 16px auto 0; font-size: 16px; line-height: 1.55; font-weight: 400; color: var(--ink); }

/* Свой верхний отступ обязателен: без него блок опирался только на нижний
   отступ предыдущей секции, и на телефоне заголовок «Что включено»
   оказывался в 48px от текста обложки — заказчик 15.09.2026 «буквально
   прилип». На десктопе это пряталось за высоким фото обложки. */
.checklist { padding: 40px 0 60px; background: var(--white); }
.checklist__grid {
  display: grid;
  grid-template-columns: repeat(4, 260px);
  column-gap: 40px;
  row-gap: 70px;
  justify-content: center;
}
.checklist__item { display: flex; align-items: center; gap: 12px; text-align: left; }
.checklist__item img { width: 35px; height: 35px; flex-shrink: 0; }
.checklist__item span { font-size: 18px; line-height: 1.35; font-weight: 700; color: var(--ink); }

.plans { padding: 90px 0; background: var(--white); }
.plans__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; max-width: 1160px; margin: 60px auto 0; }
.plan {
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  border-radius: 24px;
  background: var(--mint);
  text-align: center;
}
/* Палитра карточек пересобрана 25.08.2026. Было: три светлые пастели плюс
   насыщенный жёлтый у «Под ключ» — он выпадал из ряда (светлота 59% против
   86–94% у соседей) и читался не как «рекомендуем», а как карточка из
   другого набора; вдобавок «Под ключ» и «Супер Вип» оказались одного тона
   (48° и 46°), стоя через карточку друг от друга, а самый дорогой пакет
   получал самый бледный фон — иерархия наоборот.
   Стало: четыре ровные пастели одного веса, тон идёт по кругу без
   возвратов (мятный 178° → жёлтый 46° → персиковый 5° → розовый 345°),
   вес растёт к дорогому пакету. «Популярный выбор» выделен обводкой и
   плашкой, а не насыщенностью. */
.plan--mint { background: var(--mint); }
.plan--cream { background: var(--cream); }
.plan--peach { background: var(--peach); }
.plan--pink { background: var(--pink); }
/* Обводка, а не box-shadow: .plan--link:hover уже занимает тень под
   подсветку карточки в ленте, они бы затирали друг друга. */
.plan--featured { outline: 2px solid var(--teal); outline-offset: -2px; }
.plan__badge {
  align-self: center;
  margin-bottom: 12px;
  padding: 4px 14px;
  border-radius: 20px;
  /* Была тёмная (--ink) — в паре с обводкой и кнопкой держим один
     акцентный цвет, иначе на карточке три разных выделения. */
  background: var(--teal);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.plan__title { font-size: 24px; font-weight: 700; color: var(--ink); }
.plan__price { margin-top: 12px; font-size: 28px; font-weight: 700; color: var(--ink); }
.plan__meta { margin-top: 4px; font-size: 14px; font-weight: 400; color: var(--ink); opacity: .7; }
.plan__list { margin-top: 20px; text-align: left; flex-grow: 1; }
.plan__list li { position: relative; padding-left: 20px; margin-top: 8px; font-size: 14px; line-height: 1.4; color: var(--ink); }
.plan__list li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.plan .btn { margin-top: 24px; align-self: center; }
/* Кнопка на карточках одна на все четыре — бирюзовая. Раньше на трёх была
   жёлтая, а на «Под ключ» своя (жёлтая на жёлтом сливалась) — два цвета
   призыва в одном ряду добавляли разнобоя. Бирюзовый и так основной
   интерактивный цвет сайта (кнопка «Забронировать зал» в шапке) и ровно
   ложится на все четыре пастели. Размер и радиус остаются от .btn--yellow,
   чтобы кнопки в ряду были одинаковыми. */
.plan .btn--yellow { background: var(--teal); color: var(--white); }
.plan .btn--yellow:hover { box-shadow: 0 6px 18px rgba(56, 162, 165, .45); }
.plan__prices { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(74, 74, 74, .15); }
.plan__price-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink); }
.plan__price-row + .plan__price-row { margin-top: 6px; }
.plan__price-row span:first-child { opacity: .65; }
.plan__price-row span:last-child { font-weight: 700; }
.plan__group { font-size: 13px; font-weight: 400; color: var(--ink); opacity: .6; margin-bottom: 4px; }
.plan__more { opacity: .6; font-style: italic; }
.plan__more::before { content: '' !important; }

/* Сетка на две карточки (выпускной + корпоратив) — те же размеры, что и
   у сетки на четыре, поэтому карточки не разъезжаются на всю ширину. */
.plans__grid--two { grid-template-columns: repeat(2, 1fr); max-width: 760px; }

/* --- Сравнительная таблица пакетов (rec-нет, добавлена 28.08.2026) ------
   Одна таблица, пять колонок (наполнение + 4 пакета), листается вниз —
   заказчик явно отверг вариант с горизонтальной прокруткой и с реформой
   строк в отдельные блоки-таблицы (см. переписку). Цены сюда не пишем —
   они остаются на карточках .plan ниже, здесь только состав. */
.ct { width: 100%; max-width: 1160px; margin: 40px auto 0; border-collapse: collapse; font-size: 15px; table-layout: fixed; }
.ct th, .ct td { padding: 12px 10px; text-align: center; }
.ct thead th {
  background: var(--mint);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--ink);
}
.ct thead th:first-child { text-align: left; border-radius: 14px 0 0 0; width: 32%; }
.ct thead th:last-child { border-radius: 0 14px 0 0; }
.ct tbody th { text-align: left; font-weight: 400; font-size: 15px; color: var(--ink); opacity: .85; }
.ct tbody th, .ct tbody td { border-bottom: 1px solid rgba(74, 74, 74, .12); }
.ct tbody tr:last-child th, .ct tbody tr:last-child td { border-bottom: 0; }
.ct td { font-variant-numeric: tabular-nums; color: var(--ink); }
.ct .ct__yes { color: var(--teal); font-weight: 700; font-size: 17px; }
.ct .ct__no { color: var(--ink); opacity: .35; }
/* Заголовки групп строк («Сколько и как долго» / «Что входит в праздник»). */
.ct__group th {
  background: var(--mint);
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink);
  opacity: .7;
  padding: 10px 10px 8px;
}
/* Зебра — только по строкам с данными: строки-заголовки групп её не сбивают. */
.ct__row.ct__alt th, .ct__row.ct__alt td { background: rgba(74, 74, 74, .045); }
/* «Под ключ» — рекомендуемый пакет, лёгкая мятная подсветка колонки поверх
   зебры (inset-тень рисуется над background и ложится ровно на обе). */
.ct thead th.ct__rec { background: var(--mint-deep); }
.ct td.ct__rec { box-shadow: inset 0 0 0 999px rgba(56, 162, 165, .09); font-weight: 700; }
.ct__foot { max-width: 1160px; margin: 16px auto 0; font-size: 13px; line-height: 1.55; color: var(--ink); opacity: .65; }
.ct__foot b { font-weight: 700; opacity: .85; }
.ct__links { max-width: 1160px; margin: 10px auto 0; text-align: right; font-size: 14px; }
.ct__links a { color: var(--teal); font-weight: 700; text-decoration: none; margin-left: 20px; }
.ct__links a:hover { text-decoration: underline; }

/* --- Торты и пиньяты (/torty, /pinyaty) — новые страницы, не из экспорта.
   Простая витрина: фото + подпись, без свободного позиционирования. */
.torty-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin: 36px auto 0; max-width: 1160px; }
.torty-grid__item { text-align: center; }
.torty-grid__item img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 20px; }
.torty-grid__item span { display: block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--ink); }
.torty-grid--big { grid-template-columns: repeat(4, 1fr); max-width: 1000px; }
.torty-grid__item--big span { font-size: 15px; }
/* Круглые рамки — только у тортов (по просьбе заказчика 03.09.2026),
   у пиньят формат окон остался прежним. */
/* height:auto обязателен: у картинок есть атрибут height (180), и пока
   высота задана явно, `aspect-ratio: 1/1` выше не работает — браузер
   считает размер по ширине колонки и этой высоте. Получался не круг, а
   овал, тем более вытянутый, чем уже колонка (на мобильной ~110×180). */
.torty-grid--round .torty-grid__item img { border-radius: 50%; height: auto; }

.fillings { display: grid; grid-template-columns: repeat(4, 260px); gap: 32px 24px; justify-content: center; margin: 36px auto 0; }
.fillings__item { text-align: left; }
.fillings__item img { display: block; width: 100%; height: 140px; object-fit: cover; border-radius: 16px; }
.fillings__item h3 { margin: 12px 0 0; font-size: 16px; font-weight: 700; color: var(--ink); }
.fillings__item p { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: var(--ink); opacity: .75; }

.desserts { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin: 36px auto 0; max-width: 900px; }
.desserts__item { flex: 1 1 340px; max-width: 420px; padding: 28px; border-radius: 20px; background: var(--mint); text-align: left; }
.desserts__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.desserts__head h3 { margin: 0; font-size: 20px; font-weight: 700; color: var(--ink); }
.desserts__price { font-size: 20px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.desserts__item p { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink); opacity: .8; }

@media (max-width: 1000px) {
  .ct__links { text-align: center; }
  .ct__links a { margin: 0 10px; }

  .torty-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
  .torty-grid__item span { font-size: 12px; }
  .torty-grid--big { grid-template-columns: repeat(2, 1fr); }

  .fillings { grid-template-columns: repeat(2, 1fr); max-width: 480px; gap: 24px 16px; margin-top: 32px; }
  .fillings__item img { height: 120px; }

  .desserts { margin-top: 32px; }
  .desserts__item { padding: 22px; }
}

/* --- Лента пакетов на главной ------------------------------------------- */
/* Заказчик просил, чтобы пакеты листались вбок, как фотографии, и каждый
   кликался. Тот же приём, что у .reviews: горизонтальный скролл со снапом,
   стрелки в PAGE_SCRIPT шагают ровно на ширину карточки + gap. */
.packages { position: relative; display: flex; align-items: center; gap: 16px; margin-top: 60px; }
.packages__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 4px;
}
.packages__track::-webkit-scrollbar { display: none; }
.packages__track .plan {
  flex: 0 0 280px;
  scroll-snap-align: start;
  padding: 28px 22px;
}
/* 340, а не 360: три карточки с зазорами должны помещаться в дорожку
   целиком (3×340 + 2×24 = 1068 при доступных ~1081), иначе третья
   обрезается краем и приходится подкручивать, чтобы увидеть её границу. */
.packages__track .tariff { flex: 0 0 340px; scroll-snap-align: start; }
.plan--link { text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.plan--link:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(74,74,74,.14); }
.plan__cta { margin-top: 20px; font-size: 15px; font-weight: 700; color: var(--ink); }

.packages__arrow {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%;
  background: var(--mint-deep);
  cursor: pointer;
}
.packages__arrow svg { width: 11px; height: 21px; fill: none; stroke: var(--ink); stroke-width: 2; }
.packages__arrow--prev { rotate: 180deg; }

.cta-band--tight { padding-top: 40px; }
.cta-band--compact { padding: 0 0 60px; }
/* Пара кнопок вместо двух раздельных .cta-band друг под другом — заказчик
   03.09.2026: «под карточками пакетов сплошной белый фон и две кнопки
   рядом с большим расстоянием». Раньше «Все пакеты» и «Оставить заявку»
   были в разных секциях (граница между ними добавляла ещё и padding
   секции), из-за чего между ними набегало ~250px пустоты. */
.cta-band--pair { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; padding: 40px 0 60px; }

@media (max-width: 1000px) {
  .packages { gap: 8px; margin-top: 36px; }
  .packages__track { gap: 16px; }
  .packages__track .plan { flex: 0 0 250px; padding: 24px 18px; }
  .packages__track .tariff { flex: 0 0 280px; }
  /* На телефоне две стрелки с зазорами съедали 96px из 335px ширины, и
     дорожка оставалась 239px — уже любой карточки (280px), поэтому ни
     одна не была видна целиком, её всё время приходилось подкручивать.
     Листают на телефоне пальцем, поэтому стрелки убираем и отдаём всю
     ширину карточкам: одна помещается полностью, следующая выглядывает
     краем и подсказывает, что ленту можно листать. */
  .packages__arrow { display: none; }
  .plans__grid--two { grid-template-columns: 1fr; max-width: 340px; }
}

.table-scroll { max-width: 1000px; margin: 40px auto 0; overflow-x: auto; }
.data-table { width: 100%; min-width: 640px; margin: 0 auto; border-collapse: collapse; }
.data-table th, .data-table td { padding: 14px 16px; border: 1px solid var(--mint-grey); font-size: 15px; line-height: 1.4; color: var(--ink); text-align: center; }
.data-table th { background: var(--mint); font-weight: 700; }
.data-table td:first-child, .data-table td:nth-child(2) { text-align: left; }
.data-table caption { margin-bottom: 16px; font-size: 24px; font-weight: 700; color: var(--ink); caption-side: top; }

.programs { padding: 60px 0 90px; background: var(--mint); }
.programs__table { background: var(--white); border-radius: 16px; overflow: hidden; }

@media (max-width: 1000px) {
  .split-hero { padding: 48px 0; }
  .split-hero .stage { flex-direction: column; gap: 32px; }
  .split-hero__photo { flex: none; width: 100%; height: auto; }
  .split-hero__title { font-size: 26px; }
  .split-hero__descr { font-size: 16px; }

  .checklist { padding: 32px 0 40px; }
  .checklist__grid { grid-template-columns: 1fr; row-gap: 24px; max-width: 320px; }

  .plans { padding: 48px 0; }
  .plans__grid { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }

  /* Таблица остаётся таблицей — пять колонок, листается вниз. Значения
     в ячейках короткие (✓, —, «3 ч»), поэтому в ~57px на колонку помещаются
     без горизонтальной прокрутки. */
  .ct { margin-top: 24px; font-size: 13px; }
  .ct th, .ct td { padding: 9px 4px; }
  .ct thead th { font-size: 10px; letter-spacing: 0; padding: 9px 3px; }
  .ct thead th:first-child { width: 34%; }
  .ct tbody th { font-size: 12px; line-height: 1.3; }
  .ct .ct__yes { font-size: 15px; }
  .ct__group th { font-size: 10px; padding: 8px 3px 6px; }

  .data-table { font-size: 13px; }
  .data-table th, .data-table td { padding: 8px; }

  .programs { padding: 40px 0 56px; }
}

/* --- Корпоратив (rec569129947 и др., /korporativ) ------------------------- */
.problems { padding: 60px 0; }
.problems__list { max-width: 800px; margin: 40px auto 0; }
.problems__item { display: flex; align-items: center; gap: 24px; padding: 16px 0; }
.problems__item svg { width: 55px; height: 55px; flex-shrink: 0; }
.problems__item span { font-size: 20px; line-height: 1.4; font-weight: 400; color: var(--ink); }
/* Секция сразу после band(flip=True) («Для кого», /dlyagrupp) — у обычного
   .section 109/72px сверху с запасом хватает, а у .problems всего 60/40px:
   самый высокий шарик ленты (band__bubble--lg, top:-18px) наплывает на 70px
   ниже подошвы самой ленты и перекрывал заголовок. Своего отступа достаточно,
   чтобы шарик гасился в мятном фоне до текста. */
.problems--after-band { padding-top: 100px; }

@media (max-width: 1000px) {
  .problems { padding: 40px 0; }
  .problems--after-band { padding-top: 90px; }
  .problems__item { gap: 16px; }
  .problems__item svg { width: 40px; height: 40px; }
  .problems__item span { font-size: 16px; }
}

/* --- Скидки от партнёров, полная страница (rec570036748, /partner) ------- */
.partner-page { padding: 135px 0 90px; }
.partner-page__title { font-size: 42px; line-height: 1.23; font-weight: 700; color: var(--ink); text-align: center; }
.partner-page__descr { margin-top: 20px; font-size: 24px; line-height: 1.5; font-weight: 400; color: var(--ink); text-align: center; }
.partner-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 40px;
  max-width: 1160px;
  margin: 60px auto 0;
}
.partner-card { display: flex; align-items: center; gap: 24px; }
.partner-card__logo { width: 160px; height: 129px; object-fit: contain; flex-shrink: 0; }
.partner-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 129px;
  flex-shrink: 0;
  border-radius: 16px;
  background: var(--mint);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  padding: 8px;
}
.partner-card__body p { font-size: 18px; line-height: 1.55; font-weight: 400; color: var(--ink); }
.partner-card__discount { margin-top: 4px; font-weight: 700; color: var(--teal); }
.partner-card__link { display: inline-block; margin-top: 8px; font-size: 16px; color: var(--teal); }

@media (max-width: 1000px) {
  .partner-page { padding: 64px 0 48px; }
  .partner-page__title { font-size: 26px; }
  .partner-page__descr { font-size: 17px; }
  .partner-list { grid-template-columns: 1fr; gap: 32px; margin-top: 36px; }
  .partner-card { gap: 16px; }
  .partner-card__logo, .partner-card__placeholder { width: 110px; height: 89px; }
}

/* --- Подарочная страница (/podarok) ------------------------------------- */
/* Скрытая промо-страница, раздаётся прямой ссылкой. Узкая колонка-лендинг:
   исходный вариант был свёрстан под 480px, здесь та же логика, но в
   типографике и цветах сайта. */
.gift { max-width: 560px; margin: 0 auto; padding: 0 0 56px; }

.gift__hero { position: relative; height: 320px; overflow: hidden; border-radius: 0 0 35px 35px; }
.gift__hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.gift__hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(74,74,74,.05) 0%, rgba(74,74,74,.72) 100%);
}
.gift__hero-text { position: absolute; bottom: 0; left: 0; right: 0; z-index: 1; padding: 28px 24px; }
.gift__eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,.75); margin-bottom: 8px;
}
.gift__title { font-size: 34px; line-height: 1.1; font-weight: 700; color: var(--white); }

.gift__body { padding: 28px 20px 0; }
.gift__card { border-radius: 24px; padding: 22px; margin-bottom: 20px; }
.gift__card--offer { background: var(--mint); }
.gift__card--bot { background: var(--yellow); display: flex; align-items: center; gap: 16px; }
.gift__card--steps { background: var(--ink); }

.gift__card p { font-size: 17px; line-height: 1.6; color: var(--ink); }
.gift__card strong { font-weight: 700; }

.gift__chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.gift__chip {
  background: var(--white); border-radius: 50px; padding: 7px 16px;
  font-size: 14px; font-weight: 400; color: var(--ink);
}

.gift__bot-icon { font-size: 34px; flex-shrink: 0; line-height: 1; }
.gift__card--bot a { font-weight: 700; text-decoration: underline; }

.gift__label {
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.gift__card--steps .gift__label { color: rgba(255,255,255,.5); }

.gift__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gift__tile { background: var(--mint); border-radius: 20px; padding: 18px; }
.gift__tile:nth-child(2) { background: var(--peach); }
.gift__tile:nth-child(3) { background: var(--cream); }
.gift__tile:nth-child(4) { background: var(--cream-2); }
.gift__tile h3 { font-size: 15px; font-weight: 700; color: var(--ink); }
.gift__tile p { font-size: 13px; line-height: 1.45; color: var(--ink); opacity: .75; margin-top: 4px; }
.gift__tile-icon { font-size: 24px; margin-bottom: 8px; line-height: 1; }

.gift__strip {
  display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gift__strip::-webkit-scrollbar { display: none; }
.gift__strip img {
  height: 180px; width: 180px; object-fit: cover;
  border-radius: 20px; flex-shrink: 0; scroll-snap-align: start;
}

.gift__steps { display: flex; flex-direction: column; gap: 14px; }
.gift__step { display: flex; align-items: flex-start; gap: 14px; }
.gift__step-num {
  background: rgba(255,255,255,.14); border-radius: 50%;
  min-width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: var(--white); flex-shrink: 0;
}
.gift__step p { font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.88); padding-top: 5px; }

.gift__actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.gift__action {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 50px; padding: 17px; font-size: 16px; font-weight: 700;
  color: var(--white); min-height: 40px;
}
.gift__action svg { flex-shrink: 0; }
.gift__action--wa { background: #25D366; }
.gift__action--tg { background: #0088CC; }
.gift__action--max { background: #0077FF; }

.gift__note { text-align: center; font-size: 13px; line-height: 1.6; color: var(--ink); opacity: .55; padding: 0 12px; }

.gift__logo { display: block; width: 150px; margin: 0 auto 24px; padding-top: 28px; }

@media (max-width: 1000px) {
  .gift__hero { height: 260px; border-radius: 0 0 28px 28px; }
  .gift__title { font-size: 27px; }
  .gift__body { padding: 24px 16px 0; }
  .gift__card { padding: 18px; border-radius: 20px; }
  .gift__card p { font-size: 16px; }
  .gift__strip img { height: 150px; width: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  [data-anim] { opacity: 1; transform: none; }
}
