/* ORO Dance Studio — новые виды блоков (tools/pages.py, render_v2; страницы с "design": 2).
   Стиль сайта тот же: чёрный фон с сеткой, красные пятна, стеклянные карточки с белой рамкой и радиусом 10,
   акцент #ff3700, заголовки капсом. Анимации — только внутри моков (html.anim ставит blocks.js);
   без JS, с prefers-reduced-motion и в html.full всё сразу в конечном состоянии. */

.pg-v2 { --glass: rgba(0, 0, 0, .42); --line: rgba(255, 255, 255, .28); --muted: rgba(255, 255, 255, .78); }
.v2-sec { padding: 44px 0; }
.pg-v2 .pg-card p { font-size: 15px; }
.pg-v2 .pg-card h3 { font-size: 19px; }
.pg-v2 .pg-more summary { display: inline-flex; align-items: center; min-height: 32px; }

/* ---------- 01. Первый экран: панель с фото + оффер «мостиком» на нижнем крае панели ---------- */
.v2-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); grid-template-rows: auto 1fr 1fr; margin-top: 10px; }
.v2-hero-bg { position: absolute; inset: 0; grid-column: 1 / -1; grid-row: 1 / 3; border: 1px solid var(--line); border-radius: 10px;
  background: radial-gradient(90% 120% at 0% 0%, rgba(220, 0, 1, .38), transparent 60%), rgba(0, 0, 0, .5); }
.v2-hero-photo { position: absolute; inset: 0; grid-column: 2; grid-row: 1 / 3; border-radius: 0 10px 10px 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34%); mask-image: linear-gradient(90deg, transparent 0, #000 34%); }
.v2-hero-photo .pg-cover { position: absolute; inset: 0; object-position: 50% 70%; }
.v2-hero-text { position: relative; grid-column: 1; grid-row: 1; padding: 30px 8px 36px 40px; }
.v2-hero-text .pg-crumbs { margin-bottom: 18px; }
.v2-hero h1 { font-size: clamp(30px, 3.4vw, 46px); }
.v2-hero .pg-lead { margin: 18px 0 18px !important; }
.v2-hero .pg-points { margin: 0; }
/* оффер первого экрана — широкая карточка на шве, подача как у оффера главной (#hero):
   стеклянная карточка с градиентной рамкой, заголовок капсом, пункты с полыми иконками (круг + контурный знак),
   белая кнопка-пилюля и белый круг со стрелкой (поворот на 45° при наведении) */
.v2-bridge { position: relative; z-index: 2; grid-column: 1 / -1; grid-row: 2 / 4; margin: 0 40px; display: flex; flex-direction: column; gap: 16px;
  padding: 22px 30px 24px; border-radius: 10px; background: rgba(10, 10, 10, .78); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55); }
.v2-bridge::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(100deg, #fff 0%, rgba(255, 255, 255, .55) 45%, rgba(255, 255, 255, .12) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.v2-final ul { list-style: none; margin: 0; padding: 0; }
.v2-hero .v2-bridge-h { margin: 0 !important; font-size: 20px; line-height: 1.15; font-weight: 300; letter-spacing: .02em; text-transform: uppercase; color: #fff; }
/* пункты оффера v2 (offer_items2, общий источник): полая иконка — тонкий круг и контурный знак, бонус — белая плашка, как на главной */
.pg-v2 .v2-oi { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pg-v2 .v2-oi li { position: relative; display: flex; align-items: center; gap: 12px; padding: 0; font-size: 15px; line-height: 1.35; }
.pg-v2 .v2-oi li::before { content: none; }
.v2-oi-ic { flex: none; width: 40px; height: 40px; fill: none; stroke: #fff; stroke-width: 1.2; stroke-linecap: round; }
.v2-oi-ic circle { stroke: rgba(255, 255, 255, .85); stroke-width: 1; }
.v2-oi-t { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.v2-oi-bonus { display: inline-block; padding: 3px 12px; border-radius: 100px; background: #fff; color: #222; font-size: 14px; font-weight: 500; line-height: 1.3; }
/* на первом экране — три колонки в строку */
.v2-hero .v2-bridge-ul { grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px 28px; }
.v2-hero .v2-bridge-cta { align-self: flex-start; gap: 6px; }
.v2-hero .v2-bridge-cta span { height: 56px; min-width: 320px; justify-content: center; padding: 0 36px; color: #222; font-size: 18px; font-weight: 600; }
.v2-hero .v2-bridge-cta i { width: 56px; height: 56px; color: #222; }
.v2-bridge-cta i svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.v2-hero .v2-bridge-cta:hover span, .v2-hero .v2-bridge-cta:hover i { color: #fff; }
/* компактнее первый экран, чтобы карточка с кнопкой целиком помещалась в 1440×780 */
.v2-hero .v2-hero-text { padding-top: 22px; padding-bottom: 26px; }
.v2-hero .v2-hero-text .pg-crumbs { margin-bottom: 12px; }
.v2-hero .pg-lead { margin: 14px 0 16px !important; }
@media (max-width: 1023px) {
  .v2-hero .v2-bridge-ul { grid-template-columns: 1fr; gap: 12px; }
  .v2-hero .v2-bridge-cta { align-self: stretch; }
  .v2-hero .v2-bridge-cta span { flex: 1; min-width: 0; }
}
@media (max-width: 640px) {
  .v2-hero .v2-bridge { padding: 22px 18px; gap: 18px; }
  .v2-hero .v2-bridge-h { font-size: 19px; }
  .v2-oi-ic { width: 36px; height: 36px; }
  .v2-hero .v2-bridge-cta span { height: 56px; padding: 0 16px; font-size: 17px; white-space: normal; text-align: center; line-height: 1.2; }
  .v2-hero .v2-bridge-cta i { width: 56px; height: 56px; }
}

/* ---------- расписание-мок + карточки (bento) ---------- */
.v2-bento { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px; }
.v2-bento-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.v2-bento-cards .pg-card { padding: 20px 22px; }
.v2-bento-cards .pg-card h3 { margin-bottom: 8px; }
.v2-bento-cards li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.v2-sched { display: flex; flex-direction: column; gap: 18px; padding: 24px; border: 1px solid var(--c-accent); border-radius: 10px;
  background: linear-gradient(160deg, rgba(220, 0, 1, .32), rgba(0, 0, 0, .5) 65%); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); }
.v2-sched-days { display: flex; gap: 8px; }
.v2-sched-days span { flex: 1; text-align: center; padding: 8px 0; border: 1px solid rgba(255, 255, 255, .5); border-radius: 100px; font-weight: 700; font-size: 15px; }
.v2-sched-days span.is-on { background: #fff; color: #000; border-color: #fff; }
.v2-sched-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; flex: 1; align-content: center; }
.v2-sched-row { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 16px; border-radius: 10px; background: rgba(0, 0, 0, .4); border: 1px solid transparent; }
.v2-sched-name { font-size: 14px; text-transform: uppercase; letter-spacing: .02em; color: var(--muted); }
.v2-sched-time { grid-column: 1 / -1; font-size: 26px; font-weight: 700; line-height: 1.1; }
.v2-sched-row:not([data-start]) .v2-sched-time { font-size: 16px; font-weight: 600; color: var(--muted); }
.v2-sched-track { grid-column: 1 / -1; position: relative; height: 6px; margin-top: 6px; border-radius: 6px; background: rgba(255, 255, 255, .12); }
.v2-bar { position: absolute; top: 0; bottom: 0; left: calc(var(--a) / var(--span, 90) * 100%); width: calc((var(--z) - var(--a)) / var(--span, 90) * 100%); border-radius: 6px; background: #fff; }
.v2-bar--tbd { left: 0; width: 100%; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .45) 0 8px, transparent 8px 14px); }
.v2-sched-row.is-next { border-color: var(--c-accent); background: rgba(255, 55, 0, .14); }
.v2-sched-row.is-next .v2-sched-time { color: #fff; }
.v2-sched-row.is-next .v2-bar { background: var(--c-accent); }
.v2-sched-row.is-next::after { content: ""; position: absolute; top: 18px; right: 16px; width: 10px; height: 10px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 4px rgba(255, 55, 0, .3); }
.v2-sched-scale { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255, 255, 255, .6); padding: 0 16px; }
/* 4 группы и больше (/kids): строки плотнее, чтобы блок «как устроено» помещался в экран 1440×780 */
.v2-sched:has(.v2-sched-row:nth-child(4)) { gap: 12px; padding-top: 20px; padding-bottom: 18px; }
.v2-sched-list:has(> .v2-sched-row:nth-child(4)) { gap: 8px; }
.v2-sched-list:has(> .v2-sched-row:nth-child(4)) .v2-sched-row { padding: 10px 14px; }
.v2-sched-list:has(> .v2-sched-row:nth-child(4)) .v2-sched-time { font-size: 22px; }

/* ---------- список + крупное фото, выходящее за край страницы ---------- */
.v2-pl { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
.v2-pl-photo { position: relative; min-height: 420px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.v2-pl-photo .pg-cover { position: absolute; inset: 0; object-position: 50% 60%; }
.v2-pl-body h2 { margin-bottom: 24px; }
.v2-pl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.v2-pl-item { position: relative; padding: 20px 0 20px 28px; border-top: 1px solid var(--line); }
.v2-pl-item:last-child { border-bottom: 1px solid var(--line); }
.v2-pl-item::before { content: ""; position: absolute; left: 0; top: 27px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--c-accent); }
.v2-pl-item:last-child::before { background: var(--c-accent); }
.v2-pl-item h3 { margin-bottom: 6px; font-size: 20px; }
.v2-pl-item p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- оффер на фото-полосе: карточка стоит на нижнем крае фото ---------- */
.v2-pbridge-photo { position: relative; height: 380px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.v2-pbridge-photo .pg-cover { position: absolute; inset: 0; object-position: var(--pos, 50% 42%); }
.v2-pbridge-photo--tri { display: grid; grid-template-columns: repeat(3, 1fr); height: 460px; }   /* три узких кадра: над карточкой оффера помещается лицо целиком */
.v2-pbridge-photo--tri > span { position: relative; overflow: hidden; }
.v2-pbridge-photo--tri > span + span { border-left: 1px solid var(--line); }
.v2-pbridge-photo--tri .pg-cover { object-position: var(--pos, 50% 20%); }
.v2-pbridge-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .55)); }
.v2-pbridge-card { position: relative; z-index: 1; width: min(1000px, calc(100% - 80px)); margin: -150px 0 0 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 18px 36px; padding: 30px 32px; background: rgba(12, 12, 12, .9); box-shadow: 0 18px 50px rgba(0, 0, 0, .55); }
.v2-pbridge-card .pg-offer { margin: 0; max-width: none; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.pg-v2 .pg-card .pg-offer-h, .pg-v2 .pg-offer-h { margin: 0 !important; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.18; font-weight: 700; text-transform: uppercase; color: #fff; }

/* ---------- обычный и красный оффер ---------- */
.v2-offer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 40px; padding: 34px 36px; }
.v2-offer .pg-offer { margin: 0; max-width: none; }
.v2-offer-l { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }

/* ---------- смелое место: видеоотчёт родителю в телефоне на красной полосе ---------- */
.v2-sec--bold { position: relative; padding: 40px 0 96px; }
.v2-sec--bold::before { content: ""; position: absolute; z-index: -1; top: 88px; bottom: 28px; left: 50%; width: 100vw; transform: translateX(-50%);
  background: radial-gradient(60% 90% at 78% 50%, rgba(255, 55, 0, .55), transparent 70%), linear-gradient(110deg, rgba(0, 0, 0, .2) 30%, rgba(220, 0, 1, .7));
  border-top: 1px solid rgba(255, 255, 255, .25); border-bottom: 1px solid rgba(255, 255, 255, .25); }
/* плашка, H2 и подзаголовок целиком на красном фоне (фон начинается на 88 px ниже верха блока; телефон заходит за край) */
.v2-sec--bold .v2-chat-text { padding-top: 90px; }
@media (min-width: 641px) and (max-width: 1023px) { .pg-v2 .pg-grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; } }   /* третья карточка не стоит одна на пол-ширины */
@media (min-width: 1024px) { .v2-pbridge-photo--tri + .v2-pbridge-card { margin-top: -105px; } }   /* /kids «первая тренировка»: карточка не доходит до подбородка в среднем кадре */
@media (min-width: 1024px) { .v2-sec--bold:has(.v2-chat) { padding-bottom: 80px; } }   /* блок «прогресс» /kids — в экран 1440×780 */
@media (min-width: 1024px) {   /* телефон дотягивается до низа карточек слева, сообщения прижаты вниз, как в мессенджере */
  .v2-sec--bold .v2-phone { flex: 1; height: auto; min-height: 560px; }
  .v2-sec--bold .v2-phone-chat { justify-content: flex-end; }
}
.v2-chat { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 48px; }
.v2-chat-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.v2-chat-card { padding: 20px 22px; border: 1px solid #fff; border-radius: 10px; background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); }
.v2-chat-card:first-child { border-color: var(--c-accent); }
.v2-chat-cards > .v2-chat-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 1024px) { .v2-chat-text { display: flex; flex-direction: column; } .v2-chat-cards { flex: 1; } }   /* карточки тянутся до низа телефона */   /* нечётная последняя карточка — во всю ширину, без пустой ячейки */
.v2-chat-card h3 { font-size: 18px !important; margin-bottom: 8px; }
.v2-chat-card p { margin: 0; color: var(--muted); font-size: 15px; }
.v2-chat-media { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 10px; }
.v2-phone { width: 300px; height: 560px; padding: 14px 12px; border-radius: 42px; border: 1px solid rgba(255, 255, 255, .75); background: #0c0c0c;
  box-shadow: 0 0 0 7px #1b1b1b, 0 34px 80px rgba(0, 0, 0, .7), 0 0 120px rgba(255, 55, 0, .35); transform: rotate(-2deg); display: flex; flex-direction: column; overflow: hidden; }
.v2-phone-top { display: flex; align-items: center; gap: 10px; padding: 8px 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.v2-phone-top img { width: 28px; height: auto; }
.v2-phone-chat { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 14px 6px 6px; }
.v2-msg { align-self: flex-start; max-width: 86%; padding: 6px; border-radius: 16px 16px 16px 4px; background: #1f1f1f; }
.v2-msg--video { position: relative; width: 86%; }
.v2-chat-thumb { display: block; width: 100%; height: 150px; background: 50% 70% / cover no-repeat; border-radius: 12px; }
.v2-play { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 6px rgba(255, 55, 0, .3); }
.v2-play::after { content: ""; position: absolute; left: 19px; top: 15px; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.v2-msg--photos { display: flex; gap: 6px; width: 62%; }
.v2-msg--photos i { flex: 1; height: 74px; border-radius: 10px; background: url(../media/disk/hall-small-6-m.webp) 40% 70% / cover; }
.v2-msg--photos i + i { background-image: url(../media/disk/hall-small-5-m.webp); }
.v2-msg--text { position: relative; width: 80%; padding: 12px 14px; display: grid; gap: 7px; }
.v2-msg--text > i, .v2-msg--mine i { display: block; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .28); }
.v2-msg--text > i:nth-of-type(2) { width: 88%; } .v2-msg--text > i:nth-of-type(3) { width: 56%; }
.v2-typing { position: absolute; left: 14px; top: 50%; display: none; gap: 5px; transform: translateY(-50%); }
.v2-typing i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .7); }
.v2-msg--mine { align-self: flex-end; width: 46%; padding: 12px 14px; border-radius: 16px 16px 4px 16px; background: var(--c-accent); }
.v2-msg--mine i { background: rgba(255, 255, 255, .7); }
/* мок чата с репликами текстом (/kids): сообщения прижаты вниз, как в мессенджере */
.v2-phone--said .v2-phone-chat { justify-content: flex-end; gap: 8px; }
.v2-msg-t { display: block; font-size: 13px; line-height: 1.35; color: #fff; }
.v2-msg--video .v2-msg-t { padding: 7px 6px 3px; }
.v2-msg-v { position: relative; display: block; }
.v2-phone--said .v2-chat-thumb { height: 120px; }
.v2-phone--said .v2-msg--photos i { height: 60px; }
.v2-msg--said { width: auto; }
.v2-msg--said.v2-msg--text { max-width: 86%; padding: 9px 12px; }
.v2-msg--said.v2-msg--mine { max-width: 78%; padding: 9px 12px; }
.v2-cap { margin: 8px 0 0 !important; font-size: 12px; color: rgba(255, 255, 255, .7); }

/* ---------- карточки с крупным фото ---------- */
.v2-pcs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.v2-pc { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.v2-pc-media { position: relative; aspect-ratio: 16 / 8; overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, .5); }
.v2-pc-media .pg-cover { position: absolute; inset: 0; transition: transform .5s; }
.v2-pc:hover .v2-pc-media .pg-cover { transform: scale(1.03); }
.v2-pc-body { flex: 1; padding: 22px 26px 26px; }

/* ---------- плашка «фото — нужно» (одна на всю страницу по виду) ---------- */
.v2-need { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 100%; min-height: 180px; padding: 16px; text-align: center;
  border: 1px dashed rgba(255, 255, 255, .45); border-radius: 10px; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 10px, transparent 10px 20px), rgba(0, 0, 0, .3); }
.v2-need span { padding: 4px 12px; border-radius: 100px; background: rgba(255, 55, 0, .16); border: 1px solid var(--c-accent); color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.v2-need small { font-size: 13px; color: rgba(255, 255, 255, .7); }
.v2-need--tag { position: absolute; left: 12px; top: 12px; height: auto; min-height: 0; padding: 0; border: 0; background: none; }
.v2-need--tag small { display: none; }

/* ---------- шаги слайдером (stepper) ---------- */
.v2-stepper-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.v2-dots { position: relative; display: flex; gap: 0; flex: 1; max-width: 560px; justify-content: space-between; }
.v2-dots::before { content: ""; position: absolute; left: 22px; right: 22px; top: 50%; height: 1px; background: rgba(255, 255, 255, .45); }
.v2-dot, .v2-arrow { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #fff; background: #000; color: #fff; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.v2-dot.is-on, .v2-dot.is-done { background: var(--c-accent); border-color: var(--c-accent); }
.v2-arrows { display: flex; gap: 10px; }
.v2-arrow:hover { background: #fff; color: #000; }
.v2-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.v2-steps::-webkit-scrollbar { display: none; }
.v2-step { flex: 0 0 min(780px, 72%); scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; min-height: 320px;
  border: 1px solid #fff; border-radius: 10px; overflow: hidden; background: var(--glass); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); transition: opacity .3s; }
.v2-step-vis { position: relative; min-height: 0; border-right: 1px solid rgba(255, 255, 255, .3); }
.v2-step-vis > .pg-cover { position: absolute; inset: 0; }
.v2-step-vis > .v2-need { position: absolute; inset: 14px; height: auto; }
.v2-step-body { padding: 32px 30px; display: flex; flex-direction: column; justify-content: center; }
.v2-step-body h3 { font-size: 24px !important; text-transform: uppercase; margin-bottom: 14px; }
.v2-step-body p { margin: 0; font-size: 16px; color: var(--muted); }
html.js .v2-step:not(.is-on) { opacity: .55; }
html.full .v2-step { opacity: 1 !important; }
/* мок заявки */
.v2-form { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 28px; background: radial-gradient(80% 80% at 20% 20%, rgba(220, 0, 1, .35), transparent 70%); }
.v2-field { display: flex; align-items: center; height: 44px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 10px; font-size: 14px; color: rgba(255, 255, 255, .8); background: rgba(0, 0, 0, .4); }
.v2-field em { font-style: normal; color: #fff; overflow: hidden; white-space: nowrap; display: inline-block; }
.v2-form-btn { display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 100px; background: var(--c-accent); color: #fff; font-weight: 600; font-size: 14px; }
.v2-form-ok { position: absolute; right: 22px; top: 22px; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--c-accent); font-weight: 700; display: flex; align-items: center; justify-content: center; }
/* мок посещений: оплачиваются только отмеченные дни */
.v2-visits { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(7, 1fr); align-content: center; gap: 8px; padding: 28px; }
.v2-visits i { aspect-ratio: 1; border-radius: 8px; background: rgba(255, 255, 255, .05); }
.v2-day--ok { background: var(--c-accent) !important; position: relative; }
.v2-day--ok::after { content: "✓"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-style: normal; font-weight: 700; font-size: 14px; }
.v2-day--miss { border: 1px dashed rgba(255, 255, 255, .55); background: transparent !important; }

/* ---------- цены: крупная цифра в карточке ---------- */
.v2-prices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.v2-price { padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; }
.v2-price h3 { margin: 0; }
.v2-price b { font-size: 56px; line-height: 1; font-weight: 700; color: #ff3700; white-space: nowrap; }
.v2-price p { margin: 0; opacity: .8; }

/* ---------- люди: фото или монограмма ---------- */
.v2-people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.v2-person { padding: 0 0 24px; overflow: hidden; }
.v2-person h3, .v2-person p { padding: 0 24px; }
.v2-person-media { position: relative; height: 200px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid rgba(255, 255, 255, .4);
  background: radial-gradient(70% 90% at 50% 100%, rgba(220, 0, 1, .4), transparent 70%), repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 10px, transparent 10px 20px); }
.v2-person-media .pg-cover { position: absolute; inset: 0; object-position: 50% 25%; }
.v2-person-media:has(.pg-cover) { height: 340px; }
.v2-mono { font-size: 96px; line-height: 1; font-weight: 700; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .8); letter-spacing: .02em; }

/* ---------- рейтинг с фото ---------- */
.v2-rating { display: grid; grid-template-columns: auto minmax(0, 1fr) 260px; gap: 0 40px; padding: 0 0 0 36px; overflow: hidden; }
.v2-rating .pg-rating-big { display: flex; flex-direction: column; justify-content: center; padding: 30px 0; }
.v2-rating-text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; padding: 30px 0; }
.v2-rating-text p { font-size: 17px !important; }
.v2-rating-photo { position: relative; min-height: 240px; border-left: 1px solid rgba(255, 255, 255, .4); }
.v2-rating-photo .pg-cover { position: absolute; inset: 0; object-position: 50% 60%; }

/* ---------- финальный оффер: календарь «в любой месяц» ---------- */
.v2-final { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 48px; padding: 36px; border-color: var(--c-accent);
  background: radial-gradient(70% 100% at 0% 100%, rgba(220, 0, 1, .45), transparent 70%), var(--glass); }
.v2-final-l { display: flex; flex-direction: column; gap: 22px; }
.v2-final-l:has(> .v2-months) { justify-content: space-between; }   /* подпись под месяцами — вровень с кнопкой справа */
.v2-final-r { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.v2-final .pg-offer { margin: 0; max-width: none; }
.v2-months { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.v2-m { display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 100px; border: 1px solid rgba(255, 255, 255, .7); font-style: normal; font-size: 14px; color: #fff; }
.v2-m--main { background: #fff; color: #000; font-weight: 700; border-color: #fff; }

/* ===================== виды блоков /proam и /latina (26.10) ===================== */
.v2-pl--rev .v2-pl-photo { order: 2; }
.v2-pl--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }

/* длинное слово в H1 (ЛАТИНОАМЕРИКАНСКИЕ) — мельче, чтобы не рвалось */
.v2-hero h1.v2-h1--long { font-size: clamp(28px, 3vw, 40px); }
@media (max-width: 640px) { .v2-hero h1.v2-h1--long { font-size: 24px; } }

/* крупные цифры */
.v2-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 14px; }
.v2-stats li { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--glass); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); }
.v2-stats b { font-size: clamp(30px, 3vw, 42px); line-height: 1; font-weight: 700; color: #fff; white-space: nowrap; }
.v2-stats span { font-size: 15px; line-height: 1.35; color: var(--muted); }
.v2-stats--big li { padding: 0 0 0 18px; border: 0; border-left: 2px solid var(--c-accent); border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.v2-stats--big b { font-size: clamp(36px, 3.6vw, 52px); }
.v2-stats--row { margin-bottom: 18px; }
.v2-stats--row + .v2-stepper .v2-step { min-height: 290px; }
.v2-stats--row li { padding: 14px 18px; }
.v2-stats--row b { font-size: clamp(24px, 2.2vw, 30px); }
.v2-link { margin: 18px 0 0 !important; font-size: 16px; }
.v2-link a { color: #fff; text-decoration: underline; text-decoration-color: var(--c-accent); text-underline-offset: 4px; }

/* цитата тренера крупно */
.v2-q { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; }
.v2-q-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; margin: 0; padding: 34px 32px 28px; overflow: hidden; border-color: var(--c-accent);
  background: radial-gradient(90% 70% at 0% 0%, rgba(220, 0, 1, .42), transparent 70%), var(--glass); }
.v2-q-card blockquote { position: relative; margin: 0; }
.v2-q-card blockquote p { margin: 0 !important; font-size: clamp(21px, 2vw, 26px) !important; line-height: 1.32; font-weight: 600; color: #fff; }
.v2-q-card blockquote p::before { content: "«"; color: var(--c-accent); }
.v2-q-card blockquote p::after { content: "»"; color: var(--c-accent); }
.v2-q-card figcaption { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--muted); }
.v2-q-ava { position: relative; flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; border: 1px solid #fff; }
.v2-q-ava .pg-cover { position: absolute; inset: 0; object-position: 50% 18%; }
.v2-q-side { display: flex; flex-direction: column; gap: 16px; }
.v2-q-cards { flex: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.v2-q-cards--3 { grid-template-columns: 1fr; }
.v2-q-cards .pg-card { padding: 20px 22px; }
.v2-q-cards--3 .pg-card { padding: 18px 22px; }
.v2-q-cards .pg-card h3 { margin-bottom: 8px; }
.v2-q-cards .pg-card p { margin: 0; }

/* неделя-расписание */
.v2-wk-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.v2-wk-days { padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.v2-wk-days span { position: relative; text-align: center; padding: 4px 0 8px; font-weight: 700; font-size: 14px; color: rgba(255, 255, 255, .4); }
.v2-wk-days span.is-has { color: #fff; }
.v2-wk-days span.is-has::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: rgba(255, 255, 255, .7); }
.v2-wk-days span.is-on::after { background: var(--c-accent); box-shadow: 0 0 0 3px rgba(255, 55, 0, .3); }
.v2-wk-row { position: relative; padding: 14px 16px; border-radius: 10px; background: rgba(0, 0, 0, .4); border: 1px solid transparent; }
.v2-wk-lbl { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 4px 12px; }
.v2-wk-name { grid-column: 1 / -1; font-size: 14px; text-transform: uppercase; letter-spacing: .02em; color: var(--muted); }
.v2-wk-sep { display: none; }
.v2-wk-day { font-size: 26px; line-height: 1.1; }
.v2-wk-time { font-size: 26px; line-height: 1.1; }
.v2-wk-who { list-style: none; margin: 8px 0 0; padding: 0; font-size: 15px; color: #fff; }
.v2-wk-who li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: rgba(255, 255, 255, .5); vertical-align: 1px; }
.v2-wk-row.is-next { border-color: var(--c-accent); background: rgba(255, 55, 0, .14); }
.v2-wk-row.is-next .v2-wk-who li::before { background: var(--c-accent); }
.v2-wk-row.is-next::after { content: ""; position: absolute; top: 18px; right: 16px; width: 10px; height: 10px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 4px rgba(255, 55, 0, .3); }

/* частота: цифры + полоса недели; карточки с номерами */
.v2-fqs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }   /* частота — строкой сверху, карточки с номерами — рядом под ней (27.10: в колонке справа карточки были по 2 слова в строку) */
.v2-fq-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.v2-fq { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--glass); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); }
.v2-fq:first-child { border-color: var(--c-accent); background: linear-gradient(160deg, rgba(220, 0, 1, .3), rgba(0, 0, 0, .5) 70%); }
.v2-fq b { font-size: clamp(34px, 3.4vw, 46px); line-height: 1; }
.v2-fq span { font-size: 15px; color: var(--muted); }
.v2-fq-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 8px; }
.v2-fq-week i { display: flex; align-items: center; justify-content: center; height: 34px; border-radius: 8px; font-style: normal; font-size: 12px; color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .06); }
.v2-fq-week i.is-on { background: #fff; color: #000; font-weight: 700; }
.v2-fq:first-child .v2-fq-week i.is-on { background: var(--c-accent); color: #fff; }
.v2-nums { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.v2-num { display: flex; flex-direction: column; padding: 22px 24px; }
.v2-num-n { display: block; margin-bottom: 14px; font-size: 52px; line-height: 1; font-weight: 700; color: transparent; -webkit-text-stroke: 1.5px var(--c-accent); }
.v2-num h3 { margin-bottom: 8px; }
.v2-num p { margin: 0; }
.v2-num .pg-more { margin-top: auto; padding-top: 12px; }   /* «Подробнее» внизу карточки: соседи одной высоты без пустоты посередине */

/* смелое место /latina: путь с нуля на красной полосе */
.v2-path { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: stretch; }
.v2-path-text { display: flex; flex-direction: column; gap: 22px; }
.v2-path-text .pg-sub { margin: 0 !important; }
.v2-path-text h2 { margin-bottom: 0 !important; }
.v2-sec--path .v2-stats--big { gap: 24px; }
.v2-sec--path .v2-stats--big b { font-size: clamp(30px, 2.8vw, 40px); }
.v2-path-cards { list-style: none; margin: 0; padding: 0; }
.v2-path-photo { position: relative; min-height: 520px; }
.v2-path-frame { position: absolute; inset: 0; border: 1px solid #fff; border-radius: 10px; overflow: hidden; transform: rotate(1.5deg); box-shadow: 0 34px 80px rgba(0, 0, 0, .6); }
.v2-path-frame .pg-cover { position: absolute; inset: 0; object-position: 50% 40%; }
.v2-track { position: relative; padding: 4px 0 0; }
.v2-track-m { display: grid; grid-template-columns: repeat(13, 1fr); gap: 4px; }
.v2-track-m i { position: relative; height: 26px; border-radius: 4px; background: rgba(255, 255, 255, .14); font-style: normal; }
.v2-track-m i.is-in { background: rgba(255, 255, 255, .55); }
.v2-track-m i.is-final { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .3); }
.v2-track-m em { position: absolute; left: 0; right: 0; top: 4px; text-align: center; font-style: normal; font-size: 12px; font-weight: 700; color: rgba(0, 0, 0, .7); }
.v2-track-m i:not(.is-in):not(.is-final) em { color: rgba(255, 255, 255, .6); }

/* смелое место /proam: история Ольги */
.v2-sec--story, .v2-sec--path { padding-bottom: 40px; }
.v2-sec--story::before { top: 64px; bottom: 16px; background: radial-gradient(60% 90% at 22% 50%, rgba(255, 55, 0, .5), transparent 70%), linear-gradient(70deg, rgba(220, 0, 1, .72), rgba(0, 0, 0, .2) 70%); }
.v2-story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: stretch; }
.v2-story-media { position: relative; min-height: 560px; }
.v2-story-photo { position: absolute; left: 0; top: 0; bottom: 70px; width: 76%; border: 1px solid #fff; border-radius: 10px; overflow: hidden; transform: rotate(-1.5deg); box-shadow: 0 34px 80px rgba(0, 0, 0, .6); }
.v2-story-photo .pg-cover { position: absolute; inset: 0; object-position: 50% 30%; }
.v2-pol { position: absolute; margin: 0; padding: 8px 8px 26px; background: #fff; border-radius: 4px; box-shadow: 0 18px 40px rgba(0, 0, 0, .55); }
.v2-pol a { position: relative; display: block; width: 180px; height: 130px; overflow: hidden; }
.v2-pol .pg-cover { position: absolute; inset: 0; object-position: 50% 30%; }
.v2-pol--1 { right: 0; top: 70px; transform: rotate(2deg); }
.v2-pol--2 { right: 24px; bottom: 0; transform: rotate(-2deg); }
.v2-pol--2 a { width: 150px; height: 190px; }
.v2-story-text { display: flex; flex-direction: column; gap: 20px; }
.v2-story-text h2 { margin-bottom: 0 !important; }
.v2-story-text .pg-sub { margin: -8px 0 0 !important; }
.v2-story-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.v2-story-step { position: relative; padding: 12px 20px 12px 44px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 10px; background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); }
.v2-story-step::before { content: ""; position: absolute; left: 18px; top: 19px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--c-accent); }
.v2-story-step:last-child { border-color: var(--c-accent); }
.v2-story-step:last-child::before { background: var(--c-accent); }
.v2-story-step h3 { font-size: 18px !important; margin-bottom: 4px; }
.v2-story-step p { margin: 0; color: var(--muted); font-size: 15px; }

/* шкалы турнира */
.v2-bento--scales { grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); }
.v2-scales { display: flex; flex-direction: column; justify-content: center; gap: 34px; padding: 28px 24px; border: 1px solid var(--c-accent); border-radius: 10px;
  background: linear-gradient(160deg, rgba(220, 0, 1, .32), rgba(0, 0, 0, .5) 65%); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); }
.v2-scale-lbl { display: block; margin-bottom: 12px; font-size: 14px; text-transform: uppercase; letter-spacing: .02em; color: var(--muted); }
.v2-scale ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.v2-scale--0 ol { grid-template-columns: 1fr 1fr; }
.v2-scale--0 li { padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .5); background: rgba(0, 0, 0, .35); font-size: 16px; font-weight: 600; }
.v2-scale--1 li { position: relative; display: flex; align-items: center; width: calc(44% + var(--i) * 14%); height: 36px; padding: 0 14px; border-radius: 0 100px 100px 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, calc(.14 + var(--i) * .08))); border-left: 2px solid rgba(255, 255, 255, .7); font-size: 15px; font-weight: 600; color: #fff; }
.v2-scale--1 li:first-child { background: linear-gradient(90deg, rgba(255, 55, 0, .25), var(--c-accent)); border-left-color: var(--c-accent); }

/* цели по нарастающей */
.v2-ladder { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; position: relative; }
.v2-step-up { position: relative; padding: 120px 26px 28px; overflow: hidden; }
.v2-step-up-n { position: absolute; left: 22px; top: 6px; font-size: 120px; line-height: 1; font-weight: 700; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .6); }
.v2-step-up::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, rgba(255, 55, 0, .2), var(--c-accent)); transform-origin: left; }
.v2-step-up--1::after, .v2-step-up--2::after, .v2-step-up--3::after { content: ""; position: absolute; right: 22px; top: 26px; display: grid; width: 74px; height: 50px;
  background: linear-gradient(to top, #fff 0 0) 0 100% / 22px 33% no-repeat, linear-gradient(to top, rgba(255, 255, 255, .25) 0 0) 26px 100% / 22px 66% no-repeat, linear-gradient(to top, rgba(255, 255, 255, .25) 0 0) 52px 100% / 22px 100% no-repeat; }
.v2-step-up--2::after { background: linear-gradient(to top, #fff 0 0) 0 100% / 22px 33% no-repeat, linear-gradient(to top, #fff 0 0) 26px 100% / 22px 66% no-repeat, linear-gradient(to top, rgba(255, 255, 255, .25) 0 0) 52px 100% / 22px 100% no-repeat; }
.v2-step-up--3 { border-color: var(--c-accent); background: radial-gradient(80% 80% at 100% 0%, rgba(220, 0, 1, .4), transparent 70%), var(--glass); }
.v2-step-up--3::after { background: linear-gradient(to top, #fff 0 0) 0 100% / 22px 33% no-repeat, linear-gradient(to top, #fff 0 0) 26px 100% / 22px 66% no-repeat, linear-gradient(to top, var(--c-accent) 0 0) 52px 100% / 22px 100% no-repeat; }
.v2-step-up--3 .v2-step-up-n { -webkit-text-stroke-color: var(--c-accent); }
.v2-step-up h3 { font-size: 22px !important; text-transform: uppercase; margin-bottom: 10px; }
.v2-step-up p { margin: 0; }

/* три карточки с фото */
.v2-pcs--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v2-pcs--3 .v2-pc-media { aspect-ratio: 16 / 10; }
.v2-pcs--3 .v2-pc-media .v2-need { position: absolute; inset: 14px; height: auto; min-height: 0; }

/* оффер: фото сбоку */
.v2-split { padding: 0; overflow: hidden; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; }
.v2-split-photo { position: relative; min-height: 420px; border-right: 1px solid rgba(255, 255, 255, .4); }
.v2-split-photo .pg-cover { position: absolute; inset: 0; object-position: 50% 30%; }
.v2-split .v2-final-r { padding: 36px 40px; justify-content: center; }

/* оффер: мок видео «12 фигур» */
.v2-video { display: block; position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .6); background: #111; }
.v2-video-frame { position: absolute; inset: 0; background: 50% 35% / cover no-repeat; }
.v2-video-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .7)); }
.v2-video .v2-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.v2-video .v2-play::after { left: 26px; top: 20px; border-left-width: 18px; border-top-width: 12px; border-bottom-width: 12px; }
.v2-video-bar { position: absolute; left: 16px; right: 16px; bottom: 16px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .25); display: grid; grid-template-columns: repeat(12, 1fr); }
.v2-video-bar > i:not(.v2-video-fill) { position: relative; }
.v2-video-bar > i:not(.v2-video-fill)::after { content: ""; position: absolute; right: -1px; top: -3px; width: 2px; height: 12px; background: rgba(255, 255, 255, .8); }
.v2-video-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 33%; border-radius: 6px; background: var(--c-accent); }
.v2-vfinal { align-items: stretch; }
.v2-vfinal .v2-final-r { justify-content: space-between; }
@media (min-width: 1024px) {
  .v2-vfinal .v2-final-r > .pg-offer { flex: 1; display: flex; flex-direction: column; }
  .v2-vfinal .v2-final-r .v2-oi { flex: 1; display: flex; flex-direction: column; justify-content: space-evenly; }
}
.v2-vfinal .v2-final-l { justify-content: space-between; }

html.anim .v2-video:not(.play) .v2-video-fill { width: 0; }
html.anim .v2-video.play .v2-video-fill { transition: width 3s ease-out .4s; }
html.anim .v2-track:not(.play) .v2-track-m i { opacity: .2; }
html.anim .v2-track.play .v2-track-m i { animation: v2-fade .3s both; animation-delay: calc(var(--i) * .08s); }

@media (max-width: 1279px) {
  .v2-story { gap: 36px; }
  .v2-pol a { width: 150px; height: 108px; }
}
@media (max-width: 1023px) {
  .v2-pl--rev { grid-template-columns: minmax(0, 1fr); }
  .v2-pl .v2-pl-photo { order: 2; aspect-ratio: 3 / 2; }   /* плашка раздела и H2 не отрываются фото (/kids, пункт 10) */
  .v2-q, .v2-fqs, .v2-path, .v2-story { grid-template-columns: minmax(0, 1fr); }
  .v2-final.v2-split { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }   /* на планшете фото остаётся сбоку: широкая полоса резала лицо */
  .v2-path-photo { min-height: 0; aspect-ratio: 16 / 9; }   /* планшет: фото пары во всю ширину, а не 60 % с пустотой справа */
  .v2-path-frame { transform: none; }
  .v2-story-media { min-height: 520px; }
  .v2-ladder, .v2-pcs--3 { grid-template-columns: 1fr; }
  .v2-bento--scales { grid-template-columns: minmax(0, 1fr); }
}
/* планшет: карточки с фото в одну колонку — фото слева, текст справа, а не фото на весь экран по 600 px */
@media (min-width: 641px) and (max-width: 1023px) {
  .v2-pcs--3 .v2-pc:not(.v2-pc--wide) { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .v2-pcs--3 .v2-pc:not(.v2-pc--wide) .v2-pc-media { aspect-ratio: auto; height: 100%; min-height: 220px; border-bottom: 0; border-right: 1px solid rgba(255, 255, 255, .5); }
}
@media (max-width: 640px) {
  .v2-final.v2-split { grid-template-columns: minmax(0, 1fr); }
  .v2-split-photo { min-height: 0; aspect-ratio: 1 / 1; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .4); }   /* квадрат, не 16:9 — портрет крупным планом помещается целиком */
  .v2-stats { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr 1fr; gap: 10px; }
  .v2-stats li { padding: 14px 16px; }
  .v2-stats b { font-size: 28px; white-space: normal; }
  .v2-stats span { font-size: 14px; }
  .v2-stats--big { grid-template-columns: 1fr; gap: 16px; }
  .v2-stats--big li { padding: 0 0 0 14px; }
  .v2-stats--big b { font-size: 34px; }
  .v2-sec--path .v2-stats--big { gap: 16px; }
  .v2-q-card { padding: 26px 20px 22px; }
  .v2-q-cards { grid-template-columns: 1fr; }
  .v2-wk-days { gap: 4px; }
  .v2-wk-days span { font-size: 12px; padding: 6px 0; }
  .v2-fq { padding: 18px; }
  .v2-final .pg-offer, .v2-pbridge-card .pg-offer { padding: 16px 14px; }   /* оффер внутри карточки на телефоне: шире строки пунктов */
  .pg-v2 .v2-final .v2-oi li, .pg-v2 .v2-pbridge-card .v2-oi li { gap: 10px; }
  .v2-num { padding: 18px; }
  .v2-num-n { font-size: 40px; margin-bottom: 10px; }
  .v2-fq-list { grid-template-columns: minmax(0, 1fr); }
  .v2-track-m em { display: none; }
  .v2-story-media { min-height: 420px; order: 2; }
  .v2-sec--story .v2-stats--big { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .v2-sec--story .v2-stats--big li { padding-left: 10px; }
  .v2-sec--story .v2-stats--big b { font-size: 28px; }
  .v2-story-photo { width: 80%; bottom: 40px; }
  .v2-pol a { width: 120px; height: 90px; }
  .v2-pol--1 { top: 40px; }
  .v2-pol--2 { right: 6px; }
  .v2-pol--2 a { width: 100px; height: 130px; }
  .v2-story-steps { grid-template-columns: 1fr; }
  .v2-step-up { padding: 96px 20px 22px; }
  .v2-step-up-n { font-size: 92px; }
  .v2-scale--0 ol { grid-template-columns: 1fr 1fr; }
  .v2-split .v2-final-r { padding: 22px 12px; }
  /* «+ Талон на пробную тренировку» — одной плашкой на 375–390: шире строка пунктов в офферах внутри карточек */
  .v2-offer .pg-offer { padding-left: 14px; padding-right: 14px; }
  .v2-split .pg-offer { padding-left: 10px; padding-right: 10px; }
  .pg-v2 .v2-oi li { gap: 10px; }
  .v2-oi-bonus { padding: 3px 10px; }
  .v2-path-photo { aspect-ratio: 4 / 3; }
  .v2-split .pg-btn, .v2-vfinal .pg-btn { width: 100%; }
  .v2-split .pg-btn span, .v2-vfinal .pg-btn span { flex: 1; justify-content: center; white-space: normal; text-align: center; line-height: 1.2; }
}

/* общий блок тренеров главной на страницах v2: в сетке 1200 (не во всю ширину окна), на телефоне — шрифт ≥ 14 и кнопки 44 px */
@media (min-width: 1200px) { .pg-v2 .pg-team-main { width: auto; margin-left: -20px; margin-right: -20px; } }
@media (min-width: 641px) and (max-width: 1199px) { .pg-v2 .pg-team-main { width: min(440px, 100%); margin: 0 auto; } }   /* телефонная раскладка блока не раздувается на планшете */
@media (max-width: 640px) {
  .pg-v2 .tcard { height: auto; min-height: 470px; }
  .pg-v2 .tcard p { font-size: 14px; line-height: 1.4; }
  .pg-v2 .tcard-btn { flex-basis: 44px; height: 44px; font-size: 14px; }
}

/* ---------- нижняя панель телефона ---------- */
.mbar { display: none; }

/* ---------- живые моки (только при html.anim) ---------- */
html.anim .v2-phone:not(.play) .v2-msg, html.anim .v2-phone:not(.play) .v2-msg--text > i { opacity: 0; }
html.anim .v2-phone.play .v2-msg { animation: v2-in .45s both; }
html.anim .v2-phone.play .v2-msg--video { animation-delay: .2s; }
html.anim .v2-phone.play .v2-msg--photos { animation-delay: .9s; }
html.anim .v2-phone.play .v2-msg--text { animation-delay: 1.6s; }
html.anim .v2-phone.play .v2-msg--text > i { animation: v2-fade .4s 3.1s both; }
html.anim .v2-phone:not(.play) .v2-msg--said.v2-msg--text .v2-msg-t { opacity: 0; }
html.anim .v2-phone.play .v2-msg--said.v2-msg--text .v2-msg-t { animation: v2-show .4s 3.1s both; }
html.anim .v2-phone.play .v2-typing { display: flex; animation: v2-out .3s 3s both; }
html.anim .v2-phone.play .v2-typing i { animation: v2-dot .9s infinite; }
html.anim .v2-phone.play .v2-typing i:nth-child(2) { animation-delay: .15s; } html.anim .v2-phone.play .v2-typing i:nth-child(3) { animation-delay: .3s; }
html.anim .v2-phone.play .v2-msg--mine { animation-delay: 4s; }
html.anim .v2-form:not(.play) .v2-field em, html.anim .v2-form:not(.play) .v2-form-ok { opacity: 0; }
html.anim .v2-form.play .v2-field em { animation: v2-type 1.6s steps(18) .3s both; }
html.anim .v2-form.play .v2-form-btn { animation: v2-press .3s 2.1s both; }
html.anim .v2-form.play .v2-form-ok { animation: v2-in .4s 2.5s both; }
html.anim .v2-months:not(.play) .v2-m:not(.v2-m--main) { opacity: .25; }
html.anim .v2-months.play .v2-m:not(.v2-m--main) { animation: v2-fade .35s both; animation-delay: calc(.35s + var(--i) * .09s); }
html.anim .mbar { animation: v2-up .4s .3s both; }
@keyframes v2-in { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes v2-fade { from { opacity: .25; } to { opacity: 1; } }
@keyframes v2-out { to { opacity: 0; } }
@keyframes v2-show { from { opacity: 0; } to { opacity: 1; } }
@keyframes v2-dot { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
@keyframes v2-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes v2-press { 50% { transform: scale(.95); } }
@keyframes v2-up { from { transform: translateY(110%); } to { transform: none; } }

/* ---------- 1000–1279 ---------- */
@media (max-width: 1279px) {
  .v2-bento { grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); }
  .v2-pl { gap: 32px; }
}

/* ---------- планшет ---------- */
@media (max-width: 1023px) {
  .v2-hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .v2-hero-bg { grid-row: 1 / 3; }
  .v2-hero-text { grid-column: 1; grid-row: 1; padding: 28px 28px 24px; }
  .v2-hero-photo { position: relative; inset: auto; grid-column: 1; grid-row: 2; aspect-ratio: 16 / 9; margin: 0 16px 16px; border-radius: 10px; -webkit-mask-image: none; mask-image: none; }
  .v2-bridge { grid-row: 3; margin: 16px 0 0; }
  .v2-bento, .v2-pl, .v2-chat { grid-template-columns: minmax(0, 1fr); }
  .v2-pl-photo { margin-left: 0; min-height: 0; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: 10px; }
  .v2-chat-media { order: 2; }
  .v2-sec--bold { padding-bottom: 40px; }
  .v2-sec--bold::before { top: 0; bottom: 0; }
  .v2-sec--bold .v2-chat-text { padding-top: 0; }
  .v2-offer { grid-template-columns: 1fr; }
  .v2-offer .pg-offer, .v2-pbridge-card .pg-offer { order: 1; }
  .v2-offer .pg-offer-act, .v2-pbridge-card .pg-offer-act { order: 2; }
  .v2-offer-l { display: contents; }
  .v2-pbridge-card { grid-template-columns: 1fr; width: auto; margin: -80px 16px 0; }
  .v2-people { grid-template-columns: 1fr 1fr; }
  .v2-rating { grid-template-columns: auto minmax(0, 1fr); }
  .v2-rating-photo { display: none; }
  .v2-final { grid-template-columns: 1fr; }
  .v2-step { flex-basis: 84%; }
}

/* ---------- телефон ---------- */
@media (max-width: 640px) {
  .pg-v2 .pg-main { padding-left: 16px; padding-right: 16px; }
  .pg-v2 .pg-head { padding-left: 16px; padding-right: 16px; }
  .pg-v2 .pg-head-cta span, .pg-v2 .pg-head-cta i { height: 44px; }
  .pg-v2 .pg-head-cta i { width: 44px; }
  .pg-v2 .pg-crumbs { font-size: 14px; margin-bottom: 6px; }
  .pg-v2 .pg-crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
  .pg-v2 .pg-more summary { min-height: 44px; }
  .pg-v2 .pg-card h3 { font-size: 18px; }
  .v2-sec { padding: 36px 0; }
  .v2-hero-text { padding: 14px 18px 20px; }
  .v2-hero h1 { font-size: 27px; }
  .v2-hero .pg-lead { font-size: 16px; margin: 14px 0 14px !important; }
  .v2-hero-photo { margin: 0 12px 12px; aspect-ratio: 4 / 3; }
  .v2-bridge .pg-btn, .v2-offer .pg-btn, .v2-pbridge-card .pg-btn, .v2-final .pg-btn { width: 100%; }
  .v2-bridge .pg-btn span, .v2-offer .pg-btn span, .v2-pbridge-card .pg-btn span, .v2-final .pg-btn span { flex: 1; justify-content: center; white-space: normal; text-align: center; line-height: 1.2; }
  .v2-bento-cards { grid-template-columns: 1fr; }
  .v2-sched { padding: 18px; }
  .v2-pl-item h3 { font-size: 18px; }
  .v2-pbridge-photo { height: 220px; }
  .v2-pbridge-photo--tri { height: 260px; grid-template-columns: repeat(2, 1fr); }
  .v2-pbridge-photo--tri > span:nth-child(3) { display: none; }
  .v2-pbridge-card { margin: -60px 10px 0; padding: 22px 18px; }
  .v2-offer, .v2-final { padding: 24px 18px; }
  .v2-chat-cards, .v2-pcs, .v2-people, .v2-prices { grid-template-columns: 1fr; }
  .v2-price b { font-size: 44px; }
  .v2-phone { width: 260px; height: 480px; transform: rotate(-1.5deg); }
  .v2-phone--said { height: auto; min-height: 480px; }
  .v2-chat-thumb { height: 120px; }
  .v2-pc-media { aspect-ratio: 16 / 9; }
  .v2-pc-body { padding: 20px; }
  .v2-step { flex-basis: 86%; grid-template-columns: 1fr; grid-template-rows: 240px auto; min-height: 0; }   /* 240: в кадр шага помещаются головы группы */
  .v2-step-vis { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .3); }
  .v2-form, .v2-visits { padding: 16px; gap: 6px; }
  .v2-visits { gap: 5px; }
  .v2-step-body { padding: 20px; justify-content: flex-start; }
  .v2-step-body h3 { font-size: 19px !important; }
  .v2-stepper-nav { margin-bottom: 14px; }
  .v2-arrows { display: none; }
  .v2-person { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-content: start; padding: 0; }
  .v2-person-media { grid-row: 1 / 3; height: auto; min-height: 132px; margin: 0; border-bottom: 0; border-right: 1px solid rgba(255, 255, 255, .4); }
  .v2-person h3 { padding: 18px 16px 0; }
  .v2-person p { padding: 0 16px 18px; }
  .v2-person:has(.pg-cover) { display: block; }
  .v2-person:has(.pg-cover) .v2-person-media { height: 320px; margin: 0 0 4px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .4); }
  .v2-mono { font-size: 44px; }
  .v2-need--tag { left: 6px; right: 6px; top: auto; bottom: 8px; text-align: center; }
  .v2-need--tag span { padding: 3px 6px; font-size: 11px; letter-spacing: 0; }
  .v2-rating { grid-template-columns: 1fr; padding: 24px 20px; }
  .v2-rating .pg-rating-big, .v2-rating-text { padding: 0; }
  .v2-rating-text { margin-top: 16px; }
  .v2-rating .pg-btn { width: 100%; }
  .v2-rating .pg-btn span { flex: 1; justify-content: center; white-space: normal; text-align: center; line-height: 1.2; padding: 0 10px; font-size: 14px; }   /* «Читать отзывы на Яндекс Картах» — одной строкой на 360–390 */
  @media (max-width: 400px) { .v2-rating .pg-btn i { display: none; } }   /* на 360–375 стрелка съедала место под текст */
  .v2-months { grid-template-columns: repeat(4, 1fr); }
  .pg-v2 .pg-faq summary { min-height: 44px; }
  .pg-v2 .pg-related a, .pg-v2 .pg-foot a { display: inline-flex; align-items: center; min-height: 44px; }
  .pg-v2 .pg-foot { font-size: 14px; padding-left: 16px; padding-right: 16px; }
  .pg-v2 .pg-foot nav, .pg-v2 .pg-legal { gap: 0 18px; }

  .pg-v2 { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .mbar { position: fixed; z-index: 900; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(0, 0, 0, .82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid rgba(255, 255, 255, .2); }
  .mbar-cta { flex: 1; }
  .mbar-cta span { flex: 1; justify-content: center; height: 52px; }
  .mbar-tel { flex: 0 0 52px; height: 52px; display: flex; align-items: center; justify-content: center; border: 1px solid #fff; border-radius: 50%; color: #fff; }
  .pg-v2 .cookie { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .pg-v2 .cookie a { display: inline-block; padding: 12px 0; margin: -12px 0; }
  .pg-v2 .cookie button { min-height: 44px; }
}
.pg-v2 .pg-faq p a { display: inline-block; padding: 10px 0; margin: -10px 0; }
.pg-v2 .pg-phone { display: inline-flex; align-items: center; min-height: 44px; }
html.full .mbar, html.full .cookie { display: none !important; }
@media (prefers-reduced-motion: reduce) { .v2-steps { scroll-behavior: auto; } }

/* Без висячих одиночных слов в заголовках (правка Андрея 26.10) */
h1, h2, h3 { text-wrap: balance; }

/* ---------- аренда залов (26.10): первый экран без строки фактов, два зала с лентами фото, виджет, цены ---------- */
.v2-hero--rent .v2-hero-text { padding-bottom: 44px; }
.v2-hero--rent .v2-bridge-ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v2-rent-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.v2-hero .v2-rent-acts .pg-btn--ghost span { height: 56px; padding: 0 28px; font-size: 17px; }
.v2-hero .v2-rent-acts .pg-btn--ghost i { width: 56px; height: 56px; }
.pg-rent .pg-btn i svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.v2-sec--halls { padding: 30px 0 32px; }
.v2-halls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.v2-hall { padding: 20px 24px 24px; min-width: 0; display: flex; flex-direction: column; }
.v2-hall .pg-gal { margin-top: auto !important; padding-top: 14px; }
.v2-hall-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pg-v2 .v2-hall h3 { margin: 0; font-size: 24px; }
.v2-hall-area { font-size: 40px; line-height: 1; font-weight: 700; color: #ff3700; white-space: nowrap; }
.pg-v2 .pg-card .v2-hall-sub { margin: 4px 0 8px; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.v2-hall .pg-gal { margin: 14px -10px -10px; }
.v2-hall .pg-gal-item img { height: 140px; }
.v2-hall-cards { margin-top: 14px; }
.pg-v2 .v2-hall-cards .pg-card p { font-size: 14px; }
.pg-v2 .v2-hall-cards .pg-card h3 { margin-bottom: 8px; }
.v2-hall-cards .pg-card { padding: 18px 20px; }
.pg-v2 .v2-hall-cards .pg-card h3 { font-size: 17px; }
.v2-hall-note { margin: 10px 0 0; }
.v2-book-head { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; margin: 0 0 20px; }
.v2-book-head .pg-sub { margin: 0 !important; max-width: 720px; }
.v2-book-head .pg-btn { flex: none; }
.v2-pcs--3 .v2-pc--wide { grid-column: 1 / -1; }
.v2-pc--wide .v2-pc-body { padding: 20px 26px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2fr); gap: 8px 24px; align-items: baseline; }
.v2-pc--wide h3 { margin: 0; }
.v2-pc--wide p { margin: 0; }
.v2-price-note { margin: 12px 0 18px; }
.v2-nums--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v2-pbridge--rent .v2-pbridge-card { grid-template-columns: minmax(0, 1.4fr) auto; align-items: end; padding: 30px 34px; }
.v2-pbridge--rent .v2-offer-l { justify-content: center; gap: 12px; }
.v2-pbridge--rent .pg-offer-act { display: flex; align-items: center; }
.v2-rent-final { grid-template-columns: minmax(0, 1.5fr) auto; align-items: end; }
.v2-rent-final .pg-offer-act { justify-content: center; }
.v2-sec .pg-booking iframe { height: 470px; }
.v2-rent-final .v2-offer-l { justify-content: center; gap: 12px; }
.v2-rent-final .pg-offer-act { display: flex; flex-direction: column; gap: 12px; }
.v2-rent-final .pg-offer-act .pg-btn span { min-width: 210px; justify-content: center; }
@media (max-width: 1023px) {
  .v2-hero--rent .v2-bridge-ul { grid-template-columns: 1fr; }
  .v2-halls, .v2-nums--3 { grid-template-columns: 1fr; }
  .v2-pbridge--rent .v2-pbridge-card, .v2-rent-final { grid-template-columns: 1fr; }
  .v2-book-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .v2-hall { padding: 20px 18px 22px; }
  .v2-hall-area { font-size: 32px; }
  .v2-hall .pg-gal-item img { height: 200px; }
  .v2-sec .pg-booking iframe { height: 720px; }
  .v2-pc--wide .v2-pc-body { grid-template-columns: 1fr; padding: 20px; }
  .v2-rent-acts { flex-direction: column; align-items: stretch; }
  .v2-rent-acts .pg-btn, .v2-book-head .pg-btn, .v2-rent-final .pg-btn, .v2-pbridge--rent .pg-offer-act .pg-btn { width: 100%; }
  .v2-pbridge--rent .pg-offer-act { display: block; }
  .v2-hero .v2-rent-acts .pg-btn--ghost span { font-size: 16px; padding: 0 12px; white-space: nowrap; }
  .v2-rent-acts .pg-btn span, .v2-book-head .pg-btn span, .v2-rent-final .pg-btn span, .v2-pbridge--rent .pg-offer-act .pg-btn span { flex: 1; justify-content: center; white-space: nowrap; }
}

/* ---------- аренда, 27.10: слайдер залов (автолистание — blocks.js), плитка ресепшна, бара и раздевалок ---------- */
.v2-hall .v2-gal-big { margin: 16px 0 0 !important; padding: 0; }
.v2-sl-stage { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 3 / 2; background: #111; }
.v2-sl-main { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.v2-sl-main img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity .18s; }
.v2-sl-main img.is-out { opacity: 0; }
.v2-sl-arr { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid #fff;
  background: rgba(0, 0, 0, .45); color: #fff; font-size: 18px; cursor: pointer; opacity: .85; }
.v2-sl-arr:hover { opacity: 1; background: #ff3700; border-color: #ff3700; }
.v2-sl-prev { left: 12px; } .v2-sl-next { right: 12px; }
.v2-sl-n { position: absolute; left: 12px; bottom: 14px; padding: 4px 10px; border-radius: 20px; background: rgba(0, 0, 0, .55); font-size: 14px; color: #fff; pointer-events: none; }
.v2-sl-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .15); pointer-events: none; }
.v2-sl-bar i { display: block; height: 100%; width: 0; background: #ff3700; }
.v2-sl-stage.tick .v2-sl-bar i { width: 100%; transition: width 4s linear; }
.v2-gal-big .pg-gal-track { margin-top: 8px; }
.v2-hall .v2-gal-big .pg-gal-track .pg-gal-item img { height: 84px; }
.v2-gal-big .pg-gal-item { border: 2px solid transparent; opacity: .6; transition: opacity .2s, border-color .2s; }
.v2-gal-big .pg-gal-item.is-on { border-color: #ff3700; opacity: 1; }
.v2-gal-big .pg-gal-item:hover { opacity: 1; }
.v2-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 132px; gap: 10px; margin: 0; }
.v2-mos-i { position: relative; display: block; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .5); }
.v2-mos-i:first-child { grid-column: span 2; grid-row: span 2; }
.v2-mos-i .pg-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.v2-mos-i:hover .pg-cover { transform: scale(1.03); }
@media (min-width: 1024px) {
  .v2-hall > p:not(.v2-hall-sub) { min-height: 3.2em; }
  .v2-sl-stage { aspect-ratio: 2 / 1; }
}
@media (max-width: 640px) {
  .v2-hall .v2-gal-big .pg-gal-track .pg-gal-item img { height: 72px; }
  .v2-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 130px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .v2-sl-bar { display: none; } }
.v2-mos-more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .55);
  font-size: 24px; font-weight: 700; color: #fff; pointer-events: none; }
/* слайдер внутри фото-карточки (раздевалки, бар, паркет, съёмка) */
.v2-pc-media .v2-sl-card { position: absolute; inset: 0; margin: 0; }
.v2-pc-media .v2-sl-stage { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.v2-sl-card .v2-sl-arr { opacity: 0; transition: opacity .2s; }
.v2-sl-card:hover .v2-sl-arr, .v2-sl-card:focus-within .v2-sl-arr { opacity: .85; }
@media (hover: none) { .v2-sl-card .v2-sl-arr { display: none; } }

/* Сетка карточек v2 без пустых ячеек (/svadebnyj-tanec, 27.10): число карточек не кратно колонкам —
   5 в ряд по 3 → 3 + 2 широкие, 4 → четыре в ряд, 2 цены → две колонки; на планшете нечётная последняя — во всю ширину. */
@media (min-width: 1024px) {
  .v2-sec .pg-grid-3:has(> li:nth-child(5):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .v2-sec .pg-grid-3:has(> li:nth-child(5):last-child) > li { grid-column: span 2; }
  .v2-sec .pg-grid-3:has(> li:nth-child(5):last-child) > li:nth-child(n+4) { grid-column: span 3; }
  .v2-sec .pg-grid-3:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 641px) {
  .v2-prices:has(> li:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 641px) and (max-width: 1023px) {
  .v2-sec .pg-grid-3 > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* «Читать отзывы на Яндекс Картах» на 390 — в одну строку: меньше внутренний отступ (перенос остаётся запасным) */
@media (max-width: 640px) { .v2-rating .pg-btn span { padding: 0 12px; } }

/* Попап заявки со своими пунктами (PAGES[slug]["popup_items"], класс .popup-own): пункты одной колонкой с равным шагом,
   текст начинается от одной линии, на ПК каждый пункт в одну строку. Разметка: e3/e4, e5/e6, e10/e9 — сверху вниз. */
.popup-own #zeropopup .e3{top:calc(140*var(--u));left:calc(370*var(--u))}
.popup-own #zeropopup .e5{top:calc(180*var(--u));left:calc(370*var(--u))}
.popup-own #zeropopup .e10{top:calc(220*var(--u));left:calc(370*var(--u))}
.popup-own #zeropopup .e4,.popup-own #zeropopup .e6,.popup-own #zeropopup .e9{left:calc(412*var(--u));width:calc(450*var(--u))}
.popup-own #zeropopup .e4{top:calc(149*var(--u))}
.popup-own #zeropopup .e6{top:calc(189*var(--u))}
.popup-own #zeropopup .e9{top:calc(229*var(--u))}
@media (max-width:1199px){
  .popup-own #zeropopup .e3{top:calc(52*var(--u));left:calc(39*var(--u))}
  .popup-own #zeropopup .e5{top:calc(102*var(--u));left:calc(39*var(--u))}
  .popup-own #zeropopup .e10{top:calc(152*var(--u));left:calc(39*var(--u))}
  .popup-own #zeropopup .e4,.popup-own #zeropopup .e6,.popup-own #zeropopup .e9{left:calc(79*var(--u));width:calc(221*var(--u))}
  .popup-own #zeropopup .e4{top:calc(55*var(--u))}
  .popup-own #zeropopup .e6{top:calc(105*var(--u))}
  .popup-own #zeropopup .e9{top:calc(155*var(--u))}
}
