/* ============================================================
   פרס נגב — שכבת בסיס משותפת לכל הקונספטים ולכל העמודים
   RTL · mobile-first · ת״י 5568 / WCAG 2.0 AA
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0 0 var(--sp-4); line-height: 1.15; font-weight: 700; letter-spacing: -.015em;
  text-wrap: balance;            /* מונע «מילה אחת בשורה האחרונה» */
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.3; }
p  { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }
img, svg, video { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 var(--sp-4); padding-inline-start: 1.2em; }
li + li { margin-top: .35em; }
strong { font-weight: 700; }

a { color: var(--accent); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

/* דילוג לתוכן — נדרש בת״י 5568 */
.skip-link {
  position: absolute; inset-inline-start: var(--sp-4); top: -100px;
  background: var(--pn-navy); color: #fff; padding: .7rem 1.2rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm); z-index: 999; font-weight: 700;
  transition: top .15s;
}
.skip-link:focus { top: 0; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- פריסה ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }
.section { padding-block: var(--sp-8); }
@media (min-width: 900px) { .section { padding-block: var(--sp-9); } }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--step--1); font-weight: 700; letter-spacing: .08em;
  color: var(--accent-2); margin-bottom: var(--sp-3);
}
.eyebrow::before { content: ""; inline-size: 26px; block-size: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: var(--step-1); color: var(--text-soft); line-height: 1.55; }

.grid { display: grid; gap: var(--sp-5); }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.6rem; border-radius: var(--r-pill);
  font-weight: 700; font-size: var(--step-0); font-family: inherit;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  min-height: 48px;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.btn--primary:hover { box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--text); border-color: currentColor; }
.btn--light { background: #fff; color: var(--pn-navy); }
.btn__arrow { font-size: 1.1em; line-height: 1; }

/* ---------- כרטיסים ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-5); }
.card h3 { margin-bottom: var(--sp-2); }
.card p:last-child { margin-bottom: 0; }

/* ---------- כותרת עליונה ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--header-bg);
  backdrop-filter: saturate(1.4) blur(20px);
  -webkit-backdrop-filter: saturate(1.4) blur(20px);
  border-block-end: 1px solid color-mix(in oklab, var(--header-ink) 12%, transparent);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { height: 40px; width: auto; }
@media (min-width: 700px) { .brand img { height: 46px; } }

.nav { display: none; }
@media (min-width: 900px) { .nav { display: flex; align-items: center; gap: var(--sp-5); } }
.nav a { color: var(--header-ink); text-decoration: none; font-weight: 600; padding: .4rem 0; border-block-end: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-block-end-color: var(--accent-2); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: var(--r-sm);
  background: transparent; border: 1px solid color-mix(in oklab, var(--header-ink) 25%, transparent);
  color: var(--header-ink); cursor: pointer;
}
@media (min-width: 900px) { .nav-toggle { display: none; } }
.nav-toggle svg { width: 22px; height: 22px; }

.mobile-nav { display: none; padding-block: var(--sp-4) var(--sp-5); border-block-start: 1px solid color-mix(in oklab, var(--header-ink) 12%, transparent); }
.mobile-nav[data-open="true"] { display: block; }
.mobile-nav a {
  display: block; padding: .8rem 0; color: var(--header-ink); text-decoration: none;
  font-weight: 700; font-size: var(--step-1);
  border-block-end: 1px solid color-mix(in oklab, var(--header-ink) 10%, transparent);
}

/* ---------- הודעת "בהקמה" ----------
   ⚠️ הרצועה הוסרה מכל חמשת העמודים ב-10/09/2026, לבקשתה המפורשת של
   הלקוחה בכתב. ה-CSS נשאר בכוונה: ההחזרה היא הדבקה של פסקה אחת בראש
   ה-body, ובקשה כזו חוזרת.

   מה שנשאר מצהיר שבית החולים אינו פעיל: שורת הפוטר בכל עמוד
   («בית החולים בהקמה, אינו פעיל ואינו מקבל מטופלים.»), כותרת סקציית
   המערכים («המערכים ש<b>מתוכננים</b> לפעול»), הספירה לאחור לפתיחה
   ב-2033 וציר הזמן. ⚠️ אם מסירים גם את אחד מאלה — לעצור ולשאול. */
.status-strip { background: var(--pn-navy); color: #fff; font-size: var(--step--1); font-weight: 600; padding-block: .55rem; text-align: center; }
.status-strip strong { font-weight: 800; color: var(--pn-sand); }

/* ---------- מספרים ---------- */
.stat { text-align: center; }
.stat__num {
  display: block; font-size: var(--step-4); font-weight: 800; line-height: 1;
  letter-spacing: -.03em; color: var(--accent-2); font-variant-numeric: tabular-nums;
}
.stat__label { display: block; margin-top: var(--sp-3); font-weight: 600; color: var(--text-soft); font-size: var(--step--1); line-height: 1.4; }

/* ---------- טפסים ---------- */
.field { display: block; margin-bottom: var(--sp-4); }
.field > span { display: block; font-weight: 700; margin-bottom: .4rem; font-size: var(--step--1); }
.field input, .field textarea, .field select {
  width: 100%; font-family: inherit; font-size: var(--step-0);
  padding: .8rem 1rem; min-height: 48px;
  border: 1.5px solid var(--line); border-radius: var(--r-md);
  appearance: none; -webkit-appearance: none;
  background: var(--surface); color: var(--text);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--focus);
  outline: 3px solid color-mix(in oklab, var(--focus) 35%, transparent);
  outline-offset: 1px;
}
.form-note { font-size: var(--step--1); color: var(--text-soft); }
.form-status { margin-top: var(--sp-4); font-weight: 700; }

/* מלכודת ספאם — מוסתרת על ציר האנך בלבד.
   inset-inline-start שלילי היה מייצר גלילה אופקית באתר RTL. */
.hp-field { position: absolute; top: -9999px; inline-size: 1px; block-size: 1px; overflow: hidden; }

/* ---------- פוטר ---------- */
.site-footer { background: var(--pn-navy-800); color: #dbe8f2; padding-block: var(--sp-7) var(--sp-5); }
.site-footer a { color: #fff; }
.site-footer h4 { color: #fff; font-size: var(--step-0); margin-bottom: var(--sp-3); }
.site-footer__grid { display: grid; gap: var(--sp-6); }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; } }
.site-footer__logo { height: 54px; width: auto; margin-bottom: var(--sp-4); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: .2rem; }
.site-footer li a { display: inline-block; padding-block: .55rem; }   /* יעד מגע 44px */
.site-footer__bottom {
  margin-block-start: var(--sp-6); padding-block-start: var(--sp-4);
  border-block-start: 1px solid rgba(255,255,255,.16);
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5);
  align-items: center; justify-content: space-between;
  font-size: var(--step--1); color: #a8c4d8;
}

/* ---------- תג "תוספת" — מוצג רק כשעמוד הבחירה מדליק אותו ---------- */
.addon-flag { display: none; }
html[data-flags="1"] .addon-flag {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--pn-ribbon); color: #fff; font-size: .72rem; font-weight: 800;
  padding: .25rem .6rem; border-radius: var(--r-pill); letter-spacing: .02em;
  vertical-align: middle; margin-inline-start: .5rem;
}

/* ---------- אנימציית חשיפה ----------
   מגודר ב-html.js בכוונה: אם ה-JS לא רץ, התוכן פשוט נראה.
   רכיב שמסתיר תוכן כברירת מחדל הוא באג נגישות, לא אפקט. */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; } }

/* ============================================================
   ווידג׳ט נגישות — ת״י 5568
   ============================================================ */
/* ── העמודה הימנית ─────────────────────────────────────────────
   בקשת הבעלים 10/09/2026: הכל בצד ימין ובעמודה אחת, מלמטה למעלה —
   הספירה לאחור, מעליה עיגול המעטפה, ומעליו עיגול נגישות קטן יותר.
   ב-RTL הצד הימני הוא inset-inline-START.

   ⚠️ המספרים כאן הם המקום היחיד שיודע מה גובה כל אלמנט. שלושה
   אלמנטים צפים באותה עמודה שלא מכירים אחד את השני = אחד יושב על השני,
   וכשזה כפתור הנגישות התקלה שקטה לגמרי: הוא קיים ב-DOM, נראה תקין,
   ופשוט לא ניתן ללחיצה. scripts/peres-countdown-check.mjs מודד את זה
   עם elementFromPoint ולא מניח.
   ── */
:root {
  --pn-stack-edge: 18px;   /* מרחק מקצה המסך */
  --pn-fab: 52px;          /* עיגול המעטפה */
  --pn-a11y: 44px;         /* עיגול הנגישות — «עיגול קטן מעל» */
  --pn-gap: 12px;
  --pn-cd-h: 0px;          /* גובה הספירה; נדרס בעמוד שיש בו ספירה */
}
html[data-cdsquare="1"] { --pn-cd-h: 118px; }

.a11y-btn {
  position: fixed; z-index: 92;
  inset-inline-start: var(--pn-stack-edge);
  inset-block-end: calc(
    var(--pn-stack-edge) + var(--pn-cd-h) + var(--pn-gap) + var(--pn-fab) + var(--pn-gap)
  );
  width: var(--pn-a11y); height: var(--pn-a11y); border-radius: 50%;
  background: var(--pn-navy); color: #fff; border: 2px solid #fff;
  box-shadow: var(--shadow-md); cursor: pointer; display: grid; place-items: center;
}
.a11y-btn svg { width: 23px; height: 23px; }
.a11y-panel {
  position: fixed; z-index: 93;
  inset-inline-start: var(--pn-stack-edge);
  inset-block-end: calc(
    var(--pn-stack-edge) + var(--pn-cd-h) + var(--pn-gap) + var(--pn-fab)
      + var(--pn-gap) + var(--pn-a11y) + var(--pn-gap)
  );
  width: min(320px, calc(100vw - 36px)); max-height: min(70vh, 560px); overflow-y: auto;
  background: #0d2b3e; color: #fff; border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: var(--sp-5); display: none;
}
.a11y-panel[data-open="true"] { display: block; }
.a11y-panel h2 { font-size: var(--step-1); color: #fff; margin-bottom: var(--sp-4); }
.a11y-panel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.a11y-opt {
  background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.2);
  border-radius: var(--r-md); padding: .6rem .5rem; font: inherit; font-size: .85rem;
  font-weight: 600; cursor: pointer; min-height: 48px;
}
.a11y-opt[aria-pressed="true"] { background: var(--pn-sand); color: #06263a; border-color: var(--pn-sand); }
.a11y-panel__reset {
  margin-top: var(--sp-4); width: 100%; background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,.45); border-radius: var(--r-pill);
  padding: .7rem; font: inherit; font-weight: 700; cursor: pointer; min-height: 48px;
}
.a11y-panel__link { display: block; margin-top: var(--sp-3); color: #fff; font-size: var(--step--1); }

/* מצבי הנגישות */
html.a11y-font-1 body { font-size: calc(var(--step-0) * 1.15); }
html.a11y-font-2 body { font-size: calc(var(--step-0) * 1.3); }
html.a11y-font-3 body { font-size: calc(var(--step-0) * 1.5); }
html.a11y-contrast body { background: #000 !important; color: #fff !important; }
html.a11y-contrast :is(section, header, footer, div, article, aside) { background-color: transparent !important; }
html.a11y-contrast :is(h1,h2,h3,h4,p,li,span,td,th,label,strong) { color: #fff !important; }
html.a11y-contrast a { color: #ffe680 !important; }
html.a11y-contrast .btn { background: #ffe680 !important; color: #000 !important; border-color: #ffe680 !important; }
html.a11y-contrast .card { border-color: #fff !important; }
html.a11y-grayscale body { filter: grayscale(1); }
html.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; }
html.a11y-headings :is(h1,h2,h3) { outline: 2px dashed currentColor; outline-offset: 4px; }
html.a11y-readable body,
html.a11y-readable :is(h1,h2,h3,h4,p,li,a,span,button,input,textarea) {
  font-family: Arial, "Helvetica Neue", sans-serif !important; letter-spacing: .02em;
}
html.a11y-spacing body { line-height: 2.05 !important; letter-spacing: .05em; word-spacing: .12em; }
html.a11y-stop *, html.a11y-stop *::before, html.a11y-stop *::after {
  animation: none !important; transition: none !important; scroll-behavior: auto !important;
}

/* ---------- קרדיט WebitNow AI ----------
   קטן ולא מפריע, אבל ברור למי שמחפש. יושב מתחת לשורת הזכויות. */
.built-by {
  margin-block-start: var(--sp-4);
  padding-block-start: var(--sp-3);
  border-block-start: 1px solid rgba(255,255,255,.10);
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  color: #8aa4b5;
}
.built-by a {
  color: #b9d2e4;
  text-decoration: none;
  font-weight: 700;
  border-block-end: 1px solid rgba(185,210,228,.35);
  padding-block-end: 1px;
}
.built-by a:hover { color: #ffffff; border-block-end-color: #ffffff; }
.built-by .heart { color: #e2657a; font-style: normal; }

/* ---------- תיקונים שעלו מסקירת מכשירים (iPhone 15 Pro · Pixel 8 Pro) ---------- */

/* ה-select הוצג בגובה 21px בכרום מובייל */
.field select {
  height: 48px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a6b7d' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: left 1rem center;
  background-size: 18px;
  padding-inline-start: 2.6rem;
}

/* רצועת «עוד סיקור» — שלושה קישורים בגובה 18px הם יעד מגע שאי אפשר לפגוע בו */
.more-press { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .8rem; }
.more-press a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: .15rem; font-weight: 700; }

/* פירורי הלחם היו צמודים ל-h1 */
.crumbs { margin-bottom: var(--sp-4); }

/* טווח שנים לטיני בתוך RTL — «2028–2030» הוצג כ-«2030–2028» */
.ltr-num { unicode-bidi: isolate; direction: ltr; display: inline-block; }

/* שם כלי תקשורת לטיני ליד תאריך — הסדר התהפך ב-ice מול גלובס */
.press-item__outlet { unicode-bidi: isolate; }

/* אייקון ההמבורגר מתחלף ל-X כשהתפריט פתוח */
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- יעדי מגע (WCAG 2.5.8) ----------
   נמדד ב-Pixel 8 Pro: קרדיט הפוטר יצא 17px, «בית» בפירורי הלחם 26px,
   וקישורים בתוך פסקאות 18-22px. אלה קישורים אמיתיים שאי אפשר לפגוע בהם. */
.built-by a { display: inline-block; padding-block: .6rem; }
.crumbs a { display: inline-block; padding-block: .5rem; }
.prose a, .form-note a, .aside-card a, .factbox a, .facts a { display: inline-block; padding-block: .3rem; }

/* ============================================================
   הדמיות אדריכליות
   הבעלות על ההדמיות היא של החברה — עדן בכר אישרה בכתב 03/09/2026 —
   בתנאי שיצוין שם האדריכלים מתחת לכל הדמיה. הקרדיט אינו קישוט.
   ============================================================ */
figure.shot { margin: 0; }
.shot img {
  inline-size: 100%; block-size: 100%; object-fit: cover; display: block;
}
figure.shot { background: none; padding: 0; display: block; overflow: hidden; }
figure.shot picture, figure.shot > img { display: block; }
.credit {
  display: block; margin-top: .5rem;
  font-size: .78rem; line-height: 1.45; color: var(--text-soft);
}
.credit b { font-weight: 700; color: var(--text); }
.credit span[dir="ltr"], .credit .nowrap { white-space: nowrap; }

.gallery { display: grid; gap: var(--sp-4); }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery figure.shot { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.gallery figure.shot img { aspect-ratio: 16/9; }
.gallery figcaption { padding: .7rem .9rem 0; }
.gallery figcaption strong { display: block; font-size: var(--step--1); }

/* ============================================================
   רצועות הדמיה — בהשראת אתר האדריכלים: תמונה גדולה, מסגרת מינימלית.
   ============================================================ */
.band-figure { margin: 0; position: relative; }
.band-figure img { inline-size: 100%; display: block; object-fit: cover; }
.band-figure--tall img { block-size: clamp(240px, 42vw, 520px); }
.band-figure--wide img { block-size: clamp(200px, 32vw, 420px); }
/* הכיתוב לבן, ומאז 10/09/2026 הוא יושב מעל הדמיית יום בהירה ולא מעל
   הדמיית לילה. גרדיאנט שדוהה לשקוף באמצע הותיר טקסט לבן על חול חיוור.
   הוא אטום עכשיו לכל גובה הטקסט ודוהה רק מעליו. */
.band-figure figcaption {
  position: absolute; inset-inline: 0; inset-block-end: 0;
  padding: var(--sp-6) var(--sp-5) var(--sp-4);
  background: linear-gradient(to top,
    rgba(4,38,60,.94) 0%, rgba(4,38,60,.9) 55%, rgba(4,38,60,.55) 80%, rgba(4,38,60,0) 100%);
  color: #fff; font-size: var(--step--1); font-weight: 600;
  text-shadow: 0 1px 2px rgba(4,38,60,.5);
}
.band-figure figcaption .credit { color: #c2d8e8; margin-top: .15rem; }
.band-figure figcaption .credit b { color: #fff; }

.shots-2, .shots-3 { display: grid; gap: var(--sp-4); }
@media (min-width: 640px) { .shots-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .shots-3 { grid-template-columns: repeat(3, 1fr); } }
.shots-2 figure, .shots-3 figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.shots-2 img, .shots-3 img { inline-size: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; }
.shots-2 figcaption, .shots-3 figcaption { padding: .7rem .9rem; font-size: var(--step--1); font-weight: 600; }

/* ============================================================
   סבב הסיום, ספטמבר 2026 — רכיבים שנוספו לבקשת הלקוח.
   הכול יושב ב-base.css ולא בגיליון הכיוון, כי כל עמוד טוען את base
   ורכיב שמוגדר בגיליון שהעמוד לא טוען פשוט לא קיים, בלי שגיאה.
   זו בדיוק התקלה שקרתה כאן עם הגלריות.
   ============================================================ */

/* ---------- לוגואי הבעלים והמפעילה בהדר ----------
   עדן ביקשה אותם משמאל לתפריט, אחרי «יצירת קשר», ובלי שמות בטקסט.
   מוסתרים מתחת ל-900px ועוברים לתפריט המובייל: שלושה לוגואים,
   ארבעה קישורים ולוגו ראשי לא נכנסים לרוחב של 390px. */
.header-end { display: flex; align-items: center; gap: var(--sp-5); }

.partner-marks {
  display: none; align-items: center; gap: var(--sp-4);
  list-style: none; margin: 0; padding: 0;
  padding-inline-start: var(--sp-5);
  border-inline-start: 1px solid color-mix(in oklab, var(--header-ink) 16%, transparent);
}
@media (min-width: 900px) { .partner-marks { display: flex; } }
/* כל הלוגואים באותו גובה ובאותה קופסה — «בגודל של הלוגו של שיבא» (בקשת
   הלקוחה 09/09): הרחבים (לאומית 4:1, מאוחדת 3:1) נחתכים לרוחב אחד עם contain
   במקום להיראות גדולים מהאחרים. */
.partner-marks img {
  height: 26px; width: auto; max-width: 62px; object-fit: contain;
  display: block; opacity: .9;
}
.partner-marks li { display: flex; align-items: center; }

/* בתפריט המובייל הם יושבים בשורה אחת בתחתית, מופרדים מהקישורים */
.mobile-nav .partner-marks {
  display: flex; margin-block-start: var(--sp-4); padding-block-start: var(--sp-4);
  padding-inline-start: 0; border-inline-start: 0;
  border-block-start: 1px solid color-mix(in oklab, var(--header-ink) 12%, transparent);
}
.mobile-nav .partner-marks img { height: 26px; }

/* ---------- שותפים ---------- */
.partners-logos {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--sp-5) var(--sp-7); justify-content: center;
  padding: var(--sp-5); margin-block-end: var(--sp-6);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.partners-logos img { height: 40px; width: auto; display: block; }
@media (min-width: 700px) { .partners-logos img { height: 52px; } }

.partners-tier + .partners-tier { margin-block-start: var(--sp-5); }
.partners-tier > h3 {
  font-size: var(--step--1); font-weight: 800; letter-spacing: .02em;
  color: var(--text-soft); margin-bottom: var(--sp-3);
}
.partners-chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.partners-chips li {
  font-size: var(--step--1); font-weight: 700; line-height: 1.3;
  padding: .55rem .9rem; border-radius: var(--r-md); text-align: center;
}
.partners-tier[data-tier="1"] .partners-chips li { background: var(--pn-blue-100); color: #0b4f7d; }
.partners-tier[data-tier="2"] .partners-chips li { background: var(--pn-teal-100); color: var(--pn-teal-700); }

/* ---------- מפת המיקום ---------- */
.map-figure { margin: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.map-figure img { display: block; inline-size: 100%; block-size: auto; }
.map-figure figcaption { padding: var(--sp-4) var(--sp-5); font-size: var(--step--1); color: var(--text-soft); }

/* ---------- ספירה לאחור דבוקה לתחתית ----------
   עדן ביקשה שהספירה תישאר גלויה בכל הגלילה, מוקטנת, והימים משמאל.
   שים לב: הסדר ב-DOM נשאר ימים→שניות בשביל קוראי מסך, וההיפוך
   הוא ויזואלי בלבד דרך row-reverse. ב-RTL זה מציב את האיבר הראשון
   בצד שמאל, וזה בדיוק מה שהתבקש. */
:root { --cd-bar-h: 76px; }
@media (max-width: 700px) { :root { --cd-bar-h: 66px; } }

.cd-bar {
  position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 85;
  background: var(--surface); border-block-start: 3px solid var(--pn-ribbon);
  box-shadow: 0 -6px 24px rgba(12,36,52,.14);
}
.cd-bar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); min-block-size: var(--cd-bar-h); padding-block: .5rem;
}
.cd-bar__label { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.cd-bar__ribbon { flex: none; inline-size: 30px; block-size: 30px; color: var(--pn-ribbon); }
.cd-bar__ribbon svg { inline-size: 100%; block-size: 100%; display: block; }
.cd-bar__title { margin: 0; font-weight: 800; font-size: var(--step--1); line-height: 1.25; color: var(--text); }
.cd-bar__sub { margin: 0; font-weight: 600; font-size: .74rem; color: var(--text-soft); }

.cd-bar .cd__grid { display: flex; flex-direction: row-reverse; gap: .35rem; }
.cd-bar .cd__cell {
  background: var(--pn-teal-100); border: 1px solid #d5e6e3; border-radius: var(--r-sm);
  padding: .3rem .5rem; text-align: center; min-inline-size: 52px;
}
.cd-bar .cd__num {
  display: block; font-size: 1.1rem; font-weight: 800; line-height: 1.15;
  color: var(--pn-teal-700); font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.cd-bar .cd__unit { display: block; margin-top: .05rem; font-size: .64rem; font-weight: 700; color: var(--text-soft); }

@media (max-width: 700px) {
  .cd-bar__ribbon { inline-size: 24px; block-size: 24px; }
  .cd-bar__sub { display: none; }
  .cd-bar .cd__cell { min-inline-size: 42px; padding: .25rem .35rem; }
  .cd-bar .cd__num { font-size: .95rem; }
  .cd-bar .cd__unit { font-size: .58rem; }
}
@media (max-width: 380px) {
  .cd-bar .cd__cell[data-unit="seconds"] { display: none; }
}

/* העמוד שנושא את הסרגל מפנה לו מקום, והווידג'ט של הנגישות עולה מעליו.
   בלי זה הסרגל מכסה את כפתור הנגישות — כלומר שובר נגישות בשם עיצוב. */
html[data-cdbar="1"] body { padding-block-end: var(--cd-bar-h); }

@media print { .cd-bar { display: none; } html[data-cdbar="1"] body { padding-block-end: 0; } }

/* מספר תב"ע הוא מזהה ולא כמות: בגודל של stat רגיל הוא גולש מהאריח,
   ולכן גופן קטן יותר ובידוד כיוון כדי שהמקף לא יזיז את הספרות. */
.stat__num.is-code { font-size: var(--step-1); letter-spacing: -.01em; white-space: nowrap; }

/* כרטיס שירות: שם אחד בלבד, בלי פסקה.
   בפריסת הכרטיס הרגילה (סימן למעלה, כותרת מתחת) נוצר כרטיס בגובה 138px
   עם מילה אחת בתוכו, שנראה כאילו התוכן לא נטען. שורה אחת נראית מכוונת. */
.value-card--compact { display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-4) var(--sp-5); }
.value-card--compact .value-card__mark { margin-bottom: 0; flex: none; inline-size: 34px; block-size: 34px; }
.value-card--compact .value-card__mark svg { inline-size: 19px; block-size: 19px; }
.value-card--compact h3 { margin-bottom: 0; }


/* ============================================================
   ליטושים סופיים — בקשת הלקוחה, 09/09/2026
   ============================================================ */

/* פסקאות טקסט רץ מיושרות לשני הצדדים (במקום לימין בלבד).
   text-align-last: start משאיר את השורה האחרונה צמודה לימין ולא מתוחה. */
.prose p, .prose li { text-align: justify; text-align-last: start; }

/* מלל החזון גדל */
.prose--lg p { font-size: var(--step-1); line-height: 1.65; }

/* התמונה בתחתית עמוד הבית נמסכת מלמעלה ומלמטה כדי להיראות מוטמעת בעמוד. */
.band-figure--wide img {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 84%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 84%, transparent 100%);
}

/* לוגואי השותפים בשורת «שותפות אסטרטגית» — אותו איזון כמו בבאנר. */
.partners-logos img { height: 44px; max-width: 128px; object-fit: contain; }
@media (min-width: 700px) { .partners-logos img { height: 52px; max-width: 150px; } }

/* ============================================================
   מעטפת יצירת קשר — עיגול צף בצד ימין, מעל הספירה, ופופאפ
   (בקשת הבעלים 10/09/2026)

   ⚠️ זו המעטפה של הלקוחה, לא שלנו. הטופס בתוכה שולח ל-/api/peres-contact
   כמו כל טופס אחר באתר, והפנייה מגיעה לחברה. אסור שהיא תהפוך לאיסוף
   לידים של WebitNow — על אתר של לקוח זו פרסומת של מישהו אחר על גבי
   העבודה שלו, בדיוק מהסיבה שהווידג׳טים שלנו הוסרו ממסך הניהול שלה.
   ============================================================ */
.pn-fab {
  position: fixed; z-index: 91;
  inset-inline-start: var(--pn-stack-edge);
  inset-block-end: calc(var(--pn-stack-edge) + var(--pn-cd-h) + var(--pn-gap));
  width: var(--pn-fab); height: var(--pn-fab); border-radius: 50%;
  background: var(--pn-teal); color: #fff; border: 2px solid #fff;
  box-shadow: var(--shadow-md); cursor: pointer; display: grid; place-items: center;
  transition: transform .18s ease;
}
.pn-fab:hover { transform: scale(1.06); }
.pn-fab svg { width: 25px; height: 25px; }
@media (prefers-reduced-motion: reduce) { .pn-fab, .pn-fab:hover { transition: none; transform: none; } }

.pn-modal {
  border: 0; padding: 0; border-radius: var(--r-lg);
  inline-size: min(480px, calc(100vw - 28px));
  background: var(--surface, #fff); color: var(--text, #17313c);
  box-shadow: var(--shadow-lg);
}
.pn-modal::backdrop { background: rgba(9, 34, 44, .55); }
.pn-modal__inner { padding: var(--sp-5); position: relative; }
/* ⚠️ inset-inline-END: ב-RTL זה הפינה השמאלית. הכפתור היה ב-start וישב
   בדיוק על תחילת הכותרת, כי גם היא מתחילה מימין. */
.pn-modal__close {
  position: absolute; inset-block-start: 6px; inset-inline-end: 6px;
  background: transparent; border: 0; font-size: 26px; line-height: 1;
  cursor: pointer; color: var(--text-soft); font-family: inherit;
  min-width: 44px; min-height: 44px;   /* יעד מגע תקני */
}
.pn-modal h2 { font-size: var(--step-1); margin: 0 0 .25rem; }
.pn-modal__note { color: var(--text-soft); font-size: var(--step--1); margin: 0 0 var(--sp-4); }
.pn-modal .field { display: block; margin-bottom: var(--sp-3); }
.pn-modal .field > span { display: block; font-size: var(--step--1); font-weight: 600; margin-bottom: .3rem; }
.pn-modal .field input,
.pn-modal .field select,
.pn-modal .field textarea {
  inline-size: 100%; font: inherit; font-size: 16px;  /* מתחת ל-16 ספארי מזייף זום */
  padding: .6rem .7rem; border: 1px solid var(--line); border-radius: var(--r-md);
  background: #fff; color: inherit;
}
.pn-modal .field textarea { min-height: 96px; resize: vertical; }
.pn-modal__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
@media (max-width: 460px) { .pn-modal__row { grid-template-columns: 1fr; } }
.pn-modal__hp { position: absolute; top: -9999px; height: 0; overflow: hidden; }

@media print { .pn-fab, .cd-square { display: none; } }
