/* polish-e (28.11): низ страницы. Команда, инструменты, вопросы, «с нуля», цена, финал, навигация справа, подвал.
   Сетка на 1600: левая линия 44, колонки 557 / 787|813 / 1070, правая 1556. Поверхность отделена заливкой на шаг светлее фона, без обводок. */
:root { --surf: #151a24; --surf-2: #1f2633; --surf-sel: #2a3344; --h-small: clamp(32px, 2.9vw, 60px); }

/* ---------- 1. инструменты ---------- */
.tools .chapter { padding: clamp(84px, 10vh, 96px) 0 clamp(20px, 2.4vh, 28px); }
.tools .chapter__title { font-size: var(--h-section, round(down, clamp(44px, 5.6vw, 143px), 11px)); line-height: 1.02; }
.tools .chapter__lead { margin-top: 12px; }
.show { padding-bottom: calc(var(--sec) * 1.2); }
/* видео 16:9 не выше экрана: заголовок и кадр помещаются целиком */
.showvid__frame { aspect-ratio: 16 / 9; width: min(100%, calc((100svh - 300px) * 16 / 9)); }
.showvid__frame video { object-position: 50% 0; }
.car { --sh: clamp(380px, 33vw, 540px); --sw: calc(var(--sh) * 1.6); margin-top: clamp(64px, 8vw, 120px); margin-right: calc(-1 * var(--pad)); position: relative; }
.car__track { padding-right: var(--pad); gap: var(--gap); }
.car__track::after { flex: 0 0 max(0px, calc(100% - var(--sw) - var(--gap) - var(--pad))); }
.car__slide { flex: 0 0 var(--sw); width: var(--sw); }
.car__shot { height: var(--sh); overflow: hidden; }
.car__shot img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.car__slide figcaption { padding-top: 18px; padding-right: calc(2 * 56px + 12px + 20px); min-height: 92px; }
.car__nav { position: absolute; left: calc(var(--sw) - 2 * 56px - 12px); top: calc(var(--sh) + 18px); margin: 0; z-index: 2; }
.car__btn { background: var(--surf-2); }
.car__btn:hover { background: var(--surf-sel); }
@media (max-width: 760px) {
  .tools .chapter { padding: 88px 0 24px; }
  .tools .chapter__title { font-size: 44px; }
  .showvid__frame { width: 100%; }
  .car { --sh: 200px; --sw: 82vw; }
  .car__shot { height: auto; aspect-ratio: 16 / 10; }
  .car__slide figcaption { padding-right: 0; min-height: 0; }
  .car__nav { position: static; margin-top: 18px; }
}

/* ---------- 2. кто ведёт: заголовок, сцена и люди в одном экране ---------- */
.team { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 100svh; padding-top: 0; }
.team > * { grid-area: 1 / 1; min-width: 0; }
.team .chapter { position: relative; z-index: 2; align-self: start; border-top: 0; padding: clamp(84px, 10vh, 96px) 0 0; pointer-events: none; }
.team .chapter__title { font-size: var(--h-section, round(down, clamp(44px, 5.6vw, 143px), 11px)); }
.team3d { align-self: stretch; height: auto; min-height: calc(max(100svh, 640px) + 4.4vw); margin: calc(-4.4vw) calc(-1 * var(--pad)) 0; }
.team::after { content: ""; grid-area: 1 / 1; align-self: end; z-index: 1; height: min(60%, 460px); margin: 0 calc(-1 * var(--pad)); background: linear-gradient(180deg, rgba(var(--bg-rgb), 0), rgba(var(--bg-rgb), .9) 70%, var(--bg)); pointer-events: none; }
.crew { position: relative; z-index: 2; align-self: end; max-width: none; margin: 0; padding-bottom: clamp(36px, 6vh, 64px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 26px; row-gap: 20px; }
.crew__person { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; border: 0; background: none; padding: 0; }
.crew__person h3 { grid-column: 1; padding: 0; border: 0; font-size: clamp(24px, 2vw, 36px); line-height: 1.1; white-space: normal; }
.crew__person .crew__role { grid-column: 2; margin: 0; padding: 0; border: 0; align-self: center; font: 500 var(--t-cap)/1.2 var(--f-text); }
.crew__person .crew__line { grid-column: 1 / -1; margin: 14px 0 0; padding: 0; max-width: 40em; color: var(--ink-2); }
.crew__reg { margin-bottom: 8px; }
@media (max-width: 760px) {
  .team { min-height: 0; }
  .team .chapter { padding-top: 88px; }
  .team .chapter__title { font-size: 44px; }
  .team3d { min-height: 0; height: 52svh; }
  .team::after { display: none; }
  .crew { grid-template-columns: 1fr; padding: 16px 0 48px; row-gap: 12px; align-self: start; }
  .team > .crew { grid-area: 2 / 1; }
  .team > .team3d { grid-area: 1 / 1; }
  .team .chapter { grid-area: 1 / 1; }
  .crew__person { background: var(--surf); padding: 18px 18px 20px; }
}

/* ---------- 3. вопросы: одна колонка от левой линии ---------- */
.faq { display: block; }
.faq__head { position: static; top: auto; }
.faq > .h2, .faq__head .h2 { font-size: var(--h-small); line-height: 1.08; margin: 0 0 clamp(28px, 3.4vw, 52px); }
.faq__list { width: 100%; }
.faq details { border-top: 1px solid var(--rule); }
.faq summary { justify-content: flex-start; gap: 22px; font: 400 clamp(18px, 1.5vw, 26px)/1.25 var(--f-text); letter-spacing: -.02em; padding: clamp(18px, 1.6vw, 26px) 0; }
.faq summary::after { content: none; }
.faq summary::before { content: ""; flex: none; width: 18px; height: 18px; background: linear-gradient(currentColor, currentColor) 50% 50% / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) 50% 50% / 2px 100% no-repeat; transition: rotate .45s var(--ease); }
.faq details[open] summary::before { rotate: 45deg; }
.faq details p { max-width: 720px; margin-left: 40px; }
.faq__ask { display: block; max-width: none; width: 100%; box-sizing: border-box; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: clamp(18px, 1.6vw, 26px) 0 clamp(18px, 1.6vw, 26px) 40px; font: 400 clamp(18px, 1.5vw, 26px)/1.25 var(--f-text); letter-spacing: -.02em; color: var(--ink-2); transition: color .25s; }
.faq__ask b { font-weight: 400; color: var(--ink); }
.faq__ask:hover { color: var(--ink); }
.faq details:last-of-type { border-bottom: 0; }
@media (max-width: 760px) {
  .faq > .h2, .faq__head .h2 { font-size: 38px; }
  .faq summary { font-size: 18px; gap: 14px; }
  .faq details p { margin-left: 32px; }
  .faq__ask { padding-left: 32px; }
}

/* ---------- 4. если ты с нуля ---------- */
.zero .chapter__title { font-size: var(--h-small); }
.zero .chapter { padding-top: clamp(64px, 8vh, 96px); }
.zero__grid { max-width: none; margin: clamp(32px, 4vw, 56px) 0 0; gap: 26px; }
.zero__card { background: var(--surf); border: 0; min-height: 0; }
.zero__body { grid-template-rows: auto 1fr auto auto; align-content: stretch; gap: 14px; padding: 28px 32px 32px; }
.zero__name { font-size: clamp(22px, 1.7vw, 30px); }
.zero__go { grid-row: 4; align-self: end; justify-self: start; margin: 0; }
.zero .pre { display: contents; }
.zero .pre__row { display: contents; }
.zero .pre__field { grid-row: 3; align-self: end; height: 48px; padding: 0 16px; display: flex; align-items: center; background: var(--surf-2); border: 0; border-radius: 0; }
.zero .pre__field:focus-within { background: var(--surf-sel); border: 0; }
.zero .pre__field input { font-size: 16px; line-height: 48px; height: 48px; }
.zero .pre__field input::placeholder { font-size: 16px; color: var(--ink-3); }
.zero .pre .btn { grid-row: 4; align-self: end; justify-self: start; margin: 0; }
.zero .pre__msg { grid-row: 5; margin: 0; }
.zero .field.is-bad { background: #3a1d1a; }
@media (max-width: 760px) {
  .zero .chapter__title { font-size: 38px; }
  .zero__body { padding: 22px 20px 24px; }
}

/* ---------- 5. цена ---------- */
.price__title { font-size: var(--h-section, round(down, clamp(44px, 5.6vw, 143px), 11px)); }
.price .tariffs .ticket { height: 72px; background: var(--surf); border: 0; color: var(--ink); }
.price .tariffs .ticket:hover, .price .tariffs .ticket:not([aria-checked="true"]):hover { background: var(--surf-2); border: 0; }
.price .tariffs .ticket[aria-checked="true"], .price .tariffs .ticket[aria-checked="true"]:hover { background: var(--surf-sel); color: var(--ink); border: 0; }
.price .tariffs .ticket__part { padding: 8px 14px; gap: 4px; align-content: center; }
.price .tariffs .ticket__part + .ticket__part, .price .tariffs .ticket[aria-checked="true"] .ticket__part + .ticket__part { border-left: 1px dashed rgba(243, 241, 236, .62); }
.price .tariffs .ticket__part i { font-size: 14px; }
.price .tariffs .ticket__part b { font-size: clamp(24px, 1.8vw, 30px); line-height: 1.05; }
.price .tariffs .ticket[aria-checked="true"] .ticket__part i { color: var(--ink-2); }
.price .tariffs .ticket::before, .price .tariffs .ticket::after,
.price .tariffs .ticket[aria-checked="true"]::before, .price .tariffs .ticket[aria-checked="true"]::after { width: 16px; height: 16px; border: 0; background: var(--bg); left: calc(var(--a) * 1% - 8px); }
.price .tariffs .ticket::before { top: -8px; } .price .tariffs .ticket::after { bottom: -8px; }
.price .calc__range { width: 100%; max-width: none; }
.price .calc { display: block; }
.calc__seg { background: none; }
.calc__seg .calc__n { background: none; color: var(--ink-2); }
.calc__seg .calc__n:hover { background: var(--surf-2); color: var(--ink); }
.calc__seg .calc__n.is-on, .calc__seg .calc__n.is-on:hover { background: var(--surf-sel); color: var(--ink); }
@media (max-width: 760px) {
  .price .tariffs .ticket { height: auto; min-height: 72px; }
  .price .tariffs .ticket__part { padding: 8px 10px; }
  .price .tariffs .ticket__part b { font-size: 17px; white-space: normal; overflow-wrap: anywhere; }
  .price .tariffs .ticket__part i { font-size: 12px; }
}

/* ---------- 6. финал ---------- */
.fin__head { padding-top: 58px; }
.fin .foot__big { text-shadow: 0 0 24px var(--bg), 0 0 48px var(--bg), 0 0 8px var(--bg); }
.fin .apply__btn { margin: 40px 0 0; }
.fin__head::after { content: ""; display: block; height: 72px; }
/* пока в экране финальная кнопка или кнопка конца пути, кнопка шапки спрятана: в кадре одна янтарная */
html.is-cta-seen .nav .btn { opacity: 0; visibility: hidden; pointer-events: none; }

/* ---------- 7. навигация справа ---------- */
.side::before { content: ""; position: absolute; inset: -18px 0 -18px -26px; z-index: -1; background: linear-gradient(90deg, rgba(var(--bg-rgb), 0), rgba(var(--bg-rgb), .88) 55%); pointer-events: none; }
.side__tick, .side a.is-cur .side__tick { background: rgba(243, 241, 236, .55); }

/* ---------- 8. подвал: кромка уходит в фон ---------- */
.foot3d::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 56px; background: linear-gradient(0deg, var(--bg), rgba(var(--bg-rgb), 0)); pointer-events: none; }
