/* ============================================================
   Dolev — ייעוץ, תכנון וניהול מערכי ביטחון
   Design source: Figma "Dolev" (node 1:3, 1920px web frame)
   ============================================================ */

:root {
  --navy: #132840;
  --navy-hero: #242e3d;
  --navy-soft: #274860;
  --white: #ffffff;
  --gray-100: #d1d9e3;
  --gray-200: #c6c6c6;
  --gray-300: #abb8c7;
  --gray-400: #9b9b9b;
  --gray-500: #73808f;
  --gray-600: #6b7887;
  --gray-700: #475565;
  --accent: #3ba8c7;
  /* בחירת הלקוח: Arimo לכל טקסט עברי (אינטר ראשון תופס לטינית וספרות,
     עברית נופלת ל-Arimo); Noto Sans Hebrew גיבוי אם Arimo לא נטען */
  --font: "Inter", "Arimo", "Noto Sans Hebrew", "Arial Narrow", sans-serif;
  --pad: clamp(20px, 8.33vw, 160px);
  --pad-narrow: clamp(20px, 5.7vw, 110px);
  --pad-head: clamp(20px, 4.9vw, 94px); /* כותרות הסקשנים בעיצוב יושבות 94px מהקצה */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* חוסם גלילה אופקית ברמת השורש — iOS מתעלם מ-overflow-x על body בלבד */
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--white);
  direction: rtl;
  /* בלי overflow-x כאן: זה הופך את body לקונטיינר גלילה והורג position:sticky
     של כרטיסי הערימה; הגלילה האופקית נחסמת ב-html (clip) */
}

img { max-width: 100%; display: block; }

h1, h2, h3 { font-weight: 600; }

.thin { font-weight: 400; }

.eyebrow {
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-500);
  margin-bottom: 14px;
}
.eyebrow.light { color: var(--gray-300); }

/* כניסה מדורגת לבלוקים של סקשן: כל חלק עולה בעדינות מלמטה בתורו —
   אותה תנועה כמו בהירו */
.reveal.reveal-seq { opacity: 1; transform: none; transition: none; }
.reveal-seq > * {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.95s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.95s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal-seq.is-visible > * { opacity: 1; transform: none; }
.reveal-seq.is-visible > :nth-child(1) { transition-delay: 0.05s; }
.reveal-seq.is-visible > :nth-child(2) { transition-delay: 0.3s; }
.reveal-seq.is-visible > :nth-child(3) { transition-delay: 0.55s; }
.reveal-seq.is-visible > :nth-child(n+4) { transition-delay: 0.8s; }
/* בלוק שהוא החלק השלישי אך יושב במכולה נפרדת (הליד של המודל) */
.reveal.reveal-third.is-visible { transition-delay: 0.55s; }
@media (prefers-reduced-motion: reduce) {
  .reveal-seq > * { opacity: 1; transform: none; transition: none; }
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Buttons (notched corner, arrow nudges on hover) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  padding: 15px 28px;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px);
  font-family: inherit;
  white-space: nowrap;
}
.btn-light { background: var(--white); color: var(--navy); }
.btn-dark { background: var(--navy); color: var(--white); font-size: 16px; }
.btn .btn-arrow { transition: transform 0.25s ease; }
.btn:hover .btn-arrow { transform: translateX(-6px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  /* בעיצוב: תוכן ההדר ממורכז אנכית — מרווח שווה מעל ומתחת */
  padding: 0 66px;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.site-header.is-scrolled {
  background: rgba(19, 40, 64, 0.88);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 56px;
  /* פס דק כפי שהיה — התיקון היחיד שהלקוח ביקש: התוכן ממורכז אנכית
     (שורת התוכן בפיגמה גבוהה 46px והכפתורים ממורכזים בתוכה) */
  height: 82px;
}
/* בעיצוב: הלוגו בקצה השמאלי, ENG לידו, והתפריט בצד ימין — בשתי השפות */
.main-nav { order: 1; margin-inline-end: auto; }
.lang-link { order: 2; }
.brand { order: 3; }
html[dir="ltr"] .brand { order: 1; }
html[dir="ltr"] .lang-link { order: 2; }
html[dir="ltr"] .main-nav { order: 3; margin-inline-end: 0; margin-inline-start: auto; }
.brand {
  display: inline-flex;
  /* בעיצוב האייקון והשם חולקים מרכז אנכי אחד — מרכוז גיאומטרי, בלי margin ידני */
  align-items: center;
  gap: 24px;
  text-decoration: none;
  direction: ltr;
}
/* הלוגו כולל השם הוקטן ב-10% לבקשת הלקוח */
.brand-icon { width: 40.5px; height: 41.4px; will-change: transform; }
/* height:auto מבטל את מתיחת ה-SVG שנגרמת מ-height="17" בתגית */
.brand-text { width: 85px; height: auto; }
.main-nav {
  display: flex;
  gap: 45px;
}
.main-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 18px;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  inset-inline: 0;
  height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }
.lang-link {
  color: var(--white);
  font-size: 18px;
  /* בעיצוב אין קו תחתון קבוע — רק אפקט hover כמו שאר כפתורי ההדר */
  text-decoration: none;
  position: relative;
}
.lang-link::after {
  content: "";
  position: absolute;
  bottom: -6px;
  inset-inline: 0;
  height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.lang-link:hover::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy-hero);
  overflow: hidden;
  /* יחס 1202/1920 כמו בעיצוב, אך לא יותר מגובה המסך —
     במבט ראשון בדסקטופ רואים גם את הכותרת וגם את שורת המונים */
  min-height: min(62.6vw, 100vh);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
/* קווי מתאר אלכסוניים בפינה השמאלית התחתונה (מקבילית פתוחה) */
.hero-deco {
  position: absolute;
  right: 0;
  top: 45.6vw; /* הקו האופקי בגובה 875 בפריים הדסקטופ */
  width: 40.8vw;
  height: 17.06vw;
  pointer-events: none;
  z-index: 0;
  /* הקו האופקי יושב על קצה ה-viewBox — בלי זה חצי מעובי הקו נחתך
     והאלכסון נראה עבה פי שניים ממנו */
  overflow: visible;
}
html[dir="ltr"] .hero-deco { right: auto; left: 0; transform: scaleX(-1); }
/* בדסקטופ כל הקו — אופקי + אלכסון — הוא PATH אחד בתוך ‎.about-diag‎, כך שחיבור
   שבור בלתי אפשרי פיזית; ה-SVG של ההירו משמש רק את פריים המובייל */
.hero-deco { display: none; }
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video,
.hero-media img {
  width: 100%;
  height: 74%;
  object-fit: cover;
  object-position: center 30%;
}
/* iOS Safari מצייר כפתור Play על וידיאו שה-autoplay שלו נחסם (מצב חיסכון
   בסוללה) — מסתירים את שכבת הכפתור לגמרי; הווידיאו הוא רקע דקורטיבי */
.hero-video::-webkit-media-controls,
.hero-video::-webkit-media-controls-start-playback-button,
.hero-video::-webkit-media-controls-overlay-play-button {
  display: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 28, 46, 0.42) 0%, rgba(19, 40, 64, 0.55) 34%, var(--navy) 62%);
}
/* הקו בעיצוב מתחת לפריט התפריט הראשון הוא דוגמת hover — קיים אצלנו כאפקט ריחוף */
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: clamp(160px, 16vw, 310px);
  padding-inline-start: clamp(20px, 4.6vw, 88px);
  text-align: right;
  max-width: 1010px;
}
.hero-content h1 {
  font-size: clamp(32px, 2.8vw, 54px);
  line-height: 1.31;
  font-weight: 400;
}
.hero-sub {
  margin-top: 16px;
  font-size: clamp(17px, 1.15vw, 22px);
  line-height: 1.55;
  color: var(--gray-100);
}
.hero-cta { margin-top: 44px; }
.hero-stats {
  position: relative;
  z-index: 1;
  /* המרווח מעל המונים מתכווץ במסכים נמוכים כדי שהשורה תיכנס לפולד הראשון */
  padding-top: min(clamp(120px, 15.8vw, 303px), max(60px, 100vh - 39.5vw - 120px));
  /* בעיצוב המעודכן המונים הוזזו שמאלה — העמודה הראשונה נפתחת ב-86px */
  padding-inline: clamp(20px, 4.48vw, 86px);
  padding-bottom: clamp(80px, 8vw, 170px);
}
.stats-row {
  /* בעיצוב המונים יושבים בצד שמאל בסדר 15 | 57% | 3 משמאל לימין */
  direction: ltr;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: clamp(40px, 3.96vw, 76px);
}
/* באנגלית המונים בצד ימין — אחרת הקו האלכסוני חוצה את המספרים */
html[dir="ltr"] .stats-row { justify-content: flex-end; }
.stat-label { direction: rtl; }
/* ‎.stat‎ מוגדר ltr בשביל הספרות, ולכן תיבת המספר צריכה הצמדה פיזית מפורשת
   אל הצד שממנו מתחיל הטקסט — כך "3" מיושר לימין עם הכיתוב שמתחתיו */
html[dir="rtl"] .stat-number { margin-left: auto; margin-right: 0; }
html[dir="ltr"] .stat-number { margin-left: 0; margin-right: auto; }
/* הכיתוב הוא בלוק ברוחב התוכן שממורכז בעמודה (הטקסט בתוכו נשאר מיושר),
   כך שבעמודה האמצעית הוא יושב במרכז עם אותו מרווח משני הקווים */
.stat-label { width: fit-content; margin-inline: auto; }
/* בקשת הלקוח: הכיתוב של העמודה האמצעית ממורכז */
.stats-row > :nth-child(3) .stat-label { text-align: center; }
/* בעיצוב המספר והכיתוב מיושרים לקצה העמודה (ימין בעברית) */
.stat { text-align: right; }
html[dir="ltr"] .stat { text-align: left; }
.stat3-m { display: none; } /* נוסח הכיתוב השלישי בפריים המובייל */
html[dir="ltr"] .stat-number { text-align: left; }
.stat-number {
  /* לפי הערות הלקוח: Inter Regular, בלי ריווח בין הספרות,
     והמספר ממורכז ביחס לטקסט שמתחתיו (שנשאר מיושר לימין) */
  display: block;
  /* בקשת הלקוח: המספר מיושר לקצה ההתחלה של הטקסט שמתחתיו (ימין בעברית).
     המרג'ין השלילי בצד הסיום בלבד: המספר גולש שמאלה ולא מרחיב את העמודה,
     ולכן שינויי רוחב בין ספרות בזמן הספירה לא מזיזים את השורה */
  /* האלמנט מחושב כ-ltr, ולכן צדדים פיזיים מפורשים לכל שפה */
  text-align: right;
  margin-left: 0;
  margin-right: 0;
  white-space: nowrap;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  font-size: clamp(46px, 5.2vw, 100px);
  line-height: 1.2;
  background: linear-gradient(180deg, var(--white) 10%, var(--accent) 104%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  min-width: 2ch;
}
.stat-label {
  margin-top: 32px;
  font-size: clamp(15px, 1.05vw, 20px);
  line-height: 1.4;
}
.stat-label .muted { color: var(--gray-400); }
.stat-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.35);
}

/* ---------- About ---------- */
.about {
  position: relative;
  min-height: 55.73vw; /* 1070/1920 */
  background: linear-gradient(179deg, var(--navy) 34%, var(--navy-soft) 55%, var(--white) 92%);
  padding: clamp(100px, 14.4vw, 276px) var(--pad) clamp(220px, 26vw, 500px);
  /* הקו האלכסוני מתחיל מעל הסקשן — אנכית חייב להישאר גלוי; אופקית נחתך
     כדי שתיקון המפגש של קו המובייל (±2px) לא ירחיב את העמוד */
  overflow: visible;
  overflow-x: clip;
}
/* הקו של הדסקטופ: אופקי מקצה המסך פנימה ואז אלכסון בשיפוע ‎-0.503‎ — הכל
   path אחד. aspect-ratio שומר סקאלה אחידה כך שהעובי ומהירות הציור אחידים */
.about-line { /* הגרסה המובייל בלבד */
  display: none;
  position: absolute;
  pointer-events: none;
}
.about-diag {
  position: absolute;
  /* הקטע האופקי יושב על y=0 של ה-viewBox; ברירת המחדל של SVG חותכת חצי
     מעובי הקו שלו, ולכן הוא נראה דק בחצי מהאלכסון */
  overflow: visible;
  top: calc(45.65vw - min(62.6vw, 100vh)); /* קירוב עד שה-JS מודד את גובה ההירו */
  left: 0;
  width: 100%;
  aspect-ratio: 1000 / 620.5;
  pointer-events: none;
}
/* ספארי ישן (מקינטוש שלא עודכן) לא מכיר aspect-ratio — גובה מפורש במקום */
@supports not (aspect-ratio: 1 / 1) {
  .about-diag { height: 62.05vw; }
}
html[dir="ltr"] .about-diag { transform: scaleX(-1); }
.draw-line {
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;
}
.about-text {
  max-width: 537px;
  /* בלוח התיקונים הבלוק הוזז: קצה הטקסט ב-692 מימין — 310px מהקו האלכסוני */
  margin-inline-start: auto;
  margin-inline-end: 0;
}
/* באנגלית הבלוק בצד שמאל של הקו, לפי הערת הלקוח */
html[dir="ltr"] .about-text { margin-inline-start: 20px; margin-inline-end: auto; }
.about-text h2 {
  font-size: clamp(22px, 1.5vw, 28px);
  line-height: 1.42;
  letter-spacing: -0.01em;
  font-weight: 600;
}
/* השורה התחתונה דקה יותר בעברית; באנגלית הפוך — עליונה Regular, תחתונה Semi-Bold */
.about-text h2 .h2-line2 { font-weight: 300; }
html[dir="ltr"] .about-text h2 { font-weight: 400; }
html[dir="ltr"] .about-text h2 .h2-line2 { font-weight: 600; }
.about-text p {
  margin-top: 32px;
  /* מיושר לימין כמו בעיצוב; 18 במשקל שנראה Regular; שבירות ב-br ייעודי */
  font-size: 18px;
  font-weight: 400;
  max-width: 510px;
  line-height: 1.6;
  text-align: start;
  color: var(--gray-200);
}
.about-text .hl { color: var(--white); }

/* logos strip — auto-rotating (marquee) */
.logos-strip {
  position: absolute;
  bottom: clamp(80px, 7.55vw, 145px);
  /* לפי הערת הלקוח: הרצועה תחומה ל-918px במרכז, לא מקצה לקצה */
  inset-inline: 0;
  width: min(918px, calc(100% - 40px));
  margin-inline: auto;
  overflow: hidden;
  /* עוגן קבוע לרצועה: מיקום בלוק רחב מהמסך תלוי-כיוון בדפדפנים שונים,
     לכן הרצועה תמיד מעוגנת שמאלה; כיוון התוכן נשמר על הסטים עצמם */
  direction: ltr;
}
html[dir="ltr"] .logos-strip { width: min(919px, calc(100% - 40px)); }
.logos-track {
  --marquee-shift: 20%;
  display: flex;
  width: max-content;
  animation: marquee-rtl 32s linear infinite;
}
.logos-strip:hover .logos-track { animation-play-state: paused; }
.logos-set {
  display: flex;
  align-items: center;
  gap: 77px;
  padding-inline-end: 77px;
}
html[dir="rtl"] .logos-set { direction: rtl; }
.logo-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  /* לפי הערת הלקוח: הטקסט לצד הלוגואים 18 במקום 20 */
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0;
  color: var(--navy);
  white-space: nowrap;
}
.logo-item img { height: 26px; width: auto; }

/* פולבק ללא JS; עם JS הרצועות מונעות פיקסל-אחר-פיקסל ב-main.js */
@keyframes marquee-rtl {
  from { transform: translateX(calc(-1 * var(--marquee-shift, 25%))); }
  to { transform: translateX(0); }
}

/* ---------- Founder ---------- */
.founder {
  position: relative;
  background: var(--navy);
  min-height: 69.27vw; /* 1330/1920 */
}
.founder-media {
  position: relative;
}
/* החיתוך חל רק על תמונת הרקע (בשביל הפרלקסה) — לא על הכרטיס והדיוקן */
.founder-media-clip {
  position: relative;
  overflow: hidden;
}
/* הדיוקן מעוגן לפינת הכרטיס עצמו (כמו בפיגמה): צמוד לקצה הכרטיס,
   חופף לתחתיתו וגולש מתחתיה — כך היחס נשמר גם כשהטקסט משנה את גובה הכרטיס */
.founder-portrait-wrap {
  position: absolute;
  inset-inline-start: 0;
  bottom: max(-165px, -8.6vw); /* 165/1920 מתחת לתחתית הכרטיס */
  width: clamp(120px, 11.62vw, 223px);
  z-index: 3;
  line-height: 0;
}
.founder-portrait {
  width: 100%;
  height: auto;
  display: block;
}
.founder-media-clip img {
  width: 100%;
  height: clamp(420px, 42vw, 808px);
  object-fit: cover;
  will-change: transform;
  position: relative;
  z-index: 0;
}
.founder-fade {
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 40%;
  background: linear-gradient(180deg, var(--white) 0%, rgba(255, 255, 255, 0) 100%);
  z-index: 1;
}
.founder-card {
  position: absolute;
  z-index: 2;
  top: clamp(60px, 9.4vw, 181px);
  /* בלוח התיקונים הכרטיס בעברית יושב 180px מהקצה הימני */
  right: clamp(20px, 9.4vw, 180px);
  /* בעיצוב הכרטיס הוא 597/1920 = 31.1% מרוחב המסך. רוחב קבוע גרם לכך שבמסכים
     קטנים מ-1920 הכרטיס "זלג" שמאלה וכיסה חלק גדול מדי מהתמונה */
  width: min(clamp(340px, 31.1vw, 598px), calc(100% - 40px));
  min-height: clamp(400px, 36.5vw, 702px);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  padding: clamp(48px, 8.4vw, 161px) clamp(24px, 3.65vw, 70px) 40px;
}
/* מתחת ל-1800 הכרטיס צר יותר, הביוגרפיה נשברת ליותר שורות והגיעה עד הפורטרט
   (ואף חפפה אותו). ריפוד עליון קטן יותר מרים את הטקסט ומחזיר מרווח */
@media (min-width: 901px) and (max-width: 1799px) {
  .founder-card { padding-bottom: clamp(40px, 7vw, 110px); }
}
/* במסכי לפטופ הכרטיס נמוך יותר, והטקסט הגיע קרוב מדי לדיוקן: 26px נוספים
   בתחתית מרימים את הטקסט בתוך הקופסה. מ-1600 ומעלה גובה המינימום של
   הכרטיס כבר יוצר את המרווח הזה, ולכן שם לא נוגעים בכלום */
@media (min-width: 901px) and (max-width: 1599px) {
  .founder-card { padding-bottom: calc(clamp(40px, 7vw, 110px) + 26px); }
}
/* הביוגרפיה באנגלית ארוכה מזו שבעברית — הטקסט מתחיל גבוה יותר בכרטיס */
@media (min-width: 901px) {
  html[dir="ltr"] .founder-card { padding-top: clamp(48px, 5.7vw, 110px); }
  text-align: right;
}
.founder-card h3 {
  color: var(--navy);
  font-size: clamp(22px, 1.5vw, 28px);
  line-height: 1.56;
}
.founder-role {
  color: var(--gray-600);
  font-size: 16px;
  font-weight: 500;
  margin-top: 4px;
}
.founder-bio {
  margin-top: clamp(28px, 3vw, 58px);
  color: var(--navy);
  /* לפי העיצוב: טקסט רץ 18, שש שורות ברוחב 467 */
  font-size: 18px;
  line-height: 1.9;
}
/* משולש כהה בפינה השמאלית-תחתונה של הכרטיס (כמו בעיצוב; באנגלית — ימנית) */
.corner-notch-dark::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  border-style: solid;
  border-width: 0 100px 100px 0;
  border-color: transparent transparent #18283e transparent;
}
.founder-columns {
  display: grid;
  /* מדוד מלוח התיקונים: הבלוק בחצי השמאלי — עמודה ימנית 413 (קצה ב-1009),
     שמאלית 387 (קצה ב-138), רווח 71; הדיוקן נשאר בצד ימין */
  grid-template-columns: minmax(0, 413px) minmax(0, 387px);
  justify-content: flex-end;
  gap: clamp(32px, 3.7vw, 71px);
  margin-inline: auto clamp(20px, 7.2vw, 138px);
  width: fit-content;
  padding: clamp(48px, 8.2vw, 158px) 0 clamp(40px, 3vw, 58px);
  direction: rtl;
}
html[dir="ltr"] .founder-columns { direction: ltr; }
.founder-columns p {
  /* לפי העיצוב: 18 עם מרווח שורות 34, בלי צימוד אותיות */
  font-size: 18px;
  line-height: 1.9;
  letter-spacing: 0;
}
/* בקשת הלקוח: מרווח שורות 1.6 בדסקטופ (במובייל נשאר 1.8) */
@media (min-width: 901px) {
  .founder-columns p { line-height: 1.6; }
}

/* typewriter-style reveal: gray → white per word */
/* מילה = יחידת שבירת שורה; אות = יחידת צביעה */
.type-reveal .tw { display: inline-block; }
.type-reveal .tl {
  color: var(--gray-600);
  transition: color 0.4s ease;
}
.type-reveal .tl.is-lit { color: var(--white); }

/* שבירת שורה שקיימת רק בפריים המובייל */
.br-m { display: none; }

/* ---------- What we do — stacking cards ---------- */
.whatwedo {
  background: var(--white);
  color: var(--navy);
  padding: clamp(90px, 10.9vw, 210px) var(--pad-head) clamp(40px, 5.83vw, 112px);
}
.whatwedo .section-head {
  text-align: right;
  margin-bottom: clamp(48px, 6.2vw, 119px);
  /* הכותרת נשארת דבוקה לראש כל עוד הכרטיסים נערמים (רפרנס הלקוח) */
  position: sticky;
  top: var(--hdr-h, 82px);
  z-index: 3;
  background: var(--white);
  /* ריפוד עליון: כשהכותרת נתקעת היא נשארת באותו מרחק מההדר כמו בזרימה
     הרגילה — בלי קפיצה, ובלי שהכרטיסים יציצו מעליה */
  padding-top: clamp(24px, 3.1vw, 50px);
  padding-bottom: clamp(24px, 2.5vw, 48px);
  margin-top: calc(-1 * clamp(24px, 3.1vw, 50px));
}
.whatwedo h2 { font-size: clamp(24px, 1.77vw, 34px); color: var(--navy); font-weight: 600; }
/* לפי העיצוב: השורה התחתונה "במקום אחד" דקה יותר */
.whatwedo h2 .h2-line2 { font-weight: 300; }
/* בקשת הלקוח: בכל כותרת h2 בת שתי שורות — עליונה 1.57vw, תחתונה 1.47vw,
   כל שורה נשלטת בנפרד */
@media (min-width: 901px) {
  h2 .h2-line1,
  .services-head h2 .h2-light,
  .contact-media-text h2 .h2-light { font-size: clamp(22px, 1.57vw, 30px); }
  h2 .h2-line2,
  .divisions-intro h2 .thin,
  .services-head h2 strong,
  .contact-media-text h2 strong { font-size: clamp(21px, 1.47vw, 28px); }
}

/* עוגני הניווט: הסקשן נוחת בדיוק מתחת להדר הקבוע, ולא מתחתיו */
#about,
#whatwedo,
#expertise,
#services,
#contact { scroll-margin-top: var(--hdr-h, 82px); }

.stack-cards { position: relative; }
.stack-card {
  position: sticky;
  /* הכרטיסים נעצרים בדיוק מתחת לכותרת הדביקה, כך שהיא נשארת גלויה עד הסוף */
  top: calc(var(--hdr-h, 82px) + var(--ww-head-h, 150px));
  /* הרקע הלבן נמתח עד קצוות המסך (בקשת הלקוח) — הקו האפור נשאר ברוחב התוכן,
     ולכן הוא נשאר על הכרטיס עצמו והרקע עובר לשכבה נפרדת */
  background: transparent;
  border-top: 1px solid #d7dce2;
}
.stack-card::before {
  content: "";
  position: absolute;
  /* מגיע עד קצה המסך משני הצדדים — בדיוק הריפוד של הסקשן, בלי גלישה */
  inset: 0 calc(-1 * var(--pad-head)) -1px;
  background: var(--white);
}
.stack-inner { position: relative; background: var(--white); }
/* כל הכרטיסים נעצרים באותו גובה — קו הכרטיס הנכנס מתיישב בדיוק על קו
   הכרטיס הנעוץ (1:1), בלי מדרגות כפולות */
.stack-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  /* שורת כרטיס לפי הפריימים שהלקוח הצמיד: 45 מעל התמונה, 40 מתחתיה */
  padding: clamp(24px, 2.34vw, 45px) 0 clamp(20px, 2.08vw, 40px);
  min-height: 0;
}
.stack-img {
  /* מידות מדויקות מהפיגמה: 348x261 */
  width: clamp(180px, 18.13vw, 348px);
  height: clamp(135px, 13.59vw, 261px);
  object-fit: cover;
  flex-shrink: 0;
  /* בעיצוב התמונה חורגת 18px מריפוד הסקשן לכיוון הקצה */
  margin-inline-end: calc(-1 * clamp(0px, 0.94vw, 18px));
  /* פינה קטומה בפינה העליונה־שמאלית (בתצוגה) כמו בעיצוב */
  clip-path: polygon(0 0, calc(100% - 55px) 0, 100% 55px, 100% 100%, 0 100%);
}
.stack-text {
  max-width: 530px;
  text-align: right;
}
.stack-text h3 { font-size: clamp(19px, 1.15vw, 22px); }
.stack-text p {
  margin-top: 16px;
  /* לפי העיצוב: טקסט רץ 18 עם ריווח שורות אוורירי */
  font-size: 18px;
  line-height: 2;
  color: var(--gray-600);
}

/* ---------- Facilities ---------- */
.facilities {
  background: var(--navy);
  min-height: 66.1vw; /* 1269/1920 */
  /* בפריים הבלוק ממורכז אנכית בין ראש הסקשן לקרוסלה: 166 מעל, 350 מתחת */
  padding: clamp(60px, 8.65vw, 166px) 0 clamp(120px, 18.23vw, 350px);
}
.facilities-head {
  padding: 0 var(--pad-head);
  text-align: right;
  display: grid;
  grid-template-columns: minmax(0, 821px) minmax(0, 782px);
  /* שורת האייברו בגובה קבוע — הכותרת יושבת 40px מתחתיו כמו בפריים,
     והפסקה שמשתרעת על שתי השורות לא מנפחת את השורה הראשונה */
  grid-template-rows: 40px auto;
  justify-content: space-between;
  align-items: start;
  column-gap: 40px;
}
.facilities-head .eyebrow { grid-column: 1; }
.facilities-head h2 { grid-column: 1; }
.facilities-head .facilities-body { grid-column: 2; grid-row: 1 / span 2; }
.facilities-head .eyebrow { color: var(--gray-500); margin-bottom: 0; }
.facilities-head h2 { font-size: clamp(22px, 1.5vw, 28px); font-weight: 300; }
/* לפי הערת הלקוח: המשפט העליון דק יותר, התחתון מודגש; באנגלית הפוך */
.facilities-head h2 .h2-line2 { font-weight: 600; }
html[dir="ltr"] .facilities-head h2 { font-weight: 600; }
html[dir="ltr"] .facilities-head h2 .h2-line2 { font-weight: 400; }
.facilities-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  margin-top: 35px;
}
.facilities-lead {
  max-width: 782px;
  font-size: clamp(17px, 1.15vw, 22px);
  line-height: 1.58;
}
.facilities-carousel {
  margin-top: clamp(60px, 8.6vw, 165px);
  overflow: hidden;
  cursor: grab;
  /* עוגן קבוע לרצועה הרחבה — עיגון תלוי-כיוון משתנה בין דפדפנים */
  direction: ltr;
}
html[dir="rtl"] .facility { direction: rtl; }
/* בדסקטופ הכפתור יושב בתוך גוף הסקשן; העותק שמתחת לקרוסלה הוא למובייל בלבד */
.facilities-cta-mobile { display: none; }
.model-cta-mobile { display: none; } /* כפתור שמופיע רק בפריים המובייל */
.facilities-carousel.is-dragging { cursor: grabbing; }
.facilities-track {
  direction: ltr;
  display: flex;
  gap: 9px;
  width: max-content;
  will-change: transform;
}
.facility {
  position: relative;
  width: clamp(300px, 31.7vw, 608px);
  height: clamp(194px, 20.4vw, 393px);
  flex-shrink: 0;
  overflow: hidden;
}
.facility img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.facility::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 9%, rgba(52, 70, 91, 0.86) 67%, var(--navy) 84%);
}
.facility figcaption {
  position: absolute;
  bottom: clamp(16px, 1.8vw, 35px);
  right: clamp(12px, 1.2vw, 23px);
  left: clamp(12px, 1.2vw, 23px);
  z-index: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  padding-bottom: clamp(8px, 1vw, 19px);
  text-align: right;
}
.facility figcaption span {
  font-size: clamp(17px, 1.15vw, 22px);
  color: var(--white);
}

/* ---------- Divisions ---------- */
.divisions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  min-height: clamp(560px, 60.8vw, 1168px);
}
.divisions-dark {
  position: relative;
  /* בסיס כהה משלו: מאחורי הפאנל יושב הרקע הלבן של הגריד, וסדק של פיקסל
     בעיגול גבהים חשף אותו כפס לבן בקצה העליון (overflow:hidden חותך כל
     ניסיון לגלוש החוצה, ולכן הפתרון הוא צבע בסיס ולא גלישה) */
  background: var(--navy);
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}
.divisions-bg {
  position: absolute;
  /* פיקסל גלישה לכל צד, מאותה סיבה כמו בתמונת יצירת הקשר */
  inset: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  object-fit: cover;
  will-change: transform;
  z-index: 0;
}
.divisions-dark::before {
  content: "";
  position: absolute;
  /* גלישה של פיקסל מעבר למסגרת: תמונת הרקע היא שכבת קומפוזיציה נפרדת
     (parallax + will-change), ובגלילה נוצר לעיתים סדק של פיקסל בקצה שבו
     נראתה התמונה הבהירה בלי ההצללה. ההורה עם overflow:hidden ולכן בטוח */
  inset: -1px;
  background: rgba(19, 40, 64, 0.79);
  z-index: 1;
}
.divisions-intro {
  position: relative;
  z-index: 2;
  padding: clamp(60px, 10.2vw, 196px) clamp(28px, 7.14vw, 137px) clamp(48px, 5vw, 90px) clamp(28px, 4.9vw, 94px);
  max-width: 730px;
  text-align: right;
}
.divisions-intro .eyebrow { margin-bottom: 28px; }
.divisions-intro h2 {
  font-size: clamp(24px, 1.77vw, 34px);
  line-height: 1.41;
}
/* הקו הדק מתחת לכותרת בצד הכהה — כמו בפריים (y374, מהקצה פנימה) */
.divisions-dark::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 19.375vw; /* 372/1920 — אותו קו רציף בשני הפאנלים */
  inset-inline-start: clamp(28px, 7.14vw, 137px);
  /* חצי פיקסל חפיפה במפגש הפאנלים — מונע קו-שערה בעיגולי vw שונים בין דפדפנים */
  width: calc(42.86vw + 1px); /* עד קו ההפרדה בין הפאנלים */
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
}
.divisions-lead {
  margin-top: clamp(48px, 5vw, 96px);
  max-width: 560px;
  /* לפי הערת הלקוח: 18 במשקל medium שנראה כמו Regular */
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
}
.divisions-light {
  position: relative;
  color: var(--navy);
  padding: clamp(60px, 13.33vw, 256px) clamp(28px, 4.1vw, 78px) clamp(60px, 5vw, 96px) clamp(28px, 5.2vw, 100px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
/* השקפים נערמים בתא גריד אחד — הגובה נקבע לפי השקף הגבוה ביותר,
   כך הטקסט אף פעם לא גולש על הנקודות */
.division-slides { position: relative; min-height: clamp(300px, 22vw, 420px); display: grid; }
/* החלק הבהיר של אותו קו רציף: מתחת לכותרת החטיבה, מקו ההפרדה פנימה */
.divisions-light::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 19.375vw;
  inset-inline-start: 0;
  width: 32.6vw; /* 626/1920 — עד x334 בפריים */
  height: 1px;
  background: #404040;
}
.division-slide {
  grid-area: 1 / 1;
  position: relative;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
  text-align: right;
}
.division-slide.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* הקו בצד הבהיר נוסע עם הפריט: הוא יושב על הפריט עצמו, ובמנוחה נוחת בדיוק
   על גובה הקו של הצד הכהה (13.33vw ריפוד + 6.045vw = 19.375vw) */
@media (min-width: 901px) {
  .divisions-light::after { display: none; }
  .division-slide::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 6.045vw;
    inset-inline-start: calc(-1 * clamp(28px, 4.1vw, 78px));
    width: 32.6vw;
    height: 1px;
    background: #404040;
  }
}
/* ---------- Divisions: הצד הכהה נעוץ, הפריטים בצד הבהיר נדחפים מלמטה למעלה
   לפי הגלילה (וחזרה בגלילה מעלה) — במקום מעבר דהייה. בקשת הלקוח + רפרנס
   peakenergy. במובייל נשארת ההחלפה בהחלקה עם הנקודות ---------- */
@media (min-width: 901px) {
  .divisions-pin { position: relative; }
  .divisions-pin.is-pinned .divisions { position: sticky; top: 0; }
  .divisions-pin.is-pinned .division-slides {
    overflow: hidden;
    position: relative;
    /* חלון החיתוך נמתח עד גבול הפאנלים כדי שהקו של הפריט יגיע עד הסוף
       וייפגש בדיוק עם הקו שבצד הכהה; הריפוד מחזיר את הטקסט למקומו */
    margin-inline-start: calc(-1 * clamp(28px, 4.1vw, 78px));
    padding-inline-start: clamp(28px, 4.1vw, 78px);
  }
  .divisions-pin.is-pinned .division-slide {
    opacity: 1;
    pointer-events: auto;
    transition: none;
    will-change: transform;
  }
  .divisions-pin.is-pinned .division-slide.is-past { pointer-events: none; }
}
.division-slide h3 {
  font-size: clamp(19px, 1.25vw, 24px);
  line-height: 1.3;
}
.division-slide h3 .thin { color: var(--gray-700); }
.division-slide p {
  margin-top: clamp(24px, 5.3vw, 102px);
  /* לפי הערת הלקוח: 18 במשקל medium שנראה כמו Regular */
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--gray-700);
  max-width: 611px;
}
.division-dots {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  /* בעיצוב הנקודה הפעילה הראשונה היא השמאלית — גם בעברית */
  direction: ltr;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--navy);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}
.dot.is-active { background: var(--navy); transform: scale(1.2); }

/* ---------- Regulation marquee ---------- */
.reg-strip {
  background: var(--navy);
  min-height: max(64px, 4.48vw); /* 86/1920 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  /* בעיצוב (ווב ומובייל) אין קו בראש הרצועה — רק מעבר צבע. במובייל הסקשן
     שמעל כהה גם הוא, ולכן קו של 8% לבן הפך לפס מיותר וגלוי */
  direction: ltr; /* עוגן קבוע — ראו .logos-strip */
}
.reg-track {
  --marquee-shift: 25%;
  display: flex;
  width: max-content;
  animation: marquee-rtl 28s linear infinite;
}
.reg-strip:hover .reg-track { animation-play-state: paused; }
.reg-set {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-inline-end: 24px;
}
html[dir="rtl"] .reg-set { direction: rtl; }
.reg-set span {
  font-size: 20px;
  font-weight: 300;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.reg-set i {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.6);
}
/* לפי הערת הלקוח: בדסקטופ אין נקודות בחטיבות — התחלופה אנכית בלבד */
@media (min-width: 901px) {
  .division-dots { display: none; }
}
/* ערימת הכרטיסים לפי הפריימים של המעצבת (34467/34468/34470): כל כרטיס הוא
   שורה אטומה 1750x346 עם קו דק בקצה העליון (Line 410/411) ורווח לבן של 45px
   מעל התמונה — הכרטיס הנכנס מכסה את הקודם במלואו, בלי דהייה ובלי שקיפות
   (כמו הרפרנסים bysanipropertyadvisors.com ו-rune.energy) */
/* בקשת הלקוח: גם בדסקטופ הפריטים נעים ברצועה — הריצה נחתכת ברוחב התוכן
   של הפריים (1171px ממורכז), לא מקצה הצג */
.reg-clip { overflow: hidden; width: 100%; }
@media (min-width: 901px) {
  .reg-clip {
    width: min(1171px, 100% - 2 * var(--pad-head));
    margin-inline: auto;
  }
  .reg-track { animation: none; }
  .reg-set { gap: 48px; padding-inline-end: 48px; }
  .reg-set span { font-size: 18px; }
}

/* ---------- Dolev 360 model ---------- */
.model {
  position: relative;
  min-height: 64.06vw; /* 1230/1920 */
  background: var(--white);
  color: var(--navy);
  /* בפריים: הכותרת מתחילה 156 מראש הסקשן והתוכן מסתיים 321 מהתחתית */
  padding: clamp(60px, 7.71vw, 148px) var(--pad-head) clamp(140px, 16.72vw, 321px);
  overflow: hidden;
}
.model-head { text-align: right; }
/* בקשת הלקוח: הרווח בין האייברו לכותרת כמו בשאר הסקשנים (הדוגמה: חטיבות) */
.model-head .eyebrow { margin-bottom: 28px; }
.model-head h2 { font-size: clamp(22px, 1.5vw, 28px); }
.model-top {
  display: flex;
  /* בפריים הפסקה והכפתור מסתיימים באותו קו תחתון (שניהם ב-165) */
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: clamp(20px, 1.93vw, 37px);
}
.model-lead {
  max-width: 612px;
  font-size: clamp(16px, 1.05vw, 20px);
  line-height: 1.62;
  color: var(--gray-600);
  text-align: right;
}
.model-cta { align-self: flex-end; }
.model-cards {
  margin-top: clamp(60px, 10.5vw, 202px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 39px);
}
.model-card {
  position: relative;
  background: #efefef;
  min-height: clamp(280px, 20.4vw, 392px);
  padding: clamp(28px, 3.1vw, 60px) clamp(24px, 3.4vw, 66px);
  text-align: right;
  transition: background 0.35s ease, color 0.35s ease;
}
.corner-notch {
  clip-path: polygon(62px 0, 100% 0, 100% 100%, 0 100%, 0 62px);
}
.model-num {
  font-size: 20px;
  font-weight: 500;
  color: var(--gray-600);
  position: absolute;
  top: clamp(28px, 3.1vw, 60px);
  left: clamp(24px, 3.4vw, 66px);
  /* שומר על "01/" (ולא "/01") בתוך הקשר RTL */
  direction: ltr;
  unicode-bidi: isolate;
}
.model-card h3 { font-size: clamp(18px, 1.15vw, 22px); }
.model-card .model-text {
  /* בקשת הלקוח: גוף הטקסט עולה ב-8px */
  margin-top: calc(clamp(24px, 2.4vw, 46px) - 8px);
  font-size: clamp(17px, 1.15vw, 22px);
  line-height: 1.58;
}
.model-card .chip {
  position: absolute;
  bottom: clamp(24px, 3.18vw, 61px);
  right: clamp(24px, 3.4vw, 66px);
  border: 1px solid var(--gray-600);
  color: var(--gray-500);
  border-radius: 1px;
  padding: 4px 13px;
  font-size: 16px;
  font-weight: 500;
  transition: inherit;
}
.model-card.is-featured {
  background: var(--navy);
  color: var(--white);
}
.model-card.is-featured .model-num { color: var(--gray-300); }
.model-card.is-featured .chip { border-color: var(--white); color: var(--white); }
/* המעבר בעכבר קיים רק במכשירים עם מצביע אמיתי: במגע הדפדפן משאיר את מצב
   ה-hover "תקוע" על הכרטיס שנגעו בו, והצבעים השתנו בלחיצה */
@media (hover: hover) and (pointer: fine) {
  .model-card:hover {
    background: var(--navy);
    color: var(--white);
  }
  .model-card:hover .model-num { color: var(--gray-300); }
  .model-card:hover .chip { border-color: var(--white); color: var(--white); }
  /* ברגע שיש hover על כרטיס אחר — הכרטיס המודגש חוזר לרגיל */
  .model-cards:hover .model-card.is-featured:not(:hover) {
    background: #efefef;
    color: var(--navy);
  }
  .model-cards:hover .model-card.is-featured:not(:hover) .model-num { color: var(--gray-600); }
  .model-cards:hover .model-card.is-featured:not(:hover) .chip { border-color: var(--gray-600); color: var(--gray-500); }
}

/* פס כהה בתחתית סקשן המודל + משולש אלכסוני בפינה — כמו בפריים */
.model::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3.8vw;
  background: var(--navy);
}
.model::after {
  content: "";
  position: absolute;
  bottom: 3.8vw;
  /* צד פיזי מפורש — בעברית המשולש בפינה הימנית, באנגלית בשמאלית */
  right: 0;
  left: auto;
  border-style: solid;
  border-width: 0 0 3.59vw 4.69vw;
  border-color: transparent transparent var(--navy) transparent;
}
html[dir="ltr"] .model::after {
  left: 0;
  right: auto;
  border-width: 0 4.69vw 3.59vw 0;
}

/* ---------- Services ---------- */
.services {
  background: var(--navy);
  padding: clamp(80px, 7.66vw, 147px) var(--pad) clamp(80px, 9.9vw, 190px);
}
.services-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.services-head .eyebrow { margin-bottom: 17px; }
.services-head h2 {
  max-width: 721px;
  font-size: clamp(21px, 1.5vw, 28px);
  line-height: 1.22;
}
/* בקשת הלקוח: מרווח שורות 1.42 בדסקטופ בלבד */
@media (min-width: 901px) {
  .services-head h2 { line-height: 1.42; }
}
/* לפי הערת הלקוח: המשפט העליון דק יותר */
.services-head h2 .h2-light { font-weight: 300; }
.services-grid {
  margin-top: clamp(90px, 14vw, 269px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: clamp(40px, 5.9vw, 114px);
  row-gap: clamp(60px, 5.7vw, 110px);
}
.service {
  border-top: 1px solid rgba(219, 224, 229, 0.42);
  padding-top: 26px;
  text-align: right;
}
.service-num {
  /* לפי הערת הלקוח: קטן בנקודה אחת */
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-600);
  direction: ltr;
  unicode-bidi: isolate;
}
.service h3 {
  margin-top: 14px;
  font-size: clamp(18px, 1.15vw, 22px);
}
.service p {
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.58;
  color: var(--gray-300);
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  background: var(--white);
  color: var(--navy);
}
.contact-media {
  position: relative;
  /* בסיס כהה: שכבת התמונה נעה בפרלקסה, וסדק של פיקסל בגלילה חשף את הלבן */
  background: var(--navy);
  overflow: hidden;
  min-height: clamp(420px, 50vw, 962px);
}
.contact-media img {
  position: absolute;
  /* פיקסל גלישה לכל צד: גובה שבור של המכולה השאיר חוט של רקע בקצה */
  inset: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  object-fit: cover;
  will-change: transform;
}
.contact-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(19, 40, 64, 0.79);
  z-index: 1;
}
.contact-media-text {
  position: absolute;
  z-index: 2;
  /* בקשת הלקוח: הבלוק ממורכז בתוך פאנל התמונה — אנכית ואופקית */
  top: calc(50% - 50px);
  transform: translateY(-50%);
  /* התיבה עצמה ממורכזת אופקית בפאנל, והטקסט בתוכה נשאר מיושר לימין */
  inset-inline: 0;
  width: fit-content;
  max-width: calc(100% - 2 * clamp(24px, 4.16vw, 80px));
  margin-inline: auto;
  text-align: right;
  /* בעיצוב הכותרת לבנה על התמונה הכהה — בשתי השפות, ווב ומובייל */
  color: var(--white);
}
/* באנגלית הטקסט קרוב יותר לקצה הפנימי, לפי לוח התיקונים */
html[dir="ltr"] .contact-media-text { text-align: left; }
.contact-media-text h2 {
  font-size: clamp(22px, 1.56vw, 30px);
  line-height: 1.85;
}
.contact-media-text strong { font-size: inherit; }
/* האייברו בפריים יושב ימינה מקצה הכותרת (1697 מול 1505) */
.contact-media-text .eyebrow { margin-inline-end: 0; }
.contact-form-wrap {
  position: relative;
  /* התווית הראשונה יושבת 164 מראש הסקשן, כמו בלוח התיקונים */
  padding: clamp(48px, 8.54vw, 164px) clamp(24px, 8.3vw, 160px) 40px;
}
/* משולש כהה בפינה השמאלית התחתונה של אזור הטופס — הוקטן לפי הערת הלקוח */
.contact-form-wrap::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  border-style: solid;
  border-width: 0 70px 70px 0;
  border-color: transparent transparent #18283e transparent;
}
.contact-form { max-width: 645px; }
.field {
  display: block;
  /* לפי הערת הלקוח: רווח 60 בין השדות */
  margin-bottom: 60px;
}
/* בקשת הלקוח: שמות השדות הם placeholder בתוך השדה — ההקלדה מחליפה אותם.
   התווית נשארת ב-DOM לקוראי מסך בלבד */
.field span {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--navy);
  opacity: 1;
  font-size: 18px;
}
.field input:focus::placeholder,
.field textarea:focus::placeholder { color: var(--gray-500); }
.field input,
.field textarea {
  /* דפדפנים מכריחים ltr בשדות tel/email — הטקסט חייב לרוץ לפי כיוון הדף */
  direction: inherit;
  text-align: start;
  width: 100%;
  border: none;
  border-bottom: 1px solid #9aa5b1;
  background: transparent;
  font-family: inherit;
  /* בקשת הלקוח: הטקסט המוקלד באותו גודל כמו ה-placeholder */
  font-size: 18px;
  line-height: 1.2;
  color: var(--navy);
  /* בקשת הלקוח: 10px בין הטקסט לקו השדה */
  padding-bottom: 10px;
  border-radius: 0;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--navy);
}
.field textarea { resize: vertical; min-height: 160px; }
/* כפתור השליחה יושב בצד הנגדי של הטופס, כמו בעיצוב (דסקטופ ומובייל) */
.contact-form .btn {
  /* לפי הערת הלקוח: 60px בין הקו האחרון לכפתור */
  margin-top: 60px;
  display: flex;
  width: max-content;
  margin-inline-start: auto;
  margin-inline-end: 0;
}

/* ---------- Footer ---------- */
/* פוטר לפי לוח התיקונים: לוגו בצד שמאל ממורכז אנכית, שתי שורות טקסט
   מיושרות לימין — שורת הקשר למעלה והזכויות מתחתיה */
.site-footer {
  background: var(--navy);
  min-height: 13.9vw; /* 267/1920 — גובה הפריים בפיגמה */
  padding: clamp(24px, 2.6vw, 50px) clamp(24px, 4.16vw, 80px) clamp(24px, 2.6vw, 50px) clamp(20px, 2.86vw, 55px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
html[dir="ltr"] .site-footer {
  padding-inline: 80px 55px;
  padding-inline: clamp(24px, 4.16vw, 80px) clamp(20px, 2.86vw, 55px);
}
.site-footer .brand { order: 2; }
/* גובר על חוק ההדר html[dir=ltr] .brand{order:1} — בפוטר הלוגו תמיד בקצה הנגדי */
html[dir="ltr"] .site-footer .brand { order: 2; }
.footer-info { order: 1; text-align: start; }
/* באנגלית סדר פרטי הקשר מתהפך: טלפון, מייל, כתובת */
html[dir="ltr"] .footer-contact { flex-direction: row-reverse; justify-content: flex-end; }
.footer-contact {
  display: flex;
  gap: clamp(32px, 4vw, 78px);
  font-size: clamp(16px, 0.94vw, 18px);
  line-height: 1.58;
}
.footer-contact a { color: var(--white); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-copy {
  margin-top: 32px;
  color: var(--gray-300);
  font-size: clamp(14px, 0.95vw, 18px);
  line-height: 1.58;
}

/* ============================================================
   Mobile / responsive
   ============================================================ */
@media (max-width: 900px) {
  /* בהתאם להערת המעצבת: אין תפריט המבורגר — רק לוגו ו-ENG */
  .main-nav { display: none; }
  /* הדר מובייל לפי העיצוב: פס 78px, לבן שקוף 30% עם בלור (כמו Advice),
     לוגו מוקטן, ENG בגודל 16 עם קו תחתון */
  .site-header,
  .site-header.is-scrolled {
    padding: 0 28px;
    /* כחול שקוף במקום לבן שקוף — לבן על לבן נעלם מעל הסקשנים הבהירים */
    background: rgba(19, 40, 64, 0.3);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
  .header-inner { height: 78px; gap: 20px; }
  .brand { gap: 14px; }
  .brand-icon { width: 25px; height: 25.6px; }
  .brand-text { width: 66px; }
  .lang-link {
    margin-inline-end: auto;
    font-size: 16px;
    text-decoration: underline;
    text-underline-position: from-font;
  }
  .lang-link::after { display: none; }
  /* באנגלית הלוגו פותח את השורה, ולכן המרווח האוטומטי חייב לשבת *לפני*
     מתג השפה כדי לדחוף אותו לקצה הימני — כמו שהעברית עושה במראה */
  html[dir="ltr"] .lang-link { margin-inline-start: auto; margin-inline-end: 0; }
  /* הלוגוטייפ מצטמצם לאייקון בגלילה, כמו באתר Advice */
  .site-header.is-scrolled .brand-text { opacity: 0; transform: translateX(8px); }
  .brand-text { transition: opacity 0.3s ease, transform 0.3s ease; }
  .brand { gap: 16px; }

  .hero-content { padding-inline: 20px; text-align: right; }
  .stats-row { flex-wrap: wrap; gap: 24px; }
  .stat-divider { display: none; }

  /* מידות מדודות מפריים המובייל בפיגמה (402px):
     תמונה 510px, כרטיס נצמד לקצה, חופף לתמונה, מגרעת 60px */
  .founder-columns { grid-template-columns: 1fr; margin: 0; width: auto; max-width: none; padding: 240px 33px 164px; }
  /* לפי הערות הלקוח: טקסט רץ 16 במובייל */
  .founder-columns p { font-size: 16px; line-height: 1.8; }
  .founder-bio { font-size: 16px; line-height: 1.8; }
  .founder-card {
    position: relative;
    inset: auto;
    width: auto;
    min-height: 0;
    margin-block-start: -66.6vw; /* 255/402 — הכרטיס עולה על התמונה */
    /* בפריים המובייל הכרטיס צמוד לקצה הפתיחה של השפה: בעברית לימין, ורצועת
       התמונה (52.5px, נמדד מהרנדר) נשארת משמאל. באנגלית זה מתהפך */
    margin-left: 52.5px;
    margin-right: 0;
    /* 90px רווח מתחת לטקסט בתוך הכרטיס, לפי הערת הלקוח */
    padding: 84px 38px 90px;
    /* פינה קטומה בתחתית הכרטיס; הפוליגון נמשך מטה בצד הדיוקן
       כדי לא לחתוך את הדיוקן שגולש מתחת לכרטיס */
    clip-path: polygon(0 0, 100% 0, 100% 500%, 55px 500%, 55px 100%, 0 calc(100% - 55px));
  }
  html[dir="ltr"] .founder-card {
    /* מראה מדויקת של העברית: אותה רצועת תמונה (52.5px) בצד הנגדי, ולכן
       אותו רוחב כרטיס בדיוק בשתי השפות */
    margin-left: 0;
    margin-right: 52.5px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 55px), calc(100% - 55px) 100%, calc(100% - 55px) 500%, 0 500%);
  }
  .founder-portrait-wrap { width: 130px; bottom: -195px; }
  .founder-media-clip img { height: 126.9vw; } /* 510/402 */

  .br-m { display: inline; }
  /* לפי לוח התיקונים: הטקסט מופיע לפני התמונה במובייל, מיושר לצד הפתיחה */
  .stack-inner { flex-direction: column; align-items: flex-start; }
  /* גם במובייל הכותרת נדבקת והכרטיסים נעצרים בדיוק מתחתיה */
  /* מינוס 1px: הקו העליון של הכרטיס הנעוץ יושב בדיוק על הקו שמתחת לכותרת,
     כך שהשניים מתאחדים לקו אחד ולא נראים ככפולים */
  .stack-card, .stack-card:nth-child(2), .stack-card:nth-child(3) {
    top: calc(var(--hdr-h-m, 78px) + var(--ww-head-h, 120px) - 1px);
  }
  .whatwedo .section-head { top: var(--hdr-h-m, 78px); }
  #about,
  #whatwedo,
  #expertise,
  #services,
  #contact { scroll-margin-top: var(--hdr-h-m, 78px); }

  .facilities-head { grid-template-columns: 1fr; grid-template-areas: "title" "lead" "cta"; }
  /* לפי הערות הלקוח: כותרות מובייל — שורה עליונה Semi-Bold 22, תחתונה Regular 20 */
  .whatwedo h2, .facilities-head h2, .divisions-intro h2 { font-size: 22px; font-weight: 600; }
  .whatwedo h2 .h2-line2, .facilities-head h2 .h2-line2,
  .divisions-intro h2 .thin, .divisions-intro h2 .h2-line2 { font-size: 20px; font-weight: 400; }

  /* minmax(0,1fr) ולא 1fr: פריט גריד מקבל min-width:auto, והקרוסלה שבתוכו
     הייתה מנפחת את העמודה לרוחב כל הפריטים יחד */
  .divisions { grid-template-columns: minmax(0, 1fr); }
  .divisions-light { padding-top: 60px; min-width: 0; }

  .model-cards { grid-template-columns: 1fr; }
  /* במובייל אין hover בכלל: חוקי המעבר של הדסקטופ יושבים מאחורי
     ‎@media (hover: hover)‎, ולכן אין כאן שום חוק נגדי — נגיעה בכרטיס אחד
     הדליקה קודם את הכרטיס העליון בכחול */
  .model-card,
  .model-card * { -webkit-tap-highlight-color: transparent; }
  /* התאמה 1:1 לפיגמה במובייל: פינה קטומה קטנה יותר, מספר וכותרת באותה שורה */
  .corner-notch { clip-path: polygon(50px 0, 100% 0, 100% 100%, 0 100%, 0 68px); }
  .model-card { padding: 46px 30px 96px; min-height: 309px; }
  .model-num { top: 46px; left: 54px; font-size: 16px; }
  .model-card h3 { font-size: 17px; }
  .model-card .model-text { margin-top: 34px; }
  .model-card .chip { right: 30px; bottom: 30px; }

  .services-head { flex-direction: column; align-items: flex-start; }
  .services-grid { grid-template-columns: 1fr; }

  .contact { grid-template-columns: 1fr; }
  .contact-media { min-height: 380px; }

  .site-footer { flex-direction: column; }
  .footer-contact { flex-wrap: wrap; gap: 16px 28px; }
  .footer-info { text-align: right; }
}

/* ============================================================
   English version — LTR mirroring
   (flex/grid flip automatically with dir="ltr"; the rules below
   flip the explicitly-directional bits)
   ============================================================ */
html[dir="ltr"] .hero-content,
html[dir="ltr"] .founder-card,
html[dir="ltr"] .whatwedo .section-head,
html[dir="ltr"] .stack-text,
html[dir="ltr"] .facilities-head,
html[dir="ltr"] .divisions-intro,
html[dir="ltr"] .division-slide,
html[dir="ltr"] .model-head,
html[dir="ltr"] .model-lead,
html[dir="ltr"] .model-card,
html[dir="ltr"] .service,
html[dir="ltr"] .facility figcaption,
html[dir="ltr"] .footer-info {
  text-align: left;
}



html[dir="ltr"] .founder-card {
  right: auto;
  left: clamp(20px, 4.9vw, 94px);
}
html[dir="ltr"] .corner-notch-dark::after {
  left: auto;
  right: 0;
  border-width: 0 0 100px 100px;
}
html[dir="ltr"] .contact-form-wrap::after {
  left: auto;
  right: 0;
  border-width: 0 0 70px 70px;
}

/* פינה קטומה עוברת לפינה הימנית־עליונה בגרסה האנגלית */
html[dir="ltr"] .btn {
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}
html[dir="ltr"] .corner-notch {
  clip-path: polygon(0 0, calc(100% - 62px) 0, 100% 62px, 100% 100%, 0 100%);
}
html[dir="ltr"] .stack-img {
  /* לפי הערת הלקוח: באנגלית התמונה מתהפכת אופקית והמגרעת מתהפכת איתה */
  transform: scaleX(-1);
}
html[dir="ltr"] .model-num { left: auto; right: clamp(24px, 3.4vw, 66px); }
html[dir="ltr"] .model-card .chip { right: auto; left: clamp(24px, 3.4vw, 66px); }

/* החצים מצביעים ימינה, וקופצים ימינה בריחוף */
html[dir="ltr"] .btn .btn-arrow { transform: scaleX(-1); }
html[dir="ltr"] .btn:hover .btn-arrow { transform: scaleX(-1) translateX(-6px); }

/* רצועות נעות שמאלה בגרסה האנגלית */
@keyframes marquee-ltr {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-1 * var(--marquee-shift, 25%))); }
}
html[dir="ltr"] .logos-track,
html[dir="ltr"] .reg-track {
  animation-name: marquee-ltr;
}

@media (max-width: 900px) {
  html[dir="ltr"] .site-header.is-scrolled .brand-text { transform: translateX(-8px); }
  html[dir="ltr"] .corner-notch { clip-path: polygon(0 0, calc(100% - 50px) 0, 100% 68px, 100% 100%, 0 100%); }
  html[dir="ltr"] .model-num { left: auto; right: 54px; }
  html[dir="ltr"] .model-card .chip { right: auto; left: 30px; }
}

html[dir="ltr"] body { direction: ltr; }
html[dir="ltr"] .stat-label { direction: ltr; }
html[dir="ltr"] .founder-columns { direction: ltr; }

/* ============================================================
   התאמות מובייל 1:1 לפריים המובייל בפיגמה (402px)
   ============================================================ */
@media (max-width: 900px) {
  /* Hero: תמונה 611px, כותרת ב-308px, סטטיסטיקות בשורה אחת צפופה */
  .hero { min-height: 0; }
  .hero { overflow: hidden; }
  .hero-video, .hero-media img { height: 611px; }
  /* מדרגות הגרדיאנט בפיקסלים: הכחול מתמלא לפני קצה התמונה (611px), כך
     שאין קו תפר בשום גובה מסך */
  .hero-overlay { background: linear-gradient(180deg, rgba(16, 28, 46, 0.42) 0px, rgba(19, 40, 64, 0.55) 240px, var(--navy) 585px); }
  .hero-content { padding-top: 308px; min-height: 611px; } /* התוכן מכסה את התמונה — הסטטיסטיקות מתחילות בתחתיתה */
  .hero-stats { padding: 321px 39px 100px 38px; }
  .stats-row { flex-wrap: nowrap; gap: 0; justify-content: space-between; }
  /* חוק ה-LTR של הדסקטופ (flex-end) גבר על הפריסה של המובייל, ושלוש
     העמודות נדחסו לקצה בלי רווח ביניהן — באנגלית מפזרים בדיוק כמו בעברית */
  html[dir="ltr"] .stats-row { justify-content: space-between; }
  /* לפי לוח התיקונים במובייל: המספר מיושר לקצה הפתיחה של העמודה שלו
     (כמו "3" מעל "ישראל" בעיצוב), הכיתוב 27px מתחת לספרות */
  .stat-number { font-size: 48px; margin-inline: 0; text-align: inherit; }
  /* בקשת הלקוח: 14px במובייל — גם משאיר רווח בין שלוש הכותרות במסכים
     צרים מ-402, שבהם ב-16px הן כמעט נגעו זו בזו */
  .stat-label { font-size: 14px; margin-top: 14px; }
  .stat3-d { display: none; }
  .stat3-m { display: inline; }
  /* קו הדקו בפריים: אופקי ב-725, אלכסון יורד לקצה השמאלי ב-858 */
  .hero-deco {
    right: auto;
    left: -56px;
    bottom: auto;
    top: 725px;
    width: 904px;
    height: 133px;
    transform: none;
  }
  html[dir="ltr"] .hero-deco { left: auto; right: -56px; transform: scaleX(-1); }

  /* קו האודות במובייל ממשיך את קו ההירו: מתחיל בדיוק בנקודה שבה האלכסון
     של ההירו פוגש את קצה המסך (858px) ויורד באלכסון דרך הסקשן — קו אחד רציף */
  .hero-deco { display: block; } /* קו ההירו של פריים המובייל */
  .about-diag { display: none; } /* הקו המאוחד של הדסקטופ */
  /* בלוח התיקונים של הלקוח קו המובייל הוא שברון בלבד (אלכסון + אופקי) —
     בלי המשך אלכסוני דרך הסקשן. ההמשך קיים רק בדסקטופ. */
  .about-line { display: none; }
  /* בפריים המובייל הטקסט צמוד כמעט לקצה: 39px מהשוליים (33.5 ריפוד + 6) */
  .about-text { margin-inline-start: 6px; margin-inline-end: 0; }
  /* לפי הערות הלקוח: טקסט רץ 16 במובייל, שבירות כמו בעיצוב (br-m);
     כותרת 20 — שורה עליונה Semi-Bold, תחתונה Regular (בשתי השפות) */
  .about-text p { font-size: 16px; max-width: none; }
  .about-text h2,
  html[dir="ltr"] .about-text h2 { font-size: 20px; font-weight: 600; }
  .about-text h2 .h2-line2,
  html[dir="ltr"] .about-text h2 .h2-line2 { font-weight: 400; }

  /* כפתורים במובייל קטנים יותר, כמו בפריים: גובה ~44px, פונט 15px */
  .btn { font-size: 15px; padding: 13px 24px; }
  /* כפתור השליחה בטופס: משקל 300 לפי הערת הלקוח (מובייל בלבד) */
  .btn-dark { font-size: 15px; }
  .contact-form .btn-dark,
  .contact-form .btn-dark span { font-weight: 300; }

  /* הכרטיס במובייל זורם בלייאאוט — מבטל את left/right של הדסקטופ
     (החוק הזה חייב להופיע אחרי חוקי ה-LTR הגלובליים כדי לנצח בקסקדה) */
  html[dir="ltr"] .founder-card { left: auto; }
  .founder-card { right: auto; }

  /* דיוקן אלון: צמוד לקצה הכרטיס, גולש מתחת לתחתיתו */
  .founder-portrait-wrap {
    width: 150px;
    bottom: -160px; /* חופף לכרטיס 27px וגולש 160px מתחתיו — נמדד מהפריים */
  }

  /* כרטיסי "מה אנחנו עושים": תמונה ברוחב מלא כמו בפיגמה */
  .stack-img {
    width: 100%;
    height: auto;
    aspect-ratio: 363 / 263;
  }

  /* סקשן המתקנים לפי פריים המובייל: עמודה אחת, שקופית ברוחב מלא,
     והכפתור עובר אל מתחת לקרוסלה */
  .facilities { min-height: 0; padding: 80px 0 85px; }
  .facilities-head { grid-template-columns: 1fr; padding: 0 16px; }
  .facilities-head .eyebrow,
  .facilities-head h2 { grid-column: auto; }
  .facilities-head .facilities-body { grid-column: auto; grid-row: auto; }
  .facilities-body { margin-top: 24px; gap: 0; }
  .facilities-body .btn { display: none; }
  .facilities-carousel { margin-top: 95px; }
  .facility { width: 93.3vw; height: 53.5vw; } /* 375×215 בפיגמה */
  .facilities-cta-mobile { display: flex; justify-content: flex-end; padding: 0 32px; margin-top: 125px; }

  /* שירותים: שתי עמודות כמו בפריים המובייל */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 24px;
    row-gap: 48px;
  }
  .service h3 { font-size: 16px; }
  /* לפי הערת הלקוח: טקסט רץ 16 במובייל */
  .service p { font-size: 16px; }
  .service-num { font-size: 13px; }

  /* --- חטיבות: קו אנכי לאורך הטקסטים, טקסט מוזח פנימה, נקודות במרכז --- */
  .divisions-intro {
    max-width: none;
    padding-block: 100px;
    padding-inline: 17px 70px;
  }
  .divisions-light { padding-block: 85px 240px; padding-inline: 17px 70px; }
  .division-slides::before { display: none; }
  .divisions-dark::after,
  .divisions-light::after {
    content: "";
    position: absolute;
    width: 1px;
    inset-inline-end: 38px;
    z-index: 2;
  }
  .divisions-dark::after { top: 160px; bottom: 0; background: rgba(255, 255, 255, 0.65); }
  .divisions-light::after { top: 0; bottom: 0; background: #404040; }
  .division-dots { justify-content: center; margin-top: 64px; } /* רווח מהטקסט כמו בפריים */

  /* --- קרוסלה אופקית אמיתית להחלקה (בקשת הלקוח) במקום החלפת שקופיות --- */
  .division-slides {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 0;
    overflow-x: auto;
    overflow-y: hidden;
    /* בלי זה ההחלקה האופקית "נשפכת" לדפדפן ומפעילה את מחוות החזרה שלו —
       החץ העגול שקופץ באמצע המסך */
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .division-slides::-webkit-scrollbar { display: none; }
  .division-slide {
    grid-area: auto;
    flex: 0 0 100%;
    width: 100%;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: none;
    scroll-snap-align: start;
  }
  /* הנקודות בדיוק כמו בפריים המובייל: 6.66px, רווח 4px, פעילה מלאה בכחול.
     השוליים השליליים מבטלים את הריפוד הא-סימטרי של הפאנל (17/70), כדי
     שהשורה תתמרכז למרכז המסך ולא למרכז תיבת התוכן */
  .division-dots {
    gap: 4px;
    /* לשורת הנקודות יש direction:ltr משלה (הנקודה הפעילה שמאלית גם בעברית),
       ולכן שוליים לוגיים היו נופלים בצד ההפוך — צדדים פיזיים לכל שפה */
    margin-left: -70px;
    margin-right: -17px;
  }
  html[dir="ltr"] .division-dots { margin-left: -17px; margin-right: -70px; }
  .dot {
    width: 6.66px;
    height: 6.66px;
    border: 0;
    background: #e9ecf0;
    -webkit-tap-highlight-color: transparent;
  }
  .dot.is-active { background: var(--navy); transform: none; }

  /* קרוסלת המתקנים: גלילה טבעית של הדפדפן במקום גרירה מונעת-JS. ההחלקה
     חלקה, ומחוות החזרה של הדפדפן לא נדלקת יותר */
  .facilities-carousel {
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: default;
  }
  .facilities-carousel::-webkit-scrollbar { display: none; }
  .facility { scroll-snap-align: center; }

  /* --- מודל דולב 360: כותרת בשתי שורות, כרטיס אמצעי כחול, כפתור מתחת --- */
  .model { min-height: 0; padding-bottom: 60px; }
  .model-head h2 { font-size: 24px; }
  .model-sub { display: block; font-weight: 400; }
  .model-top { display: block; }
  .model-cta { display: none; }
  .model-cta-mobile { display: flex; justify-content: flex-end; padding: 0 32px; margin-top: 125px; }
  /* בעיצוב המובייל הכרטיס האמצעי (02) הוא הכחול, לא הראשון */
  .model-card.is-featured { background: #efefef; color: var(--navy); }
  .model-card.is-featured .model-num { color: var(--gray-600); }
  .model-card.is-featured .chip { border-color: var(--gray-600); color: var(--gray-500); }
  .model-card:nth-child(2) { background: var(--navy); color: var(--white); }
  .model-card:nth-child(2) .model-num { color: var(--gray-300); }
  .model-card:nth-child(2) .chip { border-color: var(--white); color: var(--white); }

  /* --- שירותים וצור קשר: בפריים המובייל השורה המודגשת עולה לראש הכותרת --- */
  .services-head h2,
  .contact-media-text h2 {
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
  }
  .services-head h2 strong,
  .contact-media-text h2 strong { font-size: 24px; }
  .services-head h2 .h2-light,
  .contact-media-text h2 .h2-light { font-size: 17px; }
  .h2-br { display: none; }

  /* --- צור קשר: תמונה נמוכה, כפתור שליחה בצד, מגרעת קטנה בפינה הנגדית --- */
  .contact-media { min-height: 240px; }
  .contact-form-wrap::after { left: auto; right: 0; border-width: 0 0 40px 40px; }
  html[dir="ltr"] .contact-form-wrap::after { right: auto; left: 0; border-width: 0 40px 40px 0; }

  /* --- פוטר: זכויות למעלה, פרטי קשר בטור, לוגו בפינה הנגדית --- */
  .footer-info { display: flex; flex-direction: column; order: -1; }
  .footer-copy { order: -1; margin-bottom: 40px; }
  .footer-contact { flex-direction: column; align-items: flex-start; gap: 24px; }
  .site-footer .brand { align-self: flex-end; margin-top: 40px; }
}


/* ============================================================
   התאמות מובייל 1:1 לפריים 1:614 — נמדד פיקסל-פיקסל מול הרנדר
   ============================================================ */
@media (max-width: 900px) {
  /* Hero לפי לוח התיקונים: כותרת ב-321, תת-כותרת ב-426, כפתור ב-534 */
  .hero-content { padding-top: 308px; }
  .hero-sub { margin-top: 25px; }
  .hero-cta { margin-top: 90px; }
  .comma-d { display: inline; }
  .lbl-m { display: none; }

  /* About: בלוח התיקונים הרצועה יושבת על הרקע הבהיר, כהה, תחומה ל-328px */
  .about { padding-top: 70px; padding-bottom: 0; }
  .logos-strip {
    position: static;
    width: 328px;
    margin: 290px auto 0;
    background: none;
    padding: 0 0 40px;
  }
  html[dir="ltr"] .logos-strip { width: 328px; }
  .logos-set { gap: 45px; padding-inline-end: 45px; }
  .logo-item { font-size: 16px; }
  .logo-item img { height: 22px; }

  /* What we do: קו מתחת לכותרת, בלי קווי הפרדה בין השורות */
  .whatwedo .section-head {
    margin-bottom: 55px;
    padding-bottom: 22px;
    border-bottom: 1px solid #d7dce2;
  }
  /* בקשת הלקוח: לכרטיסים קו עדין בראשם — נראה גם כשכרטיס נערם מכסה טקסט.
     לכרטיס הראשון אין קו: מעליו כבר יושב הקו שמתחת לכותרת הסקשן (כמו בעיצוב) */
  .stack-card { margin-bottom: 35px; }
  .stack-card:first-child { border-top: none; }
  .stack-card:last-child { margin-bottom: 0; }
  /* לפי לוח התיקונים: רווח בראש הכרטיס, הטקסט לפני התמונה, ורווח 35 בתחתית
     כדי שהכרטיס הנערם לא יכסה את הטקסט מיד */
  .stack-inner { padding: 20px 0 40px; min-height: 0; gap: 55px; }
  .stack-card:last-child .stack-inner { padding-bottom: 0; }
  .stack-img {
    width: 100%;
    height: 251px;
    margin-inline-end: 0;
    /* המגרעת במובייל בפינה השמאלית-תחתונה, כמו בעיצוב */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 42px 100%, 0 calc(100% - 42px));
  }
  .stack-text h3 { margin-top: 0; font-size: 22px; font-weight: 600; }
  .stack-text { margin-top: 0; max-width: none; margin-inline-start: 15px; }
  /* רוחב הפסקה כמו בעיצוב (265) — כך שבירות השורות נופלות באותם מקומות */
  .stack-text p { font-size: 16px; line-height: 1.45; margin-top: 14px; max-width: 265px; margin-inline-start: auto; }
  html[dir="ltr"] .stack-text p { margin-inline-start: 0; margin-inline-end: auto; }

  /* Facilities: כרטיס 368x263 עם רווח 5, כמו בפריים */
  .facilities { padding-top: 128px; }
  .facilities-head { grid-template-rows: auto; }
  .facilities-head .eyebrow { margin-bottom: 8px; }
  .facilities-carousel { margin-top: 80px; }
  .facilities-track { gap: 5px; }
  .facility { width: 368px; height: 263px; }
  .facilities-cta-mobile { margin-top: 101px; }

  /* Divisions: קווים אנכיים משמאל לטקסט במקום הקו האופקי של הדסקטופ */
  .divisions-intro { padding-block: 93px 88px; padding-inline: 17px 70px; }
  .divisions-intro .eyebrow { margin-bottom: 8px; }
  .divisions-intro h2 { font-size: 24px; line-height: 1.25; }
  .divisions-lead { margin-top: 24px; margin-inline-start: 0; font-size: 16px; }
  .division-slide p { font-size: 16px; }
  .divisions-dark::after {
    top: 150px;
    inset-inline-start: auto;
    inset-inline-end: 39px;
    width: 1px;
    /* עד תחתית הפאנל הכהה בדיוק — גובה קבוע השאיר מרווח באנגלית, שבה
       הטקסט ארוך יותר והפאנל גבוה יותר; כך שני הקווים תמיד נפגשים */
    bottom: 0;
    height: auto;
    max-width: none;
    background: rgba(255, 255, 255, 0.45);
  }
  .divisions-light { padding-top: 109px; padding-bottom: 108px; }
  .divisions-light::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline-end: 39px;
    width: 1px;
    height: 355px;
    background: #9aa5b1;
  }
  .divisions-light::after { display: none; }
  .division-slide p { margin-top: 24px; }
  .division-dots { margin-top: 61px; }
  .reg-set span { font-size: 16px; }

  /* Model: פינה קטומה 80x60 בתחתית; הפס הכחול הוא סקשן השירותים עצמו */
  .model { padding-top: 97px; padding-bottom: 76px; }
  .model-cards { gap: 28px; }
  .model-cta-mobile { margin-top: 45px; }
  .model::before { display: none; }
  /* לפי העיצוב: משולש קטן (55x40) צמוד לקצה, מעל תחילת הסקשן הכחול */
  .model::after { bottom: 0; border-width: 0 0 40px 55px; }
  html[dir="ltr"] .model::after { border-width: 0 55px 40px 0; }

  /* Services */
  .services { padding-top: 113px; padding-bottom: 64px; }

  /* Contact: בפריים המובייל השורה המודגשת ראשונה */
  .contact-media { min-height: 307px; }
  .contact-media-text { inset-inline: 24px; }
  .contact-media-text h2 { font-size: 24px; line-height: 1.35; display: flex; flex-direction: column; }
  .contact-media-text h2 strong { order: -1; }
  .contact-media-text .h2-br { display: none; }
  .contact-media-text .eyebrow { margin-inline-end: 0; }
  /* לפי הערות הלקוח: 100 מתחת לטקסט, 39 בין שדות, 25 תווית-קו, 50 סביב הכפתור */
  .contact-form-wrap { padding-top: 100px; padding-bottom: 50px; }
  .field { margin-bottom: 39px; }
  .field input, .field textarea,
  .field input::placeholder, .field textarea::placeholder { font-size: 16px; }
  .field input, .field textarea { line-height: 1.55; }
  .field textarea { min-height: 89px; }
  .contact-form .btn { margin-top: 50px; }

  /* Footer: זכויות למעלה, כתובות בטור מימין, לוגו בפינה השמאלית-תחתונה */
  .site-footer { position: relative; padding: 50px 33px 38px; min-height: 270px; }
  /* לפי הערת הלקוח: לוגו הפוטר קטן משמעותית במובייל */
  .site-footer .brand-icon { width: 20px; height: 20.5px; }
  .site-footer .brand-text { width: 57px; }
  /* ה-brand מוגדר direction:ltr ולכן inset-inline מתהפך בו — צדדים פיזיים */
  .site-footer .brand { position: absolute; bottom: 26px; left: 36px; right: auto; }
  html[dir="ltr"] .site-footer .brand { left: auto; right: 36px; }
  .footer-info { display: flex; flex-direction: column; }
  /* מדוד מהפריים: זכויות היוצרים מתחילות מיד אחרי הריפוד העליון (בלי
     margin-top של הדסקטופ), ומתחתן 41px עד שורת הכתובת */
  .footer-copy {
    order: -1;
    margin-top: 0;
    margin-bottom: 41px;
    max-width: 325px;
    margin-inline-start: auto;
  }
  .footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
  /* באנגלית חוק הדסקטופ (row-reverse) גבר על הטור של המובייל — סדר השורות
     גלש אל מחוץ למסך. הטור זהה לפריים: כתובת, מייל, טלפון, מיושרים לשמאל */
  html[dir="ltr"] .footer-contact {
    flex-direction: column;
    justify-content: flex-start;
  }
  html[dir="ltr"] .footer-copy { margin-inline-start: 0; margin-inline-end: auto; }
}
@media (min-width: 901px) {
  .comma-d { display: inline; }
  .lbl-m { display: none; }
  .lang-m { display: none; }
  .comma-m { display: none; }
}
@media (max-width: 900px) {
  .comma-d { display: none; }
  .lbl-d { display: none; }
  .lbl-m { display: inline; }
  .lang-d { display: none; }
  .lang-m { display: inline; }
  .comma-m { display: inline; }
  .br-d { display: none; }
}
/* השבירות הידניות מגיעות מהפריים והן חלק מהעיצוב — הן פעילות בכל רוחב
   דסקטופ. חריג יחיד: הביוגרפיה בכרטיס המייסד, שבה העמודה צרה מתחת ל-1800
   והשבירות יצרו שורות קטועות (ראו הכלל למטה) */
/* שבירה שנדרשת בכל רוחב דסקטופ (לא רק מ-1800) */
.br-h { display: none; }
@media (min-width: 901px) { .br-h { display: inline; } }
@media (max-width: 1799px) {
  .founder-bio .br-d { display: none; }
}
@media (min-width: 1800px) {
  .founder-bio .br-d { display: inline; }
}
