/* ============================================================================
   Meron'z: שפת העיצוב של הדף. המנוע (scrollcraft.css) נשאר ללא שינוי,
   וכאן רק דורסים את הטוקנים שלו ומעצבים את הסימון של הדף.
   ========================================================================== */

@font-face { font-family: "Rubik"; src: url("../fonts/Rubik-ExtraBold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("../fonts/Rubik-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Heebo"; src: url("../fonts/Heebo-Thin.woff2") format("woff2"); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: "Heebo"; src: url("../fonts/Heebo-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --sc-canvas: #0a0b0d;
  --sc-surface: #14161a;
  --sc-ink: #f6f7f9;
  --sc-ink-soft: #cdd2d9;
  --sc-accent: #e8ebef;
  --sc-accent-ink: #0a0b0d;
  --sc-font-display: "Rubik", "Arial Hebrew", Arial, sans-serif;
  --sc-font-text: "Heebo", "Arial Hebrew", Arial, sans-serif;
  --sc-track-normal: 0.008em;

  --bar-h: 76px;
  --ease: cubic-bezier(0.22, 0.9, 0.24, 1);
  --light: #d7e0ea;
  --line: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(255, 255, 255, 0.34);
  --r: 16px;
  --text-weight: 100;
  --vh: 100vh;
  --car-w: min(52vw, calc((100vh - 340px) * 1.45), 1040px);
  /* גודל הרכב בתחנה. המקום שלו בסצנה גדול מעט יותר, כדי שגם הרכב הרחב ביותר ייכנס בלי לגעת בתוויות. */
  --why-car: min(42vw, calc((var(--vh) - 290px) * 1.3), 900px);
  /* ליד הטופס הרכב באותו גודל: בדרך לשם הוא לא קטן. */
  --bay-w: var(--why-car);
  --why-pin: max(14vh, calc(30vh - 100px));
  /* המרווח שבו קו האור יושב מתחת לגלגלים של הרכב החונה. */
  --bay-floor: calc(var(--bay-w) * 0.13);
}
@supports (height: 100svh) {
  :root { --vh: 100svh; --car-w: min(52vw, calc((100svh - 340px) * 1.45), 1040px); }
}

html { font-size: calc(100% * var(--a11y-scale, 1)); scroll-padding-top: calc(var(--bar-h) + 12px); }
body { font-weight: var(--text-weight); line-height: 1.6; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--sc-font-display); font-weight: 800; margin: 0; line-height: 1.12; text-wrap: balance; letter-spacing: 0; }
p { margin: 0; }
strong { font-family: var(--sc-font-display); font-weight: 700; }
a { color: inherit; }
img { max-width: 100%; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; top: 10px; right: 10px; z-index: 90; padding: 12px 18px; border-radius: 10px; background: #fff; color: #0a0b0d; font-family: var(--sc-font-display); font-weight: 700; transform: translateY(-200%); transition: transform 0.18s var(--sc-ease-out); }
.skip:focus { transform: none; }
.linklike { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }

/* ---------------------------------------------------------------- glass -- */
.glass {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 18px 40px -20px rgba(0, 0, 0, 0.8);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(20, 22, 26, 0.94); }
}

/* -------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px;
  border-radius: 12px; border: 1px solid transparent;
  font-family: var(--sc-font-display); font-weight: 700; font-size: 1rem; line-height: 1.2;
  white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: transform 0.14s var(--sc-ease-out), background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { cursor: default; opacity: 0.7; }

/* הכרום של הלוגו, כחומר ולא כצבע: הקו באמצע הוא האופק שמשתקף במתכת. */
.btn--chrome {
  position: relative; overflow: hidden;
  color: #0a0b0d;
  background: linear-gradient(180deg, #fdfdfe 0%, #dde0e5 47%, #b4bac2 52%, #eceef1 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(0, 0, 0, 0.2), 0 12px 26px -12px rgba(0, 0, 0, 0.9);
}
.btn--chrome::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; width: 42%; right: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  transform: skewX(-18deg);
  transition: transform 0.55s var(--ease);
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .btn--chrome:hover { box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0, 0, 0, 0.2), 0 16px 30px -12px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.5); }
  .btn--chrome:hover::after { transform: translateX(-380%) skewX(-18deg); }
}
.btn--ghost { color: var(--sc-ink); background: rgba(255, 255, 255, 0.06); border-color: var(--line-strong); }
.btn--plain { color: var(--sc-ink); background: rgba(255, 255, 255, 0.1); border-color: var(--line-strong); min-height: 46px; padding: 0 20px; }
@media (hover: hover) and (pointer: fine) {
  .btn--ghost:hover, .btn--plain:hover { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.6); }
}

/* ------------------------------------------------------------------ bar -- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--bar-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--sc-gutter);
  background: linear-gradient(to bottom, rgba(10, 11, 13, 0.82), rgba(10, 11, 13, 0));
  pointer-events: none;
}
.bar > * { pointer-events: auto; }
.bar::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(10, 11, 13, 0.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: opacity 0.2s ease;
}
html:not([data-ride="top"]) .bar::before { opacity: 1; }
.bar__logo { display: flex; align-items: center; min-height: 44px; border-radius: 6px; transition: opacity 0.18s ease; }
.bar__logo img { display: block; height: clamp(44px, 5.4vh, 56px); width: auto; }
.bar__tel {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; white-space: nowrap;
  border-radius: 12px; border: 1px solid var(--line);
  background: rgba(16, 18, 22, 0.5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-family: var(--sc-font-display); font-weight: 700; font-size: 0.95rem; text-decoration: none;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
@media (hover: hover) and (pointer: fine) {
  .bar__tel:hover { border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.12); }
  .bar__logo:hover { opacity: 0.8; }
}

/* ---------------------------------------------------- world: אולם התצוגה -- */
main { position: relative; z-index: 2; overflow-x: clip; }
/* האולם נשאר במקום בזמן שהרכב נוסע, כדי שהזכוכית תטשטש רקע אמיתי. בלי נסיעה הוא גולל עם ה-Hero. */
.world { position: fixed; inset: 0 0 auto 0; height: var(--stage-h, 100vh); z-index: 0; overflow: clip; pointer-events: none; }
html[data-ride="off"] .world { position: absolute; }
.world__ceiling {
  position: absolute; left: -2%; right: -2%; top: 0; height: 66%;
  background: url("../assets/brand/ceiling.webp") center bottom / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, #000 45%, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, #000 45%, #000 70%, transparent 100%);
  filter: brightness(0.98) contrast(1.08);
}
.world__ceiling::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10, 11, 13, 0.64) 0%, rgba(10, 11, 13, 0.52) 26%, rgba(10, 11, 13, 0.24) 46%, rgba(10, 11, 13, 0.06) 66%, transparent 80%);
}
.world__glow {
  position: absolute; left: 50%; bottom: 13%; width: min(112vw, 1680px); height: 72%; margin-left: calc(min(112vw, 1680px) / -2);
  color: var(--light);
  background: radial-gradient(closest-side, currentColor 0%, color-mix(in srgb, currentColor 58%, transparent) 36%, color-mix(in srgb, currentColor 20%, transparent) 68%, transparent 100%);
  /* אור הבמה קיים רק במסך הפתיחה. בגלילה נשאר רק האור שעל הרצפה, מתחת לגלגלים. */
  opacity: calc(0.3 * var(--hero-glow, 1));
  transition: color 0.9s ease;
}
.world__floor {
  position: absolute; left: -2%; right: -2%; bottom: 0; height: 44%;
  background: url("../assets/brand/floor.webp") center top / cover no-repeat;
  -webkit-mask-image: linear-gradient(to top, #000 62%, transparent);
  mask-image: linear-gradient(to top, #000 62%, transparent);
}
.world::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; background: linear-gradient(to top, var(--sc-canvas), transparent); pointer-events: none; }
/* בגלילה האולם מתעמעם מעט: הרכב והחלוניות נשארים הדבר הבהיר על המסך. */
.world::before { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--sc-canvas); opacity: calc((1 - var(--hero-glow, 1)) * var(--world-dim, 0.32)); pointer-events: none; }
.world__horizon {
  position: absolute; left: 0; right: 0; bottom: 37%; height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.28) 30%, rgba(255, 255, 255, 0.28) 70%, transparent);
  opacity: var(--hero-glow, 1);
}
.is-ready ~ .world__ceiling { animation: none; }
@media (prefers-reduced-motion: no-preference) {
  .world__ceiling { animation: lightsOn 1.5s ease-out both; }
  .world__glow { animation: glowOn 1.8s ease-out backwards; }
}
@keyframes lightsOn { from { opacity: 0.25; } to { opacity: 1; } }
@keyframes glowOn { from { opacity: 0; } to { opacity: 0.3; } }

/* ----------------------------------------------------------------- hero -- */
.stage {
  --hero-fade: 1;
  /* קו הרצפה של הרכב המרכזי. */
  --car-floor: clamp(16px, 3.6vh, 40px);
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(calc(var(--car-w) * 0.68), 1fr) auto auto;
  padding: var(--bar-h) 0 14px;
}
.stage__copy { text-align: center; padding-inline: var(--sc-gutter); opacity: var(--hero-fade); }
.stage__copy h1 { font-size: clamp(2rem, 1.1rem + 2.7vw, 3.9rem); text-shadow: 0 2px 26px rgba(0, 0, 0, 0.65); }
.lede { margin: 0.5em auto 0; max-width: 40em; font-size: clamp(1.1rem, 1.02rem + 0.42vw, 1.42rem); line-height: 1.5; color: var(--sc-ink); text-shadow: 0 1px 14px rgba(0, 0, 0, 0.75); }

.showroom { position: relative; min-height: 0; touch-action: pan-y; }
.track { position: absolute; inset: 0; }

.car {
  position: absolute; left: 50%; bottom: var(--car-floor);
  width: calc(var(--car-w) * var(--k));
  margin-left: calc(var(--car-w) * var(--k) / -2);
  padding: 0; border: 0; background: none; cursor: pointer; color: inherit;
  transform-origin: 50% 100%;
  transition: transform 0.85s var(--ease), opacity 0.6s ease, filter 0.6s ease;
}
.car[data-pos="0"] { z-index: 5; }
.car[data-pos="1"], .car[data-pos="-1"] { z-index: 3; opacity: 0.92; filter: brightness(0.42) saturate(0.85) blur(1.4px); }
.car[data-pos="1"] { transform: translate3d(calc(var(--car-w) * -0.84), -5%, 0) scale(0.58); }
.car[data-pos="-1"] { transform: translate3d(calc(var(--car-w) * 0.84), -5%, 0) scale(0.58); }
.car[data-pos="2"], .car[data-pos="-2"] { z-index: 1; opacity: 0; pointer-events: none; }
.car[data-pos="2"] { transform: translate3d(calc(var(--car-w) * -1.3), -9%, 0) scale(0.42); }
.car[data-pos="-2"] { transform: translate3d(calc(var(--car-w) * 1.3), -9%, 0) scale(0.42); }
.car:not([data-pos="0"]) .carframe { opacity: var(--hero-fade); }
.stage.is-faded .car, .stage.is-faded .arrow { pointer-events: none; }
.car:focus-visible { outline-offset: 10px; border-radius: 14px; }

.carframe { display: block; position: relative; width: 100%; aspect-ratio: var(--ar); }
.carframe__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.carframe__mirror {
  position: absolute; left: 0; top: 99%; width: 100%; height: 100%; max-width: none;
  transform: scaleY(-1); opacity: 0.4; filter: blur(1.1px); pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 32%);
  mask-image: linear-gradient(to top, #000 0%, transparent 32%);
}
.carframe__shadow { position: absolute; left: 2%; right: 2%; bottom: -5%; height: 15%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.6) 55%, transparent); pointer-events: none; }
.carframe__shadow--traced { left: 0; right: 0; top: 0; bottom: auto; width: 100%; height: 116%; background-color: transparent; background-position: center; background-size: 100% 100%; background-repeat: no-repeat; opacity: 0.94; }
/* כתם האור שעל הרצפה. הוא מתחיל בקו תחתית הגלגלים (תחתית המסגרת) ויורד ממנו, ולעולם לא עולה מעליו. */
.carframe__light {
  position: absolute; left: -16%; right: -16%; top: 100%; height: 30%;
  background: radial-gradient(50% 92% at 50% 6%, color-mix(in srgb, var(--light) 44%, transparent) 0%, color-mix(in srgb, var(--light) 20%, transparent) 46%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 16%);
  opacity: var(--ride-light, 0); pointer-events: none;
}
.carframe__sheen {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(36% 46% at var(--mx, 50%) var(--my, 40%), rgba(255, 255, 255, 0.72), transparent 74%);
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  mix-blend-mode: overlay; opacity: 0; transition: opacity 0.24s ease;
}
@media (hover: hover) and (pointer: fine) {
  .car[data-pos="0"]:hover { transform: translate3d(0, -6px, 0) scale(1.012); }
  .car[data-pos="0"]:hover .carframe__sheen { opacity: 1; }
  .car[data-pos="1"]:hover, .car[data-pos="-1"]:hover { filter: brightness(0.82) saturate(1) blur(0.4px); }
}
.car:active .carframe { transform: scale(0.99); }

html[data-ride="riding"] .car[data-pos="0"] .carframe,
html[data-ride="docked"] .car[data-pos="0"] .carframe { visibility: hidden; }

/* ------------------------------------------------------- bubbles & arrows -- */
.chips { position: absolute; inset: 0; margin: 0; pointer-events: none; opacity: var(--hero-fade); }
.chip {
  position: absolute; z-index: 7; margin: 0; padding: 10px 16px; min-width: 118px; border-radius: 14px;
  background: linear-gradient(140deg, rgba(38, 41, 47, 0.62), rgba(14, 15, 18, 0.62));
  transition: opacity 0.17s ease, transform 0.17s ease, border-color 0.18s ease;
  pointer-events: auto;
}
.chip dt { font-size: 1rem; line-height: 1.25; color: var(--sc-ink); }
.chip dd { margin: 2px 0 0; font-family: var(--sc-font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.25; white-space: nowrap; font-variant-numeric: tabular-nums; }
#chip-price { white-space: nowrap; }
.lead__trap { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.price-from { font-size: 0.78em; }
/* כל בועה מעוגנת בקצה הפנימי שלה, הקרוב לרכב, במקום שבו ישבה בועה ברוחב המינימלי.
   ערך ארוך ("חשמלי 4MATIC 272") מרחיב אותה החוצה, ולא אל תוך הרכב. */
.chip--a { left: calc(50% + var(--car-w) * 0.7 - 118px); top: 8%; }
.chip--b { right: calc(50% + var(--car-w) * 0.7 - 118px); top: 8%; }
.chip--c { left: calc(50% + var(--car-w) * 0.74 - 118px); bottom: 30%; }
.chip--d { right: calc(50% + var(--car-w) * 0.74 - 118px); bottom: 30%; }
.chips.is-swapping .chip, .dock__id.is-swapping > * { opacity: 0; transform: translateY(6px); }
.chip:nth-child(2) { transition-delay: 30ms; }
.chip:nth-child(3) { transition-delay: 60ms; }
.chip:nth-child(4) { transition-delay: 90ms; }
@media (hover: hover) and (pointer: fine) { .chip:hover { border-color: var(--line-strong); } }

.arrow {
  position: absolute; top: 50%; z-index: 8; width: 58px; height: 58px; margin-top: -29px;
  display: grid; place-items: center; padding: 0; border-radius: 50%; color: var(--sc-ink); cursor: pointer;
  background: rgba(16, 18, 22, 0.55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 10px 24px -12px rgba(0, 0, 0, 0.9);
  transition: transform 0.16s var(--sc-ease-out), background-color 0.18s ease, border-color 0.18s ease;
}
.showroom > .arrow { opacity: var(--hero-fade); }
.arrow--next { left: clamp(12px, 2.4vw, 46px); }
.arrow--prev { right: clamp(12px, 2.4vw, 46px); }
.arrow svg { transition: transform 0.18s var(--sc-ease-out); }
@media (hover: hover) and (pointer: fine) {
  .arrow:hover { transform: scale(1.07); background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.72); }
  .arrow--next:hover svg { transform: translateX(-3px); }
  .arrow--prev:hover svg { transform: translateX(3px); }
}
.arrow:active { transform: scale(0.94); }

/* ----------------------------------------------------------------- dock -- */
.dock {
  position: relative; z-index: 9;
  width: min(1120px, calc(100% - 2 * clamp(84px, 7vw, 116px)));
  margin-inline: auto; padding: 12px 18px;
  border-radius: 18px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px 20px;
  background: linear-gradient(140deg, rgba(30, 33, 38, 0.82), rgba(12, 13, 16, 0.88));
  opacity: var(--hero-fade);
}
.dock__id > * { transition: opacity 0.17s ease, transform 0.17s ease; }
.dock__cat { font-size: 1.02rem; line-height: 1.3; color: var(--sc-ink); }
/* מוצמד ב-JS (slider.js) כשהקטגוריה והשם יחד לא נכנסים ברוחב הכרטיסייה, אותו טיפול כמו בטלפונים הצרים ביותר למטה. */
.dock__cat.is-tight { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.dock__name { font-size: clamp(1.25rem, 1.05rem + 0.55vw, 1.6rem); line-height: 1.2; white-space: nowrap; }
.dock__index { display: flex; align-items: center; gap: 2px; }
.tab {
  position: relative; min-height: 44px; min-width: 44px; padding: 0 10px; border: 0; background: none; cursor: pointer;
  color: #e3e6ea; font-family: var(--sc-font-display); font-weight: 700; font-size: 0.9rem;
  transition: color 0.16s ease;
}
.tab::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 7px; height: 2px; border-radius: 2px;
  background: var(--sc-ink); transform: scaleX(0); transition: transform 0.24s var(--sc-ease-out);
}
.tab[aria-current="true"] { color: var(--sc-ink); }
.tab[aria-current="true"]::after { transform: none; }
@media (hover: hover) and (pointer: fine) { .tab:hover { color: var(--sc-ink); } .tab:hover::after { transform: scaleX(0.5); } }
.dock__cta { display: flex; gap: 10px; }

/* ---------------------------------------------------------------- hints -- */
/* רמז ללחיצה על הרכב, בטלפון בלבד: עיגול עם יד שלוחצת וגלים בכל לחיצה, על קו הרצפה מתחת לרכב.
   אחרי שחלונית רכב נפתחה פעם אחת הוא נעלם. */
.tap-hint { display: none; }
@media (max-width: 700px), (max-height: 560px) and (min-width: 560px) and (max-width: 1180px) and (pointer: coarse) {
  .tap-hint {
    --tap: 38px;
    position: absolute; left: 50%; bottom: var(--car-floor); z-index: 6;
    width: var(--tap); height: var(--tap); margin: 0 0 calc(var(--tap) * -0.5 + 4px) calc(var(--tap) * -0.5);
    display: grid; place-items: center; border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle at 50% 36%, #24272d 0%, #131518 56%, #08090b 100%);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 0 14px -2px rgba(222, 230, 240, 0.36), 0 10px 22px -10px rgba(0, 0, 0, 0.95);
    opacity: var(--hero-fade); transition: opacity 0.4s ease;
  }
  .tap-hint svg { width: 56%; height: 56%; fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
  .tap-hint::before, .tap-hint::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.65); opacity: 0; pointer-events: none; }
  html.car-seen .tap-hint, html[data-ride="riding"] .tap-hint, html[data-ride="docked"] .tap-hint { opacity: 0; }
}

/* רמז לגלילה: עכבר עם גלגלת זזה במחשב, וחץ כפול במגע. לחיצה עליו מביאה ל"למה לבחור בנו?". */
.scroll-hint {
  position: relative; z-index: 9; justify-self: center;
  display: grid; place-items: center; width: 44px; height: 44px; margin: 0 0 -14px; border-radius: 50%;
  color: var(--sc-ink); opacity: var(--hero-fade);
}
.scroll-hint svg { grid-area: 1 / 1; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.scroll-hint__mouse { width: 18px; height: 27px; stroke-width: 1.3; }
.scroll-hint__dot { stroke-width: 1.8; }
.scroll-hint__swipe { display: none; width: 24px; height: 24px; stroke-width: 1.5; }
@media (pointer: coarse) {
  .scroll-hint__mouse { display: none; }
  .scroll-hint__swipe { display: block; }
}
.stage.is-faded .scroll-hint { pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .tap-hint svg { animation: tap-press 1.8s var(--ease) infinite; }
  .tap-hint::before { animation: tap-ring 1.8s ease-out infinite; }
  .tap-hint::after { animation: tap-ring 1.8s ease-out 0.24s infinite; }
  .scroll-hint__dot { animation: scroll-dot 1.9s var(--ease) infinite; }
  .scroll-hint__swipe { animation: scroll-swipe 1.9s ease-in-out infinite; }
}
/* היד יורדת, לוחצת וחוזרת, ובכל לחיצה יוצאים ממנה גלים. */
@keyframes tap-press { 0%, 100% { transform: translateY(-3px); } 28% { transform: translateY(2px) scale(0.86); } 44% { transform: translateY(-1px); } }
@keyframes tap-ring { 0%, 24% { opacity: 0; transform: scale(1); } 30% { opacity: 0.8; } 85%, 100% { opacity: 0; transform: scale(1.9); } }
@keyframes scroll-dot { 0% { transform: translateY(-1px); opacity: 0; } 18% { opacity: 1; } 64% { transform: translateY(6px); opacity: 0; } 100% { transform: translateY(6px); opacity: 0; } }
@keyframes scroll-swipe { 0%, 100% { transform: translateY(-3px); opacity: 0.55; } 50% { transform: translateY(3px); opacity: 1; } }

.noscript-car { width: min(80vw, 800px); height: auto; margin: 24px auto; }
.noscript-note { text-align: center; padding: 12px var(--sc-gutter); }

/* --------------------------------------------------------------- the ride -- */
.ride { position: fixed; left: 0; top: 0; z-index: 1; visibility: hidden; pointer-events: none; transform-origin: 0 0; will-change: transform; }
html[data-ride="riding"] .ride { visibility: visible; }

/* ------------------------------------------------- סצנות: הרכב עומד והכול סביבו -- */
.scene { position: sticky; top: 0; height: var(--vh); box-sizing: border-box; }
html[data-ride="off"] .scene { position: relative; height: auto; }

/* המקום של הרכב בסצנה. הרכב עצמו מצויר מתחת ל-main, ובלי נסיעה התמונה מוצגת כאן. */
.slot { position: relative; container-type: size; width: calc(var(--slot-car) * 1.09); height: calc(var(--slot-car) * 0.72); }
.slot__frame { display: flex; align-items: center; justify-content: center; height: 100%; visibility: hidden; }
.slot__frame .carframe { flex: none; width: calc(90% * var(--k)); width: calc(min(var(--slot-cap, 9999px), 91.7cqw, 138.8cqh) * var(--k)); --ride-light: 0.8; }
html[data-ride="off"] .slot__frame { visibility: visible; }

/* זכוכית: שקיפות, טשטוש עדין, מסגרת דקה והשתקפות אור אחת בפינה. */
.lux {
  position: relative; border-radius: 18px;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 22%, transparent 42%),
    linear-gradient(150deg, rgba(34, 37, 43, 0.58), rgba(12, 13, 16, 0.7));
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.17);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 22px 44px -26px rgba(0, 0, 0, 0.95);
  transform: perspective(900px) rotateX(calc(var(--tilt-x, 0) * 1deg)) rotateY(calc(var(--tilt-y, 0) * 1deg)) translate3d(0, var(--lift, 0px), 0);
  transition: transform 0.3s var(--ease), border-color 0.24s ease, box-shadow 0.3s ease;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .lux { background: rgba(20, 22, 26, 0.94); }
}
/* האור שעוקב אחרי העכבר */
.lux::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(240px circle at var(--px, 50%) var(--py, 50%), rgba(255, 255, 255, 0.17), transparent 72%);
  opacity: 0; transition: opacity 0.28s ease;
}
@media (hover: hover) and (pointer: fine) {
  .lux:hover {
    --lift: -5px; border-color: rgba(255, 255, 255, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 28px 50px -24px rgba(0, 0, 0, 0.95), 0 0 34px -8px color-mix(in srgb, var(--light) 55%, transparent);
  }
  .lux:hover::after { opacity: 1; }
}

/* -------------------------------------------------------- למה לבחור בנו? -- */
/* הסצנה מתחילה מעט לפני סוף מסך הפתיחה: זה מקצר את הגלילה, ועד שהיא נחשפת היא שקופה ולא תופסת לחיצות. */
.wall { position: relative; height: calc(var(--vh) + var(--why-pin)); margin-top: calc(var(--vh) * -0.35); }
.wall:not(.is-in) { pointer-events: none; }
html[data-ride="off"] .wall { height: auto; margin-top: 0; padding-block: clamp(2rem, 6vh, 4rem); }
.why__scene {
  --slot-car: var(--why-car);
  --icon: clamp(62px, 5.2vw, 84px);
  --pane-gap: clamp(10px, 3.6vh, 38px);
  max-width: 1720px; margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto minmax(0, 1fr);
  column-gap: clamp(30px, 4vw, 64px);
  padding: calc(var(--bar-h) + clamp(4px, 1.4vh, 16px)) var(--sc-gutter) clamp(12px, 2.6vh, 26px);
}
/* הרכב בשורה של התוויות, כדי שמרכז הקשת יהיה גם מרכז הרשימה וההיקף יצא סימטרי. */
.why__slot { grid-column: 2; grid-row: 2; align-self: center; }
.wall__title {
  grid-column: 1; grid-row: 1; justify-self: start;
  font-size: clamp(2rem, 1.3rem + 2.1vw, 3.5rem);
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.65);
  opacity: calc(1 - var(--out, 0));
  translate: var(--title-x, 0) var(--title-y, 0);
}
.wall__title span { display: block; transition: opacity 0.6s var(--ease), translate 0.7s var(--ease); }
.wall:not(.is-in) .wall__title span { opacity: 0; translate: 0 14px; }

.arc { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; opacity: calc(1 - var(--out, 0)); }
.arc path { fill: none; stroke: url(#arc-grad); stroke-width: 1.3; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s var(--ease); }
.wall:not(.is-in) .arc path { stroke-dashoffset: 1; }

.panes {
  grid-column: 1; grid-row: 2; align-self: center; position: static;
  list-style: none; margin: 0; padding: 0; display: grid; gap: var(--pane-gap); justify-items: end;
  opacity: calc(1 - var(--out, 0));
}
/* אייקון בשמאל ותווית מיד אחריו. כל התוויות באותו רוחב, עם מקום נוח מסביב לטקסט. */
.pane {
  --d: calc(var(--i) * 110ms + 180ms);
  position: relative; width: fit-content; max-width: 100%;
  display: flex; flex-direction: row-reverse; align-items: center; gap: 12px;
  translate: var(--arc-x, 0) 0;
}
.pane__card {
  flex: none; width: var(--pane-w, auto); min-width: 0; max-width: 100%;
  padding: clamp(10px, 1.9vh, 20px) clamp(22px, 2.5vw, 42px);
  border-radius: 24px;
  transition: transform 0.3s var(--ease), border-color 0.24s ease, box-shadow 0.3s ease, opacity 0.62s var(--ease) var(--d), translate 0.74s var(--ease) var(--d);
}
.wall:not(.is-in) .pane__card { opacity: 0; translate: 44px 0; }
.pane h3 { font-weight: 700; font-size: clamp(1.2rem, 1rem + 0.5vw, 1.55rem); line-height: 1.2; }
.pane p { margin-top: 0.2em; font-size: clamp(1.04rem, 1rem + 0.2vw, 1.18rem); line-height: 1.35; color: var(--sc-ink); }
/* האייקון בתוך עיגול כהה עם מסגרת דקה, ומרכז העיגול יושב על קו הקשת. */
.pane__icon {
  flex: none; position: relative; z-index: 2; display: grid; place-items: center;
  width: var(--icon); height: var(--icon); border-radius: 50%;
  background: radial-gradient(circle at 50% 36%, #24272d 0%, #131518 56%, #08090b 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -10px 18px rgba(0, 0, 0, 0.55), 0 0 16px -2px rgba(222, 230, 240, 0.32), 0 12px 26px -12px rgba(0, 0, 0, 0.95);
  transition: scale 0.32s var(--ease), translate 0.32s var(--ease), border-color 0.24s ease, box-shadow 0.3s ease, opacity 0.5s var(--ease) calc(var(--d) + 140ms);
}
.pane__icon svg { display: block; width: 60%; height: 60%; fill: none; stroke: #fff; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.wall:not(.is-in) .pane__icon { opacity: 0; scale: 0.7; }
@media (hover: hover) and (pointer: fine) {
  .pane:hover .pane__icon {
    scale: 1.1; translate: 0 -3px; border-color: rgba(255, 255, 255, 0.85);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), inset 0 -10px 18px rgba(0, 0, 0, 0.5), 0 0 28px 0 color-mix(in srgb, var(--light) 55%, transparent), 0 20px 34px -12px rgba(0, 0, 0, 0.95);
  }
}

/* ---------------------------------------------------------------- הדלפק -- */
/* הרכב והטופס גדלים יחד עם המסך, ונכנסים ביחד בגובה אחד מתחת לסרגל, כולל כפתור השליחה.
   מתחת להם יש מרווח: גם אם גלגלת העכבר עוברת קצת את נקודת הנחיתה, הפוטר לא נכנס למסך הזה.
   המקום המדויק שלהם במסך ברגע הנחיתה נקבע ב-ride.js. */
.desk {
  position: relative; max-width: 1800px; margin-inline: auto;
  /* ride.js מחליף את הגובה הזה במדויק, כך שבנחיתה הפוטר מתחיל צעד גלגלת אחד מתחת למסך. */
  min-height: calc(var(--vh) - var(--bar-h));
  padding: clamp(8px, 1.8vh, 18px) var(--sc-gutter) clamp(14px, 2.4vh, 28px);
  display: grid; grid-template-columns: minmax(0, 660px) calc(var(--bay-w) * 1.09); justify-content: center;
  gap: clamp(24px, 3.4vw, 60px); align-items: start; align-content: start;
}
.desk__panel { order: -1; width: 100%; min-width: 0; }
.desk__panel h2 { font-size: clamp(1.9rem, min(3.7vw, 6vh), 3.7rem); }
.desk__sub { margin-top: 0.3em; font-size: clamp(1.02rem, 1rem + 0.3vw, 1.3rem); line-height: 1.4; color: var(--sc-ink); }

/* מיושר לראש ולא למרכז: גג הרכב בגובה הכותרת, וכשהטופס גדל בגלל שגיאה, הרכב החונה לא זז. */
.desk__bay { position: relative; min-width: 0; margin-top: 0; }
.bay { position: relative; display: flex; justify-content: center; align-items: flex-end; padding-bottom: var(--bay-floor); }
/* האור והטבעת נמצאים מעל הרכב הנוסע בסדר השכבות, ולכן הם מוגבלים למה שמתחת לקו הגלגלים של החניה.
   הרכב הנוסע תמיד גבוה מהקו הזה עד רגע העגינה, כך שהם לא עוברים עליו בשום שלב. */
.bay__light {
  position: absolute; left: -12%; right: -12%; top: calc(100% - var(--bay-floor)); height: calc(var(--bay-w) * 0.22); pointer-events: none;
  background: radial-gradient(50% 92% at 50% 6%, color-mix(in srgb, var(--light) 44%, transparent), color-mix(in srgb, var(--light) 18%, transparent) 48%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 16%);
  opacity: calc(0.25 + 0.75 * var(--bay-glow, 1));
}
.bay::after {
  content: ""; position: absolute; left: 50%; top: calc(100% - var(--bay-floor) - var(--bay-w) * 0.075); width: calc(var(--bay-w) * 1.08); height: calc(var(--bay-w) * 0.15);
  margin-left: calc(var(--bay-w) * -0.54); border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 0 26px rgba(255, 255, 255, 0.07), 0 0 24px rgba(255, 255, 255, 0.05);
  clip-path: inset(50% -40px -40px -40px);
  opacity: calc(0.25 + 0.75 * var(--bay-glow, 1));
  pointer-events: none;
}
.bay__spot { position: relative; z-index: 1; width: 100%; display: flex; justify-content: center; visibility: hidden; }
.bay__spot .carframe { width: calc(var(--bay-w) * var(--k)); flex: none; }
html[data-ride="docked"] .bay__spot, html[data-ride="off"] .bay__spot { visibility: visible; }
.bay__label { margin-top: 8px; text-align: center; }
.bay__cat { font-size: 1.05rem; color: var(--sc-ink); }
.bay__name { font-family: var(--sc-font-display); font-weight: 800; font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.8rem); line-height: 1.2; }

/* ----------------------------------------------------------------- form -- */
.lead { margin-top: clamp(8px, 1.7vh, 18px); padding: clamp(14px, 2.4vh, 28px) clamp(16px, 2vw, 30px); border-radius: 20px; display: grid; gap: clamp(5px, 1.2vh, 13px); background: linear-gradient(150deg, rgba(38, 41, 47, 0.58), rgba(14, 15, 18, 0.66)); }
.field label { display: block; margin-bottom: clamp(3px, 0.6vh, 6px); font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(0.92rem, 0.86rem + 0.2vw, 1.05rem); line-height: 1.3; }
.field input, .select select {
  width: 100%; min-height: clamp(44px, 5.9vh, 60px); padding: 0 16px;
  border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.34); background: rgba(255, 255, 255, 0.06);
  color: var(--sc-ink); font-family: var(--sc-font-text); font-weight: var(--text-weight); font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.25rem);
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}
.field input[dir="ltr"] { text-align: right; }
.field input:hover, .select select:hover { border-color: rgba(255, 255, 255, 0.6); }
.field input:focus, .select select:focus { outline: 2px solid var(--sc-ink); outline-offset: 2px; border-color: transparent; background: rgba(255, 255, 255, 0.1); }
.field input[aria-invalid="true"] { border-color: #ff9d9d; }
.select { position: relative; }
/* כיוון לפי תוכן השורה: בלי זה הפלוס של "CLA 250+" קופץ לתחילת השם. */
.select select { -webkit-appearance: none; appearance: none; padding-inline-end: 44px; cursor: pointer; unicode-bidi: plaintext; text-align: right; }
.select option { background: #14161a; color: #f6f7f9; font-weight: 400; unicode-bidi: plaintext; }
.select svg { position: absolute; left: 14px; top: 50%; margin-top: -9px; pointer-events: none; }
.field__error { margin-top: 6px; color: #ffc0c0; font-family: var(--sc-font-display); font-weight: 700; font-size: 0.9rem; line-height: 1.35; }
.field__error::before { content: "!"; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-inline-end: 6px; border-radius: 50%; background: #ffc0c0; color: #0a0b0d; font-size: 0.8rem; vertical-align: 1px; }
.field.is-filled .select select { animation: fieldFilled 1.2s var(--sc-ease-out) 1; }
@keyframes fieldFilled {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); border-color: #fff; }
  100% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); border-color: rgba(255, 255, 255, 0.34); }
}
.check { display: flex; gap: 10px; align-items: center; min-height: 44px; padding-block: 2px; cursor: pointer; font-size: clamp(0.98rem, 0.94rem + 0.15vw, 1.1rem); line-height: 1.32; }
.check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: #e8ebef; cursor: pointer; }
.check a { text-underline-offset: 0.2em; }
.check--locked { cursor: default; }
.lead__submit { width: 100%; min-height: clamp(48px, 6.4vh, 66px); font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.25rem); margin-top: 2px; }
.lead__status { color: #ffc0c0; font-family: var(--sc-font-display); font-weight: 700; font-size: 0.95rem; line-height: 1.4; }
.success { margin-top: clamp(8px, 1.5vh, 14px); padding: clamp(20px, 2.4vw, 32px); border-radius: 20px; text-align: center; animation: successIn 0.6s var(--sc-ease-out) both; }
.success__mark { margin: 0 auto 14px; color: var(--sc-ink); }
.success__mark path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 0.6s 0.15s var(--sc-ease-out) forwards; }
.success h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); outline: none; }
.success p { margin-top: 0.6em; font-size: 1.15rem; line-height: 1.5; }
.success__demo { padding: 10px 14px; border-radius: 10px; border: 1px dashed var(--line-strong); font-size: 1.02rem !important; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes successIn { from { opacity: 0; transform: translateY(12px) scale(0.985); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------- footer -- */
.foot { position: relative; z-index: 2; padding: clamp(28px, 4vh, 44px) var(--sc-gutter) 30px; border-top: 1px solid var(--line); background: linear-gradient(to bottom, rgba(10, 11, 13, 0), rgba(0, 0, 0, 0.45)); }
.foot__main { max-width: 1360px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 18px clamp(16px, 3vw, 48px); }
.foot__logo { width: 168px; height: auto; justify-self: start; }
.foot__contact { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px clamp(20px, 3vw, 44px); }
.foot__contact li { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; min-height: 44px; max-width: 100%; font-size: 1.08rem; }
.foot__contact a[href^="mailto:"] { overflow-wrap: anywhere; }
.foot__k { color: var(--sc-ink); }
.foot__contact a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--sc-font-text); font-weight: 400; font-size: 1.04rem; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 0.3em; text-decoration-thickness: 1px; transition: text-decoration-color 0.16s ease; }
.foot__social { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; justify-self: end; }
.foot__social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.14s var(--sc-ease-out); }
@media (hover: hover) and (pointer: fine) {
  .foot__social a:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.7); transform: translateY(-2px); }
  .foot__contact a:hover { text-decoration-color: #fff; }
}
.foot__social a:active { transform: scale(0.95); }
.foot__legal { max-width: 1360px; margin: 18px auto 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 14px; font-size: 1.02rem; text-align: center; }
.foot__legal > a { display: inline-flex; align-items: center; min-height: 44px; }
.foot__sep { color: var(--line-strong); }
.foot__copy { max-width: 1360px; margin: 6px auto 0; font-size: 0.98rem; text-align: center; }

/* ---------------------------------------------------------------- modal -- */
.modal {
  width: min(1180px, 94vw); max-width: none; height: min(780px, 90vh); max-height: none;
  padding: 0; border: 0; border-radius: 22px; background: transparent; color: inherit; overflow: visible;
}
.modal::backdrop { background: rgba(4, 5, 7, 0.76); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.modal[open] { animation: modalIn 0.38s var(--ease) both; }
.modal[open]::backdrop { animation: fadeIn 0.3s ease both; }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(0.975); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
html.modal-open { overflow: hidden; }
.modal__panel {
  position: relative; height: 100%; display: grid; grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr); overflow: hidden;
  border-radius: 22px; border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(30, 33, 38, 0.92), rgba(12, 13, 16, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), var(--sc-e3);
}
.modal__close {
  position: absolute; top: 14px; left: 14px; z-index: 5; width: 46px; height: 46px; display: grid; place-items: center; padding: 0;
  border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(16, 18, 22, 0.66); color: var(--sc-ink); cursor: pointer;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.14s var(--sc-ease-out);
}
@media (hover: hover) and (pointer: fine) { .modal__close:hover { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.72); transform: rotate(90deg); } }
.modal__close:active { transform: scale(0.94); }
.modal__info { display: flex; flex-direction: column; min-height: 0; overflow-y: auto; padding: clamp(24px, 3vw, 40px); }
.modal__cat { font-size: 1.1rem; }
.modal__name { margin-top: 2px; font-size: clamp(1.7rem, 1.25rem + 1.2vw, 2.45rem); line-height: 1.12; }
.modal__price { margin-top: 12px; font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(1.5rem, 1.25rem + 0.7vw, 2rem); font-variant-numeric: tabular-nums; }
.modal__facts { margin: 18px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
/* רכב בלי נתון כוח: המנוע תופס את כל השורה. */
.modal__fact--engine:has(+ [hidden]) { grid-column: 1 / -1; }
.modal__facts > div { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); min-width: 0; }
.modal__facts dt { font-size: 1rem; line-height: 1.25; }
.modal__facts dd { margin: 2px 0 0; font-family: var(--sc-font-display); font-weight: 700; font-size: 1rem; line-height: 1.25; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.modal__specs { list-style: none; margin: 18px 0 0; padding: 0; font-size: 1.12rem; line-height: 1.4; }
.modal__specs li { padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
.modal__specs li:last-child { border-bottom: 0; }
.modal__cta { width: 100%; min-height: 56px; font-size: 1.05rem; flex: none; }
.modal__info > .modal__cta { margin-top: auto; }

.gallery { min-width: 0; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; background: #08090b; }
.gallery__stage { position: relative; min-height: 0; overflow: hidden; touch-action: pan-y; }
.gallery__back { position: absolute; inset: -8%; width: 116%; height: 116%; max-width: none; object-fit: cover; filter: blur(28px) brightness(0.42) saturate(0.9); }
.gallery__img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; transition: opacity 0.13s ease, transform 0.32s var(--ease); }
.gallery__img.is-out { opacity: 0; transform: scale(0.985); }
.gallery__type, .gallery__count {
  position: absolute; bottom: 12px; z-index: 3; padding: 4px 12px; border-radius: 10px;
  background: rgba(10, 11, 13, 0.72); border: 1px solid var(--line);
  font-family: var(--sc-font-display); font-weight: 700; font-size: 0.85rem; line-height: 1.5;
}
.gallery__type { right: 12px; }
.gallery__count { left: 12px; direction: ltr; font-variant-numeric: tabular-nums; }
.arrow--small { width: 48px; height: 48px; margin-top: -24px; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 10px; }
.thumb { position: relative; aspect-ratio: 16 / 9; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: none; cursor: pointer; opacity: 0.66; transition: opacity 0.18s ease, border-color 0.18s ease; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb[aria-current="true"] { opacity: 1; border-color: #fff; box-shadow: 0 0 0 1px #fff; }
@media (hover: hover) and (pointer: fine) { .thumb:hover { opacity: 1; border-color: var(--line-strong); } }

/* --------------------------------------------------------------- floats -- */
.float {
  --float-gap: 20px;
  position: fixed; bottom: calc(var(--float-gap) + env(safe-area-inset-bottom, 0px)); z-index: 60;
  width: 56px; height: 56px; display: grid; place-items: center; padding: 0; border-radius: 50%; cursor: pointer; text-decoration: none;
  background: rgba(16, 18, 22, 0.8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 12px 26px -10px rgba(0, 0, 0, 0.9);
  transition: transform 0.16s var(--sc-ease-out), border-color 0.18s ease, background-color 0.18s ease;
}
.float--wa { right: 20px; color: #2fe07a; border-color: rgba(47, 224, 122, 0.6); }
.float--a11y { left: 20px; color: var(--sc-ink); }
.float:active { transform: scale(0.94); }
.float__tip {
  position: absolute; top: 50%; padding: 6px 12px; border-radius: 10px; white-space: nowrap;
  background: rgba(16, 18, 22, 0.94); border: 1px solid var(--line-strong); color: var(--sc-ink);
  font-family: var(--sc-font-display); font-weight: 700; font-size: 0.85rem;
  opacity: 0; pointer-events: none; transition: opacity 0.16s ease, transform 0.16s var(--sc-ease-out);
}
.float--wa .float__tip { right: calc(100% + 10px); transform: translate(6px, -50%); }
.float--a11y .float__tip { left: calc(100% + 10px); transform: translate(-6px, -50%); }
@media (hover: hover) and (pointer: fine) {
  .float:hover { transform: scale(1.07); }
  .float--wa:hover { border-color: #2fe07a; }
  .float--a11y:hover { border-color: #fff; }
  .float:hover .float__tip { opacity: 1; transform: translate(0, -50%); }
}
.a11y {
  position: fixed; left: 20px; bottom: calc(88px + env(safe-area-inset-bottom, 0px)); z-index: 61;
  width: min(320px, calc(100vw - 40px)); max-height: calc(100vh - 120px); overflow-y: auto; padding: 14px; border-radius: 16px;
  background: rgba(14, 15, 18, 0.96);
  font-weight: 400;
}
.a11y__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.a11y__head h2 { font-size: 1.1rem; }
.a11y__close { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--sc-ink); cursor: pointer; }
.a11y__close:hover { background: rgba(255, 255, 255, 0.12); }
.a11y__opts { display: grid; gap: 6px; }
.a11y__opt {
  display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); color: var(--sc-ink);
  font-family: var(--sc-font-text); font-weight: 400; font-size: 1rem; text-align: right; cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}
.a11y__opt:hover { border-color: rgba(255, 255, 255, 0.6); }
.a11y__opt[aria-pressed="true"] { background: #fff; color: #0a0b0d; border-color: #fff; font-weight: 400; }
.a11y__opt[aria-pressed="true"]::before { content: "✓"; margin-inline-end: 8px; font-family: var(--sc-font-display); font-weight: 700; }
.a11y__opt > span:first-child { flex: 1; }
.a11y__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.a11y__foot > * { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; }
.a11y__reset { background: none; border: 0; padding: 0; color: inherit; font-family: var(--sc-font-text); font-weight: 400; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }

/* --------------------------------------------------------------- cookie -- */
.cookie {
  position: fixed; z-index: 70; left: 50%; bottom: 16px; transform: translateX(-50%);
  width: min(900px, calc(100vw - 180px)); padding: 14px 20px; border-radius: 16px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 20px; align-items: center;
  background: rgba(14, 15, 18, 0.95);
  font-weight: 400;
}
.cookie__title { font-size: 1.02rem; margin-bottom: 2px; }
.cookie__text p { font-size: 0.98rem; line-height: 1.45; }
.cookie__settings { grid-column: 1 / -1; grid-row: 2; display: grid; gap: 2px; font-size: 0.98rem; }
.cookie__settings .check { font-size: 0.98rem; }
.cookie__actions { display: flex; gap: 8px; }
.cookie .btn--plain { font-size: 0.95rem; }

/* ---------------------------------------------------- legal & 404 pages -- */
.doc-page { --text-weight: 400; background: var(--sc-canvas); }
.doc-head { display: flex; align-items: center; justify-content: space-between; padding: 18px var(--sc-gutter); border-bottom: 1px solid var(--line); }
.doc-head img { height: 48px; width: auto; display: block; }
.doc-head .btn { min-height: 44px; padding: 0 16px; font-size: 0.92rem; }
.doc { max-width: 46rem; margin-inline: auto; padding: clamp(28px, 6vh, 56px) var(--sc-gutter) clamp(48px, 8vh, 80px); font-size: 1.06rem; line-height: 1.72; }
.doc h1 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem); margin-bottom: 0.3em; }
.doc h2 { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.55rem); margin-top: 2em; margin-bottom: 0.5em; }
.doc p, .doc ul, .doc ol { margin: 0 0 1em; }
.doc ul, .doc ol { padding-inline-start: 1.3em; }
.doc li { margin-bottom: 0.35em; }
.doc a { text-underline-offset: 0.2em; }
.doc mark { background: #ffe29a; color: #14110a; padding: 0 4px; border-radius: 4px; font-weight: 400; }
.doc-updated { color: var(--sc-ink-soft); margin-bottom: 1.6em !important; }
.doc-draft { padding: 12px 16px; border-radius: 12px; border: 1px dashed var(--line-strong); margin-bottom: 1.6em !important; }
.table-wrap { overflow-x: auto; margin-bottom: 1.2em; }
.doc table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.98rem; line-height: 1.5; }
.doc th, .doc td { padding: 10px 12px; border: 1px solid var(--line); text-align: right; vertical-align: top; }
.doc th { font-family: var(--sc-font-display); font-weight: 700; background: rgba(255, 255, 255, 0.05); }
.lost { min-height: 62vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 48px var(--sc-gutter); }
.lost h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 4rem); }
.lost p { font-size: 1.2rem; }
.lost__nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 10px; }

/* ----------------------------------------------------------- responsive -- */
@media (max-width: 1180px) {
  :root { --car-w: min(70vw, calc((100vh - 500px) * 1.5), 860px); }
  @supports (height: 100svh) { :root { --car-w: min(70vw, calc((100svh - 500px) * 1.5), 860px); } }
  .showroom { display: grid; grid-template-rows: minmax(calc(var(--car-w) * 0.7), 1fr) auto; }
  .track { position: relative; inset: auto; }
  .showroom > .arrow { top: 42%; }
  .chips { position: relative; inset: auto; margin-top: 6px; padding-inline: var(--sc-gutter); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .chip { position: relative; inset: auto; min-width: 0; padding: 8px 12px; pointer-events: auto; }
  .chip dd { white-space: normal; font-size: 1.05rem; }
  .dock { margin-top: 10px; grid-template-columns: minmax(0, 1fr) auto; width: min(1120px, calc(100% - 2 * var(--sc-gutter))); }
  .dock__index { grid-column: 1 / -1; grid-row: 2; justify-content: center; order: 3; flex-wrap: wrap; }
}
@media (max-width: 1100px) {
  /* כאן אין מקום לשלוש עמודות, ולכן הכול במרכז זה מתחת לזה. */
  .foot__main { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .foot__logo, .foot__social { justify-self: center; }
}
@media (max-width: 700px) {
  .foot__contact { flex-direction: column; align-items: center; gap: 0; }
  .foot__contact li { justify-content: center; }
}
@media (max-width: 1040px) {
  html.has-cookie .float { bottom: calc(var(--cookie-h, 0px) + 28px); }
  .cookie { width: min(900px, calc(100vw - 24px)); bottom: 12px; }
}
@media (max-width: 860px) {
  .modal { width: 100vw; height: 100vh; height: 100dvh; border-radius: 0; }
  /* השורה הראשונה בגובה הגלריה לפחות, כדי שהתמונות הממוזערות לא יעלו על שם הקטגוריה. */
  .modal__panel { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(46dvh, 1fr) auto; border-radius: 0; border: 0; overflow-y: auto; }
  .gallery { order: -1; min-height: 46dvh; grid-template-rows: minmax(0, 1fr) auto; }
  .modal__info { overflow: visible; padding: 20px var(--sc-gutter) 24px; }
  .modal__info > .modal__cta { position: sticky; bottom: 12px; margin-top: 16px; }
  .gallery__thumbs { padding: 8px; gap: 6px; }
  .thumb { aspect-ratio: 4 / 3; }
  .cookie { grid-template-columns: minmax(0, 1fr); }
  .cookie__settings { grid-row: auto; }
  .cookie__actions .btn { flex: 1; padding: 0 8px; }
  .cookie { padding: 10px 14px; gap: 8px; }
  .cookie__text p { font-size: 0.92rem; line-height: 1.35; }
}
@media (max-width: 700px) {
  .world__ceiling { background-image: url("../assets/brand/ceiling-m.webp"); }
  :root { --bar-h: 62px; --car-w: min(84vw, calc((100vh - 470px) * 1.62)); }
  @supports (height: 100svh) { :root { --car-w: max(230px, min(84vw, calc((100svh - 514px) * 1.39))); } }
  .bar__logo img { height: 38px; }
  .bar__tel { padding: 0 12px; font-size: 0.88rem; }
  /* הרווח התחתון שמור לבועות הצפות, כדי שלעולם לא ישבו על ה-CTA. */
  .stage { padding-top: calc(var(--bar-h) + 2px); padding-bottom: 78px; }
  .stage__copy h1 { font-size: clamp(1.75rem, 7.4vw, 2.3rem); }
  .lede { font-size: 1.08rem; line-height: 1.4; margin-top: 0.4em; }
  .showroom { grid-template-rows: minmax(calc(var(--car-w) * 0.72), 1fr) auto; }
  .stage { --car-floor: 12px; }
  .car[data-pos="1"] { transform: translate3d(calc(var(--car-w) * -0.74), -5%, 0) scale(0.56); }
  .car[data-pos="-1"] { transform: translate3d(calc(var(--car-w) * 0.74), -5%, 0) scale(0.56); }
  .carframe__mirror { filter: none; }
  .arrow { width: 46px; height: 46px; margin-top: -23px; }
  .showroom > .arrow { top: 40%; }
  .arrow--next { left: 6px; }
  .arrow--prev { right: 6px; }
  /* מתחת לרכב נשאר מקום לרמז הלחיצה, בלי שייגע בבועת המחיר. */
  .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-inline: 14px; margin-top: 12px; }
  .chip { padding: 6px 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
  .chip dd { margin: 0; font-size: 0.98rem; text-align: left; }
  .chip dt { font-size: 1rem; }
  /* טלפון: במסך הפתיחה רק המחיר החודשי, בשורה אחת באמצע. השנה, הק"מ והמנוע בחלונית הרכב. */
  .chip--a, .chip--b, .chip--c { display: none; }
  .chip--d { grid-column: 1 / -1; justify-self: center; justify-content: center; gap: 10px; padding: 8px 20px; }
  .dock { margin-top: 8px; width: calc(100% - 28px); padding: 10px 12px; gap: 6px 10px; grid-template-columns: minmax(0, 1fr); }
  .dock__id { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
  .dock__name { order: -1; font-size: 1.22rem; }
  .dock__cat { font-size: 1rem; white-space: nowrap; }
  .dock__index { grid-row: auto; order: 0; justify-content: space-between; }
  .tab { padding: 0 4px; font-size: 0.82rem; min-width: 44px; }
  .tab::after { left: 6px; right: 6px; }
  .dock__cta { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 8px; }
  .dock__cta .btn { padding: 0 8px; font-size: 0.92rem; min-height: 48px; }
  .foot { padding-bottom: 84px; }
  .float { width: 52px; height: 52px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  .scroll-hint { position: absolute; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); margin: 0 0 0 -22px; }
  .float--wa { right: 12px; }
  .float--a11y { left: 12px; }
  .a11y { left: 12px; bottom: calc(74px + env(safe-area-inset-bottom, 0px)); width: min(320px, calc(100vw - 24px)); }

  /* בטלפון אין "למה לבחור בנו?": מהמסך הראשי עוברים ישר, בגלילה אחת, לטופס. ride.js מניע את הרכב ישירות
     לשם, בלי העצירה והקשת. ה-ID כאן בטוח מהסדר במקור, כי הספציפיות שלו גבוהה מכל כלל class/type. */
  #why { display: none; }
}
@media (max-width: 700px) and (max-height: 740px) {
  /* טלפון נמוך: החיצים וההחלקה מספיקים לניווט, ומה שנחסך הולך לרכב ול-CTA. */
  :root { --car-w: max(210px, min(84vw, calc((100vh - 410px) * 1.39))); }
  @supports (height: 100svh) { :root { --car-w: max(210px, min(84vw, calc((100svh - 410px) * 1.39))); } }
  .lede { display: none; }
  .dock__index { display: none; }
  .chip dd { font-size: 0.92rem; }
}
@media (max-height: 560px) and (min-width: 560px) {
  :root { --car-w: min(46vw, 420px); }
  .stage { min-height: 0; }
  .scroll-hint { display: none; }
  .showroom > .arrow { top: 62px; margin-top: 0; }
  .showroom { grid-template-rows: calc(var(--car-w) * 0.72) auto; }
  /* מסך נמוך ורחב: נשארים בפריסה הצדדית, ומה שמתקצר הוא הטקסט. הפסקה נשארת לקוראי מסך. */
  :root { --why-car: min(34vw, calc((var(--vh) - 110px) * 1.3)); }
  /* הרווח התחתון שמור לבועות הצפות. */
  .why__scene { --icon: 38px; --pane-gap: 6px; padding-top: calc(var(--bar-h) + 2px); padding-bottom: 72px; }
  .wall__title { font-size: 1.35rem; }
  .pane__card { padding: 6px 18px; }
  .pane h3 { font-size: 1rem; }
  .pane p { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
/* מחשב צר: הבועות קטנות מעט, כדי שבועה ארוכה לא תגיע לחצים שבצדדים. */
@media (min-width: 1181px) and (max-width: 1300px) {
  .chip { padding: 8px 12px; }
  .chip dd { font-size: 1.05rem; }
}
@media (min-width: 1181px) and (max-height: 780px) {
  .stage__copy h1 { font-size: clamp(1.9rem, 1rem + 2.1vw, 3rem); }
  .lede { font-size: 1.1rem; }
  .btn { min-height: 46px; }
}

/* עמודה אחת: הרכב למעלה במלואו, והכול מתחתיו. אותו גודל רכב בקשת ובטופס. */
@media (max-width: 860px) and (min-height: 561px), (max-aspect-ratio: 1/1) {
  /* בטלפון גוללים בתנופה, ולכן העצירה ארוכה יותר, כדי שיהיה זמן לקרוא. */
  :root {
    --why-pin: max(24vh, calc(45vh - 100px));
    --bay-w: max(200px, min(72vw, calc((var(--vh) - 500px) * 1.35), 640px));
    --bay-floor: calc(var(--bay-w) * 0.09);
    --slot-cap: var(--bay-w);
  }
  /* כאן פס האור הבהיר של התקרה יושב מאחורי הכותרת, ולכן האולם מתעמעם קצת יותר מאשר במחשב. */
  .world { --world-dim: 0.5; }
  .slot, .why__slot { width: 100%; height: auto; justify-self: center; align-self: stretch; }
  html[data-ride="off"] .slot { height: calc(var(--bay-w) * 0.74); }

  .why__scene {
    --icon: 50px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(150px, calc(var(--bay-w) * 0.74)) auto auto;
    justify-items: center; align-content: center;
    row-gap: 8px; padding: calc(var(--bar-h) + 6px) 14px 78px;
  }
  .why__slot { grid-column: 1; grid-row: 1; }
  .wall__title { grid-column: 1; grid-row: 2; justify-self: center; text-align: center; font-size: clamp(1.6rem, 6.6vw, 2.4rem); }
  .arc { display: none; }
  .panes { grid-column: 1; grid-row: 3; justify-self: center; justify-items: stretch; width: min(100%, 640px); --pane-gap: 8px; }
  .pane { flex-direction: row; gap: 10px; translate: none; width: 100%; }
  .pane__card { flex: 1 1 0; width: auto; padding: 8px 16px; }
  .wall:not(.is-in) .pane__card { translate: 0 16px; }
  .pane h3 { font-size: 1.1rem; }
  .pane p { margin-top: 1px; font-size: 1rem; line-height: 1.3; }

  .desk { grid-template-columns: minmax(0, 1fr); gap: 6px; padding-top: 6px; min-height: 0; }
  .desk__bay { margin-top: 0; }
  .desk__panel { order: 0; max-width: 680px; width: 100%; justify-self: center; }
  .bay__label { margin-top: 2px; display: flex; justify-content: center; align-items: baseline; flex-direction: row-reverse; gap: 8px; }
  .bay__cat { font-size: 1rem; }
  .bay__name { font-size: 1.15rem; }

  /* הכותרות יורדות מעט אל הרווח שמעל הרכב. הרכב עצמו נשאר במקומו. */
  .stage__copy { padding-top: clamp(0px, calc((var(--vh) - 640px) * 0.35), 48px); }
  /* אחרי "למה לבחור בנו?" שתי פעימות: קודם רק הרכב (12% ממסך של גלילה), ואז הטופס מופיע ועולה עם הגלילה
     אל מתחת לרכב, והרכב נוחת על הטבעת במקום שבו הוא כבר עומד. הטופס מגיע למקומו המלא אחרי 42% ממסך,
     ולכן הוא עולה מעל סוף הסצנה ב-(1 - 0.42) ממסך. ההרמה כאן ולא ב-JS, כדי שהפריסה נכונה מהציור הראשון.
     ride.js קובע מתי הוא מופיע ואיפה הרכב נוחת. בלי נסיעה אין הרמה. */
  html:not([data-ride="off"]) .desk { margin-top: calc(var(--bar-h) - var(--vh) * 0.58); }
  .desk { opacity: var(--desk-in, 1); }
  .desk.is-waiting { pointer-events: none; }
}
/* טאבלט לאורך: מקום לטופס מלא מתחת לרכב. */
@media (min-width: 600px) and (max-aspect-ratio: 1/1), (min-width: 600px) and (max-width: 860px) and (min-height: 561px) {
  :root { --bay-w: min(70vw, calc((var(--vh) - 620px) * 1.1), 640px); }
  .stage__copy { padding-top: clamp(0px, calc((var(--vh) - 700px) * 0.28), 160px); }
  .why__scene { --icon: 62px; }
  /* ברוחב הזה הטופס לא מגיע לבועות הצפות שבפינות. */
  .desk__panel { max-width: 600px; }
  .desk__panel h2 { text-align: center; font-size: clamp(1.9rem, 4.8vw, 2.8rem); }
  .desk__sub { text-align: center; }
  .lead { padding: 18px 22px; gap: 8px; }
  .field input, .select select { min-height: 50px; }
  .lead__submit { min-height: 54px; }
}
/* טלפון: הטופס צפוף יותר, כדי שגם הרכב וגם כפתור השליחה ייכנסו. */
@media (max-width: 599px) {
  .desk__panel h2 { font-size: clamp(1.45rem, 6.6vw, 2rem); }
  .lead { margin-top: 8px; padding: 12px 14px; gap: 5px; }
  .field label { margin-bottom: 2px; font-size: 0.92rem; }
  .field input, .select select { min-height: 44px; font-size: 1.05rem; }
  .check { font-size: 0.98rem; }
  .lead__submit { min-height: 48px; font-size: 1.05rem; }
}
/* בטלפון, אחרי שבלוק העמודה-האחת למעלה הוריד את .desk במקום שבו הייתה "למה לבחור בנו?" (שכאן מוסתרת),
   מבטלים את ההרמה הזו: הטופס יושב בזרימה רגילה מיד אחרי מסך הפתיחה, וה-JS (ride.js) מניע את הרכב אליו ישירות.
   ננסה לקצר את הגלילה הזו בעתיד, אבל לא דרך הזזת .desk: בבדיקה (webkit, מכשירים אמיתיים) התברר שגם הרמה
   קטנה דוחקת את "מרווח הביטחון" הצר ממילא במנגנון התייצבות רוחב הרכב (sizeSettle), וחושפת רכבים (Corvette,
   Wrangler) שלא היו נכשלים קודם - ראו הערה בדוח. */
@media (max-width: 700px) {
  html:not([data-ride="off"]) .desk { margin-top: 0; }
  .desk { opacity: 1; }
}
/* טלפון שבו הטקסט המלא לא נכנס (נקבע ב-ride.js): הכותרות על המסך, והפסקה נשארת לקוראי מסך. */
html.scenes-tight .pane p { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* טלפון שוכב: הגובה קטן מאוד, ולכן הסרגל, הכותרת והתוויות מצטמצמים, והבועות הצפות נשארות בצדדים. */
@media (max-height: 420px) and (min-width: 560px) {
  :root { --bar-h: 58px; --car-w: min(40vw, calc((var(--vh) - 120px) * 1.39)); }
  .bar__logo img { height: 34px; }
  .stage__copy h1 { font-size: 1.5rem; }
  .lede { display: none; }
  .why__scene { --icon: 34px; --pane-gap: 4px; padding: calc(var(--bar-h) + 2px) 70px 8px; }
  .wall__title { font-size: 1.2rem; }
  .pane__card { padding: 5px 16px; }
  .pane h3 { font-size: 0.98rem; }
}
/* הטלפונים הצרים ביותר. */
@media (max-width: 400px) {
  .dock__name { font-size: 1.12rem; }
}
@media (max-width: 365px) {
  .bar { padding-inline: 12px; }
  .bar__logo img { height: 32px; }
  .bar__tel { padding: 0 8px; gap: 4px; font-size: 0.78rem; }
  .bar__tel svg { width: 14px; height: 14px; }
  /* שם הרכב נשאר, והקטגוריה מופיעה בחלונית הרכב. */
  .dock__cat { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .dock__cta .btn { font-size: 0.84rem; padding: 0 4px; }
  .foot__legal { font-size: 0.92rem; gap: 2px 6px; }
}

/* טלפון שוכב (מסך מגע נמוך): גם כאן במסך הפתיחה רק המחיר החודשי. מחשב עם חלון נמוך לא נכלל. */
@media (max-height: 560px) and (min-width: 560px) and (max-width: 1180px) and (pointer: coarse) {
  .chip--a, .chip--b, .chip--c { display: none; }
  .chip--d { grid-column: 1 / -1; justify-self: center; display: flex; align-items: baseline; gap: 10px; padding: 6px 20px; }
}

/* -------------------------------------------- תנועה מופחתת ומצבי נגישות -- */
@media (prefers-reduced-motion: reduce) {
  html:not([data-ride="off"]) .desk { margin-top: 0; }
  .car { transition: opacity 0.2s ease; }
  .car[data-pos="0"]:hover, .arrow:hover, .float:hover { transform: none; }
  .car[data-pos="1"], .car[data-pos="-1"], .car[data-pos="2"], .car[data-pos="-2"] { transition: none; }
  .world__ceiling, .world__glow { animation: none; }
  .modal[open], .modal[open]::backdrop, .success, .success__mark path { animation: none; stroke-dashoffset: 0; }
  .field.is-filled .select select { animation: none; }
  /* בלי תנועה: החלוניות מוצגות מיד, ובריחוף משתנים רק האור והמסגרת. */
  .lux, .lux:hover { --lift: 0px; transform: none; }
  .pane__card, .pane__icon, .wall__title span { transition-duration: 0.2s; transition-delay: 0s; }
  .pane:hover .pane__icon { scale: 1; translate: none; }
  .btn--chrome::after { display: none; }
}
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; }
html.a11y-motion { scroll-behavior: auto; }
html.a11y-motion [data-sc-in], html.a11y-motion [data-sc-stagger] > * { opacity: 1 !important; transform: none !important; }
html.a11y-motion .success__mark path { stroke-dashoffset: 0; }
html.a11y-readable { --text-weight: 400; }
/* ניווט מקלדת: סימון מודגש גם אחרי לחיצה בעכבר, ובחלקים הגדולים הקו בפנים כדי שלא ייחתך בקצה המסך. */
html.a11y-keyboard :focus { outline: 3px solid #fff; outline-offset: 3px; }
html.a11y-keyboard .kbd-stop:focus { outline: 3px solid #fff; outline-offset: -5px; border-radius: 12px; }
html.a11y-keyboard .pane.kbd-stop:focus { outline-offset: 5px; border-radius: 14px; }
.kbd-bar {
  position: fixed; top: 12px; left: 50%; translate: -50% 0; z-index: 62;
  display: flex; align-items: center; gap: 12px; width: max-content; max-width: calc(100vw - 560px);
  padding: 4px 16px 4px 6px; border-radius: 14px;
  background: rgba(14, 15, 18, 0.96); font-weight: 400; font-size: 0.95rem; line-height: 1.3;
}
.kbd-bar p { margin: 0; }
.kbd-bar strong { font-weight: 700; }
.kbd-bar .btn { order: 1; flex: none; min-height: 44px; padding: 0 14px; font-size: 0.9rem; }
html.has-cookie .kbd-bar { display: none; }
@media (max-width: 1240px) { .kbd-bar__keys { display: none; } .kbd-bar { max-width: calc(100vw - 480px); } }
@media (max-width: 860px) { .kbd-bar { top: calc(var(--bar-h) + 4px); max-width: calc(100vw - 24px); } }
html.a11y-links a, html.a11y-links .linklike { text-decoration: underline !important; text-decoration-thickness: 2px !important; outline: 1px solid currentColor; outline-offset: 2px; }
html.a11y-contrast { --sc-canvas: #000; --sc-ink: #fff; --sc-ink-soft: #fff; --line: #fff; --line-strong: #fff; --text-weight: 400; }
html.a11y-contrast .world { display: none; }
html.a11y-contrast .sc-grain { display: none; }
html.a11y-contrast .lux, html.a11y-contrast .pane__icon, html.a11y-contrast .glass, html.a11y-contrast .chip, html.a11y-contrast .dock, html.a11y-contrast .lead, html.a11y-contrast .bar__tel, html.a11y-contrast .arrow, html.a11y-contrast .float, html.a11y-contrast .modal__panel {
  background: #000 !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border-color: #fff !important; box-shadow: none !important;
}
html.a11y-contrast .btn--chrome { background: #fff !important; color: #000 !important; }
html.a11y-contrast .btn--ghost, html.a11y-contrast .btn--plain { background: #000 !important; color: #fff !important; border-color: #fff !important; }
html.a11y-contrast .car[data-pos="1"], html.a11y-contrast .car[data-pos="-1"] { filter: none; }
html.a11y-contrast a { color: #ffe680; }
html.a11y-contrast .bar { background: #000; }
html.a11y-contrast .carframe__mirror, html.a11y-contrast .carframe__light, html.a11y-contrast .bay__light { display: none; }
