/* Home page only (loaded after site.css): hero address bar, 3-step wizard, product mock-ups, stats, section rhythm. */

/* ── section rhythm: one vertical rhythm, no dead bands ── */
body[data-page=home] section.block{padding:clamp(48px,6vw,88px) 0}
body[data-page=home] #start{padding-top:clamp(24px,3.5vw,48px)}
body[data-page=home] section.statsec{padding:clamp(24px,3.4vw,44px) 0}
body[data-page=home] .about .twocol{margin-top:clamp(24px,3vw,40px)!important}
.sechead{margin-bottom:clamp(22px,3vw,36px)}
.sechead h2{margin-bottom:.12em}
.sechead .lead{font-size:1.12rem}
body[data-page=home] .marquee{padding:16px 0}
body[data-page=home] .marquee span{font-size:clamp(2rem,4vw,3.6rem)}
body[data-page=home] .curve{height:min(68vh,620px);margin-top:-2vh}
@media (max-width:760px){body[data-page=home] .curve{height:52vh;margin-top:0}}
.curve .panel.txt b small{font:400 .38em var(--sans);margin-inline-start:.3em;color:var(--ink-2)}

/* ── hero: one pill-shaped address bar ── */
/* the poster is plain CSS (preloaded in the head), so it paints before any script runs; the video fades in over it later */
body[data-page=home] .hero .herobg{background-image:url(/video/hero-poster.webp)}
/* hero text is plain visible text from the first paint (the H1 words still rise in once site.js has split them) */
body[data-page=home] .hero .reveal{opacity:1;transform:none;transition:none}
@media (max-width:759px){body[data-page=home] .hero .herobg{background-image:url(/video/hero-m-poster.webp)}}
body[data-page=home] .hero{min-height:min(100svh,840px);padding:128px 0 72px;overflow:visible;clip-path:inset(0 0 -420px 0)}
body[data-page=home] .hero .sub{margin-bottom:28px}
.hwrap{max-width:940px;margin:0 auto}
.hsearch{display:flex;align-items:stretch;background:#fff;border-radius:999px;padding:8px;box-shadow:0 34px 70px -32px rgb(var(--shade) / .5),0 0 0 1px var(--line);position:relative;transition:box-shadow .3s}
.hsearch:focus-within{box-shadow:0 34px 70px -30px rgb(var(--shade) / .55),0 0 0 2px var(--brand-400)}
.hf{flex:1.3 1 0;min-width:0;position:relative;display:flex;flex-direction:column;justify-content:center;padding:6px 26px;text-align:start;cursor:text}
.hf+.hf{border-inline-start:1px solid var(--line);flex:1.6 1 0}
.hf.hn{flex:0 0 138px}
.hf span{font:600 .74rem var(--sans);color:var(--muted);letter-spacing:.03em;line-height:1.3}
.hf input{border:0;background:transparent;font:500 1.14rem var(--sans);color:var(--ink);padding:1px 0;width:100%;min-width:0;outline:0;text-align:start}
.hf input::placeholder{color:var(--placeholder);font-weight:400}
.hf.hn input{direction:ltr;text-align:right}
.hsearch .cta{flex:none;margin:0}
.sug{position:absolute;top:calc(100% + 16px);inset-inline:-8px;z-index:30;list-style:none;margin:0;padding:6px;background:#fff;border-radius:20px;box-shadow:0 26px 60px -22px rgb(var(--shade) / .5),0 0 0 1px var(--line);max-height:320px;overflow:auto;text-align:start}
.sug[hidden]{display:none}
.sug li{padding:9px 14px;border-radius:12px;cursor:pointer;font-size:1.02rem;line-height:1.4}
.sug li:hover,.sug li.on{background:var(--pill)}
.hhint{min-height:1.5em;margin-top:12px;font-size:.98rem;color:var(--ink-2)}.hhint.bad{color:var(--red);font-weight:600}
.hlinks{margin-top:4px;font-size:.98rem}.hlinks a{color:var(--ink-2);text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--mist-line)}.hlinks a:hover{color:var(--ink)}
@media (max-width:760px){
  body[data-page=home] .hero{padding:104px 0 56px}
  .hsearch{flex-wrap:wrap;border-radius:26px;padding:6px}
  .hf,.hf+.hf{flex:1 1 100%;padding:8px 16px;border-inline-start:0;border-bottom:1px solid var(--line)}
  .hf+.hf:not(.hn){flex:1 1 55%;border-bottom:0}
  .hf.hn{flex:1 1 30%;border-bottom:0;border-inline-start:1px solid var(--line)}
  .hsearch .cta{flex:1 1 100%;margin-top:6px}
  .sug{inset-inline:0}
}

/* ── wizard ── */
.wiz{max-width:1040px;margin:0 auto;padding:clamp(16px,2.4vw,28px)}
.wsteps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.wsteps button{display:flex;align-items:center;gap:10px;width:100%;background:none;border:0;cursor:pointer;font:600 1.02rem var(--sans);color:var(--muted);padding:4px 2px;justify-content:flex-start;transition:color .25s}
.wsteps i{font:normal 600 .9rem var(--sans);width:32px;height:32px;border-radius:50%;display:grid;place-items:center;border:1.5px solid var(--ring);color:var(--muted);flex:none;transition:all .3s var(--ease);background:#fff}
.wsteps button[aria-current=step]{color:var(--ink)}
.wsteps button[aria-current=step] i{background:var(--ink);border-color:var(--ink);color:#fff;box-shadow:0 0 0 4px var(--bg-2)}
.wsteps button.done{color:var(--ink-2)}
.wsteps button.done i{background:var(--bg-2);border-color:var(--brand-400);color:var(--accent-2);font-size:0}
.wsteps button.done i:after{content:"✓";font-size:.95rem}
.wsteps button:hover i{border-color:var(--ink)}
.wbar{height:3px;background:var(--pill);border-radius:3px;margin:10px 0 18px;overflow:hidden}
.wbar em{display:block;height:100%;width:33%;background:linear-gradient(90deg,var(--accent-2),var(--brand-400));border-radius:3px;transition:width .5s var(--ease)}
.wstep>.group:first-child,.wstep>.group:first-of-type{margin-top:0;padding-top:0;border-top:0}
.wstep>.group+.group{margin-top:14px;padding-top:12px}
.wiz .group>h4{font-size:1.2rem;margin-bottom:6px}
.wiz .fg{gap:8px 20px}
.wiz input.i,.wiz select.i{padding:5px 2px;font-size:1rem}
.wiz label.f{font-size:.8rem}
.wiz .dropzone{padding:11px 14px;margin-bottom:0}.wiz .dropzone b{font-size:1.3rem;margin-bottom:0}.wiz .dropzone span{font-size:.92rem}
.wiz #tabumsg{margin:6px 0 10px;min-height:0}
.wiz .seg{margin-bottom:12px!important}.wiz .seg button{padding:8px 20px}
.addrbox{margin-bottom:12px}.addrbox .addrchip{margin-bottom:0}.addrbox .hint{margin-top:8px}
.addrchip{display:flex;align-items:center;gap:8px;background:var(--pill);border-radius:999px;padding:5px 6px 5px 16px;width:fit-content;max-width:100%;font-size:.95rem;margin-bottom:12px;line-height:1.4}
.addrchip b{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.addrchip button{background:var(--card);border:0;border-radius:999px;padding:3px 13px;cursor:pointer;font:600 .85rem var(--sans);color:var(--ink);flex:none}
.addrchip button:hover{box-shadow:var(--shadow-s)}
.wiz .status{margin-top:12px;min-height:1.2em}
.wnav{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:14px;padding-top:14px;border-top:1px dashed var(--line);flex-wrap:wrap}
.wnav .quota{flex:1;text-align:center;font-size:.9rem;min-width:0}
.wnav .btn{min-width:120px;padding:11px 26px}
@media (max-width:560px){
  .wsteps button{flex-direction:column;gap:4px;font-size:.88rem;text-align:center}
  .wnav .quota{order:3;flex:1 1 100%}
  .wnav .btn{flex:1}
  .wnav .cta{flex:1 1 auto}
  .addrchip{border-radius:18px}.addrchip b{white-space:normal;overflow:visible}
}

/* ── product mock-ups: real screenshots in a browser / phone frame ── */
.showcase{display:grid;grid-template-columns:1fr 1fr;gap:clamp(14px,2.2vw,26px)}
.pcard{display:flex;flex-direction:column;border-radius:var(--r-lg);overflow:hidden;background:#fff;border:1px solid var(--line);text-decoration:none;color:inherit;transition:transform .5s var(--ease),box-shadow .5s}
.pcard:hover{transform:translateY(-6px);box-shadow:var(--shadow)}
.pcard.feat{grid-column:1/-1;flex-direction:row;align-items:stretch}
.pcard.feat .ptxt{flex:0 0 32%;display:flex;flex-direction:column;justify-content:center;padding:clamp(22px,3vw,44px)}
.pcard.feat .pvis{flex:1;min-width:0}
.ptxt{padding:20px 26px 24px}
.ptxt h3{margin-bottom:.25em}.ptxt p{margin-bottom:.6em}
.ptxt .go{font-weight:600;display:inline-flex;gap:8px;align-items:center}.ptxt .go:after{content:"←";transition:transform .3s}.pcard:hover .go:after{transform:translateX(-6px)}
.pvis{position:relative;overflow:hidden;padding:clamp(18px,2.4vw,30px) clamp(18px,2.6vw,34px) 0}
.pvis.v1{background:linear-gradient(160deg,var(--lime),var(--butter) 45%,var(--sky))}
.pvis.v2{background:linear-gradient(170deg,var(--sky),var(--sky-tint) 50%,var(--sage))}
.pvis.v3{background:linear-gradient(160deg,var(--sage),var(--butter) 55%,var(--rose))}
.bframe{margin:0;border-radius:12px 12px 0 0;background:#fff;box-shadow:0 26px 50px -24px rgb(var(--shade) / .55),0 0 0 1px rgb(var(--shade) / .1);overflow:hidden;direction:ltr}
.bbar{display:flex;align-items:center;gap:6px;height:28px;padding:0 12px;background:var(--tint-0);border-bottom:1px solid var(--line)}
.bbar i{width:9px;height:9px;border-radius:50%;background:var(--line-2);flex:none}
.bbar span{margin:0 auto;font:500 .7rem var(--sans);color:var(--muted);background:#fff;border-radius:999px;padding:1px 16px;transform:translateX(-24px)}
.bframe img{width:100%;height:auto;display:block}
.pframe{position:absolute;bottom:0;left:clamp(10px,3%,40px);width:min(22%,170px);margin:0;border:6px solid var(--ink);border-bottom:0;border-radius:24px 24px 0 0;overflow:hidden;background:#fff;box-shadow:0 26px 50px -18px rgb(var(--shade) / .7)}
.pframe:before{content:"";position:absolute;top:5px;left:50%;width:34%;height:5px;border-radius:5px;background:var(--ink);transform:translateX(-50%);z-index:1}
.pframe img{width:100%;height:auto;display:block}
@media (max-width:820px){
  .showcase{grid-template-columns:1fr}
  .pcard.feat{flex-direction:column}
  .pcard.feat .ptxt{flex:none;padding:22px 26px 6px}
  .pcard.feat .pvis{order:2}
  .pframe{width:27%}
}

/* ── stats: numbers right-aligned, unit next to the number ("מיליון", never "M") ── */
.stats>div{padding:16px 22px;display:flex;flex-direction:column;align-items:flex-start;text-align:right}
.stats b{display:flex;align-items:baseline;justify-content:flex-start;gap:.3em;font-size:clamp(2.6rem,5vw,4.4rem);white-space:nowrap}
.stats b em{font-style:normal;direction:ltr;unicode-bidi:isolate}
.stats b small{font:400 clamp(1.05rem,1.7vw,1.45rem) var(--sans);color:var(--ink-2)}
.stats span{margin-top:6px;line-height:1.5}
@media (max-width:820px){.stats>div{padding:14px 16px}}
body[data-page=home] .curve:after{height:9%}
.wiz .hint{min-height:0;margin-top:6px}
@media (max-width:480px){.wiz .fg,.wiz .fg.c4,.wiz .fg.c2{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 14px}.wiz #loc-addr .fg{grid-template-columns:1fr 1fr}.wiz #loc-addr .fg label:nth-child(1),.wiz #loc-addr .fg label:nth-child(2){grid-column:auto}}

.cnav{bottom:auto!important;top:14px}

/* recovery from a failed report + pick the building on the map (js/finder.js) */
.loader.failed{overflow-y:auto;align-items:flex-start}
.loader.failed .box{margin:auto;padding-top:56px;padding-bottom:40px}
.loader.failed svg.bld,.loader.failed .pct,.loader.failed #ldsteps{display:none}
.rec{margin-top:14px;text-align:center}
.rec p{margin:10px 0}
.rec .btn{margin:2px 4px}
.rec .chk{display:flex;gap:10px;align-items:flex-start;text-align:start;max-width:400px;margin:16px auto 4px;font-size:.95rem;line-height:1.5;cursor:pointer}
.rec .chk input{width:20px;height:20px;flex:none;margin-top:2px;accent-color:var(--ck-accent)}
.rec .err{min-height:1.4em}
.pickbox{margin-top:12px;border:1px solid var(--line);border-radius:var(--r-md);background:var(--card);padding:14px}
.pickbox .pk-h{display:flex;align-items:center;justify-content:space-between;gap:8px}
.pickbox .pk-x{background:none;border:0;font-size:1.5rem;line-height:1;color:var(--muted);cursor:pointer;padding:0 6px}
.pickbox .pk-st{margin:6px 0 10px;color:var(--muted);font-size:.95rem}
.pickbox .pk-st button,.pickbox .pk-alt button{background:none;border:0;padding:0;font:inherit;color:var(--ink);text-decoration:underline;cursor:pointer}
.pickbox .pickmap{height:340px;border-radius:var(--r-sm);overflow:hidden}
.pickbox .pk-sel{margin-top:12px;padding:12px 14px;border-radius:var(--r-sm);background:var(--bg-2);font-size:.95rem}
.pickbox .pk-sel p{margin:4px 0}
.pickbox .pk-alt{margin:12px 0 0;font-size:.92rem;color:var(--muted)}
@media (max-width:480px){.pickbox{padding:10px}.pickbox .pickmap{height:300px}}

/* ── quick check card (js/quick.js): under the hero bar, shown to visitors who are not signed in. Centring of the KPI cards, chips and buttons comes from the UI-POLISH block in site.css ── */
#quick{margin-top:18px;scroll-margin-top:104px}   /* the card scrolls into view below the fixed header */
#quick[hidden]{display:none}
.qc{background:#fff;border:1px solid var(--line);border-radius:var(--r-md);box-shadow:var(--shadow-s);padding:22px clamp(16px,3vw,28px) 20px;text-align:start}
.qc-k{font:600 .8rem var(--sans);letter-spacing:.03em;color:var(--muted)}
.qc h3{font-size:clamp(1.4rem,2.6vw,1.9rem);margin:6px 0 14px}
.qc .kpis{margin-top:0}
.qc .kpi .v{font-size:clamp(1.6rem,3vw,2.2rem)}
.qc-h{margin:16px 0 0;font-weight:600;color:var(--ink-2)}
.qc .chips{margin-top:10px}
.qc-note{margin:16px 0 0;padding:12px 16px;border-radius:var(--r-sm);background:var(--amber-tint);color:var(--amber-ink);font-size:.98rem;line-height:1.55}
.qc-fine{margin:10px 0 0;font-size:.88rem;color:var(--muted)}
.qc .racts{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
@media (max-width:640px){.qc .racts>*{flex:1 1 100%}.qc .kpi{padding:12px 16px}.qc .kpi .v{font-size:1.55rem;margin-top:4px}}

/* ── new apartment from a developer (NB-D, js/finder.js): the kind switch on step 1 and the fields that show only in that mode. Resale mode: everything here is hidden except the switch ── */
.nbkind{margin:0 0 12px;text-align:center}
.nbkind .seg button[aria-checked=true]{background:var(--card);color:var(--ink);box-shadow:0 6px 18px -8px rgb(var(--shade) / .35)}
.wiz .nbkind .seg{margin-bottom:8px!important}
.nbkind #stageseg button{padding:5px 16px;font-size:.88rem}
.nbkind .nbintro{margin:2px auto 0;max-width:640px;font-size:.9rem}
.nbdev{margin-bottom:8px}
.nbq{display:flex;gap:10px;align-items:flex-end}.nbq .i{flex:1;min-width:0}.nbq .btn{flex:none}
.nbdevres button{background:none;border:0;padding:0;font:inherit;color:var(--ink);text-decoration:underline;cursor:pointer}
.nbdevres ul{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:4px}
.nbdevres li{display:flex;gap:10px;align-items:baseline;justify-content:space-between;padding:6px 10px;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--card)}
.nbdevres li span{color:var(--muted);font-size:.85rem}
.nbpick{display:inline-flex;align-items:center;gap:8px;background:var(--pill);border-radius:999px;padding:4px 6px 4px 14px;margin-top:6px}
.nbpick button{background:var(--card);border:0;border-radius:999px;padding:2px 10px;cursor:pointer;font:600 .8rem var(--sans);color:var(--ink);text-decoration:none}
.nbq .rm{background:none;border:0;color:var(--muted);font-size:22px;line-height:1;cursor:pointer;padding:6px 8px;flex:none}.nbq .rm:hover{color:var(--red)}
.nbdevadd{margin:0 0 10px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.nbdevadd .hint{margin:0}
.nbinc{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px;font-size:.85rem}
.nbsub{font-size:.82rem;font-weight:600;margin-bottom:4px}.nbsub span{font-weight:400}
.nbrow{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1.2fr) minmax(0,.7fr) minmax(0,1fr) auto;gap:6px 14px;align-items:end;margin-bottom:6px}
.nbrow .rm{background:none;border:0;color:var(--muted);font-size:22px;line-height:1;cursor:pointer;padding:6px 8px}.nbrow .rm:hover{color:var(--red)}
.nbrow.sample .i{color:var(--muted)}
.nbrow .smp{grid-column:1/-1;font-size:.78rem;color:var(--muted);margin-top:-2px}
.nbschedact{margin:6px 0 12px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.nbschedact .hint{margin:0}
#nbsuggest button,.lst-out .nbgo{background:none;border:0;padding:0;font:inherit;font-weight:600;color:var(--ink);text-decoration:underline;cursor:pointer}
.ldnote{margin:12px auto 0;max-width:460px;font-size:.92rem;color:var(--muted);line-height:1.5}
@media (max-width:560px){.nbrow{grid-template-columns:repeat(2,minmax(0,1fr)) auto}.nbrow>:nth-child(2){grid-column:1/-2;grid-row:1}.nbrow>:nth-child(1){grid-column:1/-1;grid-row:2}.nbrow .rm{grid-column:3;grid-row:1}.nbrow{padding-bottom:8px;border-bottom:1px dashed var(--line)}}
/* NB-FORM: Hebrew month / date pickers (finder.js dsel): a label over two or three native selects, as compact as the other fields */
.dsel{display:flex;flex-direction:column;gap:2px;font:600 .82rem var(--sans);letter-spacing:.01em;color:var(--muted);min-width:0}
.wiz .dsel{font-size:.8rem}
.dsel-in{display:flex;gap:6px;min-width:0}
.dsel-in select.i{flex:1 1 0;min-width:0;width:auto}
.dsel-in [data-d=m]{flex-grow:1.5}
.dsel-msg{font-weight:400;font-size:.78rem;color:var(--red-ink);min-height:0}.dsel-msg:empty{display:none}
.nbtabu{margin:0 auto 10px;max-width:640px;text-align:center;font-size:.9rem}
@media (max-width:480px){.wiz .fg .dsel{grid-column:1/-1}}
