/* האתר הקצר — 13/11/2026 (יעקב). נטען בכל עמוד מ-tools/short_site.py.
   פס אחד של 3 כפתורים (חיוג / וואטסאפ / אימייל), "עלינו" אחד בתחתית עם 24/7 פעם אחת, סיפור עבודה מהגלריה. */
:root{--j-navy:#1b2a41;--j-gold:#d4a017;--j-wa:#1fa755;--j-line:#e3e0d8}
/* 03/12/2026 (visual check): the room under the bottom bar is in rem, like the bar itself — with a larger default font
   (20px) the bar is 92px tall and a fixed 84px left the end of every page under it. 5.25rem = 84px at the default 16px. */
body{padding-bottom:calc(5.25rem + env(safe-area-inset-bottom))}

/* ── הפס התחתון ── */
.jbar{position:fixed;left:0;right:0;bottom:0;z-index:400;display:flex;gap:.45rem;padding:.55rem .6rem calc(.55rem + env(safe-area-inset-bottom));
  background:rgba(255,255,255,.97);border-top:1px solid var(--j-line);box-shadow:0 -4px 14px rgba(0,0,0,.08)}
.jbar a{flex:1 1 0;min-width:0;text-align:center;text-decoration:none;font-weight:800;font-size:1rem;line-height:1.2;
  border-radius:11px;padding:.8rem .2rem;white-space:nowrap;font-family:inherit;overflow:hidden;text-overflow:clip}
.jbar .jb-call{background:var(--j-gold);color:var(--j-navy)}
.jbar .jb-wa{background:#177a40;color:#fff}
.jbar .jb-mail{background:#fff;color:var(--j-navy);border:2px solid var(--j-navy)}
@media(min-width:760px){.jbar{justify-content:center}.jbar a{flex:0 0 210px}}
@media(max-width:400px){.jbar a{font-size:.92rem}}@media(max-width:360px){.jbar a{font-size:.85rem}}
/* פסים ישנים, אם נשארו מבונה שלא עודכן */
.contact-bar,.pf-bar,#jpc-sos{display:none!important}

/* ── עלינו (בתחתית, פעם אחת) ── */
.about-jpc{max-width:720px;margin:0 auto 1.2rem;padding:1.3rem 1.1rem;background:#fff;color:var(--j-navy);border:1px solid var(--j-line);
  border-radius:14px;text-align:start;line-height:1.45}
.about-jpc h2{margin:0 0 .6rem;font-size:1.25rem;color:var(--j-navy)}
.about-jpc .aj-list{list-style:none;margin:0 0 1rem;padding:0}
.about-jpc .aj-list li{padding:.38rem 0 .38rem 1.6rem;position:relative;border-bottom:1px solid #f0ede6;font-size:1rem}
[dir=rtl] .about-jpc .aj-list li,.about-jpc[dir=rtl] .aj-list li{padding:.38rem 1.6rem .38rem 0}
.about-jpc .aj-list li::before{content:"✓";position:absolute;left:0;top:.36rem;color:#1f8a4c;font-weight:800}
[dir=rtl] .about-jpc .aj-list li::before{left:auto;right:0}
.about-jpc .aj-list li:last-child{border-bottom:0}
.about-jpc .lic{display:block;font-weight:700;margin:.1rem 0 0!important;font-size:.92em!important}
[dir=rtl] .about-jpc .lic{font-size:.9em!important;font-weight:600;text-align:right}
.about-jpc .aj-emg{display:block;text-align:center;background:#c62828;color:#fff;text-decoration:none;font-weight:800;font-size:1.05rem;
  border-radius:12px;padding:.85rem .6rem}
.about-jpc .aj-emg:hover,.about-jpc a[data-aj-emg]:hover{background:#a51f1f!important}
.about-jpc a[data-aj-emg]{display:block!important;width:auto!important;margin:0!important;text-align:center;background:#c62828!important;color:#fff!important;text-decoration:none;font-weight:800;font-size:1.05rem;border-radius:12px!important;padding:.85rem .6rem!important;border:0!important;box-shadow:none!important}
.about-jpc .aj-note{margin:.45rem 0 0;text-align:center;font-size:.92rem;color:#4a5568}
footer .about-jpc a{color:#fff}
footer .about-jpc .aj-list a{color:var(--j-navy)}
.short-foot{padding:1rem .8rem;text-align:center;font-size:.85rem}

/* ── סיפור העבודה ── */
.story h2{margin-bottom:.7rem}
.st-row{display:grid;gap:.5rem;grid-template-columns:repeat(3,1fr)}
.st-row.st-n2{grid-template-columns:repeat(2,1fr)}
.st-row.st-n1{grid-template-columns:1fr}
.st-row.st-pairs{grid-template-columns:1fr}
@media(min-width:760px){.st-row.st-pairs.st-n3{grid-template-columns:repeat(3,1fr)}}
.st-fig{margin:0;position:relative}
.st-fig a{display:block;border-radius:10px;overflow:hidden;background:#eee}
.st-fig img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover}
.st-pairs .st-fig img{aspect-ratio:auto;object-fit:contain;background:#fff}
.st-fig figcaption{position:absolute;top:.4rem;inset-inline-start:.4rem;background:rgba(27,42,65,.88);color:#fff;font-weight:800;
  font-size:.85rem;padding:.18rem .55rem;border-radius:999px}
.st-after figcaption{background:#1f8a4c}
.st-pairs .st-fig figcaption{display:none}

/* ── מה אנחנו עושים / עוד פרטים ── */
.short-do .do-chips{display:flex;flex-wrap:wrap;gap:.4rem;padding:0;margin:0;list-style:none}
.short-do .do-chips li{background:#fff;border:1px solid var(--j-line);border-radius:999px;padding:.35rem .8rem;font-size:.95rem}
.lp-details details.more-all{border:1px solid var(--j-line);border-radius:12px;background:#fff}
.lp-details details.more-all>summary{cursor:pointer;padding:1rem 1.1rem;font-weight:800;color:var(--j-navy);list-style:none}
.lp-details details.more-all>summary::-webkit-details-marker{display:none}
.lp-details details.more-all>summary::after{content:" ▾"}
.lp-details details.more-all[open]>summary::after{content:" ▴"}
.lp-details details.more-all>section{padding-left:0;padding-right:0}
.short-rev .lp-rev blockquote p{font-size:1.02rem}

.about-jpc .aj-num{display:block;font-size:1.15rem;margin-top:.15rem}
/* ריווח צפוף יותר בדפים הקצרים */
.lp .lp-hero{padding-bottom:1.2rem}
.lp .story,.lp .short-rev,.lp .short-do,.lp .lp-details{padding-top:1.3rem;padding-bottom:1.3rem}
.lp .story h2,.lp .short-rev h2,.lp .short-do h2{margin-top:0}
.st-pairs .st-fig img{max-height:420px}
/* דף הבית: לפני/אחרי בשורה נגללת לצד בטלפון */
@media(max-width:759px){
  .work-strip .st-row.st-pairs{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:.6rem;padding-bottom:.4rem}
  .work-strip .st-row.st-pairs .st-fig{flex:0 0 82%;scroll-snap-align:start}
}
.work-strip .st-pairs .st-fig img{max-height:360px;width:100%}
.hcards .lp-card-img img{aspect-ratio:16/10;object-fit:cover}

.st-sample{margin-top:.6rem}.st-sample a.sample{display:inline-block;font-weight:700}.st-sample a.sample small{display:block;font-weight:400;font-size:.8rem;opacity:.8}

.st-found figcaption{background:#8a5a00}
.st-row.st-n1 .st-fig img{max-height:380px}

/* 13/11 (יעקב): SMS חזר — 4 כפתורים, אייקון מעל מילה */
.jbar a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.12rem;font-size:.86rem;padding:.45rem .1rem;line-height:1.15}
.jbar .jb-i{font-size:1.25rem;line-height:1}
.jbar .jb-sms{background:var(--j-navy);color:#fff}
@media(min-width:760px){.jbar a{flex:0 0 170px}}
@media(max-width:360px){.jbar a{font-size:.78rem}}

/* 15/11/2026 (Yaakov): first-screen block — Call · Send a photo on WhatsApp (free estimate) · Emergency WhatsApp · the area */
.fx-cta{display:grid;gap:.5rem;margin:1rem 0 .25rem;max-width:560px}
.fx-row{display:grid;grid-template-columns:1fr 1.5fr;gap:.5rem}
.fx-cta a{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;text-decoration:none;
  border-radius:11px;padding:.45rem .5rem;min-height:56px;font-weight:800;line-height:1.2;font-family:inherit;box-sizing:border-box}
.fx-cta .fx-t{font-size:1rem}
.fx-cta .fx-s{font-size:.82rem;font-weight:700;margin-top:.1rem}
.fx-cta .fx-call{background:var(--j-gold);color:var(--j-navy)!important}
.fx-cta .fx-wa{background:#177a40;color:#fff!important}
.fx-cta .fx-sos{min-height:46px;flex-direction:row;background:#c62828;color:#fff!important;font-size:1rem}
.fx-cta a:hover{filter:brightness(.95)}
.fx-cta a:focus-visible,.about-jpc .aj-sos:focus-visible{outline:3px solid var(--j-navy);outline-offset:2px}
.fx-cta .fx-area{margin:.1rem 0 0;font-size:.88rem;font-weight:700;color:#5f5a52}
.fx-lic{margin:-.2rem 0 .6rem;font-size:.92rem;font-weight:700;color:#5f5a52}
[data-sos][hidden]{display:none!important}
@media(max-width:360px){.fx-cta .fx-t{font-size:.92rem}.fx-row{grid-template-columns:1fr 1.6fr}}

/* 15/11: the trust line and the emergency WhatsApp in the About box (every page) */
.about-jpc .aj-trust{margin:0 0 .7rem;padding:.6rem .75rem;background:#f8f6f1;border-radius:10px;font-weight:700;font-size:.98rem;line-height:1.45;color:var(--j-navy)}
.about-jpc .aj-sos{display:block;margin-top:.7rem;text-align:center;background:#fff;color:#c62828!important;border:2px solid #c62828;
  text-decoration:none;font-weight:800;font-size:1.02rem;border-radius:12px;padding:.7rem .6rem}
.about-jpc .aj-sos:hover{background:#fdecec}
.fx-where{margin:-.35rem 0 .7rem;font-size:.95rem;font-weight:700;color:#7a5c08}
/* 15/11 (Wonder): the emergency WhatsApp is fail-closed — hidden in the HTML until shabbat-banner.js shows it. In the first
   screen its place is kept (invisible, not clickable) so nothing jumps when it appears; in the Shabbat window (.sos-off) it
   collapses. The About-box button simply stays out until shown. */
.fx-cta .fx-sos[hidden]{display:flex!important;visibility:hidden}
.fx-cta .fx-sos.sos-off{display:none!important}
/* 29/11/2026 (owner "1" on the design grade, steps 2-3): while the first-screen Call / WhatsApp buttons are on screen the
   bottom bar steps aside - the first phone screen shows 2 buttons, and on a laptop the bar never covers the main Call
   button. site-metrics.js adds .jb-away; with no JS the bar shows as before. */
.jbar{transition:transform .2s ease,visibility .2s}
.jbar.jb-away{transform:translateY(110%);visibility:hidden}
@media(prefers-reduced-motion:reduce){.jbar{transition:none}}
/* 29/11/2026 fix round (owner: "add the menu"): the home page's menu on the /services/* pages (tools/short_site.py MENU /
   menu_apply). >=1024px: one line between the logo and the phone; narrower: the button opens a drawer under the header,
   like the home page below 760px. The header keeps its height (the button's negative block margin: it never makes the header
   taller), so the first-screen buttons do not move. */
.sm-nav{display:none}
.sm-burger{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;padding:0;margin-inline-start:auto;margin-block:-.5rem;
  background:transparent;border:1px solid rgba(255,255,255,.4);border-radius:6px;color:#fff;font-size:1.4rem;line-height:1;cursor:pointer}
.hd-tel~.sm-burger{margin-inline-start:.4rem}
.sm-drawer{position:absolute;top:100%;inset-inline:0;background:var(--j-navy);padding:.4rem 1rem 1rem;box-shadow:0 8px 18px rgba(0,0,0,.35);
  max-height:calc(100vh - 100%);max-height:calc(100dvh - 100%);overflow-y:auto;overscroll-behavior:contain}
/* fix round 1 (Fable): a landscape phone (667x375) had the last rows below the screen and under the bottom bar - the drawer
   scrolls inside itself, and the header goes above the bar (z-index 400) while the drawer is open */
header.sm-open{z-index:450}
.sm-drawer[hidden]{display:none}
.sm-drawer a{display:flex;align-items:center;min-height:48px;color:#fff;text-decoration:none;font-size:1.05rem;border-bottom:1px solid rgba(255,255,255,.12)}
.sm-burger:focus-visible,.sm-drawer a:focus-visible,.sm-nav a:focus-visible{outline:3px solid var(--j-gold);outline-offset:2px}
@media(min-width:1024px){
  .sm-nav{display:flex;align-items:center;flex-wrap:nowrap;gap:0;margin-inline-start:auto;min-width:0}
  .sm-nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 .4rem;color:#fff;text-decoration:none;font-size:.86rem;white-space:nowrap;opacity:.92}
  .sm-nav a:hover{color:var(--j-gold);opacity:1}
  .sm-nav~.hd-tel{margin-inline-start:.5rem}
  .sm-burger,.sm-drawer{display:none!important}
}
@media(min-width:1200px){.sm-nav a{font-size:.92rem;padding:0 .55rem}}
/* 01/12/2026: the kitchen case story under the story photos (tools/short_site.py CASES), collapsed */
.story details.st-case{max-width:720px;margin:1rem auto .4rem;border:1px solid var(--j-line);border-radius:12px;background:#fff;text-align:left}
.story details.st-case>summary{cursor:pointer;padding:.9rem 1.1rem;font-weight:800;color:var(--j-navy);list-style:none}
.story details.st-case>summary::-webkit-details-marker{display:none}
.story details.st-case>summary::after{content:" \25BE"}
.story details.st-case[open]>summary::after{content:" \25B4"}
.story details.st-case>p{margin:0 1.1rem .85rem;line-height:1.6}
/* 01/12/2026 (visual review): a before/after pair or a single story photo sat in a 4:5 box (landing.css .lp-work-item) -
   on the kitchen page ~980px of grey under the pair. The box now follows the photo. Gallery thumbnails get a warm
   placeholder colour while they load. */
.st-pairs .st-fig a.lp-work-item,.st-n1 .st-fig a.lp-work-item{aspect-ratio:auto}
.gal img{background:#e9e5dc}
/* 01/12/2026: service page -> the towns where we see it most (tools/short_site.py towns_apply) */
.short-towns{padding-top:0!important}
.do-towns{margin:.2rem 0 0;font-size:.95rem;line-height:1.7}
.do-towns a{white-space:nowrap}
/* 01/12/2026: with Towns the menu has 9 links - at 1024-1099px it stays on one line */
@media(min-width:1024px) and (max-width:1099px){.sm-nav a{font-size:.8rem;padding:0 .28rem}}
/* 01/12 evening: stars under the first-screen buttons */.fx-cta .fx-rate{margin:.15rem 0 0;font-size:.88rem;font-weight:700;color:#3d3a35}.fx-cta .fx-rate .fx-stars{color:#c99a06;letter-spacing:.05em}

/* 04/12/2026 (checklist F6-01 / F6-05 / F8-03): the leak pages' open blocks (tools/short_site.py leak_open_apply) */
.lk-how .lp-wrap,.lk-more .lp-wrap{max-width:760px}
.lk-how{padding-top:1.6rem!important;padding-bottom:.6rem!important}
.lk-how h2,.lk-more h2{margin:0 0 .6rem}
.lk-steps{margin:0 0 .9rem;padding-left:1.5rem}
.lk-steps li{margin:.4rem 0;line-height:1.5;font-size:1.02rem}
.lk-steps strong{color:var(--j-navy)}
.lk-price{margin:0 0 .7rem;padding:.7rem .9rem;background:#f8f6f1;border-left:3px solid var(--j-gold);border-radius:8px;font-weight:700;line-height:1.45;color:var(--j-navy)}
.lk-facts{list-style:none;margin:0;padding:0}
.lk-facts li{position:relative;padding:.4rem 0 .4rem 1.6rem;border-bottom:1px solid #f0ede6;line-height:1.45}
.lk-facts li:last-child{border-bottom:0}
.lk-facts li::before{content:"✓";position:absolute;left:0;top:.38rem;color:#1f8a4c;font-weight:800}
.lk-more{padding-top:.4rem!important}
.lk-more h3{margin:1.1rem 0 .4rem}
.lk-rel{margin:1rem 0 0;line-height:1.5}
.lk-sample{margin:.9rem 0 0}.lk-sample a{display:inline-flex;align-items:center;min-height:44px}
.lk-rel a{display:inline-flex;align-items:center;min-height:44px}
/* 04/12/2026 (F7-01 / F7-02): the rating under the buttons links to the Google profile; where the reviews come from */
.fx-cta .fx-rate a{color:inherit;text-decoration:none}
.lp-rev-src{margin:-.2rem 0 .7rem;font-size:.9rem;color:#5f5a52}
/* 04/12/2026 (checklist X2-09 / F9-02, measured 04/12): the stars were 2.2–2.6:1 on white and paper (now ≥3.7:1); the gold Call
   buttons were 2.38:1 against the page — a 2px navy edge (outline, so nothing moves); footer links ≥44px tall to tap */
body .lp-stars,body .fs-stars,body .fx-cta .fx-rate .fx-stars,body .rev-stars{color:#a07800}
.fx-cta .fx-call,.jbar .jb-call,.fs-call-btn{outline:2px solid var(--j-navy);outline-offset:-2px}
.fx-cta .fx-call:focus-visible,.jbar .jb-call:focus-visible,.fs-call-btn:focus-visible{outline:3px solid var(--j-navy);outline-offset:2px}
footer a:not([class]){display:inline-flex;align-items:center;min-height:44px}
