/* שפת העיצוב: "חדרים". כל מקטע הוא חדר עם קיר פסטל משלו, וכל תמונה נשקפת דרך קשת.
   מובייל קודם, CSS לוגי בלבד כדי שרוסית תעבוד ב-LTR.
   מסתירים רק תחת html.anim, שסקריפט ב-head מוסיף. */

/* כותרות: Google Sans (ניר, 14.11.2026, במקום Frank Ruhl Libre). משקל משתנה 400-700. */
@font-face { font-family: "Google Sans"; font-style: normal; font-display: swap; font-weight: 400 700;
  src: url("/assets/fonts/google-sans-hebrew-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Google Sans"; font-style: normal; font-display: swap; font-weight: 400 700;
  src: url("/assets/fonts/google-sans-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Assistant"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("/assets/fonts/assistant-hebrew-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Assistant"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("/assets/fonts/assistant-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }

@font-face { font-family: "Google Sans"; font-style: normal; font-display: swap; font-weight: 400 700;
  src: url("/assets/fonts/google-sans-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Assistant"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("/assets/fonts/source-sans-3-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  /* קירות. על כולם טקסט בצבע --ink, ניגודיות 11:1 לפחות. */
  --paper: #fbf6ee;
  --apricot: #fbdcc4;
  --sage: #d6e4cd;
  --butter: #f9ebb7;
  --sky: #d0e4ee;
  --lilac: #e4daf1;
  --blush: #f7d9dc;
  --ink: #252136;
  --ink-soft: #4d4860;      /* טקסט משני. 5.6:1 לפחות על כל הקירות */
  --cream: #fdf9f1;
  --line: rgb(37 33 54 / .16);
  --link: #252136;

  --display: "Google Sans", "Assistant", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Assistant", system-ui, -apple-system, "Segoe UI", sans-serif;

  --t-body: clamp(1.1875rem, 1.05rem + .5vw, 1.375rem);
  --t-small: clamp(1rem, .96rem + .2vw, 1.0625rem);
  --t-lede: clamp(1.375rem, 1.15rem + 1vw, 1.875rem);
  --t-h3: clamp(1.5rem, 1.25rem + 1vw, 2.125rem);
  --t-h2: clamp(2.5rem, 1.5rem + 5vw, 5.75rem);
  --t-h1: clamp(2.6rem, 1.28rem + 6.72vw, 8.4rem);   /* ניר, 15.11: קטן ב-20% */
  --t-mega: clamp(4.25rem, 1rem + 16vw, 17rem);

  --gutter: clamp(1.25rem, .6rem + 3.4vw, 4.5rem);
  --room: clamp(4.5rem, 3rem + 7vw, 10rem);
  --arch: clamp(2.5rem, 1rem + 8vw, 9rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wide: 92rem;
  --read: 42rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-block-start: 6rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--t-body) / 1.6 var(--body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: clip;
}
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.04; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; color: inherit; }
figure { margin: 0; }

.skip { position: absolute; inset-inline-start: 1rem; inset-block-start: -5rem; z-index: 100; padding: .75rem 1.25rem; background: var(--ink); color: var(--cream); border-radius: 999px; }
.skip:focus { inset-block-start: 1rem; }
.num, .tabular { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.visually-hidden { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow > * { max-width: var(--read); }

/* קירות */
[data-wall="paper"]  { --wall: var(--paper); }
[data-wall="apricot"]{ --wall: var(--apricot); }
[data-wall="sage"]   { --wall: var(--sage); }
[data-wall="butter"] { --wall: var(--butter); }
[data-wall="sky"]    { --wall: var(--sky); }
[data-wall="lilac"]  { --wall: var(--lilac); }
[data-wall="blush"]  { --wall: var(--blush); }
.room { position: relative; background: var(--wall, var(--paper)); padding-block: var(--room); }
/* גבול בין חדרים: החדר הבא עולה בקשת רחבה מעל הקודם */
.room--rise { border-start-start-radius: var(--arch); border-start-end-radius: var(--arch); margin-block-start: calc(var(--arch) * -1); padding-block-start: calc(var(--room) + var(--arch) * .35); z-index: 1; }
.room--rise + .room--rise { z-index: 2; }
.room--rise ~ .room--rise ~ .room--rise { z-index: 3; }

.kicker { font: 600 var(--t-small)/1.3 var(--body); color: var(--ink-soft); }
.kicker span + span::before { content: "·"; margin-inline: .5em; }
.label { display: flex; align-items: baseline; gap: .75em; font: 600 var(--t-small)/1.3 var(--body); color: var(--ink-soft); margin-block-end: clamp(1.25rem, 1rem + 1.2vw, 2.5rem); }
.label b { font: 400 1.25em/1 var(--display); color: var(--ink); }

.h2 { font-size: var(--t-h2); }
.h3 { font-size: var(--t-h3); }
.lede { font-size: var(--t-lede); line-height: 1.4; }
.muted { color: var(--ink-soft); }
.small { font-size: var(--t-small); }

/* כותרת האתר */
.bar { position: absolute; inset-block-start: 0; inset-inline: 0; z-index: 40; }
.bar__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: clamp(.875rem, .6rem + 1vw, 1.5rem); }
.brand { font: 500 clamp(1.375rem, 1.2rem + .7vw, 1.75rem)/1 var(--display); text-decoration: none; }
.nav { display: none; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding-inline: .75rem; font-weight: 600; text-decoration: none; }
.nav a::after { content: ""; position: absolute; inset-inline: .75rem; inset-block-end: .55rem; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .35s var(--ease); }
[dir="ltr"] .nav a::after { transform-origin: 0 50%; }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.menu { position: relative; }
.menu summary { list-style: none; display: inline-flex; align-items: center; min-height: 44px; padding-inline: 1.125rem; border-radius: 999px; background: var(--ink); color: var(--cream); font-weight: 600; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu__panel { position: absolute; inset-inline-end: 0; inset-block-start: calc(100% + .5rem); min-inline-size: min(17rem, 80vw); padding: .75rem; background: var(--cream); border-radius: 1.25rem; box-shadow: 0 0 0 1px rgb(37 33 54 / .08), 0 12px 32px -8px rgb(37 33 54 / .22); }
.menu__panel a { display: flex; align-items: center; min-height: 48px; padding-inline: .75rem; border-radius: .75rem; text-decoration: none; font-weight: 600; }
.menu__panel a:hover { background: var(--apricot); }
@media (min-width: 62rem) { .nav { display: flex; gap: .25rem; } .menu { display: none; } }

/* כפתורים */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .625rem; min-height: 56px; padding-inline: 1.75rem; border: 0; border-radius: 999px; background: var(--ink); color: var(--cream); font-weight: 600; font-size: var(--t-body); text-decoration: none; transition-property: transform, box-shadow, background-color; transition-duration: .3s; transition-timing-function: var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgb(37 33 54 / .55); text-decoration: none; }
.btn:active { transform: scale(.96); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: rgb(37 33 54 / .07); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn svg { inline-size: 1.1em; block-size: 1.1em; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(-3px); }
[dir="ltr"] .btn svg { transform: scaleX(-1); }
[dir="ltr"] .btn:hover svg { transform: scaleX(-1) translateX(-3px); }

/* קשתות ותמונות */
.arch { position: relative; overflow: hidden; border-start-start-radius: 50vmax; border-start-end-radius: 50vmax; background: var(--wall-img, var(--sage)); isolation: isolate; }
.arch img, .pic img { width: 100%; height: 100%; object-fit: cover; }
.arch::after, .pic::after { content: ""; position: absolute; inset: 0; pointer-events: none; outline: 1px solid rgb(0 0 0 / .08); outline-offset: -1px; border-radius: inherit; }
.pic { position: relative; overflow: hidden; border-radius: clamp(1rem, .6rem + 1.4vw, 2rem); background: var(--sage); }
.note-illus { display: block; margin-block-start: .625rem; font-size: var(--t-small); color: var(--ink-soft); }

/* מילים שעולות בכניסה. הטקסט כולו ב-HTML, ומוסתר לרגע רק תחת html.anim */
.rise-words .w { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  html.anim .rise-words .w { animation: word .95s var(--ease) both; animation-delay: calc(var(--i, 0) * 75ms + 80ms); }
  html.anim .rise-after { animation: word .9s var(--ease) both; animation-delay: calc(var(--d, 4) * 110ms + 200ms); }
  html.anim .arch-in { animation: arch-in 1.25s var(--ease) both; animation-delay: .15s; }
}
@keyframes word { from { opacity: 0; transform: translateY(.42em); filter: blur(5px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes arch-in { from { clip-path: inset(38% 0 0 0 round 50vmax 50vmax 0 0); } to { clip-path: inset(0 0 0 0 round 50vmax 50vmax 0 0); } }

/* כניסות בגלילה. מוסתר רק תחת .anim */
html.anim .rv { opacity: 0; transform: translateY(1.75rem); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--s, 0) * 90ms); }
html.anim .rv--side { transform: translateX(2.5rem); }
html.anim .rv--scale { transform: scale(.94); }
html.anim .rv.in { opacity: 1; transform: none; }

/* גלילה שמזיזה תמונה, רק בדפדפנים שתומכים. בלי JS בכלל */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .drift img { animation: drift linear both; animation-timeline: view(); block-size: 118%; }
    @keyframes drift { from { transform: translateY(-14%); } to { transform: translateY(0); } }
    .strip__rail { animation: rail linear both; animation-timeline: view(); }
    @keyframes rail { from { transform: translateX(-4%); } to { transform: translateX(4%); } }
  }
}

/* פס תמונות, עוצמה בינונית */
.strip { overflow: hidden; padding-block: var(--room); background: var(--wall, var(--paper)); }
.strip__rail { display: flex; gap: clamp(.75rem, .4rem + 1.2vw, 1.5rem); padding-inline: var(--gutter); inline-size: max-content; }
.strip .pic, .strip .arch { block-size: clamp(14rem, 8rem + 22vw, 30rem); aspect-ratio: 4/5; flex: none; }
.strip .strip__wide { aspect-ratio: 3/2; }

/* דף הבית: הגיבור */
.hero { position: relative; background: var(--wall); }
.hero__stage { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-start; padding-block: clamp(5.5rem, 4rem + 6vw, 8rem) 0; overflow: hidden; }
.hero__copy { position: relative; z-index: 3; padding-inline: var(--gutter); }
.hero h1 { font-size: var(--t-h1); line-height: .98; letter-spacing: -.015em; font-weight: 600; }
.hero .lede { max-width: 30rem; margin-block-start: clamp(1rem, .6rem + 1.4vw, 2rem); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-block-start: clamp(1.25rem, 1rem + 1vw, 2rem); }
.hero__media { position: relative; z-index: 1; flex: 1 1 auto; min-block-size: 56vw; margin-block-start: clamp(1.75rem, 1rem + 3vw, 3rem); margin-inline: var(--gutter); overflow: hidden; border-start-start-radius: 50vmax; border-start-end-radius: 50vmax; }
.hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__wide { display: none; }
.hero__tall { position: absolute; inset: 0; }
.hero__scrim { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgb(25 22 38 / .78), rgb(25 22 38 / .35) 34%, rgb(25 22 38 / 0) 58%); opacity: 0; pointer-events: none; }
.hero__after { z-index: 3; inset-inline: var(--gutter); inset-block-end: clamp(1.5rem, 1rem + 3vw, 4rem); font-family: var(--display); line-height: 1.05; }
.hero__chip { position: absolute; z-index: 3; display: none; padding: .875rem 1.25rem; background: var(--cream); border-radius: 1.25rem; box-shadow: 0 0 0 1px rgb(37 33 54 / .06), 0 18px 40px -16px rgb(37 33 54 / .35); font-size: var(--t-small); line-height: 1.25; }
.hero__chip b { display: block; font: 400 2.25rem/1 var(--display); }

@media (min-width: 62rem) {
  .hero__stage { display: block; padding-block-end: 0; }
  .hero__copy { inline-size: 60%; }
  .hero__media { position: absolute; margin: 0; inset: 0; min-block-size: 0; border-radius: 0; clip-path: inset(28% 52% 0% var(--gutter) round 16vw 16vw 0px 0px); }
  [dir="ltr"] .hero__media { clip-path: inset(28% var(--gutter) 0% 52% round 16vw 16vw 0px 0px); }
  .hero__wide { display: block; position: absolute; inset: 0; }
  .hero__tall { inset-block: 28% 0; inset-inline-end: var(--gutter); inset-inline-start: 52%; }
  .hero__chip { display: block; }
  .hero__chip--a { inset-inline-end: 36%; inset-block-end: 12%; }
  .hero__chip--b { inset-inline-end: calc(var(--gutter) * .55); inset-block-start: 26%; }
}

/* מקטע מילים */
.say { min-height: 100svh; display: flex; align-items: center; }
.say p { font: 400 clamp(2.25rem, 1.1rem + 5.6vw, 7rem)/1.14 var(--display); letter-spacing: -.012em; text-wrap: balance; }
.say .w { display: inline; }

/* מספרים בענק */
.bignums { display: grid; gap: 0; }
.bignum { display: grid; gap: .25rem 2rem; align-items: baseline; padding-block: clamp(1.25rem, .8rem + 2vw, 3rem); border-block-start: 1px solid var(--line); }
.bignum:last-child { border-block-end: 1px solid var(--line); }
.bignum b { font: 400 var(--t-mega)/.92 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bignum span { font-size: var(--t-lede); line-height: 1.3; max-width: 24rem; }
.bignum small { display: block; margin-block-start: .375rem; font-size: var(--t-small); color: var(--ink-soft); }
@media (min-width: 48rem) { .bignum { grid-template-columns: 1fr minmax(16rem, 26rem); } }

/* גלריית חיים: גלילה אופקית */
.gallery { position: relative; background: var(--wall); }
.gallery__head { padding-inline: var(--gutter); padding-block-start: var(--room); }
.gallery__track { display: flex; gap: clamp(1rem, .5rem + 2vw, 2.5rem); padding: clamp(2rem, 1rem + 3vw, 4rem) var(--gutter) var(--room); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.gallery__track::-webkit-scrollbar { display: none; }
.panel { flex: none; inline-size: min(78vw, 26rem); scroll-snap-align: center; }
.panel .arch, .panel .pic { aspect-ratio: 4/5; }
.panel--wide { inline-size: min(88vw, 44rem); }
.panel--wide .pic { aspect-ratio: 3/2; }
.panel p { margin-block-start: 1rem; font: 400 var(--t-h3)/1.15 var(--display); }
html.has-pin .gallery { overflow: hidden; }
html.has-pin .gallery__track { overflow: visible; inline-size: max-content; align-items: center; min-block-size: 70svh; padding-block-end: clamp(2rem, 1rem + 3vw, 4rem); }
html.has-pin .panel { inline-size: auto; block-size: 62svh; }
html.has-pin .panel .arch, html.has-pin .panel .pic { block-size: calc(100% - 4.5rem); aspect-ratio: 4/5; }
html.has-pin .panel--wide .pic { aspect-ratio: 3/2; }

/* ערים בענק */
.cities { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .55em; row-gap: .1em; font: 400 clamp(2.75rem, 1rem + 8vw, 9rem)/1.06 var(--display); letter-spacing: -.02em; }
.cities a { position: relative; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 100% 92%; background-size: 0 3px; transition: background-size .45s var(--ease); }
[dir="ltr"] .cities a { background-position: 0 92%; }
.cities a:hover, .cities a:focus-visible { background-size: 100% 3px; }

/* מדריכים */
.guides { display: grid; gap: clamp(1.25rem, 1rem + 1.5vw, 2.5rem); }
.guide { display: block; text-decoration: none; }
.guide .pic, .guide .arch { aspect-ratio: 4/3; }
.guide .arch { aspect-ratio: 4/5; }
.guide img { transition: transform .9s var(--ease); }
.guide:hover img { transform: scale(1.04); }
.guide h3 { margin-block-start: 1rem; font-size: var(--t-h3); }
@media (min-width: 48rem) {
  .guides { grid-template-columns: repeat(12, 1fr); align-items: end; }
  .guide:nth-child(4n+1) { grid-column: span 7; }
  .guide:nth-child(4n+2) { grid-column: span 5; }
  .guide:nth-child(4n+3) { grid-column: 2 / span 4; }
  .guide:nth-child(4n+4) { grid-column: span 7; }
}

/* גיבור בעוצמה בינונית */
.head { position: relative; background: var(--wall); padding-block: clamp(6.5rem, 5rem + 6vw, 10rem) clamp(5rem, 4rem + 6vw, 9rem); overflow: hidden; }
/* ניר, 15.11: החדר הבא עולה על הפתיחה בגובה הקשת, ובמסך רחב הוא נגע בשורה האחרונה. עכשיו נשארים 40-64 פיקסלים מעל הקשת */
.head:has(+ .room--rise) { padding-block-end: calc(var(--arch) + clamp(2.5rem, 2rem + 1.5vw, 4rem)); }
.head__grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: end; }
/* ניר, 15.11: כותרת הדף קטנה ב-20% ובמשקל 600 */
.head h1 { font-size: clamp(2.4rem, 1.2rem + 5.6vw, 7.2rem); line-height: 1; letter-spacing: -.015em; font-weight: 600; }
.head .kicker { margin-block-end: clamp(.875rem, .6rem + 1vw, 1.5rem); }
.head__fig { max-inline-size: 28rem; }
.head__fig .arch { aspect-ratio: 4/5; }
.head__note { margin-block-start: clamp(1.25rem, 1rem + 1vw, 2rem); }
@media (min-width: 62rem) { .head__grid { grid-template-columns: minmax(0, 1fr) minmax(18rem, 30%); } }

.crumbs { display: flex; flex-wrap: wrap; gap: .25rem .5rem; margin-block-end: 1.25rem; font-size: var(--t-small); color: var(--ink-soft); }
.crumbs li + li::before { content: "‹"; margin-inline-end: .5rem; }
[dir="ltr"] .crumbs li + li::before { content: "›"; }
.crumbs a { color: var(--ink-soft); display: inline-flex; min-height: 28px; align-items: center; }

/* סימנים מהירים */
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-block-start: clamp(1.25rem, 1rem + 1vw, 2rem); }
.tag { display: inline-flex; align-items: center; min-height: 40px; padding-inline: 1rem; border-radius: 999px; background: var(--cream); font-weight: 600; box-shadow: 0 0 0 1px rgb(37 33 54 / .1); font-size: var(--t-small); }
.tag--line { background: transparent; }

/* שורת "נכון ל-" */
.asof { font-size: var(--t-small); color: var(--ink-soft); }
.asof a { color: inherit; }

/* עובדות */
.facts { display: grid; gap: clamp(1rem, .8rem + 1vw, 1.75rem); }
.facts__big { display: grid; gap: clamp(1rem, .8rem + 1.5vw, 2.5rem); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fact b { display: block; font: 400 clamp(2.25rem, 11.5vw, 7rem)/.95 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fact span { display: block; margin-block-start: .5rem; font-size: var(--t-body); line-height: 1.3; }
.fact small { display: block; font-size: var(--t-small); color: var(--ink-soft); margin-block-start: .25rem; }
@media (min-width: 62rem) { .facts__big { grid-template-columns: repeat(4, minmax(0, 1fr)); } .fact b { font-size: clamp(3.5rem, 1rem + 4vw, 6rem); } }

table { border-collapse: collapse; inline-size: 100%; font-variant-numeric: tabular-nums; }
caption { text-align: start; font-size: var(--t-small); color: var(--ink-soft); padding-block-end: .75rem; }
th, td { text-align: start; padding: .875rem .25rem; border-block-end: 1px solid var(--line); vertical-align: baseline; }
thead th { font-weight: 600; font-size: var(--t-small); color: var(--ink-soft); }
tbody th { font-weight: 600; }
.table-scroll { overflow-x: auto; }
.num-cell { white-space: nowrap; }

/* פסי השוואה */
.bars { display: grid; gap: 1.25rem; }
.bar-row { display: grid; gap: .375rem; }
.bar-row__label { display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; }
.bar-row__label b { font: 400 1.5em/1 var(--display); font-variant-numeric: tabular-nums; }
.bar-track { block-size: 1rem; border-radius: 999px; background: rgb(37 33 54 / .1); overflow: hidden; }
.bar-fill { display: block; block-size: 100%; inline-size: var(--v); border-radius: 999px; background: var(--ink); }
html.anim .rv .bar-fill { inline-size: 0; transition: inline-size 1.2s var(--ease) .15s; }
html.anim .rv.in .bar-fill { inline-size: var(--v); }

.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); }
@media (min-width: 62rem) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }

/* שאלות לביקור */
.qs { counter-reset: q; display: grid; }
.qs li { counter-increment: q; display: grid; grid-template-columns: auto 1fr; gap: clamp(1rem, .6rem + 2vw, 3rem); align-items: baseline; padding-block: clamp(1.25rem, .9rem + 1.5vw, 2.25rem); border-block-start: 1px solid var(--line); font: 400 clamp(1.625rem, 1.2rem + 2vw, 3.25rem)/1.14 var(--display); }
.qs li::before { content: counter(q, decimal-leading-zero); font: 600 var(--t-small)/1 var(--body); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.qs li:last-child { border-block-end: 1px solid var(--line); }

/* קרובים ורשימות */
.cards { display: grid; gap: .75rem; }
.card { display: grid; gap: .25rem; padding: clamp(1.25rem, 1rem + .8vw, 1.75rem); background: var(--cream); border-radius: 1.5rem; text-decoration: none; box-shadow: 0 0 0 1px rgb(37 33 54 / .07); transition-property: transform, box-shadow; transition-duration: .3s; transition-timing-function: var(--ease); }
a.card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgb(37 33 54 / .08), 0 16px 32px -18px rgb(37 33 54 / .4); }
.card h3 { font-size: var(--t-h3); }
@media (min-width: 48rem) { .cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* רשימת מוסדות בעיר */
.rows { display: grid; }
.row { display: grid; gap: .375rem 2rem; padding-block: clamp(1.25rem, 1rem + 1vw, 2rem); border-block-start: 1px solid var(--line); text-decoration: none; }
.rows .row:last-child { border-block-end: 1px solid var(--line); }
.row h3 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3.5rem); transition: transform .4s var(--ease); }
a.row:hover h3 { transform: translateX(-.35rem); }
[dir="ltr"] a.row:hover h3 { transform: translateX(.35rem); }
.row__meta { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: var(--t-small); color: var(--ink-soft); }
.row__beds { font-variant-numeric: tabular-nums; }
.row__beds b { font: 400 2.25rem/1 var(--display); color: var(--ink); }
/* ניר, 15.11: השם תופס פחות, והפרטים מקבלים מקום ונפרשים לרוחב במקום לרדת שורה אחרי שורה */
@media (min-width: 62rem) { .row { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) 7rem; align-items: baseline; } .row__beds { text-align: end; } .row h3 { font-size: clamp(1.75rem, 1.2rem + 1.2vw, 2.5rem); } }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; min-height: 48px; padding-inline: 1.25rem; border-radius: 999px; background: var(--cream); box-shadow: 0 0 0 1px rgb(37 33 54 / .1); text-decoration: none; font-weight: 600; transition: transform .25s var(--ease); }
.chip:hover { transform: translateY(-2px); }
.chip:active { transform: scale(.96); }

/* כתבה */
.answer { font: 400 clamp(1.625rem, 1.2rem + 1.9vw, 2.75rem)/1.24 var(--display); max-width: 44rem; }
.byline { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin-block-start: clamp(1.25rem, 1rem + 1vw, 2rem); font-size: var(--t-small); color: var(--ink-soft); }
.draft { display: inline-flex; align-items: center; min-height: 32px; padding-inline: .875rem; border-radius: 999px; background: var(--ink); color: var(--cream); font-weight: 600; font-size: var(--t-small); }
.article { display: grid; gap: 3rem; }
@media (min-width: 72rem) { .article { grid-template-columns: minmax(0, var(--read)) 15rem; justify-content: space-between; } }
.toc { display: none; }
.toc__in { position: sticky; inset-block-start: 2rem; font-size: var(--t-small); }
.toc h2 { font: 600 var(--t-small)/1.3 var(--body); color: var(--ink-soft); margin-block-end: .75rem; }
.toc a { display: block; padding-block: .4rem; text-decoration: none; }
.toc a:hover, .toc a[aria-current] { text-decoration: underline; }
@media (min-width: 72rem) { .toc { display: block; } }
.prose > * + * { margin-block-start: 1.15em; }
.prose h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem); margin-block-start: 1.6em; }
.prose h3 { font-size: var(--t-h3); margin-block-start: 1.4em; }
.prose ul { padding-inline-start: 1.25em; list-style: disc; }
.prose ol { padding-inline-start: 1.25em; list-style: decimal; }
.prose li + li { margin-block-start: .4em; }
.prose blockquote { margin-inline: 0; padding: 1.25rem 1.5rem; background: var(--butter); border-radius: 1.25rem; }
.prose table { font-size: var(--t-small); }
.prose .footnote { margin-block-start: 3rem; font-size: var(--t-small); color: var(--ink-soft); border-block-start: 1px solid var(--line); padding-block-start: 1rem; }
.prose .footnote hr { display: none; }
.prose sup a { text-decoration: none; font-weight: 700; padding-inline: .15em; }

/* מקורות ושקיפות */
.sources { display: grid; gap: .5rem; font-size: var(--t-small); }
.sources a { overflow-wrap: anywhere; }
.payer { margin-block-start: 1.5rem; padding-block-start: 1.5rem; border-block-start: 1px solid var(--line); font-size: var(--t-small); }
.disclaimer { margin-block-start: 1.5rem; padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: 1rem; font-size: var(--t-small); }
.disclaimer p + p { margin-block-start: .5rem; }
.disclaimer a { color: inherit; }

/* טופס, רק תחת site.forms_enabled */
.lead { display: grid; gap: .75rem; max-width: 30rem; }
.lead label { display: grid; gap: .25rem; font-weight: 600; }
.lead input { min-height: 52px; padding-inline: 1rem; border: 0; border-radius: .875rem; background: var(--cream); box-shadow: inset 0 0 0 1.5px var(--ink); font: inherit; }

/* עוצמה שקטה: בלי תנועה */
[data-intensity="quiet"] .rise-words .w, [data-intensity="quiet"] .rise-after, [data-intensity="quiet"] .arch-in, [data-intensity="quiet"] .drift img, [data-intensity="quiet"] .strip__rail { animation: none; }
html.anim[data-intensity="quiet"] .rv { opacity: 1; transform: none; transition: none; }

/* תחתית */
.foot { background: var(--ink); color: var(--cream); padding-block: clamp(4rem, 3rem + 5vw, 7rem) 2rem; border-start-start-radius: var(--arch); border-start-end-radius: var(--arch); margin-block-start: calc(var(--arch) * -1); position: relative; z-index: 5; }
.foot a { color: var(--cream); }
.foot :focus-visible { outline-color: var(--cream); }
.foot__big { font: 400 clamp(2.75rem, 1.2rem + 7vw, 8rem)/1 var(--display); letter-spacing: -.02em; }
.foot__grid { display: grid; gap: 2rem; margin-block-start: clamp(2.5rem, 2rem + 3vw, 5rem); }
.foot__grid h2 { font: 600 var(--t-small)/1.3 var(--body); color: #c9c4d6; margin-block-end: .75rem; }
.foot__grid a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; }
.foot__grid a:hover { text-decoration: underline; }
.foot__fine { margin-block-start: 3rem; padding-block-start: 1.5rem; border-block-start: 1px solid rgb(253 249 241 / .18); font-size: var(--t-small); color: #c9c4d6; }
.foot__fine a { color: inherit; display: inline; }
@media (min-width: 48rem) { .foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* דף הבית בעוצמה מלאה: הקיר של העמוד מחליף צבע בגלילה */
html.has-walls body { transition: background-color .7s var(--ease); }
html.has-walls .wall-free { background: transparent; }

/* כל מקטע בעוצמה מלאה הוא מסך שלם */
[data-intensity="full"] .scene { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 47.99rem) { [data-intensity="full"] .scene.story-sec { min-height: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .bar, .foot, .strip, .hero__media, .head__fig { display: none; }
  .room { background: none; padding-block: 1rem; border-radius: 0; margin: 0; }
}

.sources { padding-inline-start: 1.5em; list-style: decimal; }
.hero__media video { opacity: 0; transition: opacity .8s var(--ease); }
.hero__media video.on { opacity: 1; }
.hero__tall img, .hero__tall video { object-position: 50% 30%; }

/* המשפט שאחרי פתיחת הקשת: בלי נעיצה הוא טקסט רגיל בזרימה */
.hero__after { position: static; opacity: 1; color: var(--ink); margin-block: clamp(1.5rem, 1rem + 2vw, 3rem); padding-inline: var(--gutter); max-width: none; font-size: var(--t-h3); }
html.has-pin .hero__after { position: absolute; color: #fdf9f1; margin: 0; padding: 0; max-width: 18ch; font-size: var(--t-h2); opacity: 0; }

/* רשימות ארוכות: צפופות יותר, והדפדפן לא מצייר מה שמחוץ למסך */
[hidden] { display: none !important; }
.rows--dense .row { padding-block: clamp(.75rem, .6rem + .5vw, 1.125rem); }
.rows--dense .row h3 { font-size: clamp(1.375rem, 1.15rem + .9vw, 2rem); }
.rows--dense .row__beds b { font-size: 1.5rem; }
.row__kind { font-weight: 700; color: var(--ink); }

/* מסנן בצד הלקוח */
.filter { display: grid; gap: .75rem; margin-block-end: 1rem; }
.filter label { display: grid; gap: .25rem; font-weight: 600; font-size: var(--t-small); }
.filter input, .filter select, .calc input[type="number"], .compare input, .compare textarea { min-height: 52px; inline-size: 100%; padding-inline: 1rem; border: 0; border-radius: .875rem; background: var(--cream); box-shadow: inset 0 0 0 1.5px var(--ink); font: inherit; color: inherit; }
.filter__count { margin-block-end: 1rem; }
.filter__none { font: 400 var(--t-h3)/1.2 var(--display); padding-block: 2rem; }
@media (min-width: 62rem) { .filter { grid-template-columns: minmax(16rem, 2fr) repeat(auto-fit, minmax(10rem, 1fr)); align-items: end; } }

/* מחירים */
.prices { display: grid; gap: .75rem; }
.price { display: grid; gap: .5rem; padding: clamp(1.25rem, 1rem + 1vw, 2.25rem); background: var(--cream); border-radius: 1.5rem; box-shadow: 0 0 0 1px rgb(37 33 54 / .07); }
.price h3 { font: 600 var(--t-body)/1.3 var(--body); }
.price__v { font: 400 clamp(1.875rem, 1.3rem + 2.6vw, 3.75rem)/1.08 var(--display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
@media (min-width: 62rem) { .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* אינדקס מדור */
.links { display: grid; gap: 0; }
.links a { display: flex; align-items: center; min-height: 56px; padding-block: .75rem; border-block-start: 1px solid var(--line); font: 400 clamp(1.5rem, 1.2rem + 1.3vw, 2.5rem)/1.12 var(--display); text-decoration: none; }
.links a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.links--dense a { min-height: 44px; font-size: clamp(1.1875rem, 1.1rem + .3vw, 1.375rem); padding-block: .4rem; font-family: var(--body); font-weight: 500; }
@media (min-width: 48rem) { .links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 1rem + 3vw, 4rem); } }
@media (min-width: 72rem) { .links--dense { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.narrowed { max-width: var(--read); }

/* משבר: פתיח בולט, טקסט גדול וברור */
.crisis .prose { font-size: clamp(1.25rem, 1.15rem + .4vw, 1.5rem); }
.crisis .prose > p:first-child { padding: 1.25rem 1.5rem; background: var(--butter); border-radius: 1.25rem; font-weight: 600; }

.nf { min-height: 80svh; display: flex; align-items: center; }

/* כלים */
.calc { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
.calc__form { display: grid; gap: 1.25rem; max-width: 44rem; }
.calc__score { display: grid; gap: .375rem; font-weight: 600; max-width: 18rem; }
.calc fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; }
.calc legend { font-weight: 600; margin-block-end: .375rem; padding: 0; }
.calc fieldset label, .calc__check { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; }
.calc input[type="radio"], .calc input[type="checkbox"] { inline-size: 1.375rem; block-size: 1.375rem; accent-color: var(--ink); margin: 0; }
.calc__out { padding: clamp(1.5rem, 1rem + 2vw, 3rem); background: var(--cream); border-radius: 2rem; box-shadow: 0 0 0 1px rgb(37 33 54 / .07); }
.calc__big { font: 400 clamp(3.5rem, 2rem + 7vw, 8rem)/.95 var(--display); letter-spacing: -.02em; }
.calc__grid { display: grid; gap: 1.25rem; margin-block-start: 1rem; }
.calc__grid b { display: block; font: 400 clamp(2.25rem, 1.6rem + 2.4vw, 4rem)/1 var(--display); font-variant-numeric: tabular-nums; }
@media (min-width: 48rem) { .calc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.calc tr.is-on { background: var(--cream); }
.compare table { min-inline-size: 58rem; }
.compare th:first-child { position: sticky; inset-inline-start: 0; background: var(--wall, var(--butter)); inline-size: 12rem; }
.compare td, .compare thead th { padding-inline: .25rem; }
.compare textarea { padding-block: .5rem; min-height: 4rem; resize: vertical; font-size: var(--t-small); background: var(--cream); }
.compare input { font-weight: 600; font-size: var(--t-small); }
.tool-print { padding-block-start: 2rem; }
.compare table input::placeholder { color: var(--ink-soft); opacity: 1; }

/* סיפור נתונים */
.story-hero { position: relative; background: var(--wall); }
.story-hero__stage { position: relative; min-height: 100svh; display: flex; flex-direction: column; padding-block-start: clamp(5.5rem, 4rem + 6vw, 8rem); overflow: hidden; }
.story-hero__copy { position: relative; z-index: 3; }
.story-hero h1 { font-size: clamp(2.4rem, 1.04rem + 5.28vw, 6.4rem); line-height: 1; letter-spacing: -.015em; font-weight: 600; }
.story-hero .byline { margin-block-start: clamp(1rem, .8rem + 1vw, 2rem); }
.story-hero__slot { position: relative; flex: 1 1 auto; min-block-size: 58vw; margin-block-start: clamp(1.5rem, 1rem + 2vw, 3rem); margin-inline: var(--gutter); }
.story-hero__media { position: absolute; inset: 0; }
.story-hero__media img, .story-hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-hero__media video { opacity: 0; transition: opacity .8s var(--ease); }
.story-hero__media video.on { opacity: 1; }
html.has-pin .story-hero__slot { position: static; }
html.has-pin .story-hero__media { border-radius: 0; z-index: 1; }
@media (min-width: 62rem) { .story-hero__slot { min-block-size: 26rem; inline-size: min(46%, 40rem); margin-inline: auto; } }
.prose--story { max-width: var(--read); }
.prose--story h2 { font-size: var(--t-h2); line-height: 1.02; margin-block: 0 .5em; }
.prose--story p { font-size: var(--t-lede); line-height: 1.45; }
.prose--story table { font-size: var(--t-body); inline-size: min(100%, 52rem); }
.prose--story .footnote p { font-size: var(--t-small); }
@media (min-width: 48rem) {
  td.has-bar { background: linear-gradient(to left, rgb(37 33 54 / .14) var(--v), transparent var(--v)); }
  [dir="ltr"] td.has-bar { background: linear-gradient(to right, rgb(37 33 54 / .14) var(--v), transparent var(--v)); }
}

/* טבלה בגוף הטקסט לא בורחת מהמסך במובייל */
@media (max-width: 47.99rem) { .prose table { display: block; overflow-x: auto; } }

@media print {
  .head, .related, .filter, .tool-print, [data-print], .toc { display: none !important; }
  .compare table { min-inline-size: 0; font-size: 11pt; }
  .compare input, .compare textarea { box-shadow: none; background: none; }
}

/* ===== סבב 10.11: ביקורת מלאה ===== */

/* הערת שוליים אחרי מספר לא נדבקת אליו בכיוון: "2026¹" ולא "1 2026" */
sup { unicode-bidi: isolate; }

/* ראש הדף: קישור למשבר בכל דף, וקישור לשפה השנייה */
.bar__util { display: flex; align-items: center; gap: .5rem; }
.sos { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 1rem; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.sos:hover { background: var(--ink); color: var(--cream); }
.langlink { display: none; align-items: center; min-height: 44px; padding-inline: .75rem; font-weight: 600; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 62rem) { .langlink { display: inline-flex; } }
@media (max-width: 23.99rem) { .sos { padding-inline: .75rem; font-size: .9375rem; } }

/* פוטר: כל המדורים */
.foot__grid ul { display: grid; gap: 0; }
@media (min-width: 48rem) { .foot__grid { gap: 2rem 3rem; } }

/* מקורות: מטרת לחיצה של 44 פיקסלים לפחות */
.sources a { display: inline-block; padding-block: .75rem; }

/* כיתוב "להמחשה" בדף הבית */
.hero__illus { position: relative; z-index: 3; margin: .75rem var(--gutter) 0; font-size: var(--t-small); color: var(--ink-soft); }
.gallery__head .note-illus { margin-block-start: 1rem; }
.hero__asof .asof { margin-block-start: 1rem; }
.hero__chip small { display: block; margin-block-start: .25rem; font-size: .75rem; font-weight: 400; color: var(--ink-soft); }
.hero__chips { position: absolute; inset: 0; z-index: 3; pointer-events: none; }

/* כפתור עצירה לווידאו */
.vbtn { position: absolute; z-index: 5; inset-inline-end: var(--gutter); inset-block-end: 1rem; display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding-inline: 1rem; border: 0; border-radius: 999px; background: rgb(253 249 241 / .94); color: var(--ink); font: 600 var(--t-small)/1 var(--body); box-shadow: 0 0 0 1px rgb(37 33 54 / .1), 0 8px 20px -10px rgb(37 33 54 / .5); cursor: pointer; }
.vbtn svg { inline-size: 1rem; block-size: 1rem; }
.vbtn .i-play { display: none; }
.vbtn[data-state="paused"] .i-play { display: inline; }
.vbtn[data-state="paused"] .i-pause { display: none; }
.vbtn:active { scale: .96; }
.story-hero__stage .vbtn { inset-block-end: 1.25rem; }

@media (min-width: 62rem) {
  /* כותרת הבית לפי גובה המסך, כדי שהכפתורים ייכנסו ב-900 פיקסלים */
  .hero h1 { font-size: min(var(--t-h1), 10svh); }
  .hero__illus { position: absolute; margin: 0; inset-inline-end: calc(var(--gutter) + 13rem); inset-block-end: 1.5rem; padding: .375rem .75rem; border-radius: 999px; background: rgb(253 249 241 / .9); color: var(--ink); }
  /* בנעיצה האזור בגובה המסך בדיוק, כדי שהמשפט בתחתית ייראה */
  html.has-pin .hero__stage { height: 100svh; min-height: 0; }
}

/* במובייל הפסקה והכפתורים מופיעים מהר, בלי חור ריק */
@media (max-width: 61.99rem) {
  html.anim .hero .rise-after { animation-delay: calc(var(--d, 4) * 60ms + 150ms); }
  .hero__stage .vbtn { position: static; align-self: flex-start; margin: .75rem var(--gutter) 1.5rem; }
}

/* טבלת פרטים: במובייל תווית מעל ערך */
.nowrap { white-space: nowrap; }
@media (max-width: 47.99rem) {
  table.kv, table.kv tbody, table.kv tr, table.kv th, table.kv td { display: block; inline-size: 100%; }
  table.kv tr { padding-block: .75rem; border-block-end: 1px solid var(--line); }
  table.kv th, table.kv td { padding: 0; border: 0; }
  table.kv th { font-size: var(--t-small); color: var(--ink-soft); margin-block-end: .25rem; }
  table.kv caption { display: block; text-align: start; }
}

/* סבב 10.11, מובייל: שם האתר בשורה אחת, תווית קצרה לכפתור המשבר, תמונת פתיחה בגובה אמיתי, ומספרים שנכנסים מהצד לא מרחיבים את הדף */
.brand { white-space: nowrap; }
.sos__s { display: none; }
.bignums { overflow-x: clip; }
@media (max-width: 61.99rem) { .bar__in { gap: .75rem; } }
@media (max-width: 35.99rem) { .sos__l { display: none; } .sos__s { display: inline; } }
@media (max-width: 61.99rem) { .hero__media { flex: 0 0 auto; min-block-size: min(92vw, 60svh); border-start-start-radius: 34vw; border-start-end-radius: 34vw; } }
@media (max-width: 47.99rem) { .foot__grid ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.25rem; } .foot__grid a { min-height: 44px; } }

/* סבב 3 של המנוע: ספירה לפי מקור, בסיס של מספר, תג מקור, שם קצוץ, העיר הקרובה, רשימות קשורות */
@media (min-width: 62rem) { .facts__big--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fact small a { color: inherit; }
.fact .fact__basis { color: var(--ink); }
.row__src { display: inline-flex; align-items: center; padding-inline: .5rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: .875em; line-height: 1.6; }
.head__sub { margin-block-start: clamp(.75rem, .5rem + 1vw, 1.25rem); font: 400 var(--t-lede)/1.3 var(--display); }
.near-far { max-width: 40rem; margin-block-end: 1.5rem; font-size: var(--t-lede); line-height: 1.4; }
.near-far small { display: inline-block; font-size: var(--t-small); }
.rel-lists { margin-block-start: clamp(2rem, 1.5rem + 2vw, 3rem); }
.rel-lists .h3 { margin-block-end: 1rem; }
@media (max-width: 47.99rem) { .facts__big--wide { grid-template-columns: minmax(0, 1fr); } .facts__big--wide .fact small { max-width: 34rem; } }
/* דף רשת: השם המלא מהקובץ מתחת לכותרת (8.24) */
.head__file { margin-block-start: clamp(.75rem, .5rem + 1vw, 1.25rem); max-width: 38rem; font-size: var(--t-small); line-height: 1.5; color: var(--ink-soft); }
.head__file b { font-weight: 600; color: var(--ink); }
.head__file a { color: inherit; }

/* ניר, 10.11, מסכים גדולים: הטקסט של הפתיחה במרכז הגובה, לא צמוד למעלה.
   margin אוטומטי ולא justify-content, כדי שבמסך נמוך הטקסט לא יברח מעל הכותרת העליונה.
   בדף הבית הכותרת העליונה ברוחב הפתיחה, כדי ששם האתר יתיישר עם הכותרת והקשת.
   רק בדף הבית: בדפי הסיפור בנתונים הטקסט בתוך wrap, והכותרת העליונה צריכה להישאר כמוהו */
@media (min-width: 62rem) {
  .hero__stage { display: flex; flex-direction: column; padding-block-end: clamp(2rem, 1rem + 2vw, 3rem); }
  .hero__copy { margin-block: auto; }
  body:has(.hero__stage) .bar__in { max-width: none; }
}

/* 14.11.2026: Ministry of Health scores, report links and the explanation bubble */
.scores { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .scores { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.score { position: relative; background: var(--cream); border-radius: 1.5rem; padding: clamp(1.25rem, 1rem + 1vw, 2rem); box-shadow: 0 0 0 1px rgb(37 33 54 / .08); display: flex; flex-direction: column; gap: .5rem; }
.score__kind { display: flex; align-items: center; gap: .5rem; font-weight: 700; }
.score__num { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .5rem; }
.score__num b { font: 400 clamp(3rem, 2rem + 4vw, 5rem)/.95 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.score__num span { white-space: nowrap; }
.score__num span, .score__date, .score__src, .score__warn { font-size: var(--t-small); color: var(--ink-soft); }
.score__warn { font-weight: 600; }
.score__none { line-height: 1.5; }
.score__dl { margin-block-start: auto; padding-block-start: .5rem; font-weight: 600; }
.score__dl small { font-weight: 400; color: var(--ink-soft); }
.score-note { font-size: var(--t-small); color: var(--ink-soft); margin-block-start: .5rem; }
.tag a { color: inherit; text-decoration: none; }
.row__score { font-weight: 600; }
.row__score small { display: block; font-weight: 400; font-size: .8em; color: var(--ink-soft); }
.tip { display: inline-flex; }
.tip__btn { inline-size: 28px; block-size: 28px; border-radius: 50%; border: 1px solid currentColor; background: transparent; font: inherit; font-size: .85rem; font-weight: 700; line-height: 1; cursor: help; display: inline-grid; place-items: center; color: inherit; }
.tip__box { position: absolute; inset-block-start: 3.25rem; inset-inline: .75rem; z-index: 20; padding: 1rem 1.1rem; border-radius: 1rem; background: var(--ink, #252136); color: #fff; font-size: var(--t-small); font-weight: 400; line-height: 1.55; box-shadow: 0 10px 30px rgb(0 0 0 / .18); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s; }
.tip:hover .tip__box, .tip:focus-within .tip__box { opacity: 1; visibility: visible; transform: none; }
@media (prefers-reduced-motion: reduce) { .tip__box { transition: none; } }

/* ===== 15.11: כלי ההשוואה מתמלא מהמרשם, ורשימות הקוד לפי מחוז (SPEC 8.27) ===== */
.list-lead { max-width: var(--read); margin-block-start: clamp(1.5rem, 1rem + 2vw, 2.5rem); font-size: var(--t-h3); line-height: 1.45; text-wrap: pretty; }
.list-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-block-start: 1.5rem; }
.btn--sm { min-height: 44px; padding-inline: 1.125rem; font-size: var(--t-small); }
.btn:disabled { opacity: .45; cursor: default; transform: none; }
.cmp-pick { display: grid; gap: 1rem; margin-block-end: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.cmp-pick__bar { display: grid; gap: .75rem; }
.cmp-pick__bar label { display: grid; gap: .25rem; font-weight: 600; font-size: var(--t-small); }
.cmp-pick__bar input[type="search"], .cmp-pick__bar select { min-height: 52px; inline-size: 100%; padding-inline: 1rem; border: 0; border-radius: .875rem; background: var(--cream); box-shadow: inset 0 0 0 1.5px var(--ink); font: inherit; color: inherit; }
.cmp-pick__bar .cmp-pick__check { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-size: var(--t-body); }
.cmp-pick__check input { inline-size: 1.375rem; block-size: 1.375rem; accent-color: var(--ink); margin: 0; }
@media (min-width: 62rem) { .cmp-pick__bar { grid-template-columns: minmax(16rem, 2fr) minmax(10rem, 1fr) auto; align-items: end; } }
.cmp-pick__list { display: grid; gap: .5rem; max-block-size: 26rem; overflow-y: auto; padding: 0; margin: 0; list-style: none; }
.cmp-pick__list:empty { display: none; }
.cmp-pick__list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .625rem 1rem; border-radius: 1rem; background: var(--cream); box-shadow: 0 0 0 1px rgb(37 33 54 / .08); }
.cmp-pick__name small { color: var(--ink-soft); font-weight: 400; }
.cmp-empty { padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); border-radius: 1.5rem; background: var(--cream); max-width: var(--read); }
.compare [data-table] thead th { vertical-align: bottom; text-align: start; padding-block: .5rem; font-size: var(--t-small); }
.compare [data-table] thead a { font-weight: 700; }
.compare [data-table] td { vertical-align: top; padding-block: .625rem; font-size: var(--t-small); line-height: 1.45; }
.compare [data-table] td .num, .compare [data-table] td b.num { font-variant-numeric: tabular-nums; }
.compare [data-table] td b.num { font: 400 1.75rem/1 var(--display); }
.compare .cmp-group th { position: static; padding-block: 1.25rem .375rem; font-size: var(--t-small); letter-spacing: .02em; text-align: start; background: none; color: var(--ink-soft); }
.cmp-x { inline-size: 32px; block-size: 32px; margin-inline-start: .25rem; border: 0; border-radius: 999px; background: rgb(37 33 54 / .08); color: inherit; font-size: 1.125rem; line-height: 1; cursor: pointer; }
.cmp-x:hover { background: rgb(37 33 54 / .16); }
.cmp-src { max-width: var(--read); margin-block-start: 1.25rem; }
.cmp-src .btn { margin-block-start: .75rem; }
.inst-cmp { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-block-end: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
@media print { .cmp-pick, .cmp-x, .cmp-src .btn, .inst-cmp { display: none !important; } }
.compare .cmp-pick__check input { min-height: 0; inline-size: 1.375rem; block-size: 1.375rem; padding: 0; border-radius: .25rem; box-shadow: none; background: none; }
.compare [data-table] thead th { white-space: normal; }
.compare [data-table] thead th .cmp-x { vertical-align: middle; }
@media (max-width: 47.99rem) {
  .compare [data-table] th:first-child { inline-size: 7.5rem; font-size: var(--t-small); line-height: 1.35; }
  .compare [data-table] td b.num { font-size: 1.375rem; }
}

/* SPEC 8.28 (15.11): "להשוואה" ליד כל בית אבות ברשימות, והפס בתחתית המסך */
.row-pick { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 clamp(1rem, .5rem + 1.5vw, 2rem); border-block-start: 1px solid var(--line); }
.rows .row-pick > .row { border: 0; }
.rows .row-pick:last-child { border-block-end: 1px solid var(--line); }
.pick { min-height: 44px; min-width: 7.5rem; padding-inline: 1rem; border: 0; border-radius: 999px; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); font: inherit; font-size: var(--t-small); font-weight: 600; white-space: nowrap; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); }
.pick:hover { background: rgb(37 33 54 / .07); }
.pick[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.pick:disabled { opacity: .4; cursor: not-allowed; }
.pick:focus-visible, .pickbar__clear:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (max-width: 39.99rem) {
  .row-pick { grid-template-columns: minmax(0, 1fr); }
  .row-pick .pick { justify-self: start; margin-block-end: 1rem; }
}
.pickbar { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 60; padding-block: .75rem calc(.75rem + env(safe-area-inset-bottom)); background: var(--ink); color: var(--cream); box-shadow: 0 -8px 24px rgb(37 33 54 / .18); }
.pickbar__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; }
.pickbar__n { margin: 0; font-weight: 600; }
.pickbar__act { display: flex; align-items: center; gap: 1rem; }
.pickbar .btn { background: var(--cream); color: var(--ink); min-height: 48px; }
.pickbar .btn.btn--ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1.5px var(--cream); }
.pickbar__clear { min-height: 44px; padding-inline: .5rem; border: 0; background: none; color: var(--cream); font: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
body.has-cmpbar { padding-block-end: 5.5rem; }
@media print { .pick, .pickbar { display: none !important; } }
/* שישה קישורים בתפריט (SPEC 8.28): בין 62rem ל-75rem הם צפופים יותר, כדי שהפס העליון לא יגלוש */
@media (min-width: 62rem) and (max-width: 74.99rem) { .nav { gap: 0; } .nav a { padding-inline: .45rem; font-size: .9375rem; } .nav a::after { inset-inline: .45rem; } }
/* ניר, 15.11: ברשימה שיש בה כפתורי "להשוואה", גם שורה בלי כפתור שומרת לו מקום, כדי שהעמודות (שם, פרטים, מיטות) יעמדו בקו אחד */
@media (min-width: 40rem) {
  .rows:has(.pick:not([hidden])) > .row { padding-inline-end: calc(7.5rem + clamp(1rem, .5rem + 1.5vw, 2rem)); }
}

/* SPEC 8.29 (15.11): טבלת השוואה בדף עיר. רחבה, נגללת לצד בתוך המסגרת שלה, והעמודה הראשונה נשארת במקום */
.cmp-city__lede { max-width: 46rem; margin-block-end: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); color: var(--ink-soft); }
.cmp-city { border-radius: 1rem; outline-offset: 4px; }
.cmp-city table { min-inline-size: 66rem; }
.cmp-city th, .cmp-city td { padding: 1rem .75rem; vertical-align: top; line-height: 1.45; }
.cmp-city thead th { vertical-align: bottom; }
.cmp-city tbody th { position: sticky; inset-inline-start: 0; z-index: 1; min-inline-size: 15rem; max-inline-size: 17rem; background: var(--wall); font-weight: 400; }
.cmp-city tbody th a { display: block; font: 400 clamp(1.125rem, 1rem + .4vw, 1.375rem)/1.25 var(--display); color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: .2em; }
.cmp-city tbody th small, .cmp-city td small { display: inline-block; color: var(--ink-soft); font-size: var(--t-small); }
.cmp-city tbody th small { display: block; margin-block: .25rem .5rem; }
.cmp-city td b.num { font: 400 1.75rem/1 var(--display); color: var(--ink); }
.cmp-city .num { font-variant-numeric: tabular-nums; }
.pick--sm { min-height: 40px; min-width: 0; padding-inline: .875rem; }
.cmp-city__go { margin-block-start: 1.5rem; }
.head__cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.cmp-city thead th:nth-child(2) { inline-size: 5rem; }
.cmp-city thead th:nth-child(4), .cmp-city thead th:nth-child(5) { inline-size: 8.5rem; }
.cmp-city thead th:nth-child(6) { inline-size: 9rem; }
/* בטלפון: כרטיס לכל בית. התאים זה מתחת לזה, ושם העמודה ליד הערך (data-label). ה-HTML נשאר טבלה */
@media (max-width: 47.99rem) {
  .cmp-city { overflow: visible; }
  .cmp-city table, .cmp-city tbody, .cmp-city tr, .cmp-city th, .cmp-city td { display: block; min-inline-size: 0; }
  .cmp-city caption { display: block; }
  .cmp-city thead { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cmp-city tr { padding-block: 1.25rem; border-block-start: 1px solid var(--line); }
  .cmp-city tbody th { position: static; max-inline-size: none; padding: 0 0 .75rem; border: 0; background: none; }
  .cmp-city tbody th a { font-size: 1.5rem; }
  .cmp-city td { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: .75rem; padding: .5rem 0; border: 0; }
  .cmp-city td::before { content: attr(data-label); font-size: var(--t-small); color: var(--ink-soft); }
  .cmp-city td > * { grid-column: 2; }
  .cmp-city td br { display: none; }
  .cmp-city td .nowrap, .cmp-city td small, .cmp-city td a { display: block; grid-column: 2; }
}
@media print { .cmp-city table { min-inline-size: 0; } .cmp-city tbody th { position: static; } }

/* הלוגו, 16.11.2026: המילה "לגילי" ב-currentColor ושלושת היהלומים (templates/_logo.j2). הגובה קובע, הרוחב לפי יחס הלוגו. */
.logo { display: block; inline-size: auto; aspect-ratio: 913.6 / 426; }
.brand { color: #2b272e; }
/* בכותרת הלוגו גבוה מ-44 הפיקסלים של השורה; השוליים השליליים שומרים על גובה הפס, והקצוות נכנסים לריפוד שלו */
.brand .logo { --logo-h: clamp(2.875rem, 2.2rem + 1.6vw, 3.75rem); block-size: var(--logo-h); margin-block: calc((2.75rem - var(--logo-h)) / 2); }
.foot__big .logo { block-size: clamp(4.5rem, 2.5rem + 8vw, 10rem); }
