/* ==========================================================================
   IN MOTION — Design System v2
   RTL-first · AA contrast · zero-CLS · SEO-safe motion

   כלל הברזל של הקובץ הזה:
   כל אנימציה משתמשת ב-transform/opacity/filter בלבד. אף כלל לא מסתיר טקסט
   מ-DOM, לא משתמש ב-display:none על תוכן, ולא זז שום דבר שמשריין מקום.
   התוצאה: גוגל רואה 100% מהתוכן, ו-CLS נשאר 0.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fallback font metrics — מונע את קפיצת ה-CLS בזמן טעינת הפונט
   -------------------------------------------------------------------------- */
/* משפחה אחת לכל האתר — Rubik. כותרות, טקסט, כפתורים, מספרים, טפסים.
   ההבדל בין דרגים נוצר ממשקל ומרווח אותיות בלבד, לא מהחלפת פונט.
   זה מקור תחושת האחידות: העין קולטת מערכת אחת, לא שתיים שמנסות להשתלב. */
@font-face {
  font-family: "Rubik Fallback";
  src: local("Arial");
  size-adjust: 98%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */
:root {
  --ink:        #08080a;
  --ink-2:      #101016;
  --ink-3:      #1c1c25;
  --ink-4:      #2a2a36;
  --paper:      #ffffff;
  --paper-2:    #f7f5f1;
  --paper-3:    #edeae3;

  /* ── שני צבעי מותג, שני תפקידים ──────────────────────────────────────
     כתום = פעולה.  כפתורים, CTA, מצבי hover, כל מה שרוצים שילחצו עליו.
     כחול/תכלת = מידע.  אייקונים, מספרים, קישורים, גרפיקה דקורטיבית.

     החלוקה הזו היא מה שמונע מהצבע השני להפוך לרעש: אם כל דבר כתום הוא
     פעולה, העין לומדת את הכלל תוך שני מסכים ומפסיקה לחפש.
     שני הצבעים כבר נמצאים בלוגו — הכתום ב-IN MOTION, הכחול בשורה מתחתיו. */

  --brand:      #ff6a00;   /* כתום אחד. נדגם מה-CSS של האתר הקיים. */
  --blue:       #079bff;   /* תכלת אחד. נדגם מה-CSS של האתר הקיים. */

  /* הווריאנטים -ink אינם צבעים נוספים — אותה גוון בדיוק, מוכהה עד לניגודיות
     קריאה. הכתום והתכלת המקוריים נותנים 2.9:1 ו-3.0:1 על לבן, ומתחת ל-4.5:1
     אסור להשתמש בהם לטקסט. אלה הגרסאות שעוברות AA. */
  --brand-ink:  #b04600;   /* 5.3:1 על לבן */
  --blue-ink:   #0064b5;   /* 5.4:1 על לבן */

  --brand-soft: #fff0e6;   /* רקעים רכים — אותו גוון ב-8% */
  --blue-soft:  #e6f4ff;

  --muted:      #55555f;   /* 7.4:1 על לבן */
  --muted-dark: #9c9caa;   /* 5.1:1 על --ink */
  --line:       rgba(8, 8, 10, .12);
  --line-2:     rgba(8, 8, 10, .06);
  --line-dark:  rgba(255, 255, 255, .12);

  /* שני השמות מצביעים על אותה משפחה. הם נשמרו כדי שהתפקידים יישארו
     קריאים בקוד — ואם אי-פעם תרצו לפצל, יש נקודת שינוי אחת. */
  --font-display: "Rubik", "Rubik Fallback", system-ui, Arial, sans-serif;
  --font-body:    "Rubik", "Rubik Fallback", system-ui, Arial, sans-serif;

  --t-hero:  clamp(2.75rem, 7.6vw, 6rem);
  --t-h2:    clamp(1.875rem, 3.9vw, 3.25rem);
  --t-h3:    clamp(1.25rem, 2.2vw, 1.625rem);
  --t-lead:  clamp(1.0625rem, 1.6vw, 1.3125rem);
  --t-body:  clamp(1.0313rem, 1.15vw, 1.125rem);
  --t-sm:    .9688rem;
  --t-xs:    .8125rem;

  /* מרווח אותיות נצמד לגודל: ככל שהטקסט גדול יותר, כך הוא מהודק יותר.
     זה מה שמבדיל טיפוגרפיה מעוצבת מטיפוגרפיה שרק "הוגדלה". */
  --tr-hero: -.04em;
  --tr-h2:   -.03em;
  --tr-h3:   -.022em;
  --tr-body:  0em;
  --tr-caps: .12em;

  --s-1: .25rem;  --s-2: .5rem;   --s-3: .75rem;  --s-4: 1rem;
  --s-5: 1.5rem;  --s-6: 2rem;    --s-7: 3rem;    --s-8: 4rem;
  --s-9: 6rem;    --s-10: 8rem;

  --section-y: clamp(4rem, 9vw, 8rem);
  --gutter:    clamp(1.125rem, 4vw, 3rem);
  --maxw:      1280px;
  --maxw-prose: 68ch;

  /* שלוש דרגות בלבד. קודם היו ארבע, וההפרש בין 22 ל-34 קרא כאי-החלטיות
     יותר מאשר כהיררכיה. פחות ערכים = הרשת נראית מכוונת. */
  --r-sm: 10px;   /* שדות, אייקונים, פריטי תפריט */
  --r-md: 18px;   /* כרטיסים, לוחות */
  --r-lg: 18px;
  --r-xl: 26px;   /* מיכלים גדולים: טופס, לוח אמנות */
  --r-pill: 999px;

  --shadow-1: 0 1px 2px rgba(8,8,10,.05), 0 4px 14px rgba(8,8,10,.05);
  --shadow-2: 0 2px 6px rgba(8,8,10,.06), 0 20px 48px rgba(8,8,10,.11);
  --shadow-3: 0 32px 80px rgba(8,8,10,.28);
  --glow:     0 0 60px rgba(255,90,31,.45);

  --ease:     cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --actionbar-h: 0px;

  /* גרעין עדין — נותן לשטחים הכהים עומק במקום שיראו כמו בלוק צבע שטוח */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   3. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: var(--tr-body);
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  padding-bottom: var(--actionbar-h);
}

img, svg, video { display: block; max-width: 100%; height: auto; }
img { background: var(--paper-3); }

/* כל הכותרות — משפחת התצוגה, ללא יוצא מן הכלל.
   הגדלים נקבעים כאן ולא inline, כדי שמדרג אחד ישלוט בכל העמוד. */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.14;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--t-hero); font-weight: 900; letter-spacing: var(--tr-hero); line-height: .98; }
h2 { font-size: var(--t-h2);   letter-spacing: var(--tr-h2); }
h3 { font-size: var(--t-h3);   letter-spacing: var(--tr-h3); }
h4 { font-size: 1.0625rem;     letter-spacing: var(--tr-h3); }

/* מודיפייר יחיד לכותרת בדרג נמוך יותר — במקום font-size inline */
.h-sm { font-size: var(--t-h3); letter-spacing: var(--tr-h3); }

/* מספרים תמיד ברוחב אחיד — מחירים וסטטיסטיקות לא "רוקדים" */
.plan__price, .hero__stats dd, .pillar__num, .step__num, .step__ghost, .floatcard strong {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
}

p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* מכבד בקשת הפחתת תנועה — הכל נעצר, שום תוכן לא נעלם */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 940px; }

.section { position: relative; padding-block: var(--section-y); }
.section--tint { background: var(--paper-2); }

/* רקע תכלת למקטע שלם.
   התכלת הטהור (#079bff) נותן ללבן רק 2.7:1 ולכן אסור כרקע לטקסט. הרקע
   משתמש בגרסה המוכהית — אותו גוון בדיוק, 5.4:1 — כך שזה עדיין "כחול אחד". */
.section--blue {
  background: var(--blue-ink);
  color: #dceeff;
  isolation: isolate;
}
.section--blue h2, .section--blue h3, .section--blue h4 { color: #fff; }
.section--blue .prose { color: #cbe4fa; }
.section--blue .prose strong { color: #fff; }
.section--blue .eyebrow { color: #fff; }
.section--blue .eyebrow::before { background: var(--brand); }
.section--blue::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image: var(--grain);
  opacity: .07;
  pointer-events: none;
}
/* בתוך מקטע תכלת, הכתום הוא הצבע היחיד שנשאר לפעולה — וזה בדיוק העניין. */
.section--blue .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.section--blue .btn--ghost:hover { background: #fff; color: var(--blue-ink); border-color: #fff; }

/* הכלל "תכלת = מידע" קורס כשהרקע עצמו תכלת: התכלת על המוכהה נותן 1.9:1.
   על רקע תכלת, תפקיד ההדגשה עובר לכתום — הצבע היחיד שנשאר בפלטה. */
.section--blue .pillar__num,
.section--blue .checks svg,
.section--blue .tile__icon { color: var(--brand); }

.section--blue .pillar {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.22);
}
.section--blue .pillar:hover {
  background: rgba(255,255,255,.17);
  border-color: var(--brand);
}
.section--blue .pillar h3 { color: #fff; }
.section--blue .pillar p  { color: #cbe4fa; }

.section--dark {
  background: var(--ink);
  color: #c9c9d4;
  isolation: isolate;
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
/* שכבת גרעין על כל מקטע כהה */
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  opacity: .05;
  pointer-events: none;
}

.section-head { margin-bottom: var(--s-8); }
.section-head > h2 { font-size: var(--t-h2); }
.section-head > .prose { margin-top: var(--s-4); }

.prose { max-width: var(--maxw-prose); font-size: var(--t-lead); color: var(--muted); }
.prose strong { color: var(--ink); font-weight: 700; }
.section--dark .prose { color: var(--muted-dark); }
.section--dark .prose strong { color: #fff; }

/* מספר מקטע — פרט מערכתי שנותן מיד תחושת עיצוב מכוון */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
  font-family: var(--font-display);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: var(--tr-caps);
  text-transform: uppercase;
  color: var(--brand-ink);
}
.eyebrow::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--brand);
  border-radius: 2px;
}
.eyebrow .idx { font-variant-numeric: tabular-nums; opacity: .55; }
.section--dark .eyebrow { color: var(--blue); }

/* --------------------------------------------------------------------------
   5. Buttons — עם ברק שנע ב-hover
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: .95rem 1.9rem;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: var(--t-body);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .3s var(--ease), background-color .3s, box-shadow .3s, color .3s, border-color .3s;
}
.btn::after {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: -120%;
  width: 60%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-18deg);
  transition: inset-inline-start .65s var(--ease-out);
  pointer-events: none;
}
.btn:hover::after { inset-inline-start: 130%; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

/* רקע כתום + טקסט פחם = 7.1:1 — גם נגיש וגם חתימתי */
.btn--primary {
  background: var(--brand);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(255,90,31,.36);
}
.btn--primary:hover { box-shadow: 0 14px 38px rgba(255,90,31,.5); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); box-shadow: var(--shadow-2); }

.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
/* .pagehero חייב להיות ברשימה — בלעדיו כפתור הרפאים יורש טקסט כהה על רקע
   כהה בכל עמודי הפנים, וזה כשל ניגודיות ממשי. */
.section--dark .btn--ghost, .hero .btn--ghost, .pagehero .btn--ghost, .ctaband .btn--ghost {
  color: #fff;
  border-color: rgba(255,255,255,.45);
}
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover, .pagehero .btn--ghost:hover, .ctaband .btn--ghost:hover {
  background: #fff; color: var(--ink); border-color: #fff;
}

.btn--lg { padding: 1.15rem 2.4rem; font-size: 1.125rem; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   6. Scroll progress — פס דק בראש העמוד
   -------------------------------------------------------------------------- */
.progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 80;
  height: 3px;
  background: var(--brand);
  transform-origin: 100% 50%;      /* RTL: גדל מימין לשמאל */
  transform: scaleX(0);
  will-change: transform;
}
@supports (animation-timeline: scroll()) {
  .progress {
    animation: progress-grow linear;
    animation-timeline: scroll(root block);
  }
  @keyframes progress-grow { to { transform: scaleX(1); } }
}

/* --------------------------------------------------------------------------
   7. Header
   -------------------------------------------------------------------------- */
.topbar { background: var(--ink); color: #8f8f9c; font-size: var(--t-xs); }
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4); min-height: 40px;
}
.topbar a { color: #c4c4d0; text-decoration: none; transition: color .2s; }
.topbar a:hover { color: var(--blue); }
.topbar__contact { display: flex; gap: var(--s-5); }
@media (max-width: 767px) { .topbar { display: none; } }

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .35s, background-color .35s, border-color .35s;
}
.header.is-stuck {
  background: rgba(255,255,255,.95);
  border-bottom-color: var(--line-2);
  box-shadow: 0 4px 30px rgba(8,8,10,.07);
}

.header__inner { display: flex; align-items: center; gap: var(--s-5); min-height: 80px; }
.header__logo { flex: none; margin-inline-end: auto; }
.header__logo img { width: 112px; height: 76px; object-fit: contain; background: none; }

.nav { display: flex; align-items: center; gap: 2px; }
@media (max-width: 1149px) { .nav { display: none; } }

.nav__link {
  position: relative;
  display: block;
  padding: .6rem .85rem;
  border-radius: var(--r-sm);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  transition: color .25s;
}
/* קו תחתון שנפתח מהמרכז */
.nav__link::after {
  content: "";
  position: absolute;
  inset-block-end: 2px;
  inset-inline: .85rem;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform .35s var(--ease);
}
.nav__link:hover { color: var(--brand-ink); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--brand-ink); }

.nav__item { position: relative; }
.nav__toggle {
  display: inline-flex; align-items: center; gap: .35rem;
  border: 0; background: none; font: inherit; cursor: pointer;
}
.nav__toggle svg { transition: transform .3s var(--ease); }
.nav__item[data-open="true"] .nav__toggle svg { transform: rotate(180deg); }

.subnav {
  position: absolute;
  inset-inline-start: 0;
  top: calc(100% + 12px);
  min-width: 280px;
  padding: var(--s-3);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(.98);
  transform-origin: top center;
  transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.nav__item[data-open="true"] .subnav { opacity: 1; visibility: visible; transform: none; }
.subnav a {
  display: flex; align-items: center; gap: var(--s-2);
  padding: .55rem .75rem;
  border-radius: var(--r-sm);
  font-size: var(--t-sm);
  color: var(--ink-2);
  text-decoration: none;
  transition: background-color .2s, color .2s, padding-inline-start .25s var(--ease);
}
.subnav a:hover { background: var(--brand-soft); color: var(--brand-ink); padding-inline-start: 1.1rem; }

.header__cta { flex: none; }
@media (max-width: 640px) { .header__cta { display: none; } }

.burger {
  display: none; flex: none;
  width: 48px; height: 48px; padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  cursor: pointer;
}
@media (max-width: 1149px) { .burger { display: grid; place-items: center; } }
.burger span {
  display: block; width: 20px; height: 2px;
  margin: 3px auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* תפריט מובייל */
.mobilenav {
  position: fixed; inset: 0; z-index: 70;
  display: grid; grid-template-rows: auto 1fr;
  background: var(--ink);
  color: #fff;
  transform: translateX(100%);
  /* visibility מוציא את הקישורים שבפנים מסדר ה-Tab כשהתפריט סגור.
     בלעדיו אפשר לנווט במקלדת לתוך תפריט בלתי-נראה — וזה גם כשל
     aria-hidden-focus בבדיקת הנגישות. משודך ל-inert ב-JS. */
  visibility: hidden;
  transition: transform .45s var(--ease), visibility .45s;
  overflow: hidden;
}
.mobilenav[data-open="true"] { transform: translateX(0); visibility: visible; }
.mobilenav__top {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-4) var(--gutter);
  border-bottom: 1px solid var(--line-dark);
}
.mobilenav__close {
  width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--r-sm);
  background: none; color: #fff;
  font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.mobilenav__body { padding: var(--s-5) var(--gutter) var(--s-9); overflow-y: auto; }
.mobilenav__body a {
  display: block;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: 1.125rem; font-weight: 700;
  color: #fff; text-decoration: none;
  transition: color .2s, padding-inline-start .3s var(--ease);
}
.mobilenav__body a:hover { color: var(--blue); padding-inline-start: .5rem; }
.mobilenav__body .is-sub { padding-inline-start: var(--s-4); font-size: 1rem; font-weight: 500; color: #adadbb; }
.mobilenav__foot { display: grid; gap: var(--s-3); margin-top: var(--s-6); }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(600px, 88vh, 920px);
  padding-block: var(--s-9) var(--s-8);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  /* המקור הוא 300×200 בלבד ונמתח לרוחב מלא. טשטוש + הגדלה הופכים
     את הפיקסלציה לטקסטורה מכוונת עד שיוחלף קובץ ברזולוציה גבוהה. */
  transform: scale(1.12);
  filter: blur(4px) saturate(1.2) contrast(1.06);
  animation: hero-drift 26s ease-in-out infinite alternate;
}
@keyframes hero-drift {
  from { transform: scale(1.12) translate3d(0, 0, 0); }
  to   { transform: scale(1.2) translate3d(2%, -2%, 0); }
}

.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(270deg, rgba(8,8,10,.97) 0%, rgba(8,8,10,.92) 40%, rgba(8,8,10,.62) 74%, rgba(8,8,10,.8) 100%),
    linear-gradient(0deg, rgba(8,8,10,.9) 0%, rgba(8,8,10,.2) 50%, transparent 100%);
}

/* זוהר כתום נודד — נותן לירו חיים בלי וידאו ובלי משקל */
.hero__glow {
  position: absolute;
  z-index: -1;
  inset-block-start: -25%;
  inset-inline-end: -12%;
  width: min(820px, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,90,31,.42), rgba(255,90,31,.10) 45%, transparent 68%);
  filter: blur(38px);
  pointer-events: none;
  animation: glow-float 18s ease-in-out infinite alternate;
}
@keyframes glow-float {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: .85; }
  to   { transform: translate3d(-6%, 8%, 0) scale(1.15); opacity: 1; }
}

/* במסך צר הטקסט פורש על כל הרוחב, כך שגרדיאנט אופקי לא מספיק — צריך
   הכהיה אנכית אחידה כדי לשמור על ניגודיות AA מעל התמונה. */
@media (max-width: 767px) {
  .hero::after {
    background: linear-gradient(0deg, rgba(8,8,10,.96) 0%, rgba(8,8,10,.80) 45%, rgba(8,8,10,.68) 100%);
  }
}

.hero__grain {
  position: absolute; inset: 0; z-index: -1;
  background-image: var(--grain);
  opacity: .07;
  pointer-events: none;
}

.hero__inner { max-width: 760px; }

.hero__badge {
  display: inline-flex; align-items: center; gap: var(--s-3);
  margin-bottom: var(--s-5);
  padding: .5rem 1.15rem .5rem .7rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  font-size: var(--t-xs);
  font-weight: 600;
  color: #fff;
}
.hero__badge b { color: var(--blue); font-weight: 800; }
.hero__badge .dot {
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #35d07f;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(53,208,127,.55); }
  70%  { box-shadow: 0 0 0 9px rgba(53,208,127,0); }
  100% { box-shadow: 0 0 0 0 rgba(53,208,127,0); }
}

.hero h1 {
  font-size: var(--t-hero);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.04em;
  color: #fff;
}
.hero h1 .accent {
  display: block;
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* גיבוי: אם background-clip:text לא נתמך, הטקסט עדיין נראה */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 .accent { color: var(--brand); }
}

/* חשיפת כותרת במסכה — הטקסט קיים ב-DOM מהרגע הראשון, רק נגלל פנימה */
.reveal-mask { display: block; overflow: hidden; }
.js .reveal-mask > * {
  display: block;
  transform: translateY(105%);
  animation: mask-up 1s var(--ease-out) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes mask-up { to { transform: translateY(0); } }

.hero__sub {
  max-width: 36ch;
  margin-top: var(--s-5);
  font-size: var(--t-lead);
  font-weight: 500;
  line-height: 1.55;
  color: #dbdbe4;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-4);
  margin-top: var(--s-8);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line-dark);
}
.hero__stats dt { font-size: var(--t-xs); color: #a2a2b0; }
.hero__stats dd {
  margin: 0 0 .15rem;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -.035em;
  color: #fff;
}
/* "20+" ו-"5–99" מתהפכים ב-RTL כי + ו-– הם תווים ניטרליים.
   בידוד דו-כיווני מקבע את סדר הקריאה בלי לשבור את שאר השורה. */
.hero__stats dd .num { direction: ltr; unicode-bidi: isolate; display: inline-block; }
@media (max-width: 620px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: var(--s-5) var(--s-4); }
}

/* --------------------------------------------------------------------------
   9. Marquee — פס נע, CSS בלבד
   -------------------------------------------------------------------------- */
.marquee {
  padding-block: var(--s-4);
  background: var(--brand);
  color: var(--ink);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: var(--s-6);
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(50%); } }   /* RTL: זז ימינה */

.marquee__item {
  display: inline-flex; align-items: center; gap: var(--s-6);
  font-size: clamp(.9rem, 1.4vw, 1.0625rem);
  font-weight: 800;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.marquee__item::after {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(8,8,10,.42);
}

/* --------------------------------------------------------------------------
   10. Categories — אריחי תמונה
   -------------------------------------------------------------------------- */
/* 10 אריחים. 5×2 בדסקטופ; ב-3 עמודות נשאר אריח בודד בשורה האחרונה, ולכן
   האחרון ("כל סוגי האימונים") נפרש לרוחב מלא ונקרא כבאנר מכוון. */
.cats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-3);
}
@media (max-width: 1080px) {
  .cats { grid-template-columns: repeat(3, 1fr); }
  .cats > :last-child { grid-column: 1 / -1; }
  .cats > :last-child .cat { aspect-ratio: 16 / 5; }
}
@media (max-width: 620px) {
  .cats { grid-template-columns: repeat(2, 1fr); }
  .cats > :last-child { grid-column: 1 / -1; }
  .cats > :last-child .cat { aspect-ratio: 16 / 7; }
}

/* אריח "כל סוגי האימונים" — ללא תמונה, ניגוד לשאר הרשת */
.cat--all {
  background: linear-gradient(140deg, var(--ink-3), var(--ink));
  align-items: center;
  justify-content: center;
  text-align: center;
}
.cat--all::after { background: none; }
.cat--all:hover::after { background: none; }
.cat--all .cat__label { display: flex; align-items: center; gap: var(--s-2); font-size: var(--t-body); }
.cat--all svg { color: var(--brand); transition: transform .35s var(--ease); }
.cat--all:hover svg { transform: translateX(-6px); }

.cat {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 3 / 4;
  padding: var(--s-4);
  border-radius: var(--r-lg);
  background: var(--ink-2);
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.cat:hover { transform: translateY(-8px); box-shadow: var(--shadow-2); }

.cat__img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  background: none;
  filter: grayscale(.4) contrast(1.1);
  transition: transform .7s var(--ease), filter .4s;
}
.cat:hover .cat__img { transform: scale(1.1); filter: grayscale(0) contrast(1.05); }

.cat::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(8,8,10,.95) 6%, rgba(8,8,10,.45) 52%, rgba(8,8,10,.1) 100%);
  transition: background .4s;
}
.cat:hover::after {
  background: linear-gradient(0deg, rgba(184,66,15,.94) 6%, rgba(8,8,10,.55) 55%, rgba(8,8,10,.12) 100%);
}

.cat__label {
  font-size: var(--t-sm);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.015em;
  text-shadow: 0 1px 12px rgba(0,0,0,.55);
}

/* --------------------------------------------------------------------------
   11. Bento — היתרונות. תאים בגדלים שונים במקום 6 כרטיסים זהים
   -------------------------------------------------------------------------- */
/* 6 תאים ברשת 3×3: התא הגדול תופס 2×2, והשאר ממלאים בדיוק את השאר.
   ספאן של עמודה בלבד היה משאיר תא בודד ומיותם בשורה שלישית. */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: var(--s-4);
}
.bento > :first-child { grid-column: span 2; grid-row: span 2; }

@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento > :first-child { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento > :first-child { grid-column: auto; grid-row: auto; }
}

.tile {
  position: relative;
  padding: var(--s-6);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: #fff;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: transparent; }

/* אור נקודתי שעוקב אחרי הסמן — נקבע ב-JS דרך --mx/--my */
.tile::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(255,90,31,.11), transparent 68%);
  opacity: 0;
  transition: opacity .35s;
}
.tile:hover::before { opacity: 1; }

.tile__icon {
  display: grid; place-items: center;
  width: 54px; height: 54px;
  margin-bottom: var(--s-4);
  border-radius: var(--r-md);
  background: var(--blue-soft);
  color: var(--blue-ink);
  transition: transform .4s var(--ease), background-color .3s, color .3s;
}
.tile:hover .tile__icon { transform: translateY(-3px) rotate(-6deg); background: var(--brand); color: var(--ink); }
.tile h3, .tile .tile__title { margin-bottom: var(--s-2); font-size: 1.1875rem; font-weight: 800; letter-spacing: -.02em; }
.tile p { font-size: var(--t-sm); color: var(--muted); line-height: 1.7; }

/* התא הגדול — כהה, עוגן ויזואלי לרשת */
.tile--hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 240px;
  border-color: transparent;
  background: linear-gradient(140deg, var(--ink-3), var(--ink));
  color: #c9c9d4;
}
.tile--hero::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255,90,31,.22), transparent 68%); }
.tile--hero .tile__title { color: #fff; font-size: var(--t-h3); max-width: 20ch; }
.tile--hero p { color: var(--muted-dark); }
.tile--hero .tile__icon { background: rgba(255,255,255,.09); color: var(--blue); }
.tile--hero:hover .tile__icon { background: var(--brand); color: var(--ink); }

/* גרפיקת רדאר — ממחישה "מגיעים עד אליך" וממלאת את החלל העליון של התא הגדול.
   דקורטיבית לחלוטין: ::after, בלי DOM, בלי טקסט, aria לא מושפע. */
.tile--hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block-start: -90px;
  inset-inline-end: -90px;          /* בצד הריק, הרחק מהכותרת והאייקון */
  width: 380px; height: 380px;
  /* טבעות דקות מגרדיאנט עם עצירות חדות — box-shadow פנימי היה יוצר דיסק מלא */
  background: radial-gradient(circle,
    rgba(7,155,255,.9)    0 5px,
    transparent           5px 52px,
    rgba(255,255,255,.14) 52px 53px,
    transparent           53px 106px,
    rgba(255,255,255,.10) 106px 107px,
    transparent           107px 160px,
    rgba(255,255,255,.07) 160px 161px,
    transparent           161px);
  -webkit-mask-image: radial-gradient(circle, #000 40%, transparent 78%);
          mask-image: radial-gradient(circle, #000 40%, transparent 78%);
  animation: radar 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes radar {
  0%, 100% { transform: scale(1);    opacity: .75; }
  50%      { transform: scale(1.07); opacity: 1; }
}
@media (max-width: 980px) {
  .tile--hero::after { width: 260px; height: 260px; inset-block-start: -60px; inset-inline-end: -60px; }
}

/* --------------------------------------------------------------------------
   12. Steps — ציר עם ספרות רפאים
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
@media (max-width: 940px) { .steps { grid-template-columns: repeat(2, 1fr); gap: var(--s-6); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.step {
  position: relative;
  padding: var(--s-6) var(--s-5);
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line-2);
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }

/* הספרה הענקית — דקורטיבית בלבד, מוסתרת מקוראי מסך */
/* .step__ghost — הסימון הוסר מה-HTML ב-2026-09-04: ספרה בצבע --paper-3 על לבן
   היא טקסט כמעט בלתי נראה, נגד כללי הקידום, וגם נראתה כבאג רינדור.
   הכלל נשאר רק כדי שדפדפן עם HTML ישן במטמון לא יקבל ספרה שחורה ענקית. */
.step__ghost {
  position: absolute;
  z-index: -1;
  inset-block-start: -.22em;
  inset-inline-start: -.06em;
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.06em;
  color: var(--paper-3);
  transition: color .4s, transform .5s var(--ease);
  pointer-events: none;
  user-select: none;
}
.step:hover .step__ghost { color: var(--brand-soft); transform: scale(1.06); }

.step__num {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  margin-bottom: var(--s-4);
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 900;
  transition: background-color .35s, color .35s;
}
.step:hover .step__num { background: var(--brand); color: var(--ink); }
.step h3 { margin-bottom: var(--s-2); font-size: 1.1875rem; }
.step p { font-size: var(--t-sm); color: var(--muted); line-height: 1.7; }

/* --------------------------------------------------------------------------
   12b. Pillars — שלבי תכנית הירידה במשקל (על רקע כהה)
   -------------------------------------------------------------------------- */
.pillars { display: grid; gap: var(--s-3); }

.pillar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-5);
  align-items: start;
  padding: var(--s-5);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.035);
  transition: background-color .35s, border-color .35s, transform .35s var(--ease);
}
.pillar:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,90,31,.42);
  transform: translateX(-6px);     /* RTL: נדחף שמאלה, לכיוון קריאת ההמשך */
}

.pillar__num {
  font-size: 1.375rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.04em;
  line-height: 1.35;
  color: var(--blue);
  direction: ltr;
}
.pillar h3 { margin-bottom: var(--s-1); font-size: 1.0625rem; color: #fff; }
.pillar p { font-size: var(--t-sm); color: var(--muted-dark); line-height: 1.65; }

/* --------------------------------------------------------------------------
   13. Pricing
   -------------------------------------------------------------------------- */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(258px, 100%), 1fr));
  gap: var(--s-4);
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--s-6);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.plan:hover { transform: translateY(-7px); box-shadow: var(--shadow-2); border-color: transparent; }

.plan--featured {
  border-color: transparent;
  background: linear-gradient(160deg, var(--ink-3), var(--ink));
  color: #c9c9d4;
  box-shadow: var(--shadow-3);
  overflow: hidden;
  isolation: isolate;
}
.plan--featured::before {
  content: "";
  position: absolute; z-index: -1;
  inset-block-start: -50%;
  inset-inline-start: -30%;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,90,31,.34), transparent 66%);
  filter: blur(24px);
  animation: glow-float 14s ease-in-out infinite alternate;
}
@media (min-width: 940px) {
  .plan--featured { transform: scale(1.045); }
  .plan--featured:hover { transform: scale(1.045) translateY(-7px); }
}
.plan--featured h3 { color: #fff; }
.plan--featured .plan__price { color: var(--blue); }
.plan--featured .plan__specs { border-color: var(--line-dark); }
.plan--featured .plan__specs li { color: var(--muted-dark); }
.plan--featured .plan__specs b { color: #fff; }
.plan--featured .plan__per { color: #8f8f9c; }

.plan__tag {
  position: absolute;
  top: -13px;
  inset-inline-start: var(--s-6);
  padding: .32rem .9rem;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: var(--ink);
  font-size: var(--t-xs);
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(255,90,31,.4);
}
.plan__kicker {
  margin-bottom: var(--s-2);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-ink);
}
.plan--featured .plan__kicker { color: var(--blue); }
.plan h3 { margin-bottom: var(--s-4); font-size: 1.25rem; line-height: 1.3; }

.plan__price {
  display: flex; align-items: baseline; gap: .3rem;
  margin-bottom: var(--s-1);
  font-size: 3.125rem;
  font-weight: 900;
  letter-spacing: -.05em;
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.plan__price .cur { font-size: 1.5rem; font-weight: 800; }
.plan__per { margin-bottom: var(--s-5); font-size: var(--t-sm); color: var(--muted); }

.plan__specs {
  display: grid; gap: var(--s-3);
  margin: 0 0 var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}
.plan__specs li {
  display: flex; align-items: flex-start; gap: var(--s-3);
  font-size: var(--t-sm);
  color: var(--muted);
  line-height: 1.55;
}
.plan__specs b { color: var(--ink); font-weight: 700; }
.plan__specs svg { flex: none; margin-top: 4px; color: var(--brand); }
.plan .btn { margin-top: auto; }

/* גורמי תמחור — החליפו את כרטיסי המחיר אחרי שהמספרים הוסרו */
.factors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}
@media (max-width: 900px) { .factors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .factors { grid-template-columns: 1fr; } }

.factor {
  display: grid;
  gap: var(--s-2);
  padding: var(--s-5);
  border: 1px solid var(--line-2);
  border-inline-start: 3px solid var(--brand);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow-1);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.factor:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.factor__k {
  font-family: var(--font-display);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: var(--tr-caps);
  text-transform: uppercase;
  color: var(--brand-ink);
}
.factor__v { font-size: var(--t-sm); font-weight: 600; color: var(--ink); line-height: 1.5; }

.plan-note {
  margin-top: var(--s-6);
  padding: var(--s-5) var(--s-6);
  border-inline-start: 3px solid var(--brand);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow-1);
  font-size: var(--t-sm);
  color: var(--muted);
  line-height: 1.75;
}
.plan-note b { color: var(--ink); }

/* --------------------------------------------------------------------------
   14. Split + art panel
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 940px) { .split { grid-template-columns: 1fr; } }
.split--flip > :first-child { order: 2; }
@media (max-width: 940px) { .split--flip > :first-child { order: 0; } }

/* לוח אמנות — התמונות המקוריות הן סילואטים שקופים, לא צילומים.
   מסגור על גרדיאנט חם הופך אותן לאיור מכוון במקום ל"תמונה שבורה". */
.artpanel {
  position: relative;
  aspect-ratio: 4 / 3;          /* משריין מקום — אפס CLS */
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, var(--brand-soft) 0%, var(--paper-2) 55%, var(--paper-3) 100%);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-2);
}
/* רשת עדינה ברקע */
.artpanel::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(8,8,10,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,8,10,.05) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 72%);
          mask-image: radial-gradient(circle at 50% 50%, #000, transparent 72%);
}
/* קשת כתומה מאחורי הדמות */
.artpanel::after {
  content: "";
  position: absolute; z-index: -1;
  inset-block-end: -18%;
  inset-inline-start: 50%;
  translate: 50% 0;
  width: 62%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,90,31,.28), transparent 68%);
  filter: blur(10px);
}
.artpanel img {
  width: 100%; height: 100%;
  padding: clamp(1.5rem, 4vw, 3rem);
  object-fit: contain;
  background: none;
  transition: transform .7s var(--ease);
}
.artpanel:hover img { transform: scale(1.04) translateY(-6px); }

/* וריאנט צילום — תמונה ממלאת, בלי ריפוד ובלי הרשת שמאחור.
   התמונה עדיין קטנה מהמקור, לכן contrast/saturate מחפים על הריכוך בהגדלה. */
.artpanel--photo { background: var(--ink-2); }
.artpanel--photo::before { display: none; }
.artpanel--photo img {
  padding: 0;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.06);
}
.artpanel--photo::after {
  inset: 0;
  translate: none;
  width: auto; aspect-ratio: auto;
  border-radius: 0;
  background: linear-gradient(210deg, rgba(255,90,31,.22), transparent 55%);
  filter: none;
  z-index: 1;
  mix-blend-mode: screen;
  pointer-events: none;
}

.floatcard {
  position: absolute;
  z-index: 2;                      /* מעל שכבת הגרדיאנט של artpanel--photo */
  inset-block-end: var(--s-5);
  inset-inline-start: var(--s-5);
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-1);
}
.floatcard strong {
  display: block;
  font-size: 1.875rem; font-weight: 900;
  letter-spacing: -.035em;
  color: var(--ink);
  line-height: 1.1;
}
.floatcard span { font-size: var(--t-xs); color: var(--muted); }

.checks { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.checks li { display: flex; align-items: flex-start; gap: var(--s-3); font-size: var(--t-body); line-height: 1.6; }
.checks svg { flex: none; margin-top: 5px; color: var(--blue-ink); }
.checks b { font-weight: 700; color: var(--ink); }

/* --------------------------------------------------------------------------
   15. CTA band
   -------------------------------------------------------------------------- */
.ctaband {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.ctaband::before {
  content: "";
  position: absolute; z-index: -1;
  inset-block-start: -45%;
  inset-inline-start: -8%;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,90,31,.32), transparent 66%);
  filter: blur(26px);
  animation: glow-float 16s ease-in-out infinite alternate;
}
.ctaband::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image: var(--grain);
  opacity: .06;
  pointer-events: none;
}
.ctaband__inner { display: grid; gap: var(--s-6); justify-items: center; text-align: center; }
.ctaband h2 { font-size: var(--t-h2); color: #fff; }
.ctaband p { max-width: 56ch; font-size: var(--t-lead); color: #c1c1cd; }
.ctaband__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center; }

.phone-xl {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-size: clamp(1.875rem, 4.8vw, 3rem);
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--blue);
  text-decoration: none;
  direction: ltr;
  transition: color .25s, transform .35s var(--ease);
}
.phone-xl:hover { color: var(--brand); transform: scale(1.03); }
.phone-xl svg { animation: ring 3.5s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes ring {
  0%, 72%, 100% { transform: rotate(0); }
  76% { transform: rotate(-13deg); }
  80% { transform: rotate(11deg); }
  84% { transform: rotate(-8deg); }
  88% { transform: rotate(5deg); }
}

/* --------------------------------------------------------------------------
   16. Form
   -------------------------------------------------------------------------- */
.leadform {
  position: relative;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow-2);
}
/* מסגרת גרדיאנט דקה */
.leadform::before {
  content: "";
  position: absolute; inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(150deg, var(--brand), transparent 42%);
  opacity: .5;
}
.leadform > h3 { margin-bottom: var(--s-2); }
.leadform__sub { font-size: var(--t-sm); color: var(--muted); margin-bottom: var(--s-5); }
.leadform__grid { display: grid; gap: var(--s-4); }
@media (min-width: 720px) {
  .leadform__grid { grid-template-columns: 1fr 1fr; }
  .leadform__grid > .field--full,
  .leadform__grid > .leadform__submit { grid-column: 1 / -1; }
}

.field { display: grid; gap: var(--s-2); }
.field label { font-size: var(--t-sm); font-weight: 700; color: var(--ink); }
.field label .req { color: var(--brand-ink); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: .95rem 1.05rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper-2);
  font: inherit;
  font-size: var(--t-body);
  color: var(--ink);
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.field input::placeholder, .field textarea::placeholder { color: #85858f; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,90,31,.15);
}
.field input[type="tel"] { direction: ltr; text-align: right; }

.form-note { margin-top: var(--s-4); font-size: var(--t-xs); color: var(--muted); text-align: center; }

/* --------------------------------------------------------------------------
   17. Link cards
   -------------------------------------------------------------------------- */
.linkcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: var(--s-4); }
.linkcard {
  position: relative;
  display: flex; align-items: flex-end;
  min-height: 320px;
  padding: var(--s-6);
  border-radius: var(--r-lg);
  background: var(--ink-2);
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
}
.linkcard img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  background: none;
  filter: grayscale(.3);
  transition: transform .8s var(--ease), filter .4s;
}
.linkcard::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(8,8,10,.94) 5%, rgba(8,8,10,.35) 55%, rgba(8,8,10,.12) 100%);
}
.linkcard:hover img { transform: scale(1.08); filter: grayscale(0); }
.linkcard h3 { display: flex; align-items: center; gap: var(--s-3); font-size: var(--t-h3); color: #fff; }
.linkcard h3 svg { flex: none; color: var(--blue); transition: transform .35s var(--ease); }
.linkcard:hover h3 svg { transform: translateX(-8px); }

/* --------------------------------------------------------------------------
   18. Accordion
   -------------------------------------------------------------------------- */
.acc { display: grid; gap: var(--s-3); }
.acc__item {
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
  transition: box-shadow .35s, border-color .35s;
}
.acc__item[open] { border-color: var(--line); box-shadow: var(--shadow-1); }
.acc__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-5) var(--s-6);
  font-size: var(--t-h3);
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: background-color .25s;
}
.acc__item summary::-webkit-details-marker { display: none; }
/* ה-H2 המקורי נשמר בתוך ה-summary; הוא יורש את גודל הכותרת של האקורדיון
   במקום את גודל ה-H2 הגלובלי, כדי שהתגית תישמר בלי לשבור את הקצב הוויזואלי. */
.acc__item summary h2 { font-size: inherit; font-weight: inherit; letter-spacing: inherit; }
.acc__item summary:hover { background: var(--paper-2); }
.acc__item summary::after {
  content: "";
  flex: none;
  width: 11px; height: 11px;
  border-inline-end: 2.5px solid var(--brand);
  border-block-end: 2.5px solid var(--brand);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .35s var(--ease);
}
.acc__item[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.acc__body { padding: 0 var(--s-6) var(--s-6); font-size: var(--t-body); color: var(--muted); line-height: 1.8; }
/* פתיחה רכה — נעשית על ה-body בלבד כדי לא לגעת בגובה של summary */
.acc__item[open] .acc__body { animation: acc-open .4s var(--ease-out); }
@keyframes acc-open { from { opacity: 0; transform: translateY(-8px); } }

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */
.footer { position: relative; padding-block: var(--s-8) var(--s-5); background: var(--ink); color: #93939f; font-size: var(--t-sm); isolation: isolate; }
.footer::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: var(--grain); opacity: .05; pointer-events: none;
}
/* auto-fit ולא רוחב קבוע: עמודות הפוטר מוצגות רק אם שויך להן תפריט,
   ולכן מספרן משתנה. רשת קשיחה של 3 הייתה משאירה חורים. */
.footer__grid {
  display: grid;
  grid-template-columns: minmax(min(260px, 100%), 1.4fr) repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: var(--s-7);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid var(--line-dark);
}
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr; gap: var(--s-6); } }
.footer__title { margin-bottom: var(--s-4); font-size: var(--t-sm); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.footer a { color: #c4c4d0; text-decoration: none; transition: color .2s, padding-inline-start .25s var(--ease); }
.footer a:hover { color: var(--blue); padding-inline-start: 4px; }
.footer li { margin-bottom: .55rem; }
.footer__logo { width: 112px; height: 76px; object-fit: contain; background: none; margin-bottom: var(--s-4); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: var(--s-3);
  align-items: center; justify-content: space-between;
  padding-top: var(--s-5);
  font-size: var(--t-xs);
}
.social { display: flex; gap: var(--s-3); }
.social a {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  transition: background-color .3s, border-color .3s, color .3s, transform .3s var(--ease);
}
.social a:hover { background: var(--brand); border-color: var(--brand); color: var(--ink); transform: translateY(-3px); padding: 0; }

/* --------------------------------------------------------------------------
   20. Floating actions
   -------------------------------------------------------------------------- */
.scrolltop {
  position: fixed;
  /* מדרג מעל כפתור הוואטסאפ, לא מעליו — ראו סעיף 20b */
  inset-block-end: calc(var(--actionbar-h) + var(--float-gap) * 2 + var(--float-size));
  inset-inline-start: var(--s-5);
  z-index: 50;
  display: grid; place-items: center;
  width: 50px; height: 50px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-1);
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: opacity .35s, transform .35s var(--ease), visibility .35s, background-color .25s;
}
.scrolltop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scrolltop:hover { background: var(--brand); border-color: var(--brand); }

.actionbar { display: none; }
@media (max-width: 767px) {
  :root { --actionbar-h: 70px; }
  .actionbar {
    position: fixed;
    inset-block-end: 0;
    inset-inline: 0;
    z-index: 55;
    display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2);
    padding: var(--s-3);
    padding-bottom: calc(var(--s-3) + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 26px rgba(8,8,10,.1);
  }
  .actionbar .btn { padding: .85rem 1rem; font-size: var(--t-sm); }
}

/* --------------------------------------------------------------------------
   20b. ווידג'טים צפים של תוספים
   שני תוספים מציירים כפתורים צפים משלהם ישירות על ה-body, בלי לדעת ש-
   .actionbar כבר תופס את תחתית המסך בנייד:

     #callnowbutton  (Call Now Button)  z-index 2,147,483,647
     #ht-ctc-chat    (Click to Chat)    z-index 99,999,999

   שניהם נחתו *מעל* שני ה-CTA של הסרגל — לחיצה על "אימון נסיון" חייגה
   בטלפון במקום לפתוח את הטופס — וגם מעל תפריט המובייל הפתוח (z-index 70).
   נמדד ב-2026-09-03 על iPhone 390×844.

   ה-z-index שלהם גבוה מכל ערך שאפשר להתחרות בו, ו-#ht-ctc-chat ממקם את
   עצמו ב-style inline. לכן החוקים כאן חייבים !important — זה לא קיצור דרך.
   -------------------------------------------------------------------------- */
:root {
  --float-size: 50px;   /* קוטר הכפתורים הצפים של התוספים */
  --float-gap:  14px;
}

/* Call Now Button מוסתר לגמרי: הוא כפילות משולשת של מספר הטלפון —
   בסרגל התחתון, ב-topbar ובפוטר. גם התווית "לשיחה עם נציג" שלו נכשלה
   בניגודיות (2.05:1). מומלץ להשבית את התוסף עצמו כדי לחסוך גם את הנכסים. */
#callnowbutton { display: none !important; }

/* וואטסאפ נשאר — הוא ערוץ המרה אמיתי — אבל מורם מעל הסרגל
   ויורד מתחת ל-.mobilenav (70) ול-.header (60) כדי לא לכסות אותם. */
/* מאפיינים פיזיים במכוון: התוסף כותב right:15px ב-style inline, ו-!important
   על אותו מאפיין בדיוק הוא הדבר היחיד שמנצח אותו בוודאות. `inset-inline-start`
   היה מתורגם לאותו צד ב-RTL אבל משאיר את דירוג הקסקייד פתוח לפרשנות. */
.ht-ctc.ht-ctc-chat {
  bottom: calc(var(--actionbar-h) + var(--float-gap)) !important;
  right: var(--s-5) !important;
  left: auto !important;
  z-index: 52 !important;
}

/* --------------------------------------------------------------------------
   21. Reveal on scroll
   מוסתר רק כאשר JS פעיל (המחלקה .js נוספת ב-<head>).
   בלי זה — כשל JS או חוסם סקריפטים היה מותיר את העמוד ריק, וגוגל לא היה
   רואה תוכן. זהו התנאי שמאפשר להשתמש באנימציות בלי לסכן את הקידום.
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* מדרג ילדים — כל פריט נכנס מעט אחרי קודמו */
.js [data-stagger] > * { transition-delay: calc(var(--i, 0) * 70ms); }

/* --------------------------------------------------------------------------
   22. Utilities
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  inset-block-start: -100px;
  inset-inline-start: var(--s-4);
  z-index: 100;
  padding: var(--s-3) var(--s-5);
  border-radius: 0 0 var(--r-md) var(--r-md);
  background: var(--brand);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  transition: inset-block-start .2s;
}
.skip-link:focus { inset-block-start: 0; }

.ltr { direction: ltr; unicode-bidi: isolate; }
.center { text-align: center; }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
