/* mk-parts.css - רכיבים משותפים של האתר: דילוג לתוכן, מצב פוקוס,
   כפתורים צפים, קישורי הפורטל, הפוטר וסרגל המידע המשפטי.
   תפריט הנגישות עצמו נמצא בקובץ mk-a11y.css. */

/* =============================================================
   a11y-plugin.css - רכיבים משותפים + כפתורים צפים + סרגל משפטי
   מיועד לשילוב בדפים קיימים (index.php) מבלי לשנות את עיצובם.
   ⚠ אין כאן איפוסים גלובליים (reset) בכוונה - כדי לא לשבור עיצוב קיים.
   ============================================================= */

/* ---------- קישור "דלג לתוכן" ---------- */
.mk-skip-link{
  position:absolute;right:8px;top:-60px;z-index:100000;background:#1c2732;
  color:#fff!important;padding:12px 20px;border-radius:0 0 10px 10px;
  transition:top .2s;text-decoration:none;font-family:'Heebo',Arial,sans-serif;font-size:16px;
}

.mk-skip-link:focus{top:0;outline:3px solid #bd9a5f}

html.a11y-focus a:focus,html.a11y-focus button:focus,
html.a11y-focus input:focus,html.a11y-focus textarea:focus{
  outline:3px solid #bd9a5f!important;outline-offset:2px!important;
}
/* =============================================================
   כפתורים צפים - טלפון / וואטסאפ / חזרה למעלה
   ============================================================= */
/* מיקום פיזי בימין - עקבי עם שאר עמודי האתר (RTL), ללא תלות ב-dir */
.mk-floating{
  position:fixed;right:16px;bottom:16px;z-index:9999998;
  display:flex;flex-direction:column;gap:10px;
}
.mk-fab{
  width:54px;height:54px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  color:#fff!important;box-shadow:0 6px 18px rgba(0,0,0,.28);border:0;cursor:pointer;
  padding:0;text-decoration:none;transition:transform .15s,background .2s;
}
.mk-fab:hover{transform:scale(1.07);text-decoration:none;color:#fff!important}
.mk-fab svg{width:26px;height:26px;display:block}
.mk-fab--wa{background:#25d366}
.mk-fab--wa:hover{background:#1eb955}
.mk-fab--tel{background:#e2001a}
.mk-fab--tel:hover{background:#b80016}
.mk-fab--top{
  background:#1c2732;font-size:22px;line-height:1;font-family:Arial,sans-serif;
  opacity:0;pointer-events:none;transition:opacity .25s,transform .15s;
}
.mk-fab--top.is-visible{opacity:1;pointer-events:auto}

/* פעימה עדינה לכפתור הוואטסאפ למשיכת תשומת לב */
@keyframes mkPulse{
  0%{box-shadow:0 6px 18px rgba(0,0,0,.28),0 0 0 0 rgba(37,211,102,.55)}
  70%{box-shadow:0 6px 18px rgba(0,0,0,.28),0 0 0 14px rgba(37,211,102,0)}
  100%{box-shadow:0 6px 18px rgba(0,0,0,.28),0 0 0 0 rgba(37,211,102,0)}
}
.mk-fab--wa{animation:mkPulse 2.6s infinite}


/* =============================================================
   אזור קישורי פורטל בדף הבית (מבודד, לא נוגע בעיצוב הקיים)
   ============================================================= */
.mk-portal{
  background:#f6f4f0;border-top:1px solid #dcd8cf;padding:36px 20px 30px;
  font-family:'Heebo','Assistant',Arial,sans-serif;direction:rtl;
}
.mk-portal__inner{max-width:1180px;margin:0 auto}
.mk-portal h2{
  color:#1c2732;font-size:1.45rem;font-weight:800;margin:0 0 6px;text-align:center;
  font-family:inherit;line-height:1.35;
}
.mk-portal__sub{color:#5c6570;text-align:center;margin:0 0 24px;font-size:1rem}
.mk-portal__grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:18px;
}
.mk-portal__col h3{
  color:#1c2732;font-size:1.02rem;font-weight:700;margin:0 0 10px;
  padding-bottom:6px;border-bottom:2px solid #bd9a5f;font-family:inherit;
}
.mk-portal__col ul{list-style:none;margin:0;padding:0}
.mk-portal__col li{margin:0 0 7px;line-height:1.5}
.mk-portal__col a{color:#3d4852;text-decoration:none;font-size:.94rem}
.mk-portal__col a:hover{color:#b80016;text-decoration:underline}
.mk-portal__all{
  display:block;text-align:center;margin-top:22px;font-weight:700;color:#b80016;
  text-decoration:none;font-size:1rem;
}
.mk-portal__all:hover{text-decoration:underline}
@media (max-width:900px){
  .mk-portal__grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:540px){
  .mk-portal__grid{grid-template-columns:1fr}
}


/* =============================================================
   פוטר בדף הבית - עותק מדויק של עיצוב הפוטר בעמודי התוכן
   (כל הכללים תחומים תחת .mk-footer, ללא איפוסים גלובליים)
   ============================================================= */
.mk-footer{
  background:#1c2732;color:#c9d0d7;margin-top:0;padding-top:46px;
  font-family:'Heebo','Assistant',Arial,sans-serif;direction:rtl;text-align:right;
  font-size:16px;line-height:1.75;
}
.mk-footer *{box-sizing:border-box;font-family:inherit}
.mk-footer .mk-container{max-width:1180px;margin:0 auto;padding:0 20px;width:100%}
.mk-footer__grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:30px;padding-bottom:34px}
.mk-footer__logo{background:#fff;padding:8px 10px;border-radius:8px;margin-bottom:12px;max-width:160px;height:auto;display:block}
.mk-footer h3{color:#fff;font-size:1.1rem;margin:0 0 14px;font-weight:700}
.mk-footer p{margin:0 0 1em;color:#c9d0d7}
.mk-footer ul{list-style:none;padding:0;margin:0}
.mk-footer li{margin-bottom:8px}
.mk-footer a{color:#c9d0d7;text-decoration:none}
.mk-footer a:hover{color:#fff;text-decoration:underline}
.mk-footer__phone{font-size:1.2rem;font-weight:800;color:#fff!important}
.mk-footer .mk-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:13px 22px;border-radius:40px;font-weight:700;font-size:1rem;
  border:2px solid transparent;cursor:pointer;text-align:center;
  transition:transform .12s,background .2s;text-decoration:none;margin-top:8px;
}
.mk-footer .mk-btn:hover{text-decoration:none;transform:translateY(-1px)}
.mk-footer .mk-btn--accent{background:#e2001a;color:#fff}
.mk-footer .mk-btn--accent:hover{background:#b80016;color:#fff}
/* טקסט לבן על ירוק וואטסאפ נותן ניגודיות 1.98 בלבד, ולכן הטקסט כהה */
.mk-footer .mk-btn--wa{background:#25d366;color:#04331a}
.mk-footer .mk-btn--wa:hover{color:#04331a}
.mk-footer__bar{border-top:1px solid rgba(255,255,255,.12);padding:16px 0;font-size:.85rem;text-align:center}
.mk-footer__bar a{color:#e9d8b6}
@media (max-width:960px){
  .mk-footer__grid{grid-template-columns:1fr 1fr}
}
@media (max-width:720px){
  .mk-footer__grid{grid-template-columns:1fr}
}


/* =============================================================
   סרגל קישורים משפטיים (נגישות / פרטיות / תנאי שימוש)
   ============================================================= */
.mk-legalbar{
  background:#1c2732;color:#c9d0d7;padding:18px 16px;text-align:center;
  font-family:'Heebo','Assistant',Arial,sans-serif;font-size:15px;line-height:1.9;
  direction:rtl;
}
.mk-legalbar a{color:#e9d8b6!important;text-decoration:none;margin:0 6px;display:inline-block}
.mk-legalbar a:hover{text-decoration:underline;color:#fff!important}
.mk-legalbar__sep{opacity:.45;margin:0 2px}
.mk-legalbar__copy{display:block;margin-top:6px;opacity:.75;font-size:13.5px}


/* =============================================================
   מצבי נגישות מופעלים (מוחלים על <html>)
   ============================================================= */
html.a11y-contrast body{background:#fff!important;color:#000!important}

html.a11y-contrast body p,html.a11y-contrast body li,html.a11y-contrast body span,
html.a11y-contrast body div,html.a11y-contrast body h1,html.a11y-contrast body h2,
html.a11y-contrast body h3,html.a11y-contrast body h4{color:#000!important}


html.a11y-dark{filter:invert(1) hue-rotate(180deg)}


html.a11y-grayscale{filter:grayscale(100%)}

html.a11y-dark.a11y-grayscale{filter:invert(1) hue-rotate(180deg) grayscale(100%)}


html.a11y-readable body,html.a11y-readable body *:not(i):not(.material-icons){
  font-family:'Assistant',Arial,sans-serif!important;
}


html.a11y-spacing body{line-height:2.1!important;letter-spacing:.05em!important;word-spacing:.16em!important}

html.a11y-spacing body p,html.a11y-spacing body li{margin-bottom:1.2em!important}


html.a11y-bigcursor,html.a11y-bigcursor *{
  cursor:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path fill="black" stroke="white" stroke-width="2" d="M8 4l30 18-14 3 8 15-5 3-8-15-11 8z"/></svg>') 4 4,auto!important;
}


html.a11y-stop-anim *,html.a11y-stop-anim *::before,html.a11y-stop-anim *::after{
  animation:none!important;transition:none!important;scroll-behavior:auto!important;
}
@media (prefers-reduced-motion:reduce){
  .mk-fab--wa{animation:none}
}
/* נגישות: קישור בתוך פסקה חייב להיות ניתן לזיהוי גם בלי צבע (WCAG 1.4.1) */
.mk-footer p a,
.mk-legalbar p a,
.mk-portal p a{text-decoration:underline;text-underline-offset:3px}
.mk-footer p a:hover,
.mk-legalbar p a:hover{text-decoration-thickness:2px}
