html, body { margin: 0; padding: 0; }

/* /car-wrap · Dev/v1 (page-builder-orchestrator, этап 2; выбор по черновику: Finishes B, Body shop A — plan.md «Выбор подачи»). Только токены ДС (styles.css), прозрачность — color-mix.
   Секции страницы — префикс cw-. Движение: page.js ставит html.cw-motion (есть IO и нет reduced motion) и
   .is-on на [data-cw] при входе в экран; пятно света блока 3 — [data-cw-spot] (--cw-x от прокрутки);
   параллакс [data-parallax] — хук ДС motion. Без JS и при reduced motion всё в конечном состоянии. */

.pb-scope.pb-fl { overflow-x: clip; }
.pb-scope main > section h2 { max-width: 720px; text-wrap: balance; }
.pb-scope main > section:is(.cw-fin, .cw-why, .cw-ppf, .lh-svc) p { text-wrap: pretty; }

/* ============ 2. Services — библиотечный аккордеон фото-панелей, 6 панелей (lh-svc--six, как /auto-glass v1) ============ */
.pb-scope .lh-svc--six .lh-svc__head { flex-direction: column; align-items: flex-start; gap: var(--sp-4); }
.pb-scope .lh-svc--six .lh-svc__head p { max-width: 56ch; font-size: 17px; line-height: 1.6; color: var(--muted); }
.pb-scope .lh-svc--six .lh-svc__pane.is-open { flex-grow: 3.6; }
.pb-scope .lh-svc--six .lh-svc__pane { box-shadow: inset 0 0 0 1px var(--border); }
.pb-scope .lh-svc--six .lh-svc__name { font-size: clamp(28px, 2.4vw, 38px); max-width: 15ch; }
.pb-scope .lh-svc--six .lh-svc__pane:not(.is-open) .lh-svc__name {
  white-space: normal; max-height: 430px; font-size: 21px; line-height: 1.12; max-width: none;
}
.pb-scope .lh-svc--six .lh-svc__desc {
  margin: 0; padding-top: 14px; border-top: 1px solid color-mix(in oklch, var(--fg) 20%, transparent);
  max-width: 40ch; color: var(--fg); font-size: var(--fs-lead); font-weight: var(--w-medium); line-height: 1.45;
}
.pb-scope .lh-svc--six .lh-svc__after { margin: var(--sp-6) 0 0; max-width: 64ch; font-size: 16px; color: var(--muted); }
@media (max-width: 1100px) {
  .pb-scope .lh-svc--six .lh-svc__acc { display: grid; grid-template-columns: 1fr 1fr; height: auto; }
  .pb-scope .lh-svc--six .lh-svc__pane, .pb-scope .lh-svc--six .lh-svc__pane.is-open { min-height: 360px; cursor: default; }
  .pb-scope .lh-svc--six .lh-svc__pane:not(.is-open) .lh-svc__name {
    writing-mode: horizontal-tb; transform: none; max-height: none; font-size: clamp(26px, 3.4vw, 32px); max-width: 15ch;
  }
  .pb-scope .lh-svc--six .lh-svc__pane:not(.is-open) .lh-svc__img { filter: none; }
  .pb-scope .lh-svc--six .lh-svc__content[hidden] { display: block !important; }
  .pb-scope .lh-svc--six .lh-svc__pane .lh-svc__toggle .mono { background: var(--accent-deep); }
  .pb-scope .lh-svc--six .lh-svc__pane::after { background:
    linear-gradient(0deg, color-mix(in oklch, var(--bg) 92%, transparent) 0%, color-mix(in oklch, var(--bg) 55%, transparent) 30%, transparent 55%),
    linear-gradient(180deg, color-mix(in oklch, var(--bg) 78%, transparent) 0%, color-mix(in oklch, var(--bg) 42%, transparent) 26%, transparent 46%); }
  /* название панели лежит на рендере — тень под буквами, чтобы контур детали не резал слово */
  .pb-scope .lh-svc--six .lh-svc__name { text-shadow: 0 1px 14px color-mix(in oklch, var(--bg) 85%, transparent), 0 0 2px color-mix(in oklch, var(--bg) 60%, transparent); }
}
@media (max-width: 760px) {
  .pb-scope .lh-svc--six .lh-svc__acc { grid-template-columns: 1fr; }
  .pb-scope .lh-svc--six .lh-svc__pane, .pb-scope .lh-svc--six .lh-svc__pane.is-open { min-height: 340px; }
}

/* ============ 3. Gloss / satin / matte — сцена во всю ширину, пятно света по прокрутке ============ */
.pb-scope .cw-fin { padding-block: var(--sp-section); overflow: clip; }
.pb-scope .cw-fin__copy { position: relative; z-index: 2; }
.pb-scope .cw-fin__copy h2 { margin: 0 0 var(--sp-5); font-size: var(--fs-d1); line-height: var(--lh-display); letter-spacing: var(--tr-display); }
.pb-scope .cw-fin__copy p { margin: 0; max-width: 62ch; font-size: 17px; line-height: 1.7; }
.pb-scope .cw-fin__stage {
  --cw-x: 18%;   /* до первой прокрутки свет на первом образце (gloss) — как и .is-lit в разметке */
  /* во всю ширину, но не крупнее файла (1536) и не выше ≈ одного экрана: лишнее срезается сверху/снизу (пустой фон и пол) */
  position: relative; max-width: 1536px; height: min(66.667vw, 760px); margin: calc(-1 * var(--sp-8)) auto 0;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, var(--fg) 22%, var(--fg) 88%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, var(--fg) 22%, var(--fg) 88%, transparent 100%);
}
.pb-scope .cw-fin__stage img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; }
.pb-scope .cw-fin__dim { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease); }
.pb-scope .cw-fin__words {
  list-style: none; margin: 0; padding: 0; position: absolute; left: 0; right: 0; bottom: 8%;
  display: grid; grid-template-columns: 36% 32% 32%; text-align: center;
}
.pb-scope .cw-fin__w {
  color: color-mix(in oklch, var(--fg) 72%, transparent); font-family: var(--font-display); font-weight: var(--w-display);
  font-size: clamp(34px, 5.4vw, 84px); line-height: 1; letter-spacing: var(--tr-display);
  transition: color .5s var(--ease);
}
.pb-scope .cw-fin__note {
  margin: var(--sp-6) 0 0 auto; max-width: 52ch; padding-top: var(--sp-4); border-top: 2px solid var(--accent);
  font-size: var(--fs-lead); line-height: 1.6;
}

/* ============ 4. Why a body shop — коллаж «цех + предмет», строки справа, холст ============ */
.pb-scope .cw-why { padding-block: var(--sp-section); }
.pb-scope .cw-why__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sp-7); align-items: center; }
.pb-scope .cw-why__collage { grid-column: 1 / span 6; position: relative; padding-bottom: var(--sp-9); max-width: 620px; }
.pb-scope .cw-why__shop {
  margin: 0; width: 88%; max-width: 560px; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--r); border: 1px solid var(--border-strong);
}
.pb-scope .cw-why__shop img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pb-scope .cw-why__peel {
  position: absolute; right: 0; bottom: 0; width: 58%; margin: 0; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--r); border: 1px solid var(--border-strong); box-shadow: var(--shadow-card); background: var(--bg);
}
.pb-scope .cw-why__peel img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
.pb-scope .cw-why__copy { grid-column: 7 / -1; }
.pb-scope .cw-why__copy h2 { margin: 0 0 var(--sp-5); }
.pb-scope .cw-why__lead { margin: 0 0 var(--sp-6); font-size: 17px; line-height: 1.65; max-width: 52ch; }
.pb-scope .cw-why__rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border-strong); }
.pb-scope .cw-why__row { padding: var(--sp-5) 0; border-bottom: 1px solid var(--border-strong); color: var(--muted); font-size: 16px; line-height: 1.6; }
.pb-scope .cw-why__k { display: block; margin-bottom: var(--sp-1); color: var(--fg); font-size: var(--fs-h3); letter-spacing: var(--tr-heading); }
.pb-scope .cw-why__row a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; transition: text-decoration-color var(--dur) var(--ease); }
.pb-scope .cw-why__row a:hover { text-decoration-color: var(--accent); }

/* ============ 5. Wrap + PPF — слои по центру, HTML-подписи к слоям по сторонам, полоса surface ============ */
.pb-scope .cw-ppf { padding-block: var(--sp-section); background: var(--surface); border-block: 1px solid var(--border); overflow: clip; }
.pb-scope .cw-ppf__head { max-width: 680px; margin: 0 auto; text-align: center; }
.pb-scope .cw-ppf__head h2 { margin: 0 auto var(--sp-5); }
.pb-scope .cw-ppf__head p { margin: 0 auto; max-width: 62ch; font-size: 17px; line-height: 1.7; }
.pb-scope .cw-later { color: inherit; }
.pb-scope .cw-ppf__stack { position: relative; margin: var(--sp-6) auto 0; width: min(100%, 1040px); }
.pb-scope .cw-ppf__stack img {
  display: block; width: min(100%, 460px); height: auto; margin: 0 auto; aspect-ratio: 896 / 1120;
  transform: translateY(calc(var(--lh-shift, 0) * 1px));
  /* фон рендера темнее полосы surface — края растворяются со всех сторон, без «коробки» */
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 46%, var(--fg) 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 46%, var(--fg) 62%, transparent 100%);
}
.pb-scope .cw-ppf__tags { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; }
.pb-scope .cw-tag { position: absolute; display: flex; align-items: center; height: 0; }
/* слой на кадре (896×1120): верх ≈ 24 %, синий ≈ 37 %, прозрачный ≈ 49 % высоты; кадр 460 px по центру */
.pb-scope .cw-tag--top { top: 24%; }
.pb-scope .cw-tag--vinyl { top: 36.5%; }
.pb-scope .cw-tag--ppf { top: 48.5%; }
.pb-scope .cw-tag--r { left: calc(50% + 150px); }
.pb-scope .cw-tag--l { right: calc(50% + 150px); flex-direction: row-reverse; }
.pb-scope .cw-tag__dot {
  flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--accent) 28%, transparent);
}
.pb-scope .cw-tag__line { flex: none; width: 120px; height: 1px; background: color-mix(in oklch, var(--fg) 60%, transparent); }
.pb-scope .cw-tag--l .cw-tag__line { transform-origin: right; }
.pb-scope .cw-tag--r .cw-tag__line { transform-origin: left; }
.pb-scope .cw-tag__t { padding-inline: var(--sp-3); white-space: nowrap; color: var(--fg); font-size: 17px; font-weight: var(--w-bold); letter-spacing: var(--tr-heading); }

/* ============ 7. Reviews — «Rated 5.0 from 54+ Google reviews.» словами page.md; числа — в разметке reviews-sync ============ */
/* резервный кадр 721 px растянут на ширину секции — глубже в тень и мягче, чтобы не читалось как «мыло» */
.pb-scope .cw-rv .lh-reviews__bg img { opacity: .55; filter: blur(2px) saturate(.6); transform: scale(1.03); }
.pb-scope .cw-rv__score { display: flex; flex-direction: column; gap: var(--sp-3); }
.pb-scope .cw-rv__rated { color: var(--muted); font-size: var(--fs-lead); font-weight: var(--w-medium); letter-spacing: 0; }
.pb-scope .cw-rv__from { color: var(--muted); }

/* ============ 8. Location — абзац «Drivers come to us…» page.md дословно; города — span без ссылок ============ */
.pb-scope .cw-areas {
  grid-column: 1 / -1; margin: 0; max-width: 62ch; color: var(--muted);
  font-size: clamp(18px, 1.45vw, 21px); line-height: 1.75; letter-spacing: -.005em;
}
.pb-scope .cw-areas__k { display: block; margin-bottom: var(--sp-3); color: var(--fg); font-weight: var(--w-bold); }
.pb-scope .cw-city { color: var(--fg); font-weight: var(--w-medium); white-space: nowrap; }
.pb-scope .cw-city--here { font-weight: var(--w-display); }

/* ============ 9. Estimate — подпись «4–6», фраза «What to send» целиком ============ */
.pb-scope .cw-est__figcap { margin: 0 0 var(--sp-6); color: var(--muted); font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; }
.pb-scope .cw-est__send {
  margin: var(--sp-5) 0; padding: var(--sp-4) 0; border-block: 1px solid var(--border-strong);
  color: var(--fg); font-size: 16px; line-height: 1.55;
}
.pb-scope .cw-est__send strong { color: var(--accent); }

/* ===================== движение (только html.cw-motion) ===================== */
@media (prefers-reduced-motion: no-preference) {
  html.cw-motion .pb-scope [data-cw] { transition: opacity .7s var(--ease), transform .7s var(--ease); }
  html.cw-motion .pb-scope [data-cw]:not(.is-on) { opacity: 0; transform: translateY(10px); }
  /* 3: пятно света ведёт прокрутка; слово под освещённым образцом — белое */
  html.cw-motion .pb-scope .cw-fin__dim {
    opacity: 1;
    background: radial-gradient(ellipse 22% 48% at var(--cw-x) 46%, transparent 0%, transparent 40%, color-mix(in oklch, var(--bg) 62%, transparent) 100%);
  }
  html.cw-motion .pb-scope .cw-fin__w { color: color-mix(in oklch, var(--fg) 22%, transparent); }
  html.cw-motion .pb-scope .cw-fin__w.is-lit { color: var(--fg); }
  /* 4: рендер «доезжает» на фото, строки по очереди */
  html.cw-motion .pb-scope .cw-why__peel { transition: opacity .9s var(--ease) .25s, transform .9s cubic-bezier(.16, 1, .3, 1) .25s; }
  html.cw-motion .pb-scope .cw-why__peel:not(.is-on) { transform: translateY(12px) scale(.96); }
  html.cw-motion .pb-scope .cw-why__row:nth-child(2) { transition-delay: .15s; }
  html.cw-motion .pb-scope .cw-why__row:nth-child(3) { transition-delay: .3s; }
  /* 5: подписи слоёв сверху вниз — точка, линия, текст */
  html.cw-motion .pb-scope .cw-ppf__stack:not(.is-on) { transform: none; opacity: 1; }
  html.cw-motion .pb-scope .cw-tag__dot, html.cw-motion .pb-scope .cw-tag__t { transition: opacity .5s var(--ease); }
  html.cw-motion .pb-scope .cw-tag__line { transition: transform .5s var(--ease); }
  html.cw-motion .pb-scope .cw-ppf__stack:not(.is-on) .cw-tag__dot, html.cw-motion .pb-scope .cw-ppf__stack:not(.is-on) .cw-tag__t { opacity: 0; }
  html.cw-motion .pb-scope .cw-ppf__stack:not(.is-on) .cw-tag__line { transform: scaleX(0); }
  html.cw-motion .pb-scope .cw-tag:nth-child(1) * { transition-delay: .2s; }
  html.cw-motion .pb-scope .cw-tag:nth-child(2) * { transition-delay: .55s; }
  html.cw-motion .pb-scope .cw-tag:nth-child(3) * { transition-delay: .9s; }
}
/* ===================== адаптив ===================== */
@media (max-width: 1100px) {
  .pb-scope .cw-why__grid { grid-template-columns: minmax(0, 1fr); }
  .pb-scope .cw-why__collage, .pb-scope .cw-why__copy { grid-column: 1 / -1; }
  .pb-scope .cw-why__copy { margin-top: var(--sp-7); }
  .pb-scope .cw-tag__line { width: 70px; }
  .pb-scope .cw-tag--r { left: calc(50% + 120px); }
  .pb-scope .cw-tag--l { right: calc(50% + 120px); }
}
@media (max-width: 920px) {
  .pb-scope .cw-fin__stage { margin-top: 0; }
}
/* подписи слоёв по сторонам кадра требуют ≈ 960 px (кадр 460 + линия + самая длинная подпись справа); уже — список под кадром,
   иначе «protection film on impact zones» срезается краем секции (polish 2026-11-26: срез на 768 и 900) */
@media (max-width: 980px) {
  .pb-scope .cw-ppf__tags { position: static; display: grid; grid-template-columns: max-content; gap: var(--sp-3); margin-top: var(--sp-5); justify-content: center; justify-items: start; }
  .pb-scope .cw-tag, .pb-scope .cw-tag--l { position: static; height: auto; flex-direction: row; }
  .pb-scope .cw-tag--l .cw-tag__line { transform-origin: left; }
  .pb-scope .cw-tag__line { width: 24px; }
  .pb-scope .cw-tag__t { white-space: normal; font-size: 15px; }
}
@media (max-width: 760px) {
  .pb-scope .cw-why__peel { width: 64%; }
}
/* Dev/v2 (2026-11-27, владелец: «слишком много генерёжки»): рендер снятия плёнки cw-peel заменён настоящей парой до/после клиента
   (Ferrari, ремонт в цеху Lion; без подписи «wrap» — это кузовной ремонт к пункту «After an accident»). Склейка 16:9 — кадр шире прежнего. */
.pb-scope .cw-why__peel--pair { width: 66%; aspect-ratio: 16 / 9; }
.pb-scope .cw-why__peel--pair img { object-position: 50% 50%; }
@media (max-width: 760px) { .pb-scope .cw-why__peel--pair { width: 78%; } }
