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

/* /land-rover · Dev/v1 (этап 2 задания qa/_tasks/builder.md, полная сборка; черновик подачи — draft/).
   Подача по черновику (выбор 2026-11-20): Aluminum — A (центральный кадр с флангами), Suspension — A (text-split --pull + bg).
   Только токены ДС (styles.css), прозрачность — color-mix. Секции страницы — префикс lr-.
   Движение: page.js ставит html.lr-motion (есть IO и нет reduced motion) и .is-on на [data-ac] при входе в экран;
   без JS и при reduced motion всё в конечном состоянии. */

.pb-scope.pb-fl { overflow-x: clip; }
:where(.pb-scope main > section:not(.lh-hero)) :is(p, li, dd, summary) { text-wrap: pretty; }

/* ссылки, которые включатся при публикации страниц, — пока текст */
.pb-scope [data-link-pending] { color: inherit; }

/* ============ 2. Services — библиотечный аккордеон фото-панелей, 6 панелей (lh-svc--six, /bmw-body-shop v18 раздел 4)
   + вводная под H2 и строка под аккордеоном (как lh-svc--five /acura) ============ */
.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 { margin: 0; max-width: 52ch; font-size: var(--fs-lead); 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: 16.5px; 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: 54ch; /* polish: 60ch ≈ 81 симв./строка */ 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) 45%, transparent) 0%, transparent 24%); }
}
@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; }
}

/* ============ 3A. Aluminum — центральный кадр с флангами (реф. canvas burger-03): слева H2 + абзац, в центре высокий
   кадр приёма Range Rover Sport (1320×1760, показ ≤ 400×533), справа 4 строки файла ремонта на .icon-plate,
   каждая «привязана» к кадру волосяной линией ============ */
.pb-scope .lr-al { padding-block: var(--sp-section); }
.pb-scope .lr-al__grid {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3.4fr) minmax(0, 4.2fr);
  column-gap: var(--sp-8); align-items: center;
}
.pb-scope .lr-al__copy h2 { margin: 0 0 var(--sp-5); max-width: 13ch; }
.pb-scope .lr-al__copy p { margin: 0; max-width: 42ch; color: color-mix(in oklch, var(--fg) 66%, var(--muted)); font-size: 17px; line-height: 1.65; }
.pb-scope .lr-al__fig { margin: 0; justify-self: center; width: 100%; max-width: 400px; }
.pb-scope .lr-al__frame {
  overflow: hidden; border-radius: var(--r); border: 1px solid var(--border-strong); background: var(--surface);
  clip-path: inset(0 0 0 0 round var(--r));
}
.pb-scope .lr-al__frame img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.pb-scope .lr-al__fig figcaption {
  margin-top: var(--sp-3); color: var(--muted); font-size: 12px; letter-spacing: .08em;
}
.pb-scope .lr-al__k { margin: 0 0 var(--sp-4); color: var(--fg); font-weight: var(--w-bold); font-size: 17px; line-height: 1.4; max-width: 30ch; }
.pb-scope .lr-al__list { list-style: none; margin: 0; padding: 0; }
.pb-scope .lr-al__item {
  position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: var(--sp-4);
  margin: 0; padding: var(--sp-4) 0; border-top: 1px solid var(--border); max-width: none;
  color: color-mix(in oklch, var(--fg) 80%, var(--muted)); font-size: 16px; line-height: 1.5;
}
.pb-scope .lr-al__item:last-child { border-bottom: 1px solid var(--border); }
/* линия к кадру: из зазора колонок к плашке */
.pb-scope .lr-al__item::before {
  content: ""; position: absolute; top: 50%; right: 100%; width: calc(var(--sp-8) - var(--sp-3)); height: 1px;
  background: var(--accent-line); transform-origin: right; transform: scaleX(var(--lr-line, 1));
}
.pb-scope .lr-al__ic.icon-plate { width: 48px; height: 48px; margin: 0; }
.pb-scope .lr-al__ic svg { width: 24px; height: 24px; }

/* ============ 4. Suspension — библиотечный text-split ============
   A (--pull + bg подъёмников): H2 и первый абзац слева; вопрос — крупно справа, ответ под ним (диагональ).
   B (--quote, без фото): H2 и первый абзац сверху; вопрос через всю ширину дисплейным размером; ответ — колонкой справа. */
.pb-scope .lr-su__q {
  margin: 0; color: var(--fg); font-family: var(--font-display); font-weight: var(--w-display);
  letter-spacing: var(--tr-display); line-height: 1.04; text-wrap: balance;
}
.pb-scope .lr-su .lh-text__body > p { margin: 0; font-size: 17px; line-height: 1.65; max-width: 52ch; }
.pb-scope .lr-su--a .lr-su__q { font-size: clamp(32px, 3.4vw, 50px); max-width: 14ch; margin: var(--sp-6) 0 var(--sp-5); }
.pb-scope .lr-su--a .lr-su__q::before {
  content: ""; display: block; width: 56px; height: 2px; margin-bottom: var(--sp-5); background: var(--accent);
  transform-origin: left; transform: scaleX(var(--lr-line, 1));
}
@media (min-width: 921px) {
  .pb-scope .lr-su--a .lh-text__head { grid-column: 1 / span 6; }
  .pb-scope .lr-su--a .lh-text__head h2 { max-width: 13ch; }
  .pb-scope .lr-su--a .lh-text__body > .lr-su__p1 { grid-column: 1 / span 5; grid-row: 2 / span 2; margin-top: var(--sp-6); }
  .pb-scope .lr-su--a .lr-su__q { grid-column: 7 / -1; grid-row: 2; }
  .pb-scope .lr-su--a .lr-su__p2 { grid-column: 7 / -1; grid-row: 3; font-size: 18px; color: var(--fg); }
  .pb-scope .lr-su--a .lh-text__actions:empty, .pb-scope .lr-su .lh-text__actions:empty { display: none; }

}
.pb-scope .lr-su .lh-text__actions:empty { display: none; }

/* ============ 6. Insurance — перенос ac-ins /acura (подача A): верх — кадр цеха с H2 поверх затемнения (закреплён)
   + 4 страховых пункта крупными строками; низ — Rental / Loaner / Towing / Pickup в 4 колонки с Hugeicons ============ */
.pb-scope .lr-ins {
  position: relative; padding-block: var(--sp-section); background: var(--surface); border-block: 1px solid var(--border);
}
.pb-scope .lr-ins__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--sp-8); align-items: start; }
.pb-scope .lr-ins__visual {
  position: sticky; top: 96px; isolation: isolate; display: flex; align-items: flex-end; width: 100%; max-width: 600px; aspect-ratio: 6 / 5;
  overflow: hidden; border-radius: var(--r); border: 1px solid var(--border-strong); background: var(--bg);
  clip-path: inset(0 0 0 0 round var(--r));
}
.pb-scope .lr-ins__img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%;
  transform-origin: 34% 92%; transform: scale(1.2);
}
.pb-scope .lr-ins__visual::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, color-mix(in oklch, var(--bg) 94%, transparent) 0%, color-mix(in oklch, var(--bg) 72%, transparent) 36%, transparent 66%);
}
.pb-scope .lr-ins__h2 { margin: 0; padding: var(--sp-7); max-width: 13ch; }
.pb-scope .lr-ins__claims { list-style: none; margin: 0; padding: 0; }
.pb-scope .lr-ins__claim { margin: 0; padding: var(--sp-5) 0; border-top: 1px solid var(--border-strong); max-width: none; }
.pb-scope .lr-ins__claim:last-child { border-bottom: 1px solid var(--border-strong); }
.pb-scope .lr-ins__claim strong {
  display: block; margin-bottom: var(--sp-2); color: var(--fg); font-family: var(--font-display); font-weight: var(--w-display);
  font-size: clamp(22px, 1.9vw, 28px); line-height: 1.12; letter-spacing: var(--tr-heading);
}
.pb-scope .lr-ins__claim span { display: block; max-width: 50ch; color: color-mix(in oklch, var(--fg) 70%, var(--muted)); font-size: 16.5px; line-height: 1.6; }
.pb-scope .lr-ins__cols {
  list-style: none; margin: var(--sp-8) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.pb-scope .lr-ins__col { position: relative; display: flex; flex-direction: column; gap: var(--sp-2); margin: 0; padding: 0 var(--sp-6); max-width: none; }
.pb-scope .lr-ins__col:first-child { padding-left: 0; }
.pb-scope .lr-ins__col + .lr-ins__col::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--border-strong);
  transform-origin: top; transform: scaleY(var(--lr-line, 1));
}
.pb-scope .lr-ins__ic.icon-plate { width: 52px; height: 52px; margin: 0 0 var(--sp-4); }
.pb-scope .lr-ins__ic svg { width: 26px; height: 26px; }
.pb-scope .lr-ins__col strong { color: var(--fg); font-size: 19px; line-height: 1.3; } /* polish: без полуинтерлиньяжа 1.6 зазор иконка → заголовок читался как 30+ px */
.pb-scope .lr-ins__col > span:last-child { color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ============ 7. Reviews — строка page.md «Rated 5.0 from 47+ Google reviews.» целиком видима (как /acura) ============ */
.pb-scope .lr-rv__rated { grid-column: 1 / -1; margin-bottom: var(--sp-3); color: var(--muted); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 400; }
.pb-scope .lh-reviews__count .lr-rv__w.mono { font-size: max(12px, .42em); letter-spacing: .14em; text-transform: uppercase; vertical-align: .3em; }
.pb-scope .lh-reviews .lh-q cite.mono { text-transform: none; letter-spacing: .06em; font-size: 12px; }

/* ============ 8. Location — абзац «Drivers come to us…» дословно; города — span (data-href-later) ============ */
.pb-scope .lr-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 .lr-areas__k { display: block; margin-bottom: var(--sp-3); color: var(--fg); font-weight: var(--w-bold); }
.pb-scope .lr-city { color: var(--fg); font-weight: var(--w-medium); white-space: nowrap; }
.pb-scope .lr-city--here { font-weight: var(--w-display); }

/* polish: карта в фокусе — кольцо на рамке (у iframe внутри overflow: hidden кольцо срезано, а :focus / :focus-within при фокусе
   внутри iframe Chromium не ставит — класс .is-focus ставит page.js) */
.pb-scope .lh-loc__map:focus-within, .pb-scope .lh-loc__map.is-focus { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ============ 9. Estimate ============ */
.pb-scope .lh-estimate__intro .lead a[href^="tel:"] { white-space: nowrap; }
/* polish: номер в подсказке к фото не рвётся по дефису на 390 («+1 754-219-» / «3388.») */
.pb-scope .lh-sform .field__hint a[href^="https://wa.me"] { white-space: nowrap; }

/* ===================== движение (только html.lr-motion) ===================== */
@media (prefers-reduced-motion: no-preference) {
  /* 3A: кадр проявляется снизу (наблюдаем figure — IO не видит элемент, обрезанный своим clip-path); строки файла — по очереди */
  html.lr-motion .pb-scope .lr-al__frame { transition: clip-path 1.1s cubic-bezier(.16, 1, .3, 1); }
  html.lr-motion .pb-scope .lr-al__frame { clip-path: inset(100% 0 0 0 round var(--r)); }
  html.lr-motion .pb-scope .lr-al__fig.is-on .lr-al__frame { clip-path: inset(0 0 0 0 round var(--r)); }
  html.lr-motion .pb-scope .lr-al__item { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
  html.lr-motion .pb-scope .lr-al__item::before { --lr-line: 0; transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
  html.lr-motion .pb-scope .lr-al__item:nth-child(2), html.lr-motion .pb-scope .lr-al__item:nth-child(2)::before { transition-delay: .12s; }
  html.lr-motion .pb-scope .lr-al__item:nth-child(3), html.lr-motion .pb-scope .lr-al__item:nth-child(3)::before { transition-delay: .24s; }
  html.lr-motion .pb-scope .lr-al__item:nth-child(4), html.lr-motion .pb-scope .lr-al__item:nth-child(4)::before { transition-delay: .36s; }
  html.lr-motion .pb-scope .lr-al__file.is-on .lr-al__item { opacity: 1; transform: none; }
  html.lr-motion .pb-scope .lr-al__file.is-on .lr-al__item::before { --lr-line: 1; }
  /* 4: вопрос поднимается, акцентная черта прочерчивается */
  html.lr-motion .pb-scope .lr-su__q { opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
  html.lr-motion .pb-scope .lr-su__q::before { --lr-line: 0; transition: transform .9s cubic-bezier(.16, 1, .3, 1) .2s; }
  html.lr-motion .pb-scope .lr-su__q.is-on { opacity: 1; transform: none; }
  html.lr-motion .pb-scope .lr-su__q.is-on::before { --lr-line: 1; }
  /* 6: кадр «проявляется» снизу, H2 следом; колонки — по очереди, линейки прочерчиваются */
  html.lr-motion .pb-scope .lr-ins__visual { clip-path: inset(100% 0 0 0 round var(--r)); transition: clip-path 1.1s cubic-bezier(.16, 1, .3, 1); }
  html.lr-motion .pb-scope .lr-ins__top.is-on .lr-ins__visual { clip-path: inset(0 0 0 0 round var(--r)); }
  html.lr-motion .pb-scope .lr-ins__h2 { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease) .45s, transform .7s var(--ease) .45s; }
  html.lr-motion .pb-scope .lr-ins__top.is-on .lr-ins__h2 { opacity: 1; transform: none; }
  html.lr-motion .pb-scope .lr-ins__col { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
  html.lr-motion .pb-scope .lr-ins__col::before { --lr-line: 0; transition: transform .9s cubic-bezier(.16, 1, .3, 1); }
  html.lr-motion .pb-scope .lr-ins__col:nth-child(2), html.lr-motion .pb-scope .lr-ins__col:nth-child(2)::before { transition-delay: .12s; }
  html.lr-motion .pb-scope .lr-ins__col:nth-child(3), html.lr-motion .pb-scope .lr-ins__col:nth-child(3)::before { transition-delay: .24s; }
  html.lr-motion .pb-scope .lr-ins__col:nth-child(4), html.lr-motion .pb-scope .lr-ins__col:nth-child(4)::before { transition-delay: .36s; }
  html.lr-motion .pb-scope .lr-ins__cols.is-on .lr-ins__col { opacity: 1; transform: none; }
  html.lr-motion .pb-scope .lr-ins__cols.is-on .lr-ins__col::before { --lr-line: 1; }
}

/* ===================== responsive ===================== */
@media (max-width: 1100px) {
  .pb-scope .lr-al__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); row-gap: var(--sp-7); align-items: start; }
  .pb-scope .lr-al__fig { grid-column: 1; grid-row: 1 / span 2; }
  .pb-scope .lr-al__copy, .pb-scope .lr-al__file { grid-column: 2; }
  .pb-scope .lr-al__item::before { display: none; }
  .pb-scope .lr-ins__cols { grid-template-columns: 1fr 1fr; row-gap: var(--sp-7); }
  .pb-scope .lr-ins__col:nth-child(3) { padding-left: 0; }
  .pb-scope .lr-ins__col:nth-child(3)::before { display: none; }
}
@media (max-width: 920px) {
  .pb-scope .lr-su--a .lr-su__q { margin-block: var(--sp-6) var(--sp-4); }
  .pb-scope .lr-ins__top { grid-template-columns: 1fr; row-gap: var(--sp-6); }
  .pb-scope .lr-ins__visual { position: relative; top: auto; max-width: none; aspect-ratio: 16 / 9; }
  .pb-scope .lr-ins__img { transform: none; object-position: 30% 82%; }
}
/* polish: 701–1100 — кадр Range Rover держится рядом с текстом и файлом ремонта (раньше под подписью оставалась пустая колонка ~300 px) */
@media (min-width: 701px) and (max-width: 1100px) {
  .pb-scope .lr-al__fig { position: sticky; top: 96px; align-self: start; }
}
@media (max-width: 700px) {
  .pb-scope .lr-al__grid { grid-template-columns: 1fr; }
  .pb-scope .lr-al__fig { grid-row: auto; max-width: 360px; justify-self: start; }
  .pb-scope .lr-al__copy, .pb-scope .lr-al__file { grid-column: 1; }
  .pb-scope .lr-al__copy { grid-row: 1; }
}
@media (max-width: 560px) {
  .pb-scope .lr-ins__visual { aspect-ratio: 4 / 3; }
  .pb-scope .lr-ins__img { transform: scale(1.2); object-position: 30% 50%; }
  .pb-scope .lr-ins__h2 { padding: var(--sp-5); }
  .pb-scope .lr-ins__cols { grid-template-columns: 1fr; row-gap: var(--sp-6); }
  /* polish: на телефоне иконка встаёт слева от заголовка и текста (как строки файла ремонта выше) — 4 пункта без
     отдельной строки под каждую плашку */
  .pb-scope .lr-ins__col { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: var(--sp-4); row-gap: var(--sp-1); align-items: start; padding: 0; }
  .pb-scope .lr-ins__col::before { display: none; }
  .pb-scope .lr-ins__ic.icon-plate { grid-row: 1 / span 2; width: 44px; height: 44px; margin: 0; }
  .pb-scope .lr-ins__ic svg { width: 22px; height: 22px; }
  .pb-scope .lr-ins__col strong { align-self: center; min-height: 44px; display: flex; align-items: center; }
}

/* ===== Dev/v4 (2026-11-27, владелец: «можем фото ландровера в hero? у нас же есть реальное») =====
   Hero — настоящий кадр клиента: белый Range Rover Sport при приёме (C-0382; подпись только «приём», не «после ремонта»).
   Кадр портретный 1320×1760: на десктопе стоит справа (56 % ширины hero, во всю высоту), левый край растворяется в холст под текстом;
   на планшете и телефоне — полосой, кадрирован на крыло с повреждением. Блок «Aluminum…» — без фото (кадр ушёл в hero, не повторяем). */
.pb-scope .lh-hero--svc .lh-hero__photo img.lr-hero__img { object-position: 50% 60%; }
@media (min-width: 1201px) {
  .pb-scope .lh-hero--svc .lh-hero__photo img.lh-hero__img.lr-hero__img {
    left: auto; right: 0; width: 56%; object-fit: cover; object-position: 50% 45%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, rgb(0 0 0 / .45) 14%, rgb(0 0 0 / .85) 28%, #000 40%);
            mask-image: linear-gradient(90deg, transparent 0, rgb(0 0 0 / .45) 14%, rgb(0 0 0 / .85) 28%, #000 40%);
  }
}
@media (min-width: 1700px) {
  /* на очень широком окне кадр не уезжает к краю: правый край — не дальше 260 px за колонкой текста */
  .pb-scope .lh-hero--svc .lh-hero__photo img.lh-hero__img.lr-hero__img { right: calc((100% - var(--maxw)) / 2 - 260px); width: calc(var(--maxw) * .56 + 260px);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, rgb(0 0 0 / .45) 14%, rgb(0 0 0 / .85) 28%, #000 40%, #000 80%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, rgb(0 0 0 / .45) 14%, rgb(0 0 0 / .85) 28%, #000 40%, #000 80%, transparent 100%); }
}
@media (max-width: 1200px) {
  .pb-scope .lh-hero--svc .lh-hero__photo img.lr-hero__img { object-position: 50% 62%; }
}
.pb-scope .lr-al--nophoto .lr-al__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: var(--sp-9, 96px); }
@media (max-width: 900px) { .pb-scope .lr-al--nophoto .lr-al__grid { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 901px) and (max-width: 1100px) {
  .pb-scope .lr-al--nophoto .lr-al__copy { grid-column: 1; grid-row: 1; }
  .pb-scope .lr-al--nophoto .lr-al__file { grid-column: 2; grid-row: 1; }
}
@media (max-width: 900px) {
  .pb-scope .lr-al--nophoto .lr-al__copy, .pb-scope .lr-al--nophoto .lr-al__file { grid-column: 1; grid-row: auto; }
}
.pb-scope .lr-al--nophoto .lr-al__item::before { display: none; } /* линии вели к кадру — кадра в блоке больше нет */
