/* Luk 24: the cars page (masini.html) and the page of each car (masina-<id>.html).
   Loads after site.css. Every class here starts fl- (cars page) or cp- (car page), so nothing collides with other pages. */

/* ================= shared: the dark arched band, smaller than the home hero ================= */
.fl-band, .cp-band { position: relative; margin: 16px 16px 0; color: #fff; }
.fl-band::before, .cp-band::before { content: ""; position: absolute; inset: 0 0 46px; background: var(--ink);
  border-radius: 36px 36px 50% 50% / 36px 36px 90px 90px; }
.fl-band-in { position: relative; max-width: 980px; margin: 0 auto; padding: 128px 24px 0; text-align: center; }
.fl-band h1, .cp-band h1 { font-size: clamp(30px, 4.8vw, 68px); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; padding-top: .06em; }
.fl-lede { margin: 18px auto 0; max-width: 56ch; color: rgba(255,255,255,.74); font-size: 16px; text-wrap: pretty; }

/* the compact booking bar: same query names as the home bar (luk.js) */
.fl-q { margin: 30px auto 0; display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; align-items: center; max-width: 860px;
  background: #fff; color: var(--ink); border-radius: 999px; padding: 7px; text-align: left; box-shadow: 0 22px 50px rgba(0,0,0,.32); }
.fl-qf { display: flex; flex-direction: column; padding: 7px 20px; border-right: 1px solid var(--line); border-radius: 999px; cursor: pointer; transition: background .2s; min-width: 0; }
.fl-qf:hover { background: var(--band); }
.fl-qf:focus-within { background: var(--band); box-shadow: inset 0 0 0 2px var(--ink); }
.fl-qf:nth-child(3) { border-right: 0; }
.fl-qk { font-size: 12px; font-weight: 700; color: var(--muted); }
.fl-qf select, .fl-qf input { border: 0; background: transparent; padding: 0; font-weight: 700; font-size: 15.5px; width: 100%; outline: none; appearance: none; cursor: pointer; min-width: 0; }
/* dates: the native picker opens on click; what shows is our own text ("21 dec. 2026") with a small drawn calendar mark */
.fl-qf-d { position: relative; }
.fl-qf-d input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; }
.fl-qf-d input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.fl-qv { font-weight: 700; font-size: 15.5px; display: flex; align-items: center; justify-content: space-between; gap: 8px; white-space: nowrap; }
.fl-qv::after { content: ""; width: 16px; height: 15px; flex: none; border: 1.8px solid var(--muted); border-top-width: 4px; border-radius: 4px; }
.fl-qgo { padding: 16px 24px; }
.fl-qmsg { min-height: 0; margin: 10px auto 0; font-size: 14px; font-weight: 700; color: var(--y); }
.fl-qmsg:empty { display: none; }
.fl-call { margin: 18px auto 0; display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; font-size: 14.5px; color: rgba(255,255,255,.72); }
.fl-call .btn-ghost { color: #fff; }
.fl-band::after { content: ""; display: block; height: 70px; }

/* ================= cars page: the list ================= */
.fl-list { max-width: calc(var(--wrap) + 32px); margin: 0 auto; padding: 72px 16px 0; }
.fl-head { margin-bottom: 26px; }
.fl-sub { margin: 12px 0 0; color: var(--muted); max-width: 60ch; text-wrap: balance; }
.fl-sub b { color: var(--ink); }

/* ---- one control: gearbox, body, new, price order, count. A ruled instrument bar, not chips ---- */
.fl-ctl { position: sticky; top: 10px; z-index: 4; display: flex; align-items: stretch; background: #fff; border: 1.5px solid var(--ink);
  border-radius: var(--r-md); box-shadow: 0 10px 30px rgba(21,22,28,.08); margin-bottom: 8px; }
.fl-ctl > * { border-right: 1px solid var(--line); }
.fl-ctl > *:last-child { border-right: 0; }
.fl-g { margin: 0; padding: 7px 8px 7px 14px; border: 0; border-right: 1px solid var(--line); display: flex; align-items: center; gap: 10px; flex: none; }
.fl-g legend { float: left; font-size: 12px; font-weight: 700; color: var(--muted); padding: 0; margin-right: 10px; }
.fl-seg { display: flex; gap: 2px; background: var(--band); border-radius: 12px; padding: 3px; }
.fl-seg label { position: relative; cursor: pointer; }
.fl-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.fl-seg span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 9px; font-weight: 700; font-size: 14.5px; color: var(--muted);
  transition: background .18s, color .18s, transform .1s; white-space: nowrap; }
.fl-seg label:hover span { color: var(--ink); background: #fff; }
.fl-seg input:checked + span { background: var(--ink); color: #fff; }
.fl-seg input:focus-visible + span { outline: 3px solid var(--y); outline-offset: 2px; }
.fl-seg label:active span { transform: scale(.96); }
.fl-ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.fl-ic .fill { fill: currentColor; stroke: none; }
.fl-ic-car { width: 30px; height: 16px; stroke-width: 1.5; }

.fl-new { display: flex; align-items: center; gap: 10px; padding: 8px 13px; cursor: pointer; font-weight: 700; font-size: 14.5px; position: relative; white-space: nowrap; }
.fl-new:hover { background: var(--band); }
.fl-new input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fl-sw { width: 38px; height: 22px; border-radius: 999px; background: #D9DBE4; position: relative; transition: background .2s; flex: none; }
.fl-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .2s var(--ease); }
.fl-new input:checked + .fl-sw { background: var(--ink); }
.fl-new input:checked + .fl-sw::after { transform: translateX(16px); background: var(--y); }
.fl-new input:focus-visible + .fl-sw { outline: 3px solid var(--y); outline-offset: 3px; }

.fl-sort { display: flex; align-items: center; gap: 9px; border: 0; background: transparent; cursor: pointer; font-weight: 700; font-size: 14.5px; padding: 8px 13px; white-space: nowrap; transition: background .18s; }
.fl-sort:hover { background: var(--band); }
.fl-sort:active { background: var(--line); }
.fl-sort:active .fl-ic { transform: scale(.9); }
.fl-sort:focus-visible { outline-offset: -4px; }
.fl-sort .fl-ic path { stroke-width: 2.6; transition: d .25s var(--ease); }
.fl-sort[data-dir="asc"] .b1 { d: path("M5 20v-1"); }
.fl-sort[data-dir="asc"] .b2 { d: path("M10 20v-4"); }
.fl-sort[data-dir="asc"] .b3 { d: path("M15 20v-8"); }
.fl-sort[data-dir="asc"] .b4 { d: path("M20 20V8"); }
.fl-count { margin-left: auto; display: flex; align-items: center; padding: 8px 15px; font-weight: 800; font-size: 15px; white-space: nowrap; border-left: 1px solid var(--line); }

/* ---- ruled rows ---- */
.fl-rows { border-top: 6px solid var(--ink); margin-top: 22px; }
.fl-grp { display: flex; align-items: baseline; gap: 12px; padding: 22px 0 10px; border-bottom: 1px solid var(--line); }
.fl-grp h3 { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.fl-grp span { color: var(--muted); font-size: 14.5px; }
.fl-grp[hidden] { display: none; }

.fl-row { position: relative; display: grid; grid-template-columns: 300px minmax(0, 1fr) 250px; gap: 32px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.fl-row[hidden] { display: none; }
.fl-ph { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-md); background: radial-gradient(120% 90% at 50% 100%, #FFFFFF 0%, #F2F3F7 55%, #E6E8EF 100%); overflow: hidden; }
.fl-ph::after { content: ""; position: absolute; left: 16%; right: 16%; bottom: 10%; height: 14px; border-radius: 50%; background: radial-gradient(closest-side, rgba(21,22,28,.3), transparent); filter: blur(3px); }
.fl-ph img { position: absolute; z-index: 1; left: 14px; top: 26px; width: calc(100% - 28px); height: calc(100% - 38px); object-fit: contain; transition: transform .35s var(--ease); }
.fl-row:hover .fl-ph img { transform: translateX(6px); }
.fl-yr { position: absolute; top: 10px; left: 12px; z-index: 2; font-size: 12.5px; font-weight: 800; background: #fff; border: 1px solid var(--line); padding: 2px 9px; border-radius: 999px; }
.fl-yr.new { background: var(--ink); color: #fff; border-color: var(--ink); }

.fl-name { margin: 0; font-size: 23px; font-weight: 800; letter-spacing: -.025em; line-height: 1.2; }
.fl-name a { text-decoration: none; }
.fl-name a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r-md); }
.fl-name a:focus-visible { outline: 0; }
.fl-name a:focus-visible::after { outline: 3px solid var(--y); outline-offset: -2px; }
.fl-name small { color: var(--muted); font-weight: 600; font-size: 15px; letter-spacing: 0; }
.fl-row:hover .fl-name a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.fl-spec { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: #3D4050; }
.fl-spec li { display: flex; align-items: center; gap: 7px; }
.fl-spec .i { width: 17px; height: 17px; color: var(--muted); }

/* the availability strip: one cell a day around the chosen days, numbered; the chosen days bracketed */
.fl-tl { margin-top: 16px; }
.fl-tl-t { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.fl-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(30,158,87,.14); flex: none; }
.fl-dot.soon { background: var(--y); box-shadow: 0 0 0 4px rgba(242,178,0,.22); }
.fl-days { display: grid; grid-template-columns: repeat(21, minmax(0, 1fr)); gap: 3px; max-width: 560px; }
.fl-days i { position: relative; display: block; height: 30px; border-radius: 5px; background: #E3F2E9; font-style: normal; font-size: 11px; font-weight: 700; color: #3E6B50;
  display: grid; place-items: end center; padding-bottom: 2px; }
.fl-days i.busy { background: #ECEDF2; color: #9A9DAC; background-image: repeating-linear-gradient(135deg, transparent 0 3px, rgba(21,22,28,.1) 3px 5px); }
.fl-days i.pick { background: var(--ok); color: #fff; }
.fl-days i.pick.busy { background: #E9C55A; color: var(--ink); background-image: repeating-linear-gradient(135deg, transparent 0 3px, rgba(21,22,28,.16) 3px 5px); }
.fl-days i.m1::before { content: attr(data-m); position: absolute; top: -17px; left: 0; font-size: 11px; color: var(--muted); white-space: nowrap; }
.fl-days { padding-top: 16px; position: relative; }
.fl-brk { position: absolute; top: 12px; bottom: -5px; border: 2px solid var(--ink); border-radius: 8px; pointer-events: none; }

.fl-price { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.fl-pd { font-weight: 800; font-size: 30px; letter-spacing: -.03em; line-height: 1; }
.fl-pd small { font-size: 15px; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.fl-pl { font-size: 13.5px; color: var(--muted); }
.fl-tot { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #CFD1DC; width: 100%; font-size: 14px; color: var(--muted); }
.fl-tot b { display: block; color: var(--ink); font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.fl-acts { position: relative; z-index: 2; display: flex; gap: 8px; margin-top: 12px; justify-content: flex-end; flex-wrap: wrap; }
.fl-go { display: inline-flex; align-items: center; text-decoration: none; padding: 12px 20px; font-size: 15px; }
.fl-alt { display: inline-flex; align-items: center; text-decoration: none; font-weight: 700; font-size: 15px; padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--ink);
  transition: background .2s, color .2s, transform .12s; }
.fl-alt:hover { background: var(--ink); color: #fff; }
.fl-alt:active { transform: scale(.97); }

.fl-row.later .fl-ph img { filter: grayscale(.6); opacity: .8; }
.fl-row.later .fl-pd, .fl-row.later .fl-tot b { color: #4A4D5C; }

/* the plain list in the markup, shown only if the script does not run */
.fl-static { list-style: none; margin: 0; padding: 0; }
.fl-static li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.fl-static a { color: var(--ink); font-weight: 800; }
.fl-empty { padding: 34px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.fl-empty button { margin-left: 8px; border: 0; background: none; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: 0; }

.fl-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.fl-legend span { display: inline-flex; align-items: center; gap: 7px; }
.fl-legend i { width: 16px; height: 12px; border-radius: 3px; display: inline-block; }
.lg-free { background: #E3F2E9; }
.lg-busy { background: #ECEDF2; background-image: repeating-linear-gradient(135deg, transparent 0 3px, rgba(21,22,28,.12) 3px 5px); }
.lg-pick { background: var(--ok); box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--ink); }
.fl-legend-note { margin-left: auto; }

/* two empty parking bays for cars 10 and 11 */
.fl-bays { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: center; margin-top: 40px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fl-bay-row { display: grid; grid-template-columns: 1fr 1fr; height: 150px; background: var(--band); border-radius: var(--r-md); padding: 0 18px; position: relative; overflow: hidden; }
.fl-bay-row::before { content: ""; position: absolute; left: 18px; right: 18px; top: 18px; border-top: 4px solid #fff; box-shadow: 0 0 0 0 transparent; }
.fl-bay { position: relative; margin-top: 18px; border-left: 4px solid #fff; display: grid; place-items: end center; padding-bottom: 14px; }
.fl-bay:last-child { border-right: 4px solid #fff; }
.fl-bay-row { box-shadow: inset 0 0 0 1px var(--line); background-color: #ECEEF4; }
.fl-bay span { font-weight: 800; font-size: 34px; letter-spacing: -.03em; color: #fff; text-shadow: 0 1px 0 rgba(21,22,28,.06); }
.fl-bay::after { content: ""; position: absolute; left: 18%; right: 18%; top: 26%; height: 44%; border: 2px dashed #B9BCCB; border-radius: 22px 30px 10px 10px; }
.fl-bays-t p { margin: 0; max-width: 56ch; color: var(--muted); }
.fl-bays-t p + p { margin-top: 8px; }
.fl-bays-t b { color: var(--ink); font-size: 19px; letter-spacing: -.01em; display: block; margin-bottom: 4px; }

/* ================= phone ================= */
@media (max-width: 1279px) {
  .fl-ctl { flex-wrap: wrap; }
  .fl-ctl > * { border-bottom: 1px solid var(--line); }
  .fl-count { margin-left: 0; flex: 1; justify-content: flex-end; border-bottom: 0; }
}
@media (max-width: 1100px) {
  .fl-row { grid-template-columns: 240px minmax(0, 1fr) 210px; gap: 22px; }
}
@media (max-width: 860px) {
  .fl-row { grid-template-columns: 200px minmax(0, 1fr); }
  .fl-price { grid-column: 2; align-items: flex-start; text-align: left; }
}
@media (max-width: 720px) {
  .fl-band { margin: 10px 10px 0; }
  .fl-band::before { inset: 0 0 30px; border-radius: 28px 28px 50% 50% / 28px 28px 44px 44px; }
  .fl-band-in { padding: 100px 14px 0; }
  .fl-band h1 { font-size: clamp(28px, 8.2vw, 40px); line-height: 1.12; }
  .fl-lede { margin-top: 12px; font-size: 14px; }
  .fl-q { grid-template-columns: 1fr 1fr; border-radius: 22px; padding: 6px; margin-top: 22px; }
  .fl-qf { padding: 9px 12px; border-right: 0; border-radius: 14px; }
  .fl-qf-place { grid-column: 1 / -1; border-bottom: 1px solid var(--line); border-radius: 14px 14px 0 0; }
  .fl-qf:nth-child(2) { border-right: 1px solid var(--line); border-radius: 0; }
  .fl-qf input { font-size: 15px; }
  .fl-qgo { grid-column: 1 / -1; margin-top: 6px; padding: 15px; }
  .fl-call { margin-top: 14px; gap: 8px; }
  .fl-call > span { width: 100%; }
  .fl-band::after { height: 40px; }

  .fl-list { padding-top: 36px; }
  .fl-head { margin-bottom: 18px; }
  .fl-ctl { position: static; display: grid; grid-template-columns: 1fr 1fr; border-radius: 16px; }
  .fl-ctl > * { border-right: 0; }
  .fl-g { grid-column: 1 / -1; padding: 8px 8px 8px 12px; justify-content: space-between; gap: 8px; }
  .fl-g legend { font-size: 12px; }
  .fl-seg span { padding: 8px 9px; font-size: 13.5px; gap: 5px; }
  .fl-ic-car { width: 24px; height: 13px; }
  .fl-seg .fl-ic { width: 17px; height: 17px; }
  .fl-new { padding: 10px 12px; font-size: 13.5px; border-right: 1px solid var(--line) !important; white-space: normal; line-height: 1.25; }
  .fl-sort { padding: 10px 12px; font-size: 13.5px; white-space: normal; text-align: left; line-height: 1.25; }
  .fl-count { grid-column: 1 / -1; justify-content: flex-start; border-left: 0; padding: 9px 12px; font-size: 14px; background: var(--band); border-radius: 0 0 15px 15px; }

  .fl-rows { border-top-width: 5px; margin-top: 16px; }
  .fl-grp { padding: 18px 0 8px; flex-wrap: wrap; gap: 2px 10px; }
  .fl-grp h3 { font-size: 17px; }
  .fl-grp span { font-size: 13.5px; }
  /* compact row: the cut-out on its plate at left, name and availability, price right-aligned like a receipt */
  .fl-row { grid-template-columns: 104px minmax(0, 1fr) 84px; gap: 12px; padding: 12px 0; align-items: start; }
  .fl-ph { aspect-ratio: 4 / 3; border-radius: 12px; }
  .fl-ph img { left: 4px; top: 12px; width: calc(100% - 8px); height: calc(100% - 16px); }
  .fl-ph::after { bottom: 12%; height: 8px; }
  .fl-yr { top: 5px; left: 6px; font-size: 11px; padding: 0 6px; }
  .fl-name { font-size: 16.5px; line-height: 1.25; }
  .fl-name small { display: block; font-size: 13px; }
  .fl-spec { margin-top: 4px; gap: 2px 10px; font-size: 12.5px; }
  .fl-spec li:nth-child(n+3) { display: none; }
  .fl-spec .i { width: 14px; height: 14px; }
  .fl-tl { margin-top: 7px; }
  .fl-tl-t { font-size: 12.5px; gap: 7px; margin-bottom: 0; line-height: 1.3; }
  .fl-dot { width: 7px; height: 7px; box-shadow: 0 0 0 3px rgba(30,158,87,.14); }
  .fl-days { display: none; }
  .fl-price { grid-column: 3; align-items: flex-end; text-align: right; gap: 2px; }
  .fl-pd { font-size: 21px; }
  .fl-pd small { font-size: 12px; }
  .fl-pl { display: none; }
  .fl-tot { margin-top: 6px; padding-top: 6px; font-size: 12px; line-height: 1.3; }
  .fl-tot b { font-size: 15px; }
  .fl-acts { display: none; }
  .fl-legend { font-size: 12.5px; gap: 6px 14px; }
  .fl-legend > span:not(.fl-legend-note) { display: none; } /* the day strips are hidden here, so is their key */
  .fl-legend-note { margin-left: 0; width: 100%; }
  .fl-bays { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; padding: 20px 0; }
  .fl-bay-row { height: 116px; }
  .fl-bay span { font-size: 26px; }
}
@media (max-width: 345px) {
  /* 320px: the gearbox row (legend + three options) was 336px wide; it wraps and its options shrink */
  .fl-g { min-width: 0; flex-wrap: wrap; row-gap: 6px; }
  .fl-seg { min-width: 0; flex: 1 1 auto; }
  .fl-seg label { flex: 1 1 auto; min-width: 0; }
  .fl-seg span { justify-content: center; padding: 8px 5px; font-size: 13px; }
}
@media (max-width: 380px) {
  .fl-row { grid-template-columns: 92px minmax(0, 1fr) 80px; gap: 10px; }
  .fl-seg span { padding: 8px 7px; }
}

/* ================= the page of one car ================= */
.cp-band-in { position: relative; max-width: calc(var(--wrap) + 40px); margin: 0 auto; padding: 118px 40px 96px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.cp-crumb { display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.6); margin-bottom: 16px; }
.cp-crumb a { color: #fff; text-decoration: none; border-bottom: 1.5px solid rgba(255,255,255,.35); transition: border-color .2s; }
.cp-crumb a:hover { border-color: var(--y); }
.cp-band h1 { margin: 0; font-size: clamp(30px, 4.8vw, 68px); }
.cp-lede { margin: 16px 0 0; max-width: 44ch; color: rgba(255,255,255,.74); font-size: 16px; text-wrap: pretty; }
.cp-hp { display: flex; gap: 0; margin: 24px 0 0; border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); width: fit-content; }
.cp-hp div { padding: 12px 26px 12px 0; }
.cp-hp div + div { padding-left: 26px; border-left: 1px solid rgba(255,255,255,.16); }
.cp-hp dt { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.6); }
.cp-hp dd { margin: 2px 0 0; color: rgba(255,255,255,.74); font-size: 15px; }
.cp-hp dd b { color: #fff; font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.cp-hp dd > span { display: block; font-size: 13.5px; color: rgba(255,255,255,.55); }
.cp-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.cp-cta .btn-go { text-decoration: none; display: inline-flex; align-items: center; padding: 15px 22px; }
.cp-tel { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 800; font-size: 16px; padding: 15px 20px; border-radius: 999px; background: #fff; color: var(--ink);
  transition: background .2s, box-shadow .2s, transform .12s; }
.cp-tel:hover { box-shadow: 0 0 0 6px rgba(255,255,255,.16); }
.cp-tel:active { transform: scale(.97); background: #E9EAF0; }
.cp-note { margin: 14px 0 0; font-size: 14px; color: rgba(255,255,255,.6); }
.cp-stage { position: relative; align-self: end; margin-bottom: -84px; }
.cp-pool { position: absolute; left: 50%; top: 14%; width: 96%; height: 72%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(242,178,0,.28), rgba(242,178,0,.07) 55%, transparent 75%); filter: blur(8px); }
.cp-stage img { position: relative; z-index: 1; width: 104%; max-width: none; margin-left: 2%; height: auto; max-height: 450px; object-fit: contain; }
.cp-floor { position: relative; width: 74%; height: 30px; margin: -26px auto 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.45), transparent); filter: blur(6px); }

.cp-body { max-width: calc(var(--wrap) + 32px); margin: 0 auto; padding: 64px 16px 0; display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 48px; align-items: start; }
.cp-sec + .cp-sec { margin-top: 72px; }
.cp-sec-head { margin-bottom: 22px; }
.cp-sub { margin: 10px 0 0; color: var(--muted); max-width: 60ch; }
.pg-car h2 { font-size: clamp(28px, 3vw, 40px); }

/* gallery: a film strip, each photo at its own shape; swipe, arrow keys, or the buttons */
.cp-strip { display: flex; gap: 10px; height: 460px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; border-radius: var(--r-md); outline-offset: 4px; }
.cp-strip::-webkit-scrollbar { display: none; }
.cp-slide { flex: none; height: 100%; aspect-ratio: var(--ar); margin: 0; scroll-snap-align: start; border-radius: var(--r-md); overflow: hidden; background: var(--band); }
.cp-slide img { width: 100%; height: 100%; object-fit: cover; }
.cp-end { flex: none; scroll-snap-align: start; border-radius: var(--r-md); border: 1.5px dashed #CDD0DB; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 24px; color: var(--muted); }
.cp-end b { color: var(--ink); font-size: 18px; letter-spacing: -.01em; }
.cp-end a { align-self: flex-start; }
.cp-galbar { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.cp-arr { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; display: grid; place-items: center; cursor: pointer; flex: none;
  transition: background .18s, color .18s, transform .1s; }
.cp-arr svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cp-arr:hover { background: var(--ink); color: #fff; }
.cp-arr:active { transform: scale(.92); }
.cp-arr:disabled { opacity: .3; cursor: default; background: #fff; color: var(--ink); transform: none; }
.cp-gcount { margin: 0 6px; font-size: 15px; color: var(--muted); white-space: nowrap; }
.cp-gcount b { color: var(--ink); font-size: 18px; }
.cp-gcount span { margin-left: 6px; font-weight: 700; color: var(--ink); }
.cp-gmap { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.cp-gm { width: 26px; height: 22px; border: 0; padding: 0; background: none; cursor: pointer; position: relative; }
.cp-gm::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 6px; border-radius: 3px; background: #D9DBE4; transition: background .18s, height .18s, top .18s; }
.cp-gm.in::before { background-image: repeating-linear-gradient(90deg, transparent 0 3px, rgba(255,255,255,.9) 3px 5px); }
.cp-gm:not(.in) + .cp-gm.in { margin-left: 12px; }
.cp-gm:hover::before { background-color: #9FA3B4; }
.cp-gm[aria-current="true"]::before { background-color: var(--ink); top: 6px; height: 10px; }

/* the car and the price: two ruled tables */
.cp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.cp-two h2 { margin-bottom: 16px; }
.cp-tab { width: 100%; border-collapse: collapse; font-size: 16px; }
.cp-tab th, .cp-tab td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.cp-tab tbody th { font-weight: 600; color: var(--muted); width: 46%; }
.cp-tab td { font-weight: 700; }
.cp-tab thead th { font-size: 13px; color: var(--muted); font-weight: 700; padding-top: 0; border-bottom: 2px solid var(--ink); }
.cp-ptab td:last-child { color: var(--muted); font-weight: 600; }
.cp-ptab td b { font-size: 20px; letter-spacing: -.02em; }
.cp-ptab tbody th { transition: padding .2s; }
.cp-ptab tr.on th, .cp-ptab tr.on td { background: #FFF6D9; }
.cp-ptab tr.on th { box-shadow: inset 4px 0 0 var(--y); padding-left: 12px; color: var(--ink); }
.cp-fine { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.cp-dep { margin: 18px 0 0; padding: 14px 0 0; border-top: 4px solid var(--ink); font-size: 15.5px; }

/* calendar: two months, chosen with two taps */
.cp-calbar { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.cp-calmsg { margin: 0 0 0 8px; font-weight: 700; font-size: 15px; }
.cp-calmsg.warn { color: #9A3B12; }
.cp-months { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.cp-month h3 { margin: 0 0 10px; font-size: 18px; font-weight: 800; letter-spacing: -.02em; line-height: 1.3; }
.cp-wd, .cp-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cp-wd span { font-size: 12.5px; font-weight: 700; color: var(--muted); text-align: center; padding-bottom: 4px; }
.cp-d { height: 44px; border: 0; border-radius: 10px; background: #E3F2E9; color: #24533A; font-weight: 700; font-size: 15px; cursor: pointer; position: relative; padding: 0;
  transition: background .15s, color .15s, transform .1s, box-shadow .15s; font-variant-numeric: tabular-nums; }
.cp-d:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.cp-d:active { transform: scale(.93); }
.cp-d:focus-visible { outline: 3px solid var(--y); outline-offset: 1px; border-radius: 10px; z-index: 1; }
.cp-d.busy { background: #ECEDF2; color: #A0A3B1; cursor: not-allowed; background-image: repeating-linear-gradient(135deg, transparent 0 3px, rgba(21,22,28,.1) 3px 5px); text-decoration: line-through; }
.cp-d.busy:hover, .cp-d.past:hover { box-shadow: none; }
.cp-d.busy:active, .cp-d.past:active { transform: none; }
.cp-d.past { background: transparent; color: #B7BAC6; cursor: default; }
.cp-d.pick { background: var(--ok); color: #fff; }
.cp-d.prev { background: #A9DCBE; color: #14402A; }
.cp-d.edge { background: var(--ink); color: #fff; padding-bottom: 9px; }
.cp-d.edge::after { content: attr(data-edge); position: absolute; left: 0; right: 0; bottom: 4px; font-size: 9.5px; font-weight: 800; color: var(--y); line-height: 1; }
.cp-blank { height: 44px; }
.pg-car .fl-legend { margin-top: 16px; }

/* what's included: ruled rows with drawn marks, and the firm's own tow truck on a plate */
.cp-inc h2 { margin-bottom: 18px; }
.cp-inc-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.cp-inc-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.cp-inc-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cp-inc-list b { font-size: 17px; letter-spacing: -.01em; }
.cp-inc-list p { margin: 3px 0 0; color: var(--muted); font-size: 15.5px; }
.cp-ii { width: 40px; height: 40px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; background: #FFF3C9; border-radius: 12px; padding: 4px; }
.cp-truck { margin: 0; background: var(--band); border-radius: var(--r-lg); padding: 10px 10px 16px; }
.cp-truck img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }
.cp-truck figcaption { padding: 12px 8px 0; font-size: 14.5px; color: #3D4050; }
.cp-req { margin: 22px 0 0; font-size: 15.5px; font-weight: 600; }

/* the receipt: the price for the chosen days, pinned beside the page */
.cp-side { position: sticky; top: 16px; }
.cp-rc { border: 1.5px solid var(--ink); border-radius: var(--r-lg); padding: 22px 22px 20px; background: #fff; box-shadow: 0 18px 44px rgba(21,22,28,.08); }
.cp-rc h2 { font-size: 22px; letter-spacing: -.02em; line-height: 1.2; }
.cp-rc h2::before { width: 40px; height: 5px; margin-bottom: 14px; }
.cp-rc-f { display: grid; grid-template-columns: 1fr 1fr; margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.cp-rf { display: flex; flex-direction: column; padding: 9px 12px; position: relative; cursor: pointer; min-width: 0; transition: background .18s; }
.cp-rf:nth-child(odd) { border-right: 1px solid var(--line); }
.cp-rf:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.cp-rf:hover { background: var(--band); }
.cp-rf:focus-within { background: var(--band); box-shadow: inset 0 0 0 2px var(--ink); }
.cp-rf > span { font-size: 12px; font-weight: 700; color: var(--muted); }
.cp-rf select { border: 0; background: transparent; padding: 0; font-weight: 700; font-size: 14.5px; outline: none; appearance: none; cursor: pointer; width: 100%; text-overflow: ellipsis; }
.cp-rv { font-size: 15px; white-space: nowrap; }
.cp-rf-d input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.cp-rf-d input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.cp-rc-st { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-weight: 700; font-size: 14.5px; }
.cp-rc-st.no { color: #9A3B12; }
.cp-rcpt { width: 100%; border-collapse: collapse; margin-top: 10px; font-variant-numeric: tabular-nums; }
.cp-rcpt th, .cp-rcpt td { padding: 9px 0; border-bottom: 1px dashed #CFD1DC; font-size: 15px; vertical-align: baseline; }
.cp-rcpt th { text-align: left; font-weight: 600; color: #3D4050; }
.cp-rcpt th small, .cp-rcpt td small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.cp-rcpt td { text-align: right; font-weight: 700; white-space: nowrap; }
.cp-rcpt tr.sum th, .cp-rcpt tr.sum td { border-bottom: 0; border-top: 2px solid var(--ink); padding-top: 12px; }
.cp-rcpt tr.sum th { font-size: 17px; font-weight: 800; color: var(--ink); }
.cp-rcpt tr.sum td { font-size: 28px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.cp-rcpt tr.dep th, .cp-rcpt tr.dep td { border-bottom: 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.cp-rc-acts { display: grid; gap: 8px; margin-top: 14px; }
.cp-rc-acts .btn-go { text-align: center; text-decoration: none; padding: 16px; }
.cp-rc-call { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cp-tel2 { display: inline-flex; justify-content: center; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 15.5px; padding: 14px 12px; border-radius: 999px;
  background: var(--ink); color: #fff; transition: background .2s, box-shadow .2s, transform .12s; }
.cp-tel2:hover { background: #2B2D37; box-shadow: 0 0 0 5px rgba(21,22,28,.12); }
.cp-tel2:active { transform: scale(.97); }
.cp-rc-fine { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); }

/* other cars: a strip */
.cp-more { max-width: calc(var(--wrap) + 32px); margin: 0 auto; padding: 88px 16px 0; }
.cp-more-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; }
.cp-others { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; margin: 0 -16px; padding: 4px 16px 18px; scrollbar-width: thin; }
.cp-oc { flex: 0 0 248px; scroll-snap-align: start; display: grid; gap: 3px; align-content: start; text-decoration: none; padding: 0 0 14px; border-bottom: 2px solid var(--ink); transition: transform .2s var(--ease); }
.cp-oc-ph { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--r-md); background: radial-gradient(120% 90% at 50% 100%, #FFFFFF 0%, #F2F3F7 55%, #E6E8EF 100%); margin-bottom: 10px; overflow: hidden; }
.cp-oc-ph img { position: absolute; left: 10px; top: 16px; width: calc(100% - 20px); height: calc(100% - 22px); object-fit: contain; transition: transform .3s var(--ease); }
.cp-oc:hover .cp-oc-ph img { transform: translateX(5px); }
.cp-oc:hover .cp-oc-n { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.cp-oc:active { transform: scale(.98); }
.cp-oc:focus-visible { outline-offset: 4px; border-radius: 18px; }
.cp-oc-n { font-weight: 800; font-size: 17px; letter-spacing: -.02em; line-height: 1.25; }
.cp-oc-n small { color: var(--muted); font-weight: 600; font-size: 14px; letter-spacing: 0; }
.cp-oc-s { font-size: 14px; color: var(--muted); }
.cp-oc-p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.cp-oc-p b { color: var(--ink); font-size: 19px; letter-spacing: -.02em; }
.cp-oc-a { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; }

.cp-dock { display: none; }

@media (max-width: 1100px) {
  .cp-body { grid-template-columns: minmax(0, 1fr) 330px; gap: 32px; }
  .cp-strip { height: 400px; }
  .cp-two { grid-template-columns: 1fr; gap: 36px; }
  .cp-months { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .cp-band-in { grid-template-columns: 1fr; padding: 112px 24px 0; }
  .cp-body { grid-template-columns: minmax(0, 1fr); }
  .cp-side { position: static; }
  .cp-months { grid-template-columns: 1fr 1fr; }
  .cp-stage img { width: 100%; margin-left: 0; } /* one column: the 104% car ran 1–3 px past the screen at 768–860 */
}
@media (max-width: 720px) {
  .cp-band { margin: 10px 10px 0; }
  .cp-band::before { inset: 0 0 30px; border-radius: 28px 28px 50% 50% / 28px 28px 44px 44px; }
  .cp-band-in { padding: 96px 14px 0; gap: 0; display: flex; flex-direction: column; align-items: stretch; }
  .cp-hd { display: contents; }
  .cp-crumb { order: 1; } .cp-band h1 { order: 2; } .cp-stage { order: 3; } .cp-lede { order: 4; } .cp-hp { order: 5; } .cp-cta { order: 6; } .cp-note { order: 7; }
  .cp-crumb { margin-bottom: 10px; font-size: 13.5px; }
  .cp-band h1 { font-size: clamp(28px, 8.2vw, 40px); line-height: 1.12; }
  .cp-lede { font-size: 14px; margin-top: 10px; }
  .cp-hp { margin-top: 16px; width: 100%; }
  .cp-hp div { flex: 1; padding-right: 12px; }
  .cp-hp div + div { padding-left: 14px; }
  .cp-hp dd b { font-size: 25px; }
  .cp-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
  .cp-cta .btn-go { grid-column: 1 / -1; justify-content: center; padding: 15px; }
  .cp-tel { justify-content: center; padding: 13px 10px; font-size: 15px; }
  .cp-tel .t-long { display: none; }
  .cp-note { font-size: 13.5px; }
  .cp-stage { margin: 8px 6px 0; align-self: stretch; }
  .cp-stage img { max-height: 220px; width: 100%; margin-left: 0; }
  .cp-floor { margin-top: -22px; height: 22px; }
  .cp-band::after { content: ""; display: block; height: 88px; } /* clears the slab curve (30px inset + 44px radius): the last line was cut */

  .cp-body { padding-top: 44px; gap: 0; }
  .cp-main { display: contents; }
  .cp-gal { order: 1; } .cp-facts { order: 2; } .cp-cal { order: 3; } .cp-side { order: 4; } .cp-inc { order: 5; }
  .cp-sec + .cp-sec, .cp-inc { margin-top: 56px; }
  .cp-sec + .cp-sec { margin-top: 56px; }
  .cp-strip { height: 340px; gap: 8px; margin: 0 -16px; padding: 0 16px; scroll-padding: 0 16px; border-radius: 0; }
  .cp-slide { max-width: calc(100vw - 64px); }
  .cp-galbar { flex-wrap: wrap; }
  .cp-gmap { width: 100%; margin: 6px 0 0; order: 4; }
  .cp-gm { flex: 1; width: auto; }
  .cp-two { gap: 40px; }
  .cp-months { grid-template-columns: 1fr; gap: 26px; }
  .cp-d, .cp-blank { height: 42px; }
  .cp-calbar { flex-wrap: wrap; }
  .cp-calmsg { width: 100%; margin: 6px 0 0; order: 3; }
  .cp-inc-in { grid-template-columns: 1fr; gap: 18px; }
  .cp-side { margin-top: 40px; }
  .cp-rc { padding: 18px 16px; border-radius: 22px; }
  .cp-more { padding-top: 64px; }
  .cp-oc { flex-basis: 70%; }
  .cp-dock { display: block; position: fixed; z-index: 20; left: 8px; right: 8px; bottom: 8px; background: var(--ink); color: #fff; border-radius: 22px; padding: 10px; box-shadow: 0 14px 40px rgba(0,0,0,.35);
    transform: translateY(calc(100% + 16px)); visibility: hidden; transition: transform .25s var(--ease), visibility 0s .25s; }
  .cp-dock.up { transform: none; visibility: visible; transition: transform .25s var(--ease), visibility 0s; }
  .cp-dock-t { margin: 0 4px 8px; font-size: 13.5px; color: rgba(255,255,255,.75); }
  .cp-dock-t b { color: #fff; }
  .cp-dock-b { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 6px; }
  .cp-dock .btn-go { text-decoration: none; text-align: center; padding: 13px 6px; font-size: 15px; grid-column: auto; margin-top: 0; }
  .cp-dock .cp-tel2 { background: #fff; color: var(--ink); padding: 12px 6px; font-size: 14.5px; gap: 6px; }
  .cp-dock .cp-tel2 .i { width: 16px; height: 16px; }
  .pg-car .foot { padding-bottom: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  .cp-strip { scroll-behavior: auto; }
}

/* the quiet count of cars busy on the chosen days (they are not listed) */
.fl-hidden { margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.fl-band .crumb { justify-content: center; }

/* Caroserie as a dropdown (M2) */
.fl-drop { cursor: pointer; }
.fl-gl { font-size: 12px; font-weight: 700; color: var(--muted); margin-right: 2px; }
.fl-drop select { appearance: none; -webkit-appearance: none; cursor: pointer; border: 0; background: var(--band) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2315161C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  border-radius: 12px; padding: 11px 34px 11px 14px; font-weight: 700; font-size: 14.5px; min-width: 128px; transition: background-color .2s; }
.fl-drop select:hover { background-color: #ECEEF6; }
.fl-drop select:focus-visible { outline: 3px solid var(--y); outline-offset: 2px; }
.fl-list .cc-grid { margin-top: 18px; }
