/* ============================================================
   קסם ישראל — שכבת אימרסיב ("ערכת קסם")  ·  v1  ·  2026-07-22
   מודול נפרד. כל החוקים תחומים ל-body.kesem-immersive בלבד.
   הסרת ה-class (או הקובץ) = חזרה מלאה לאתר הקיים. kill-switch: body.kesem-static.
   שינוי מבני/עיצובי בלבד — שום שינוי תוכן/קופי/סלוגן/טפסים/מדידה.
   ============================================================ */

body.kesem-immersive{
  /* ===== "אור עששית" — הוחלה 27.7.2026 ===== */
  --k-bg:#2C3159; --k-bg2:#383E6B; --k-surface:#424879; --k-surface2:#4E5488;
  --k-text:#F5F3FA; --k-muted:#C0BFD8; --k-line:rgba(240,180,41,.30);
  --k-accent:#F0B429; --k-accent2:#FFD980; --k-ink:#1E2033;
  --k-ease:cubic-bezier(.16,1,.3,1);
  --k-glow:0 0 55px rgba(240,180,41,.32);
  --k-panel:rgba(44,49,89,.80);
  /* 🔆 בהירות ה-scrim. הערכים המקוריים (.62/.78) הם שגרמו לתחושת
     החושך — לא הצבעים. הורדו אחרי כוונון של רועי במכוונן החי. */
  --k-scrim-top:0.22; --k-scrim-bot:0.38; --k-wash:0.22;
  --k-shadow:0 1px 3px rgba(0,0,0,.95), 0 2px 16px rgba(0,0,0,.9), 0 0 40px rgba(0,0,0,.8);
  background:var(--k-bg)!important; color:var(--k-text);
}

/* ---------- שלב הרקע: וידאו קבוע מאחורי הכול ---------- */
.kesem-bg{position:fixed; inset:0; z-index:0; overflow:hidden; background:#2C3159; pointer-events:none}
.kbg-vid{position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  opacity:0; transform:scale(1.05); transition:opacity 1.6s var(--k-ease); will-change:opacity}
.kbg-vid.kbg-on{opacity:1}
.kbg-scrim{position:absolute; inset:0; background:
  radial-gradient(120% 80% at 72% 6%, rgba(255,209,130,var(--k-wash,.22)), transparent 58%),
  linear-gradient(180deg,
    rgba(30,32,51,var(--k-scrim-top,.22)),
    rgba(30,32,51,var(--k-scrim-bot,.38)));}
/* התוכן כולו מעל השלב.
   ⚠️ באג שתוקן 23.7: הכלל הזה היה גורף על כל ילדי body ודרס `position:fixed`
   של הנאב, כפתור ההשהיה, תפריט המובייל, הלייטבוקס, המודלים ובר הוואטסאפ —
   הנאב הפסיק להיות דביק והמודלים נשברו. עכשיו הוא מחריג כל אלמנט קבוע. */
body.kesem-immersive > *:not(.kesem-bg):not(.kesem-progress):not(nav):not(.kbg-pause):not(.site-mobile-menu):not(.lightbox):not(.terms-modal):not(.all-events-overlay):not(.wa-float):not(.wa-bar):not(#privacy-btn):not(#access-widget):not(#kesem-cookie-banner){position:relative; z-index:1}
/* ולמקרה שנוסף בעתיד אלמנט קבוע נוסף — הכלל הבא מחזיר מפורשות */
body.kesem-immersive > nav,
body.kesem-immersive > .kbg-pause,
body.kesem-immersive > .site-mobile-menu,
body.kesem-immersive > .lightbox,
body.kesem-immersive > .terms-modal,
body.kesem-immersive > .all-events-overlay,
body.kesem-immersive > .wa-float,
body.kesem-immersive > .wa-bar,
body.kesem-immersive > #privacy-btn,
body.kesem-immersive > #access-widget,
body.kesem-immersive > #kesem-cookie-banner{position:fixed}

/* כפתור השהיה (חובת תקן 5568 — עצירת תנועה) */
.kbg-pause{position:fixed; z-index:60; bottom:calc(74px + env(safe-area-inset-bottom,0px)); left:16px;
  width:44px; height:44px; border-radius:50%; display:grid; place-items:center; cursor:pointer;
  background:var(--k-panel); color:var(--k-accent2); border:1px solid var(--k-line);
  backdrop-filter:blur(8px); font-size:16px; line-height:1; transition:background .2s,transform .2s}
.kbg-pause:hover{background:var(--k-surface2); transform:scale(1.05)}
.kbg-pause:focus-visible{outline:3px solid var(--k-accent); outline-offset:2px}

/* פס התקדמות */
.kesem-progress{position:fixed; top:0; right:0; height:3px; width:0; z-index:101;
  background:linear-gradient(90deg,var(--k-accent),var(--k-accent2)); transition:width .1s linear}

/* הסמן המותאם הוסר (23.7) — נשאר סמן המערכת */

/* ---------- טיפוגרפיה + טקסט על רקע ---------- */
body.kesem-immersive h1,body.kesem-immersive h2,body.kesem-immersive h3,body.kesem-immersive .section-title{color:var(--k-text)}
body.kesem-immersive .section-title{color:var(--k-accent2)!important; text-shadow:var(--k-shadow)}
body.kesem-immersive .section-title::after{background:var(--k-accent)!important}
body.kesem-immersive .section-tag{color:var(--k-accent)!important; text-shadow:var(--k-shadow)}
body.kesem-immersive .section-subtitle{color:var(--k-text)!important; text-shadow:var(--k-shadow)}

/* ---------- NAV ---------- */
/* פריסה: לוגו | תפריט | מתג-שפה+המבורגר — שלוש עמודות.
   ⚠️ 3.8.2026: כאן ישב `auto 1fr` + `justify-content:flex-end`. זה היה נכון
   כשה-nav היה בן שתי עמודות והתפריט אמור היה להיצמד לקצה. אבל
   lang-switch.css הוסיף אחר כך עמודה שלישית אמיתית ל-.nav-end, וה-flex-end
   נשאר — כלומר התפריט נצמד לקצה **שמאל של עמודה 2** במקום להתמרכז,
   והסטייה גדלה עם רוחב המסך (נמדד: ‎-216px ב-1400, ‎-476px ב-1920,
   ‎-796px ב-2560). דף הבית היה הדף היחיד עם הבאג; בשאר הדפים style.css
   נותן center. מיושר עכשיו למציאות של lang-switch.css. */
body.kesem-immersive nav{grid-template-columns:auto 1fr auto; gap:1.5rem}
body.kesem-immersive .nav-links{grid-column:2; justify-content:center; flex-wrap:wrap}
body.kesem-immersive .nav-hamburger{grid-column:2; justify-self:end}
/* קריאות מעל וידאו בהיר — צל עדין מלמעלה במקום פס אטום */
body.kesem-immersive nav{background:linear-gradient(180deg,rgba(30,32,51,.48),rgba(30,32,51,0));
  border-bottom:1px solid transparent; backdrop-filter:none}
body.kesem-immersive .nav-links a{text-shadow:0 1px 3px rgba(0,0,0,.75)}
body.kesem-immersive nav .logo{text-shadow:0 1px 4px rgba(0,0,0,.8)}
body.kesem-immersive nav.kesem-nav-small{background:color-mix(in srgb,var(--k-bg) 82%,transparent);
  backdrop-filter:blur(14px); border-bottom:1px solid var(--k-line)}
body.kesem-immersive nav .logo{color:var(--k-text)}
body.kesem-immersive .nav-links a{color:var(--k-muted)}
body.kesem-immersive .nav-links a:hover{color:var(--k-accent2)}
body.kesem-immersive .nav-hamburger{color:var(--k-text)}
body.kesem-immersive .nav-cta{background:var(--k-accent); color:var(--k-ink)}
body.kesem-immersive .site-mobile-menu{background:var(--k-bg2)}
body.kesem-immersive .site-mobile-menu a{color:var(--k-text)}

/* ---------- HERO (וידאו נראה במלואו, טקסט בהיר קיים) ---------- */
body.kesem-immersive .hero{background:none!important; background-image:none!important}
body.kesem-immersive .hero > *{position:relative; z-index:3}
body.kesem-immersive #hero-particles{display:none}          /* מנוע החלקיקים הישן — הרקע-וידאו מחליף */
body.kesem-immersive .hero h1{color:#fff; text-shadow:0 2px 6px rgba(0,0,0,.92), 0 0 34px rgba(0,0,0,.7)}
body.kesem-immersive .hero-actions span{color:var(--k-accent2); text-shadow:0 1px 4px rgba(0,0,0,.9), 0 0 18px rgba(0,0,0,.7)}
body.kesem-immersive .hero-dot{text-shadow:0 1px 4px rgba(0,0,0,.9)}
body.kesem-immersive .hero-badge{background:rgba(22,15,8,.62); border:1px solid var(--k-line); color:var(--k-accent2); backdrop-filter:blur(4px)}
body.kesem-immersive .hero-sub{color:var(--k-text); text-shadow:0 1px 6px rgba(0,0,0,.9)}
/* "גללו מטה": הכלל .hero > * (position:relative) דרס את ה-absolute
   של האינדיקטור והוא נדד לתוך זרימת התוכן, צמוד ל-CTA — מוחזר לתחתית-מרכז */
body.kesem-immersive .hero-scroll{text-shadow:0 1px 6px rgba(0,0,0,.9);
  position:absolute!important; bottom:calc(1.75rem + env(safe-area-inset-bottom,0px));
  left:50%; transform:translateX(-50%)}
/* גובה ההירו לפי ה-viewport ה*נראה*: ב-100vh התחתית מסתתרת מאחורי
   סרגל הכתובת בנייד, ולכן "גללו מטה" לא נראה. dvh פותר את השורש. */
@supports (height:100dvh){ body.kesem-immersive .hero{min-height:100dvh} }
body.kesem-immersive .hero-here-btn{color:var(--k-ink); background:var(--k-accent)}

/* ---------- פסי סטטיסטיקה + אמון ---------- */
/* היו בלוק חום אטום שחתך את הדף לשניים. עכשיו זכוכית — הווידאו נראה מבעד,
   והקצוות נמסכים במקום קו חד. */
body.kesem-immersive .stats-bar,
body.kesem-immersive .trust-bar{background:linear-gradient(180deg,
    rgba(22,15,8,0), rgba(22,15,8,.42) 18%, rgba(22,15,8,.46) 82%, rgba(22,15,8,0))!important;
  backdrop-filter:blur(10px) saturate(.9); border-block:0!important; position:relative}
body.kesem-immersive .stats-bar::before,
body.kesem-immersive .stats-bar::after,
body.kesem-immersive .trust-bar::after{content:''; position:absolute; left:0; right:0; height:1px;
  background:linear-gradient(90deg,transparent,var(--k-line) 22%,var(--k-line) 78%,transparent);
  pointer-events:none}
body.kesem-immersive .stats-bar::before{top:0}
body.kesem-immersive .stats-bar::after,
body.kesem-immersive .trust-bar::after{bottom:0}
/* הפס שקוף עכשיו — צל מבטיח קריאות מעל כל פריים של הווידאו.
   display:block — style-animations.css דרס ל-inline-block, ולכן המספר
   והתווית נדחסו לאותה שורה (בלט במיוחד במובייל). */
body.kesem-immersive .stat-num{color:var(--k-accent2)!important; text-shadow:0 1px 4px rgba(0,0,0,.9);
  display:block!important}
body.kesem-immersive .stat{min-width:8.5rem}
body.kesem-immersive .stat-label,
body.kesem-immersive .trust-item span{color:#D8CBB6!important; text-shadow:0 1px 3px rgba(0,0,0,.92)}
body.kesem-immersive .trust-item svg,body.kesem-immersive .stat-star{color:var(--k-accent)}
body.kesem-immersive .trust-item{border-color:var(--k-line)!important}

/* ---------- סקשנים כלליים: רקע שקוף (וידאו) ---------- */
body.kesem-immersive section{background:transparent!important}
body.kesem-immersive .tours-section,
body.kesem-immersive .classes-preview-section,
body.kesem-immersive .reviews-section,
body.kesem-immersive .contact-section{background:transparent!important}

/* ---------- ABOUT ---------- */
body.kesem-immersive #about{}
body.kesem-immersive .about-content p{color:var(--k-muted)!important}
body.kesem-immersive .about-content strong{color:var(--k-accent2)}
body.kesem-immersive .about-img{box-shadow:var(--k-glow)}
body.kesem-immersive .about-badge{background:var(--k-accent); color:var(--k-ink)}
body.kesem-immersive .about-feat{background:var(--k-panel); border:1px solid var(--k-line); border-radius:16px; padding:14px; backdrop-filter:blur(6px)}
body.kesem-immersive .feat-icon{background:rgba(231,168,60,.14); color:var(--k-accent2)}
body.kesem-immersive .feat-text strong{color:var(--k-text)}
body.kesem-immersive .feat-text p{color:var(--k-muted)}
body.kesem-immersive .about-content > a{background:var(--k-accent)!important; color:var(--k-ink)!important}

/* ============================================================
   🔆 קריאוּת מעל הווידאו — נוסף 29.7.2026 (דיווח רועי)
   ------------------------------------------------------------
   הבעיה: טקסט בהיר ישב ישירות על פריים וידאו חי, בלי שום משטח.
   נמדד מול הפריימים הבהירים של שלושת הסרטונים: 1.02–1.80:1
   (נדרש 4.5:1) — כלומר כמעט בלתי קריא בקטעים המוארים.

   למה סריקת הניגודיות של 28.7 פספסה את זה: היא טיפסה לרקע האטום
   הקרוב ומצאה את --k-bg (#2C3159) הכהה ⇒ "עובר". שכבת הווידאו
   שמצוירת מעליו הייתה שקופה למדידה. לקח: מדידת ניגודיות מול
   רקע וידאו/תמונה חייבת לדגום פיקסלים, לא רק להסתמך על CSS.

   למה לא הגדלנו את ה-scrim הגלובלי: הוא כוונן בכוונה למטה
   (.62/.78 → .22/.38) ע"י רועי ב-27.7. גם .50 נותן רק ~1.8:1
   לטקסט מיוטד — כלומר scrim לבדו לא פותר.
   ------------------------------------------------------------
   🔁 גרסה 2 (רועי, אותו ערב): הקלף הסגול ירד. שתי סיבות שלו, שתיהן נכונות —
   (1) "לא מתחבר לי הרקע הסגול"; (2) הריפוד הגביה את עמודת הטקסט מעבר
   לגובה התמונה שלצידה ⇒ הסקשן נראה לא מיושר. במקומו: scrim רך ברמת
   הסקשן (מכהה את הווידאו עצמו, בלי קופסה נראית ובלי לשנות פריסה)
   + הבהרת גוף הטקסט ל---k-text. תוצאה: 5.4:1, עובר AA. */
body.kesem-immersive #about,
body.kesem-immersive #contact,
body.kesem-immersive #calendar{position:relative}
body.kesem-immersive #about::before,
body.kesem-immersive #contact::before,
body.kesem-immersive #calendar::before{
  content:''; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:linear-gradient(180deg,
    rgba(30,32,51,.34) 0%, rgba(30,32,51,.72) 42%,
    rgba(30,32,51,.72) 62%, rgba(30,32,51,.34) 100%);
}
/* מובייל: רועי כבר קבע ב-23.7 ש"הרקע כהה מדי במובייל" ושם הועלה
   הפיצוי לגופן בהיר + הילה עבה. לכן ה-scrim המקומי מוחלש כאן ולא
   מחזיר את הבעיה ההיא — הקריאוּת נשענת על הצללית שכבר קיימת. */
@media (max-width:768px){
  body.kesem-immersive #about::before,
  body.kesem-immersive #contact::before,
  body.kesem-immersive #calendar::before{
    background:linear-gradient(180deg,
      rgba(30,32,51,.20) 0%, rgba(30,32,51,.50) 42%,
      rgba(30,32,51,.50) 62%, rgba(30,32,51,.20) 100%)}
}

/* יישור עמודות "אודות" (רועי 29.7: "לא תואם גודל הדף עם התמונה").
   .about-img נעול על aspect-ratio:3/4 + max-height:440 בזמן שעמודת
   הטקסט מגיעה ל-672 ⇒ פער 232px שנקרא כחוסר יישור. בדסקטופ בלבד
   התמונה נמתחת לגובה הטקסט; במובייל (עמודה אחת) שום שינוי. */
@media (min-width:901px){
  body.kesem-immersive .about-grid{align-items:stretch}
  body.kesem-immersive .about-img{aspect-ratio:auto; max-height:none; height:100%}
}

/* הטקסט מובלט במקום מוקף: מ---k-muted הלילכי ל---k-text כמעט-לבן,
   עם הצללית שכבר בשימוש בקובץ הזה לטקסט מעל וידאו. */
body.kesem-immersive .about-content p,
body.kesem-immersive .cal-no-events p,
body.kesem-immersive .contact-item span,
body.kesem-immersive .contact-item a{color:var(--k-text)!important;
  text-shadow:0 1px 3px rgba(0,0,0,.92)}

/* קישורי ניווט בודדים מעל הווידאו מטופלים בכלל של .btn-all-tours למטה
   (שם כבר היה background:transparent שדרס כל הגדרה כאן). */

/* ההירו נשאר ללא משטח (הוא התמונה הראשונה שרואים) — צללית בלבד,
   באותה שפה של .stat-label / .trust-item שכבר קיימת בקובץ. */
body.kesem-immersive .hero > span,
body.kesem-immersive .hero-tagline{text-shadow:var(--k-shadow)}

/* ---------- כרטיסים (סיורים / ביקורות / חוגים / לוח שנה) = פאנל כהה ---------- */
body.kesem-immersive .tour-card,
body.kesem-immersive .review-card,
body.kesem-immersive .cp-card,
body.kesem-immersive .cal-event-card,
body.kesem-immersive .skeleton-card{
  background:var(--k-surface)!important; border:1px solid var(--k-line)!important;
  box-shadow:0 18px 50px rgba(0,0,0,.5)!important; color:var(--k-text)}
body.kesem-immersive .tour-title,
body.kesem-immersive .cp-name,
body.kesem-immersive .tour-price,
body.kesem-immersive .cp-price{color:var(--k-accent2)!important}
body.kesem-immersive .tour-desc,
body.kesem-immersive .tour-details,
body.kesem-immersive .cp-desc,
body.kesem-immersive .tour-price span,
body.kesem-immersive .cp-price span{color:var(--k-muted)!important}
body.kesem-immersive .tour-footer{border-top-color:var(--k-line)!important}
body.kesem-immersive .cp-chip{background:rgba(231,168,60,.14)!important; color:var(--k-accent2)!important}
/* 29.7: תג הגיל (#DFEDB8 על לבן-שקוף .20) נמדד 1.85–3.77:1 מעל
   הגרדיאנט של הכותרת — נכשל ב-AA. הרקע מוכהה ⇒ 5.97:1.
   (התג נחשף רק עכשיו: עד היום לאף חוג לא הוזן "קהל יעד".) */
body.kesem-immersive .cp-age{background:rgba(30,32,51,.55)!important;
  border-color:rgba(255,255,255,.30)!important}
body.kesem-immersive .tour-register-btn,
body.kesem-immersive .cp-btn{background:var(--k-accent)!important; color:var(--k-ink)!important; background-image:none!important}
/* 29.7: היה background:transparent ⇒ הקישור ריחף על פריים הווידאו
   ללא ניגודיות. גלולה כהה במקום (ר' בלוק "קריאוּת מעל הווידאו"). */
body.kesem-immersive .btn-all-tours,
body.kesem-immersive .all-events-btn,
body.kesem-immersive .all-classes-btn{background:rgba(44,49,89,.88); border:1px solid var(--k-accent);
  color:var(--k-accent2); border-radius:999px; padding:.5rem 1.1rem;
  backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px)}
body.kesem-immersive .tour-tag{backdrop-filter:blur(4px)}

/* ---------- כרטיסים קומפקטיים גם בדסקטופ ----------
   רועי (23.7): "התיבות ענקיות" — כרטיס בודד תפס כמעט מסך מלא.
   אותו טיפול שנעשה במובייל: תמונה נמוכה יותר, תיאור עד 3 שורות, ריפוד מהודק. */
body.kesem-immersive .tour-img{height:150px}
body.kesem-immersive .tour-body{padding:1.15rem 1.25rem}
body.kesem-immersive .tour-title{font-size:1.12rem; margin-bottom:.4rem}
body.kesem-immersive .tour-desc{font-size:.86rem; line-height:1.55; margin-bottom:.9rem;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden}
body.kesem-immersive .tour-footer{padding-top:.8rem}
body.kesem-immersive .cp-card .cp-img,
body.kesem-immersive .cal-event-card img{height:150px; object-fit:cover}
body.kesem-immersive .cp-card p,
body.kesem-immersive .cal-event-card p{display:-webkit-box; -webkit-line-clamp:3;
  -webkit-box-orient:vertical; overflow:hidden}
body.kesem-immersive .tours-grid{max-width:1080px; margin-top:2.2rem}
body.kesem-immersive .classes-preview-grid{max-width:1080px}

/* ביקורות */
body.kesem-immersive .review-text{color:var(--k-text)!important}
body.kesem-immersive .reviewer-name{color:var(--k-accent2)!important}
body.kesem-immersive .reviewer-date{color:var(--k-muted)!important}
body.kesem-immersive .reviewer-avatar{background:var(--k-surface2); color:var(--k-accent2)}
body.kesem-immersive .stars{color:#FFC24B}
body.kesem-immersive .google-reviews-banner{background:var(--k-panel)!important; border:1px solid var(--k-line)!important; backdrop-filter:blur(8px)}
body.kesem-immersive .google-reviews-rating{color:var(--k-text)!important}
body.kesem-immersive .google-reviews-count{color:var(--k-muted)!important}
body.kesem-immersive .btn-google-reviews{background:var(--k-accent)!important; color:var(--k-ink)!important}

/* ---------- לוח שנה ---------- */
body.kesem-immersive .gcal-btn{background:var(--k-surface)!important; color:var(--k-accent2)!important; border:1px solid var(--k-line)!important}
body.kesem-immersive .load-error{background:var(--k-surface)!important; color:var(--k-text)!important; border:1px solid var(--k-line)!important}

/* ---------- גלריה (Option A — coverflow קיים, אקסנטים זהב) ---------- */
body.kesem-immersive .gallery-social .social-pill{background:var(--k-surface)!important; color:var(--k-text)!important; border:1px solid var(--k-line)}
body.kesem-immersive .gc-arrow{background:var(--k-panel)!important; color:var(--k-accent2)!important; border:1px solid var(--k-line)!important; backdrop-filter:blur(6px)}
body.kesem-immersive .gc-dots .gc-dot{background:rgba(245,237,225,.35)}
body.kesem-immersive .gc-dots .gc-dot.active{background:var(--k-accent)}
body.kesem-immersive .gallery-item{border:1px solid var(--k-line)}

/* ---------- CONTACT + טופס ---------- */
body.kesem-immersive .contact-cta .btn-wa{box-shadow:0 8px 30px rgba(37,211,102,.35)}
body.kesem-immersive .csi-btn{background:var(--k-surface)!important; color:var(--k-text)!important; border:1px solid var(--k-line)}
body.kesem-immersive .contact-form{background:var(--k-panel)!important; border:1px solid var(--k-line)!important; backdrop-filter:blur(10px); border-radius:20px}
body.kesem-immersive .contact-form-group label{color:var(--k-text)!important}
body.kesem-immersive .contact-form input,
body.kesem-immersive .contact-form select,
body.kesem-immersive .contact-form textarea{
  background:rgba(13,9,4,.7)!important; color:var(--k-text)!important; border:1px solid var(--k-line)!important}
body.kesem-immersive .contact-form input::placeholder,
body.kesem-immersive .contact-form textarea::placeholder{color:rgba(195,177,153,.6)}
body.kesem-immersive .contact-form input:focus,
body.kesem-immersive .contact-form select:focus,
body.kesem-immersive .contact-form textarea:focus{border-color:var(--k-accent)!important; outline:none; box-shadow:0 0 0 3px rgba(231,168,60,.2)}
body.kesem-immersive .contact-form select option{background:var(--k-surface); color:var(--k-text)}
body.kesem-immersive .contact-form-submit{background:var(--k-accent)!important; color:var(--k-ink)!important; background-image:none!important}
body.kesem-immersive .contact-form label a{color:var(--k-accent2)!important}
body.kesem-immersive .contact-item strong{color:var(--k-accent2)!important}
body.kesem-immersive .contact-item span,
body.kesem-immersive .contact-item a{color:var(--k-text)!important}
body.kesem-immersive .contact-success-msg{background:rgba(107,124,71,.25)!important; color:var(--k-text)!important}

/* ---------- FOOTER ---------- */
/* היה פס דק ותלוש שהווידאו הבהיר "נגמר" עליו בבת אחת, והכפתורים הצפים
   (וואטסאפ/נגישות) ישבו בדיוק עליו. עכשיו: מעבר רך מהווידאו אל הכהה,
   ומרווח תחתון שמפנה מקום לכפתורים. */
body.kesem-immersive footer{background:linear-gradient(180deg,
    rgba(13,9,4,0), rgba(13,9,4,.92) 42px, var(--k-bg2) 96px)!important;
  border-top:0; padding-top:5.5rem; padding-bottom:5.5rem; position:relative}
body.kesem-immersive footer::before{content:''; position:absolute; top:88px; left:2rem; right:2rem;
  height:1px; background:linear-gradient(90deg,transparent,var(--k-line) 20%,var(--k-line) 80%,transparent)}
body.kesem-immersive .footer-copy,
body.kesem-immersive .footer-legal button,
body.kesem-immersive .footer-legal a,
body.kesem-immersive .footer-legal span{color:var(--k-muted)!important}
body.kesem-immersive .footer-legal button:hover,
body.kesem-immersive .footer-legal a:hover{color:var(--k-accent2)!important}

/* ---------- מודלים (תנאים/נגישות) — נשארים קריאים ---------- */
body.kesem-immersive .terms-modal-box,
body.kesem-immersive .all-events-modal{background:var(--k-surface)!important; color:var(--k-text)}
body.kesem-immersive .terms-modal-body,
body.kesem-immersive .terms-modal-body p,
body.kesem-immersive .terms-modal-body li{color:var(--k-muted)!important}
body.kesem-immersive .terms-modal-body h3{color:var(--k-accent2)!important}
body.kesem-immersive #access-panel{background:var(--k-surface)!important; color:var(--k-text)}

/* ---------- אינטראקציות: מגנטי + הטיה ---------- */
body.kesem-immersive [data-kmag]{transition:transform .35s var(--k-ease)}
body.kesem-immersive .ktilt{transform-style:preserve-3d; transition:transform .5s var(--k-ease)}

/* ---------- נגישות: focus גלוי למקלדת (תקן 5568) ---------- */
body.kesem-immersive a:focus-visible,
body.kesem-immersive button:focus-visible,
body.kesem-immersive input:focus-visible,
body.kesem-immersive select:focus-visible,
body.kesem-immersive textarea:focus-visible,
body.kesem-immersive [role="button"]:focus-visible,
body.kesem-immersive [tabindex]:focus-visible{
  outline:3px solid var(--k-accent)!important; outline-offset:3px; border-radius:4px}

/* ============================================================
   מצב סטטי / reduced-motion / kill-switch — הכול קופא, תוכן גלוי
   ============================================================ */
body.kesem-static .kbg-vid{transition:none}
@media (prefers-reduced-motion:reduce){
  .kbg-vid{transition:none}
  body.kesem-immersive [data-kmag],body.kesem-immersive .ktilt{transition:none!important}
}
/* בטיחות: תוכן לעולם לא נעלם בגלל השכבה הזו — אין כאן opacity:0 על תוכן */



/* ---------- הפקדים הצפים ----------
   שני סבבים של משוב מרועי: קודם "נמוך מדי / לא נגיש", ואז "פריסה לא
   טובה" — כי בתחתית-שמאל הצטופפו שלושה פקדים והם נחתו על כפתור ה-CTA
   בהירו ועל קישורי הפוטר. פתרון: כפתור עצירת הווידאו עובר לפינה
   העליונה-שמאלית מתחת לנאב — אזור ריק בכל גלילה, לא מתנגש בשום CTA,
   ותמיד נגיש (תקן 5568). וידג׳ט הנגישות חוזר לפינה התחתונה הרגילה. */
/* סבב שלישי (23.7): רועי ביקש למרכז — הכפתור בפינה השמאלית נראה תלוש.
   מרכוז ב-left:50%+translateX, ולכן גם ה-hover חייב לשמר את ה-translate
   (אחרת scale לבדו דורס אותו והכפתור קופץ ימינה). */
body.kesem-immersive .kbg-pause{top:calc(76px + env(safe-area-inset-top,0px));
  bottom:auto; left:50%; transform:translateX(-50%); z-index:9997}
body.kesem-immersive .kbg-pause:hover{transform:translateX(-50%) scale(1.05)}
body.kesem-immersive #access-widget{bottom:calc(20px + env(safe-area-inset-bottom,0px))}
@media (max-width:768px){
  body.kesem-immersive .kbg-pause{top:calc(74px + env(safe-area-inset-top,0px)); left:50%}
  body.kesem-immersive #access-widget{bottom:calc(16px + env(safe-area-inset-bottom,0px)); left:12px}
  /* שורת הקישורים בפוטר נדחסה ושברה מילים */
  body.kesem-immersive .footer-inner{justify-content:center; text-align:center; gap:1.25rem}
  body.kesem-immersive .footer-legal{flex-wrap:wrap; justify-content:center; gap:6px 10px;
    row-gap:8px; line-height:1.9}
  body.kesem-immersive .footer-legal button,
  body.kesem-immersive .footer-legal a{white-space:nowrap}
  /* מרווח שמאלי כדי שכלום לא ירוץ מתחת לוידג׳ט הנגישות */
  body.kesem-immersive footer .footer-inner{padding-inline-start:0; padding-bottom:2.5rem}
}


/* תפריט המובייל: יעדי המגע היו ~32px (מתחת ל-44px המומלץ) */
body.kesem-immersive .site-mobile-menu a{padding:10px 18px; border-radius:12px; min-height:44px;
  display:flex; align-items:center; justify-content:center}
body.kesem-immersive .site-mobile-menu .close-menu{width:48px; height:48px; display:grid;
  place-items:center; border-radius:50%}


/* ---------- חצי קרוסלת ההמלצות ----------
   היו עיגולי קרם בהירים (עיצוב האתר הישן) שנחתכו על קצה הכרטיס,
   ובמובייל אף נחתכו בקצה המסך (34px, מתחת ליעד מגע). עכשיו: צ׳יפים
   כהים-זהובים בסגנון שאר הפקדים, ממוקמים מחוץ לכרטיס בדסקטופ
   ומעליו-בפנים במובייל, 44px. */
body.kesem-immersive .carousel-arrow{
  width:44px; height:44px; font-size:1.35rem;
  background:rgba(22,15,8,.78)!important; border:1px solid var(--k-line)!important;
  color:var(--k-accent2)!important; backdrop-filter:blur(8px);
  box-shadow:0 4px 18px rgba(0,0,0,.45)}
body.kesem-immersive .carousel-arrow:hover{background:var(--k-surface2)!important;
  border-color:var(--k-accent)!important; box-shadow:0 6px 22px rgba(0,0,0,.55)}
body.kesem-immersive .carousel-arrow:focus-visible{outline:3px solid var(--k-accent); outline-offset:3px}
/* ‹ › הם תווים דו-כיווניים — בהקשר RTL הדפדפן משקף אותם, ולכן שני
   החצים הצביעו פנימה זה מול זה. direction:ltr מבטל את השיקוף
   (בדיוק כמו dir="ltr" שכבר קיים על חצי הגלריה). */
body.kesem-immersive .carousel-arrow{direction:ltr; unicode-bidi:isolate}
/* בדסקטופ הם ריחפו מחוץ לכרטיס באמצע הווידאו ונראו מנותקים —
   עכשיו בתוך הכרטיס, על הקצוות, מקובצים איתו ויזואלית */
body.kesem-immersive .carousel-prev{right:14px}
body.kesem-immersive .carousel-next{left:14px}
body.kesem-immersive .review-card{padding-inline:5rem}
/* נקודות הניווט — היו בצבעי האתר הבהיר.
   ⚠️ background-color ולא background: הקיצור מאפס את background-clip
   שמוגדר ב-style-animations.css ומקטין את מטרת המגע בחזרה ל-8px. */
body.kesem-immersive .review-dot{background-color:rgba(231,168,60,.32)}
body.kesem-immersive .review-dot.active{background-color:var(--k-accent)}

@media (max-width:1100px){
  body.kesem-immersive .carousel-prev{right:8px}
  body.kesem-immersive .carousel-next{left:8px}
  body.kesem-immersive .review-card{padding-inline:4rem}
}
@media (max-width:768px){
  body.kesem-immersive .carousel-arrow{width:44px; height:44px; font-size:1.3rem}
  body.kesem-immersive .carousel-prev{right:8px}
  body.kesem-immersive .carousel-next{left:8px}
  /* מרווח פנימי בכרטיס כדי שהחץ לא ישב על הטקסט */
  body.kesem-immersive .review-card{padding-inline:3.5rem}
}


/* ---------- הירו: ממורכז אופקית, גבוה אנכית ----------
   שני סבבי משוב של רועי: "ממורכז מדי" התכוון לגובה — הבלוק ישב
   בחצי התחתון עם שמיים ריקים. אחרי שהועלה, היישור-לימין יצר שבירת
   כותרת מכוערת ("למה הכל מימין ולא מרכז"). הפתרון: מרכוז אופקי
   רגיל, אבל גבוה — הבלוק בשליש העליון, והכותרת בשורה אחת בדסקטופ. */
body.kesem-immersive .hero{align-items:center; justify-content:center;
  text-align:center;
  padding-block:64px clamp(6rem,16vh,11rem);
  padding-inline:clamp(1.5rem,5vw,4rem)}
/* נשימה בין האלמנטים (וריאציה A שרועי בחר) */
body.kesem-immersive .hero-badge{margin-bottom:2.2rem}
body.kesem-immersive .hero-actions{margin-top:.4rem; margin-bottom:1.6rem}
body.kesem-immersive .hero h1{text-wrap:balance}
/* קו זהב דק מתחת לכותרת — ממורכז */
body.kesem-immersive .hero h1::after{content:''; display:block; width:88px; height:3px;
  margin:1.1rem auto 0; border-radius:2px;
  background:linear-gradient(90deg,transparent,var(--k-accent),transparent)}

@media (max-width:768px){
  body.kesem-immersive .hero{padding-block:64px clamp(5rem,13vh,8rem); padding-inline:1.5rem}
  body.kesem-immersive .hero-badge{margin-bottom:1.8rem}
  /* גם עם dvh — מרווח בטחון מכרום הדפדפן ומווידג׳ט הנגישות */
  body.kesem-immersive .hero-scroll{bottom:calc(3.5rem + env(safe-area-inset-bottom,0px))!important}
  body.kesem-immersive .hero h1{max-width:10ch}
  body.kesem-immersive .hero h1::after{width:64px; margin-top:.9rem}
}

/* עוגני ניווט: הנאב קבוע (64px) — בלי זה כותרת הסקשן מסתתרת מתחתיו */
body.kesem-immersive section[id],
body.kesem-immersive div[id]{scroll-margin-top:76px}

/* ============================================================
   מובייל — נראות. במסך קטן הווידאו האנכי ממלא הכול והתוכן
   "טובע" בו: לכן רקע כהה יותר, פאנלים אטומים יותר וריווח מרוסן.
   ============================================================ */
@media (max-width:768px){
  /* 23.7 — רועי: "הרקע כהה מדי במובייל" ואז "תבהיר עוד קצת".
     .80/.88 → .55/.66 → .40/.52. הווידאו נראה בבירור; הקריאוּת מפוצה
     בגופן בהיר יותר + הילה כהה חזקה יותר (למטה). */
  .kbg-scrim{background:
    radial-gradient(120% 60% at 72% 4%, rgba(255,209,130,var(--k-wash,.22)), transparent 58%),
    linear-gradient(180deg,
      rgba(30,32,51,calc(var(--k-scrim-top,.22) * .8)),
      rgba(30,32,51,calc(var(--k-scrim-bot,.38) * .8)))}

  /* פיצוי קריאוּת על רקע בהיר יותר: גופן בהיר יותר, זהב בוהק יותר,
     והילה כהה עבה יותר מתחת לכל טקסט שיושב ישירות על הווידאו. */
  body.kesem-immersive{
    --k-text:#FFF8EE; --k-muted:#D9CAB2; --k-accent2:#FFD489;
    --k-shadow:0 1px 2px rgba(0,0,0,1), 0 2px 12px rgba(0,0,0,1), 0 0 32px rgba(0,0,0,.95)}
  body.kesem-immersive .hero h1{text-shadow:0 2px 6px rgba(0,0,0,1), 0 0 26px rgba(0,0,0,.98), 0 0 60px rgba(0,0,0,.9)}
  body.kesem-immersive .hero-sub,
  body.kesem-immersive .hero-actions span,
  body.kesem-immersive .hero-dot,
  body.kesem-immersive .hero-scroll,
  body.kesem-immersive .stat-num,
  body.kesem-immersive .stat-label,
  body.kesem-immersive .trust-item span,
  body.kesem-immersive .section-tag,
  body.kesem-immersive .section-title,
  body.kesem-immersive .section-subtitle{text-shadow:var(--k-shadow)}

  /* פסי הסטטיסטיקה: רשת 2×2 מסודרת במקום זרימה מבולגנת */
  body.kesem-immersive .stats-bar{display:grid!important; grid-template-columns:1fr 1fr;
    gap:1.5rem 1rem!important; padding:2rem 1.25rem!important}
  body.kesem-immersive .stat{min-width:0}
  body.kesem-immersive .trust-bar{flex-direction:column; gap:.75rem; padding:1.25rem}

  /* כרטיסים, טפסים ופאנלים — אטומים מספיק כדי לקרוא מעל וידאו */
  body.kesem-immersive .tour-card,
  body.kesem-immersive .review-card,
  body.kesem-immersive .cal-event-card,
  body.kesem-immersive .cp-card,
  body.kesem-immersive .about-feat,
  body.kesem-immersive .contact-form{background:rgba(28,20,12,.94)!important; backdrop-filter:none}
  body.kesem-immersive .contact-form input,
  body.kesem-immersive .contact-form select,
  body.kesem-immersive .contact-form textarea{background:rgba(12,8,4,.92)!important}


  /* ---------- כרטיסים קומפקטיים במובייל ----------
     רועי: "התיבות של החוגים ענקיות, יותר מדי זמן גלגול עליהן".
     התמונה הייתה 220px והתיאור ללא הגבלה — כרטיס בודד תפס מסך שלם.
     עכשיו: תמונה נמוכה יותר, תיאור עד 3 שורות, ריפוד מהודק. */
  body.kesem-immersive .tour-img{height:150px}
  body.kesem-immersive .tour-body{padding:1rem 1.1rem}
  body.kesem-immersive .tour-title{font-size:1.08rem; margin-bottom:.35rem}
  body.kesem-immersive .tour-desc{font-size:.85rem; line-height:1.5; margin-bottom:.85rem;
    display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden}
  body.kesem-immersive .tours-grid{gap:1rem; margin-top:2rem}
  body.kesem-immersive .cp-card .cp-img,
  body.kesem-immersive .cal-event-card img{height:150px; object-fit:cover}
  body.kesem-immersive .cp-card p,
  body.kesem-immersive .cal-event-card p{display:-webkit-box; -webkit-line-clamp:3;
    -webkit-box-orient:vertical; overflow:hidden}

  /* הפוטר קיבל ריווח דסקטופי — במובייל הוא הפך לחלל ריק */
  body.kesem-immersive footer{padding-top:3rem; padding-bottom:6.5rem}
  body.kesem-immersive footer::before{top:52px; left:1.25rem; right:1.25rem}
}
