/* P/N MOTORS · פיני נחום – רכבי יוקרה וספורט
   מערכת עיצוב לפי landing-page-design (גדלים, ריווח, רדיוסים, תנועה).
   החלטות של אילון: רקע שחור, IBM Plex Sans Hebrew לכל הטקסט,
   Frank Ruhl Libre (סריף ישר) רק לשורות הרגש הגדולות, כמו בסרטון הרפרנס. */

@font-face { font-family: 'IBM Plex Sans Hebrew'; font-style: normal; font-weight: 300; font-display: swap; src: url('../assets/fonts/plex-hebrew-hebrew-300.woff2') format('woff2'); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'IBM Plex Sans Hebrew'; font-style: normal; font-weight: 300; font-display: swap; src: url('../assets/fonts/plex-hebrew-latin-300.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Hebrew'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/plex-hebrew-hebrew-400.woff2') format('woff2'); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'IBM Plex Sans Hebrew'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/plex-hebrew-latin-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Hebrew'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/plex-hebrew-hebrew-500.woff2') format('woff2'); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'IBM Plex Sans Hebrew'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/plex-hebrew-latin-500.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Hebrew'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/plex-hebrew-hebrew-600.woff2') format('woff2'); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'IBM Plex Sans Hebrew'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/plex-hebrew-latin-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* צבעים: רק רקעים כהים מהרשימה של הסקיל */
  --bg: #000000;
  --surface: #181818;
  --surface-2: #1F1F1F;
  --surface-3: #272727;
  --surface-4: #313131;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #FFFFFF;
  --text-2: #B4B4B4;
  --text-3: #8A8A8A; /* 5.1:1 על #181818 */
  --ok: #5BD38A;

  --font: 'IBM Plex Sans Hebrew', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Frank Ruhl Libre', 'IBM Plex Sans Hebrew', serif;

  /* ריווח (B2) */
  --s-25: 2px; --s-50: 4px; --s-75: 8px; --s-100: 12px; --s-200: 16px; --s-300: 24px;
  --s-400: 32px; --s-500: 40px; --s-600: 48px; --s-700: 64px; --s-800: 80px; --s-900: 96px;

  /* רדיוסים (B3, ערכי Tailwind) */
  --r-sm: 2px; --r: 4px; --r-md: 6px; --r-lg: 8px; --r-xl: 12px; --r-2xl: 16px; --r-3xl: 24px; --r-full: 9999px;

  /* תנועה (B7) */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --d-layout: 500ms;
  --d-color: 300ms;

  --page: 1280px;
  --gutter: var(--s-300);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
[hidden] { display: none !important; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

.icon { width: 20px; height: 20px; fill: currentColor; flex: none; }
.icon-lg { width: 24px; height: 24px; fill: currentColor; flex: none; }
.icon-sm { width: 16px; height: 16px; fill: currentColor; flex: none; }

/* ───────── סגנונות טקסט (B1) ───────── */
.heading-1 { font-size: 60px; line-height: 60px; font-weight: 600; letter-spacing: -0.01em; }
.heading-2 { font-size: 48px; line-height: 48px; font-weight: 600; letter-spacing: -0.01em; }
.heading-3 { font-size: 36px; line-height: 40px; font-weight: 600; }
.heading-4 { font-size: 30px; line-height: 36px; font-weight: 600; }
.heading-5 { font-size: 24px; line-height: 32px; font-weight: 600; }
.heading-6 { font-size: 20px; line-height: 28px; font-weight: 600; }
.title-1 { font-size: 20px; line-height: 28px; font-weight: 500; }
.title-2 { font-size: 18px; line-height: 28px; font-weight: 500; }
.title-3 { font-size: 16px; line-height: 24px; font-weight: 500; }
.title-4 { font-size: 14px; line-height: 20px; font-weight: 500; }
.title-5 { font-size: 12px; line-height: 16px; font-weight: 500; }
.body-1 { font-size: 16px; line-height: 24px; font-weight: 600; }
.body-2 { font-size: 16px; line-height: 24px; font-weight: 500; }
.body-3 { font-size: 16px; line-height: 24px; font-weight: 400; }
.body-4 { font-size: 14px; line-height: 20px; font-weight: 600; }
.body-5 { font-size: 14px; line-height: 20px; font-weight: 500; }
.body-6 { font-size: 14px; line-height: 20px; font-weight: 400; }
.button-lg { font-size: 18px; line-height: 28px; font-weight: 600; }
.button-md { font-size: 16px; line-height: 24px; font-weight: 600; }
.button-sm { font-size: 14px; line-height: 20px; font-weight: 600; }
.button-xsm { font-size: 12px; line-height: 16px; font-weight: 600; }
.caption-1 { font-size: 14px; line-height: 20px; font-weight: 500; }
.caption-2 { font-size: 14px; line-height: 20px; font-weight: 400; }
.caption-3 { font-size: 12px; line-height: 16px; font-weight: 600; }
.caption-4 { font-size: 12px; line-height: 16px; font-weight: 500; }
.caption-5 { font-size: 12px; line-height: 16px; font-weight: 400; }
/* תצוגה בסריף: שורות הרגש הגדולות בלבד (Display 1–2, מבוססי text-8xl / text-7xl) */
.display-1 { font-family: var(--serif); font-size: 96px; line-height: 96px; font-weight: 400; letter-spacing: -0.01em; }
.display-2 { font-family: var(--serif); font-size: 72px; line-height: 72px; font-weight: 400; letter-spacing: -0.01em; }
/* כיתוב עליון באותיות מרווחות (כמו THE COLLECTION בסרטון) */
.eyebrow { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); }

.muted { color: var(--text-2); }
.faint { color: var(--text-3); }

@media (max-width: 767px) {
  .heading-1 { font-size: 48px; line-height: 48px; }
  .heading-2 { font-size: 36px; line-height: 40px; }
  .heading-3 { font-size: 30px; line-height: 36px; }
  .display-1 { font-size: 60px; line-height: 60px; }
  .display-2 { font-size: 48px; line-height: 48px; }
}
@media (max-width: 389px) {
  .heading-1 { font-size: 36px; line-height: 40px; }
  .display-1 { font-size: 48px; line-height: 48px; }
}

/* ───────── שלד ───────── */
.wrap { width: 100%; max-width: var(--page); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 768px) { :root { --gutter: var(--s-500); } }
.section { padding-block: var(--s-900); }
@media (max-width: 767px) { .section { padding-block: var(--s-700); } }
.section-head { display: grid; gap: var(--s-200); max-width: 680px; margin-bottom: var(--s-600); }

.skip {
  position: fixed; inset-inline-start: var(--s-200); top: var(--s-200); z-index: 100;
  background: var(--text); color: var(--bg); padding: var(--s-75) var(--s-100); border-radius: var(--r-lg);
  transform: translateY(-200%); transition: transform var(--d-layout) var(--ease);
}
.skip:focus-visible { transform: translateY(0); }

:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: var(--r-md); }

/* ───────── כפתורים (B2: 8px / 12px) ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-75);
  padding: var(--s-75) var(--s-100);
  border-radius: var(--r-full);
  white-space: nowrap;
  transition: background-color var(--d-color) var(--ease), color var(--d-color) var(--ease), border-color var(--d-color) var(--ease), transform var(--d-layout) var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: #E6E6E6; transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: var(--text); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-1px); }
.btn-lg { padding: var(--s-100) var(--s-300); }
.btn[aria-disabled="true"] { opacity: 0.4; pointer-events: none; }

/* ───────── ניווט ───────── */
.nav {
  position: fixed; z-index: 50; top: var(--s-200); inset-inline: var(--s-200);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-300);
  padding: var(--s-75) var(--s-100) var(--s-75) var(--s-75);
  padding-inline-start: var(--s-200);
  border-radius: var(--r-full);
  border: 1px solid transparent;
  transition: background-color var(--d-layout) var(--ease), border-color var(--d-layout) var(--ease), transform var(--d-layout) var(--ease);
}
.nav.is-solid {
  background: rgba(24, 24, 24, 0.62);
  border-color: var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}
@media (min-width: 1024px) {
  .nav { inset-inline: 0; margin-inline: auto; width: min(calc(100% - var(--s-700)), var(--page)); }
}
.brand { display: grid; gap: var(--s-25); line-height: 1; }
.brand-mark { direction: ltr; font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: 0.32em; text-indent: 0.32em; white-space: nowrap; }
.brand-sub { font-size: 12px; line-height: 16px; font-weight: 400; color: var(--text-2); white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: var(--s-300); }
.nav-links a { position: relative; color: var(--text-2); transition: color var(--d-color) var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--text); }
.nav-links a[aria-current="true"]::after {
  content: ''; position: absolute; inset-inline: 0; bottom: -6px; height: 1px; background: currentColor;
}
.nav-end { display: flex; align-items: center; gap: var(--s-75); }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: var(--r-full); align-items: center; justify-content: center; background: rgba(255,255,255,0.08); }
.nav-toggle .bar { position: absolute; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform var(--d-layout) var(--ease), opacity var(--d-color) var(--ease); }
.nav-toggle { position: relative; }
.nav-toggle .bar:nth-child(1) { transform: translateY(-4px); }
.nav-toggle .bar:nth-child(2) { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: rotate(-45deg); }

@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-end .btn-wa-label { display: none; }
}

.menu {
  position: fixed; inset: 0; z-index: 45;
  background: rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  display: flex; flex-direction: column; justify-content: center; gap: var(--s-300);
  padding: var(--s-900) var(--s-500);
  opacity: 0; pointer-events: none; transition: opacity var(--d-layout) var(--ease);
}
.menu.is-open { opacity: 1; pointer-events: auto; }
.menu a { opacity: 0; transform: translateY(24px); transition: opacity var(--d-layout) var(--ease), transform var(--d-layout) var(--ease); }
.menu.is-open a { opacity: 1; transform: none; }

/* ───────── פתיחה: מהלך מצלמה עם הגלילה ───────── */
.hero { position: relative; height: 400vh; background: var(--bg); }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  /* הצללה על התמונה (לא רקע של מקטע): כהה למטה כדי שהכותרת תיקרא */
  background:
    linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.18) 38%, rgba(0,0,0,0) 60%),
    linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 22%);
}
.hero-layer { position: absolute; inset: 0; pointer-events: none; }
.hero-layer > * { pointer-events: auto; }
.hero-copy {
  position: absolute; inset-inline-start: var(--gutter); bottom: var(--s-800);
  display: grid; gap: var(--s-200); max-width: 680px;
  will-change: transform, opacity;
}
.hero-title {
  background: linear-gradient(to left, #FFFFFF, #9B9B9B);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-100); margin-top: var(--s-100); }
.hero-step {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: var(--s-200);
  padding-inline: var(--gutter);
  opacity: 0; will-change: transform, opacity;
}
.hero-step .display-1 { text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); }
.hero-hint {
  position: absolute; bottom: var(--s-300); inset-inline-end: var(--gutter);
  display: flex; align-items: center; gap: var(--s-75); color: var(--text-2);
}
.hero-hint .icon-sm { animation: hint 2.4s var(--ease) infinite; }
@keyframes hint { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(4px); opacity: 0.5; } }
.hero-progress { position: absolute; bottom: 0; inset-inline: 0; height: 2px; background: rgba(255,255,255,0.08); }
.hero-progress span { display: block; height: 100%; background: var(--text); transform-origin: right; transform: scaleX(0); }
@media (max-width: 767px) {
  .hero-copy { bottom: var(--s-700); inset-inline-end: var(--gutter); }
  .hero-hint { display: none; }
}

/* ───────── הופעה בגלילה (B7) ───────── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ───────── מלאי ───────── */
.filters { display: flex; flex-wrap: wrap; gap: var(--s-75); margin-bottom: var(--s-500); }
.chip {
  display: inline-flex; align-items: center; gap: var(--s-75);
  padding: var(--s-75) var(--s-200); border-radius: var(--r-full);
  border: 1px solid var(--line-strong); color: var(--text-2);
  transition: background-color var(--d-color) var(--ease), color var(--d-color) var(--ease), border-color var(--d-color) var(--ease);
}
.chip:hover { color: var(--text); border-color: rgba(255,255,255,0.32); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip .count { color: inherit; opacity: 0.6; }

.cars { display: grid; gap: var(--s-300); grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1023px) { .cars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .cars { grid-template-columns: minmax(0, 1fr); } }

.car {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2xl);
  padding: var(--s-75);
  transition: border-color var(--d-color) var(--ease), transform var(--d-layout) var(--ease);
}
.car:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.car-media {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--r-lg); /* 16 − 8 */
  background: var(--surface-2);
}
.car-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity var(--d-layout) var(--ease), transform 900ms var(--ease); }
.car-media img + img { opacity: 0; }
.car:hover .car-media img:first-child { transform: scale(1.04); }
@media (hover: hover) { .car:hover .car-media img + img { opacity: 1; } }
.car-badge {
  position: absolute; top: var(--s-100); inset-inline-start: var(--s-100); z-index: 1;
  display: inline-flex; align-items: center; gap: var(--s-75);
  padding: var(--s-50) var(--s-100); border-radius: var(--r-full);
  background: rgba(0, 0, 0, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.dot { width: 6px; height: 6px; border-radius: var(--r-full); background: var(--ok); box-shadow: 0 0 0 3px rgba(91, 211, 138, 0.18); }
.car-count {
  position: absolute; bottom: var(--s-100); inset-inline-end: var(--s-100); z-index: 1;
  display: inline-flex; align-items: center; gap: var(--s-50);
  padding: var(--s-50) var(--s-75); border-radius: var(--r-full);
  background: rgba(0, 0, 0, 0.55); color: var(--text-2);
}
.car-body { display: grid; gap: var(--s-100); padding: var(--s-200) var(--s-100) var(--s-100); flex: 1; align-content: start; }
.car-name { direction: ltr; text-align: right; unicode-bidi: plaintext; }
.car-meta { display: flex; flex-wrap: wrap; gap: var(--s-75); }
.tag { display: inline-flex; align-items: center; gap: var(--s-50); padding: var(--s-25) var(--s-75); border-radius: var(--r-full); background: var(--surface-3); color: var(--text-2); }
.car-actions { display: flex; gap: var(--s-75); padding: var(--s-100); padding-top: var(--s-75); }
.car-actions .btn { flex: 1; }
.car-open { position: absolute; inset: 0; border-radius: var(--r-2xl); z-index: 0; }
.car-media, .car-body { pointer-events: none; }
.car-actions { position: relative; z-index: 1; }

/* שלד טעינה */
.skeleton { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2xl); padding: var(--s-75); }
.skeleton .sk { background: var(--surface-3); animation: sk 1.6s var(--ease) infinite; border-radius: var(--r-lg); }
@keyframes sk { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.empty { display: grid; gap: var(--s-200); justify-items: start; padding: var(--s-600); border: 1px solid var(--line); border-radius: var(--r-2xl); background: var(--surface); }

/* ───────── חלון רכב ───────── */
.sheet {
  width: min(1120px, calc(100% - var(--s-400))); max-height: calc(100% - var(--s-400));
  padding: 0; border: 1px solid var(--line); border-radius: var(--r-3xl);
  background: var(--surface); color: var(--text); overflow: hidden;
}
.sheet::backdrop { background: rgba(0, 0, 0, 0.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sheet[open] { animation: sheet-in var(--d-layout) var(--ease); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
.sheet-inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); max-height: calc(100vh - var(--s-400)); }
.sheet-gallery { position: relative; background: var(--bg); display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; }
.sheet-main { position: relative; min-height: 320px; overflow: hidden; }
.sheet-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.sheet-thumbs { display: flex; gap: var(--s-75); padding: var(--s-100); overflow-x: auto; scrollbar-width: thin; }
.sheet-thumbs button { flex: none; width: 72px; height: 54px; border-radius: var(--r-md); overflow: hidden; opacity: 0.5; border: 1px solid transparent; transition: opacity var(--d-color) var(--ease); }
.sheet-thumbs button[aria-current="true"] { opacity: 1; border-color: var(--text); }
.sheet-thumbs button:hover { opacity: 0.85; }
.sheet-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.sheet-nav { position: absolute; top: 50%; translate: 0 -50%; width: 40px; height: 40px; border-radius: var(--r-full); display: grid; place-items: center; background: rgba(0,0,0,0.55); transition: background-color var(--d-color) var(--ease); }
.sheet-nav:hover { background: rgba(0,0,0,0.8); }
.sheet-nav.prev { inset-inline-start: var(--s-100); }
.sheet-nav.next { inset-inline-end: var(--s-100); }
.sheet-info { display: grid; align-content: start; gap: var(--s-300); padding: var(--s-500); overflow-y: auto; }
.sheet-close { position: absolute; top: var(--s-200); inset-inline-end: var(--s-200); z-index: 2; width: 40px; height: 40px; border-radius: var(--r-full); display: grid; place-items: center; background: rgba(0,0,0,0.55); }
.sheet-close:hover { background: rgba(0,0,0,0.8); }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-75); }
.spec { display: grid; gap: var(--s-25); padding: var(--s-100); border-radius: var(--r-xl); background: var(--surface-2); }
.post-text { white-space: pre-line; color: var(--text-2); }
.post-text summary { cursor: pointer; color: var(--text); list-style: none; display: inline-flex; align-items: center; gap: var(--s-50); }
.post-text summary::-webkit-details-marker { display: none; }
.sheet-cta { display: grid; gap: var(--s-75); position: sticky; bottom: 0; padding-top: var(--s-200); padding-bottom: var(--s-50); background: var(--surface); }
@media (max-width: 899px) {
  .sheet { width: 100%; max-width: 100%; max-height: 100%; height: 100%; border-radius: 0; margin: 0; }
  .sheet-inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); height: 100%; max-height: 100%; }
  .sheet-main { min-height: 0; aspect-ratio: 4 / 3; }
  .sheet-info { padding: var(--s-300) var(--s-300) var(--s-400); }
}

/* ───────── טאגליין (B11) ───────── */
.tagline { padding-block: 160px; }
.tagline p { max-width: 900px; }
.tagline .w { color: rgba(255, 255, 255, 0.28); transition: color 600ms var(--ease); }
.tagline .w.on { color: var(--text); }

/* ───────── יתרונות / איך זה עובד ───────── */
.grid-3 { display: grid; gap: var(--s-300); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { display: grid; gap: var(--s-300); grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.card { display: grid; gap: var(--s-200); align-content: start; padding: var(--s-400); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2xl); }
.card-icon { width: 48px; height: 48px; border-radius: var(--r-xl); display: grid; place-items: center; background: var(--surface-3); }
.step-num { font-family: var(--font); color: var(--text-3); }

/* ───────── שאלות ───────── */
.faq { display: grid; gap: var(--s-75); max-width: 880px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2xl); transition: border-color var(--d-color) var(--ease); }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-200); padding: var(--s-300); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform var(--d-layout) var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .answer { padding: 0 var(--s-300) var(--s-300); color: var(--text-2); }

/* ───────── סגירה ───────── */
.final { text-align: center; display: grid; justify-items: center; gap: var(--s-300); padding-block: 160px; }
.final .display-2 { max-width: 900px; }

/* ───────── פוטר ───────── */
.footer { border-top: 1px solid var(--line); padding-block: var(--s-700) var(--s-500); }
.footer-grid { display: grid; gap: var(--s-500); grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 767px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.footer ul { display: grid; gap: var(--s-100); }
.footer a { color: var(--text-2); transition: color var(--d-color) var(--ease); }
.footer a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-200); margin-top: var(--s-700); padding-top: var(--s-300); border-top: 1px solid var(--line); color: var(--text-3); }
.socials { display: flex; gap: var(--s-75); }
.socials a { width: 40px; height: 40px; border-radius: var(--r-full); display: grid; place-items: center; border: 1px solid var(--line-strong); }

/* כפתור וואטסאפ צף בטלפון */
.fab { position: fixed; z-index: 40; bottom: var(--s-200); inset-inline-start: var(--s-200); display: none; opacity: 0; transform: translateY(24px); pointer-events: none; transition: opacity var(--d-layout) var(--ease), transform var(--d-layout) var(--ease); }
.fab.is-shown { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 767px) { .fab { display: inline-flex; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
  .reveal { transform: none; transition: opacity 600ms linear; }
  .menu a { transform: none; }
  .car:hover, .btn:hover { transform: none; }
  .tagline .w { color: var(--text); }
}

/* ───────── תוספות: קישור בפתיחה, שורת אמצע, יצרנים ───────── */
.hero-link { display: inline-flex; align-items: center; gap: var(--s-50); color: var(--text-2); width: fit-content; transition: color var(--d-color) var(--ease); }
.hero-link:hover { color: var(--text); }
.hero-mid { position: absolute; inset-inline: 0; bottom: var(--s-800); text-align: center; opacity: 0; color: var(--text); will-change: transform, opacity; }
.brands { display: grid; gap: var(--s-300); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.brand-tile {
  display: grid; gap: var(--s-100); align-content: start; text-align: start;
  padding: var(--s-400); border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--line);
  transition: border-color var(--d-color) var(--ease), transform var(--d-layout) var(--ease);
}
.brand-tile:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.brand-tile:active { transform: scale(0.98); }
.brand-tile .go { display: inline-flex; align-items: center; gap: var(--s-50); color: var(--text-2); margin-top: var(--s-100); }
.brand-tile:hover .go { color: var(--text); }

/* reduced-motion: בלי 400vh ריקים (סוכן 3) */
.hero.is-static { height: 100vh; height: 100svh; }
