/* Site footer, direction C «the journey» (Tal 13.11). Markup: scripts/site-footer.mjs (written into every page by the
   build). Mockup: plans/mockups/footer-2026-11-13/footer-c.html. Every class is .sf-* so no page rule leaks in. */
.sf{--sf-bg:#111214;--sf-card:#1a1c1f;--sf-card-line:rgba(255,255,255,.09);--sf-hi:#fff;--sf-text:rgba(255,255,255,.78);--sf-dim:rgba(255,255,255,.56);--sf-line:rgba(255,255,255,.1);--sf-green:#21a057;--sf-green-hi:#3cc377;
 position:relative;isolation:isolate;overflow:hidden;margin:0;background:var(--sf-bg);color:var(--sf-text);font:400 16px/1.5 Discovery,"Discovery Fallback",Arial,sans-serif;direction:rtl;text-align:right;-webkit-font-smoothing:antialiased}
.sf *,.sf *:before,.sf *:after{box-sizing:border-box}
/* dot grid that fades out toward the links, and the green glow (back 18.11, Tal: «הרשת הירוקה נעלמה») */
.sf:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:radial-gradient(rgba(255,255,255,.075) 1px,transparent 1.2px);background-size:22px 22px;background-position:11px 11px;
 -webkit-mask-image:radial-gradient(120% 70% at 50% 30%,#000 30%,transparent 78%);mask-image:radial-gradient(120% 70% at 50% 30%,#000 30%,transparent 78%)}
/* soft green glow behind the last step */
.sf:after{content:"";position:absolute;z-index:-1;pointer-events:none;left:-180px;top:180px;width:760px;height:620px;border-radius:50%;background:radial-gradient(closest-side,rgba(33,160,87,.22),rgba(33,160,87,0))}
.sf a{color:inherit;text-decoration:none}
/* pages carry bare nav{display:flex;justify-content:space-between...} rules for their top menu */
.sf nav{display:block;gap:0;width:auto;height:auto;margin:0;padding:0;font:inherit;color:inherit;background:none;border:0;position:static}
.sf-w{max-width:1312px;margin:0 auto;padding:72px max(24px,env(safe-area-inset-right,0px)) 0 max(24px,env(safe-area-inset-left,0px))}
.sf-home .sf-w{padding-top:96px}

/* 1 · statement + the one action (left out on the home page) */
.sf-top{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;align-items:end}
.sf-say{grid-column:1/9}
.sf .sf-brand{display:inline-flex;align-items:center;gap:12px;min-height:44px;margin-bottom:24px;color:var(--sf-hi);font-size:22px;font-weight:500!important}
.sf-brand img{width:36px;height:36px;border-radius:9px;display:block}
/* !important: several pages set a bare h2{font-size:40px!important;font-weight:400!important} */
.sf .sf-h{margin:0;color:var(--sf-hi);font:500 40px/1.18 Discovery,"Discovery Fallback",Arial,sans-serif!important;letter-spacing:-.015em;text-wrap:wrap!important;max-width:none}
.sf-h em{font-style:normal;color:var(--sf-green-hi)}
.sf-act{grid-column:9/13;justify-self:end;display:flex;align-items:center;gap:28px;padding-bottom:10px}
.sf .sf-btn{display:inline-flex;align-items:center;justify-content:center;gap:14px;height:56px;padding:0 26px 0 22px;border-radius:999px;background:var(--sf-hi);color:#111214;font-size:18px;font-weight:500!important;white-space:nowrap;transition:background-color .2s}
.sf .sf-btn:hover{background:#e9f6ee}
.sf-btn svg{width:18px;height:18px;flex:none}
.sf .sf-wapp{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-size:16px;color:var(--sf-text);white-space:nowrap}
.sf-wapp svg{width:20px;height:20px;color:var(--sf-green-hi);flex:none}
.sf-wapp span{border-bottom:1px solid rgba(255,255,255,.28);padding-bottom:2px}
.sf .sf-wapp:hover{color:var(--sf-hi)}
.sf-wapp:hover span{border-color:var(--sf-hi)}

/* 2 · the journey (signature) */
.sf-journey{list-style:none;margin:72px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:24px;position:relative}
.sf-home .sf-journey{margin-top:0}
.sf-journey li{position:relative;display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin:0;padding:24px 22px 22px;background:var(--sf-card);border:1px solid var(--sf-card-line);border-radius:16px;box-shadow:0 18px 40px rgba(0,0,0,.35)}
/* connector to the previous card (on the right in RTL) */
.sf-journey li+li:before{content:"";position:absolute;top:50%;right:-25px;width:26px;height:2px;margin-top:-1px;background:linear-gradient(270deg,rgba(33,160,87,.9),rgba(33,160,87,.3))}
.sf-journey li+li:after{content:"";position:absolute;top:50%;right:-17px;width:8px;height:8px;margin-top:-4px;border-radius:50%;background:var(--sf-green);box-shadow:0 0 0 4px rgba(33,160,87,.18)}
.sf-t{display:flex;flex-direction:column;gap:10px;min-width:0}
.sf-ic{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,.07);color:rgba(255,255,255,.7);font-style:normal}
.sf-ic svg{width:20px;height:20px}
.sf-k{font-size:14px;line-height:1.4;color:var(--sf-dim)}
.sf .sf-v{font-size:16px;font-weight:500!important;line-height:1.35;color:var(--sf-hi)}
.sf-s{display:flex;align-items:center;gap:8px;font-size:14px;line-height:1.4;color:var(--sf-green-hi)}
.sf-s:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--sf-green);flex:none}
.sf-journey li.sf-last{border-color:rgba(33,160,87,.55);background:linear-gradient(180deg,#1a2a21,#1a1c1f 70%)}
.sf-last .sf-ic{background:rgba(33,160,87,.16);box-shadow:inset 0 0 0 1px rgba(60,195,119,.35);color:var(--sf-green-hi)}

/* 3 · the map, on the journey's 4-column grid */
.sf-map{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:24px;padding-top:8px}
.sf-home .sf-map{margin-top:96px;padding-top:40px;border-top:1px solid var(--sf-line)}
.sf-logo .sf-brand{margin-bottom:0}
.sf .sf-grp{padding-inline-start:22px;min-width:0}
.sf .sf-grp h3{margin:0 0 12px;font:400 14px/1.4 Discovery,"Discovery Fallback",Arial,sans-serif;color:rgba(255,255,255,.62);letter-spacing:0}
.sf .sf-note{margin:-4px 0 8px;font-size:16px;line-height:1.5;color:var(--sf-dim)}
.sf-grp ul{list-style:none;margin:0;padding:0}
.sf-grp li{margin:0}
.sf .sf-grp li a{display:inline-flex;align-items:center;min-height:44px;font-size:16px;color:var(--sf-text);transition:color .15s}
.sf .sf-grp li a:hover{color:var(--sf-hi)}
.sf-contact{display:flex;flex-direction:column;align-items:flex-start}
.sf .sf-mail{display:inline-flex;align-items:center;min-height:44px;direction:ltr;margin-top:2px;font-size:18px;line-height:1.3;color:var(--sf-hi);border-bottom:1px solid rgba(255,255,255,.22);padding-bottom:4px}
.sf .sf-mail:hover{border-color:var(--sf-green-hi)}

/* 4 · legal */
.sf-bot{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:0 16px;margin-top:72px;padding:20px 0 28px;border-top:1px solid var(--sf-line);font-size:16px;color:var(--sf-dim)}
.sf .sf-bot nav{display:flex;gap:28px}
.sf .sf-bot a{display:inline-flex;align-items:center;min-height:44px;color:var(--sf-dim)}
.sf .sf-bot a:hover{color:var(--sf-hi)}

/* tablet */
@media (max-width:1100px){
 .sf .sf-h{font-size:32px!important}
 .sf-say{grid-column:1/13}
 .sf-act{grid-column:1/13;justify-self:start;gap:24px;margin-top:32px;padding-bottom:0}
 .sf-journey{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:24px}
 .sf-journey li:nth-child(3):before,.sf-journey li:nth-child(3):after{display:none}
 .sf-map{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:32px}
 .sf-logo{grid-column:1/-1}
}
/* phone: the journey becomes a vertical timeline, line on the start (right) side */
@media (max-width:640px){
 .sf-w,.sf-home .sf-w{padding-top:40px}
 .sf .sf-brand{margin-bottom:12px;font-size:18px}
 .sf-brand img{width:32px;height:32px;border-radius:8px}
 .sf .sf-h{font-size:28px!important;line-height:1.2!important}
 .sf-act{justify-content:space-between;gap:16px;margin-top:20px;width:100%}
 .sf .sf-btn{flex:1;padding:0 20px}
 .sf-journey{display:flex;flex-direction:column;gap:8px;margin-top:28px;padding-inline-start:28px}
 .sf-journey:before{content:"";position:absolute;right:7px;top:28px;bottom:28px;width:2px;background:linear-gradient(180deg,rgba(33,160,87,.35),rgba(33,160,87,.9))}
 .sf-journey li{padding:8px 14px;gap:10px;border-radius:14px;box-shadow:none;align-items:center}
 .sf-journey li:before,.sf-journey li+li:before,.sf-journey li:nth-child(3):before{content:"";display:block;position:absolute;top:50%;right:-25px;width:8px;height:8px;margin-top:-4px;border-radius:50%;background:var(--sf-green);box-shadow:0 0 0 4px rgba(33,160,87,.18)}
 .sf-journey li:after,.sf-journey li+li:after{display:none}
 .sf-t{gap:2px}
 .sf-ic{width:36px;height:36px;border-radius:10px}
 .sf-ic svg{width:18px;height:18px}
 .sf .sf-v{font-size:16px}
 .sf-map{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;row-gap:16px;padding-top:0}
 .sf-home .sf-map{margin-top:32px;padding-top:20px}
 .sf .sf-grp{padding:0}
 .sf .sf-grp li a{font-size:16px}
 .sf .sf-mail{font-size:16px}
 .sf-bot{margin-top:24px;padding:4px 0 16px;gap:0 24px}
 .sf .sf-bot nav{gap:24px}
}
/* Phones and tablets: the two floating buttons (accessibility 12px+44px, site chat 20px+46px from the bottom) are fixed over
   the page's last 66px, which was the legal row. The footer keeps that strip free so the row scrolls clear of them. */
@media (max-width:1100px){.sf-bot{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}}
@media (prefers-reduced-motion:reduce){.sf *{transition:none!important}}
/* tap targets (audit 21.11): short links («עלינו», «נגישות») are at least 44px wide as well as tall */
.sf-map a,.sf-bot a{min-width:44px}
