/* ============================================================
   אילנית רחימי — עובדת סוציאלית, פסיכותרפיסטית ומנחת קבוצות
   מערכת עיצוב: "מרחב מוגן" — רוגע עריכתי-אורגני
   כל צמד צבעים נבדק חישובית מול WCAG AA
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* צבע — כל היחסים נמדדו, ראה README */
  --ground:      #FBF8F4;   /* קרם חם */
  --surface:     #F3EEE7;
  --line:        #E2D9CC;   /* קישוטי: גבולות כרטיסים ומפרידים */
  --line-strong: #9C8C7A;   /* גבול פקדים — 3.08:1 על ground, נמדד */
  --ink:         #24352F;   /* 12.20:1 על ground */
  --muted:       #55635C;   /*  5.96:1 על ground */
  --sage:        #4A6657;   /*  5.46:1 על surface · לבן עליו 6.31:1 */
  --sage-soft:   #8FA697;   /* דקורטיבי בלבד — לא לטקסט */
  --accent:      #2E7D6B;   /* הדגשה בכותרת · 4.65:1 על ground · נבדל מה-ink ומצבע הקישור */
  --clay:        #A85F45;   /*  4.52:1 על ground · לבן עליו 4.79:1 */
  --clay-deep:   #8E4E37;
  --wa:          #0F7A63;   /* לבן עליו 5.27:1 */
  --wa-deep:     #0B6350;

  --font-display: "Rubik", "Segoe UI", "Arial Hebrew", Arial, sans-serif;
  --font-body: "Heebo", "Segoe UI", "Arial Hebrew", Arial, sans-serif;

  /* ריתמוס 4/8 */
  --s1: .25rem; --s2: .5rem;  --s3: .75rem; --s4: 1rem;
  --s5: 1.5rem; --s6: 2rem;   --s7: 3rem;   --s8: 4rem;  --s9: 6rem;

  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1120px;
  --shadow-sm: 0 1px 2px rgba(36,53,47,.06), 0 4px 12px rgba(36,53,47,.05);
  --shadow-md: 0 2px 6px rgba(36,53,47,.07), 0 14px 34px rgba(36,53,47,.08);
  --tap: 48px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
/* גלילה חלקה לעוגנים — רק במכשירים עם עכבר.
   בנייד היא מתנגשת עם המומנטום הטבעי של המערכת. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--ground);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
svg { display: block; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: normal;
  text-wrap: balance;
}
h1 { font-size: clamp(1.95rem, 5.2vw, 3.3rem); }
h2 { font-size: clamp(1.55rem, 3.6vw, 2.35rem); }
h3 { font-size: clamp(1.35rem, 1.05rem + 0.9vw, 1.65rem); }
p  { text-wrap: pretty; }

.lead { font-size: clamp(1.25rem, 2.3vw, 1.4rem); color: var(--muted); line-height: 1.75; }
.eyebrow {
  font-family: var(--font-body);
  font-size: .875rem; font-weight: 700;
  letter-spacing: .04em;
  color: var(--sage);
  text-transform: none;
  margin-bottom: var(--s3);
}

a { color: var(--clay-deep); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--clay-deep); text-decoration-thickness: 2px; }

/* ---------- Focus — נראה תמיד ---------- */
:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
  border-radius: 6px;
}
/* על הרקע הכהה של הפוטר, clay נותן 2.70:1 — מתחת ל-3:1 שדורש
   WCAG 1.4.11. surface על ink נותן מעל 10:1. */
.site-footer :focus-visible { outline-color: var(--surface); }
.skip-link {
  position: absolute; inset-inline-start: var(--s4); top: -100px;
  background: var(--ink); color: #fff; padding: var(--s3) var(--s5);
  border-radius: 0 0 var(--radius) var(--radius); z-index: 200; font-weight: 600;
  transition: top .18s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--s5); }
section { padding-block: clamp(2.25rem, 7vw, var(--s9)); position: relative; }
@media (max-width: 640px) {
  .section-head { margin-bottom: var(--s5); }
  .track { padding: var(--s5); }
  .price-card, .fit-card { padding: var(--s5); }
  .form-card { padding: var(--s5); }
}
.section-head { max-width: 46rem; margin-bottom: var(--s6); }
.tinted { background: var(--surface); }

/* ---------- Buttons — כולם ≥48px ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: var(--tap); padding: var(--s3) var(--s5);
  font-family: var(--font-body); font-size: 1rem; font-weight: 700;
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.btn:hover { box-shadow: var(--shadow-md); }
/* ה-active הקודם היה box-shadow: var(--shadow-sm) — בדיוק הצל שיש
   ל-btn-wa ול-btn-clay במנוחה, כלומר אפס משוב לחיצה. */
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn:disabled, .btn[aria-disabled="true"] {
  background: var(--line); color: var(--muted); border-color: transparent;
  box-shadow: none; cursor: not-allowed; transform: none;
}
.btn svg { width: 20px; height: 20px; flex: none; }

.btn-wa    { background: var(--wa); color: #fff; box-shadow: var(--shadow-sm); }
.btn-wa:hover { background: var(--wa-deep); color: #fff; }
.btn-clay  { background: var(--clay); color: #fff; box-shadow: var(--shadow-sm); }
.btn-clay:hover { background: var(--clay-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface); color: var(--ink); border-color: var(--sage); }
.tinted .btn-ghost:hover { background: #fff; }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover { transition: none; }
  /* הצהרת הנגישות מבטיחה ביטול של כל המעברים. קישור הדילוג
     הוא רכיב של משתמשי מקלדת, ודווקא הוא נשאר עם transition. */
  .skip-link { transition: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ground);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: var(--s4);
  min-height: 68px; justify-content: space-between;
}
.brand { display: flex; flex-direction: column; justify-content: center; min-height: 46px; text-decoration: none; color: var(--ink); line-height: 1.25; }
.brand:hover { color: var(--ink); }
.brand b { font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; }
.brand span { font-size: .82rem; color: var(--muted); }

.nav { display: none; gap: var(--s5); }
.nav a {
  color: var(--ink); text-decoration: none; font-size: 1.0625rem; font-weight: 600;
  padding: var(--s2) 0; border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--sage); color: var(--ink); }
.header-cta { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(var(--s6), 6vw, var(--s8)) clamp(var(--s7), 7vw, var(--s9)); overflow: hidden; }
.hero-grid { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 940px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: var(--s8); }
  /* דף הקבוצה — ילד יחיד, בלי תמונה. שתי עמודות השאירו ~400px ריקים. */
  .hero-grid:not(:has(.portrait)) { grid-template-columns: 1fr; }
  .hero-grid:not(:has(.portrait)) > * { max-width: 46rem; }
}
.hero h1 { margin-bottom: var(--s4); }
.hero h1 .accent { color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
@media (max-width: 520px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

.identity {
  margin-top: var(--s5); padding-top: var(--s5);
  border-top: 1px solid var(--line);
  font-size: 1.0625rem; color: var(--muted);
  display: flex; align-items: center; gap: var(--s4);
}
.identity .face {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover; object-position: 50% 18%;
  border: 2px solid #fff; box-shadow: var(--shadow-sm);
}
@media (min-width: 940px) { .identity .face { display: none; } }
.identity b { color: var(--ink); font-weight: 700; }

/* פס אמון */
.trust-strip {
  display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5);
  margin-top: var(--s5); padding: 0; list-style: none;
  font-size: 1rem; color: var(--muted);
}
.trust-strip li { display: flex; align-items: center; gap: var(--s2); }
.trust-strip svg { width: 17px; height: 17px; color: var(--sage); flex: none; }

/* דיוקן — א-סימטרי, עם צורה אורגנית מאחור */
.portrait { position: relative; justify-self: center; max-width: 380px; width: 100%; }
.portrait::before {
  content: ""; position: absolute; inset: -8% -6% -8% -6%;
  background: linear-gradient(150deg, #CFDCD2, #E6D6C2);
  border-radius: 58% 42% 46% 54% / 44% 50% 50% 56%;
  opacity: .7; z-index: 0;
}
.portrait img {
  position: relative; z-index: 1; width: 100%;
  border-radius: 52% 48% 45% 55% / 40% 44% 56% 60%;
  box-shadow: var(--shadow-md);
  object-fit: cover; aspect-ratio: 1 / 1.13;
  object-position: 50% 22%;
}

/* ---------- הזדהות ---------- */
.echo-list { list-style: none; padding: 0; display: grid; gap: var(--s3); max-width: 44rem; }
.echo-list li {
  position: relative; padding: var(--s4) var(--s6) var(--s4) var(--s4);
  background: var(--ground); border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 1.125rem;
}
.echo-list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 14%; bottom: 14%;
  width: 4px; background: var(--sage-soft); border-radius: 4px;
}
.echo-after { margin-top: var(--s5); max-width: 44rem; font-weight: 600; color: var(--ink); }

/* ---------- שני מסלולים ---------- */
.tracks { display: grid; gap: var(--s5); }
@media (min-width: 820px) { .tracks { grid-template-columns: 1fr 1fr; } }
.track {
  display: flex; flex-direction: column;
  background: var(--ground); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: var(--s6);
  box-shadow: var(--shadow-sm);
}
.tinted .track { background: #fff; }
.track-tag {
  align-self: flex-start; font-size: .875rem; font-weight: 700; letter-spacing: .02em;
  padding: var(--s2) var(--s3); border-radius: 999px;
  background: #EDF2EE; color: var(--sage); border: 1px solid #CBD9CF;
  margin-bottom: var(--s3);
}
.tinted .track-tag { background: #EDF2EE; }
.track h3 { margin-bottom: var(--s2); }
.track .track-for { color: var(--muted); font-size: 1.0625rem; margin-bottom: var(--s4); }
.track ul { list-style: none; padding: 0; display: grid; gap: var(--s2); margin-bottom: var(--s5); }
.track li { display: flex; gap: var(--s3); align-items: flex-start; font-size: 1.0625rem; }
.track li svg { width: 18px; height: 18px; color: var(--sage); flex: none; margin-top: .35em; }
.track-foot { margin-top: auto; display: flex; flex-direction: column; gap: var(--s3); }
@media (min-width: 641px) { .track-foot .btn { align-self: flex-start; } }
.track-price {
  font-family: var(--font-display); font-size: 1.12rem; color: var(--ink);
  padding-top: var(--s4); border-top: 1px dashed var(--line);
}
.track-price small { display: block; font-family: var(--font-body); font-size: .95rem; color: var(--muted); font-weight: 400; }

/* ---------- אודות ---------- */
.about-grid { display: grid; gap: var(--s6); }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1.25fr; gap: var(--s8); align-items: start; }
  /* עמודת התעודות קצרה ב-468px מעמודת הגוף — הדבקה מונעת את החלל. */
  .about-grid > :first-child { position: sticky; top: 92px; }
}
.about-body > * + * { margin-top: var(--s5); }

.pullquote {
  margin: var(--s7) 0 0; padding: var(--s6);
  background: var(--surface); border-radius: var(--radius-lg);
  border-inline-start: 5px solid var(--sage);
}
.pullquote p {
  font-family: var(--font-display); font-size: clamp(1.12rem, 2.5vw, 1.42rem);
  line-height: 1.7; color: var(--ink);
}
.pullquote cite { display: block; margin-top: var(--s3); font-size: .86rem; color: var(--muted); font-style: normal; }

/* הסרת הסיכון מהצעד הראשון — ממוקם ב-Hero בכוונה, כי זו אחת השאלות
   שהמחקר מצא שאף אתר מתחרה לא עונה עליהן מעל הקיפול. */
.hero-note {
  margin-top: var(--s4); font-size: 1.0625rem; color: var(--muted);
  max-width: 34rem;
}
.hero-note strong { color: var(--ink); font-weight: 600; }

/* ---------- ניווט מהיר — נייד בלבד ----------
   מעל 900px תפריט הראש חוזר, ולכן השורה הזו מוסתרת שם.
   גלילה אופקית ולא תפריט נפתח, כדי ש"מחירים" יהיה נראה ולא חבוי. */
.quicknav {
  border-block: 1px solid var(--line);
  background: var(--ground);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.quicknav::-webkit-scrollbar { display: none; }
.quicknav ul {
  display: flex; gap: var(--s2); list-style: none;
  margin: 0; padding: 0 var(--s4);
  width: max-content; min-width: 100%;
}
.quicknav a {
  display: inline-flex; align-items: center; min-height: var(--tap);
  padding-inline: var(--s3); white-space: nowrap;
  color: var(--sage); font-weight: 600; font-size: 1rem;
  text-decoration: none; border-bottom: 2px solid transparent;
}
.quicknav a:hover { color: var(--ink); border-bottom-color: var(--sage); }
@media (min-width: 900px) { .quicknav { display: none; } }

/* הכותרת דביקה — בלי זה עוגן נוחת מתחתיה והכותרת מסתירה אותו. */
:target, section[id], [id^="fears"] { scroll-margin-top: 84px; }

.credentials { list-style: none; padding: 0; display: grid; gap: var(--s2); margin-top: var(--s5); }
.credentials li { display: flex; gap: var(--s3); font-size: 1.0625rem; }
.credentials svg { width: 17px; height: 17px; color: var(--sage); flex: none; margin-top: .4em; }

/* ---------- איך זה עובד ---------- */
.steps {
  display: grid; gap: var(--s6);
  counter-reset: step;
  list-style: none;          /* בלי זה הדפדפן מצייר מספור משלו בנוסף לעיגול */
  padding: 0; margin: 0;     /* ברירת המחדל של ol מזיחה את הכול ב-40px */
}
@media (min-width: 780px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s5); } }

/* העיגול יושב בגריד לצד הכותרת, בלי מיקום אבסולוטי —
   כך הוא לא יכול לחפוף לטקסט בשום גודל מסך */
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: var(--s4);
  row-gap: var(--s2);
  align-items: center;
}
.step::before {
  counter-increment: step; content: counter(step);
  grid-column: 1; grid-row: 1;
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sage); color: #fff;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 600;
  line-height: 1;
}
.step h3 { grid-column: 2; grid-row: 1; margin: 0; }
.step p  { grid-column: 1 / -1; grid-row: 2; color: var(--muted); font-size: 1.0625rem; margin: 0; }

/* במסך רחב הצעדים זה לצד זה — שם עדיף העיגול מעל הכותרת */
@media (min-width: 780px) {
  .step { grid-template-columns: 1fr; row-gap: var(--s3); align-items: start; }
  .step::before { grid-column: 1; grid-row: 1; }
  .step h3 { grid-column: 1; grid-row: 2; }
  .step p  { grid-column: 1; grid-row: 3; }
}

/* ---------- מחיר ---------- */
.price-grid { display: grid; gap: var(--s5); }
@media (min-width: 820px) { .price-grid { grid-template-columns: 1fr 1fr; } }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--s6); box-shadow: var(--shadow-sm);
}
.price-card .amount {
  font-weight: 600;
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 2.7rem);
  color: var(--ink); line-height: 1.1; margin-block: var(--s2) var(--s1);
}
.price-card .amount span { font-size: .95rem; font-family: var(--font-body); color: var(--muted); }
.price-note { margin-top: var(--s4); font-size: 1rem; color: var(--muted); }
.price-free {
  margin-top: var(--s5); padding: var(--s4) var(--s5);
  /* הרקע היה var(--surface) — זהה לרקע הסקשן ה-tinted שבו הכרטיס יושב,
     כלומר ניגודיות 1.00:1 והכרטיס לא נראה כלל. */
  /* אותה שפה כמו .price-card — לבן, גבול דק וצל. הצל הוא מה שמפריד
     בפועל מהרקע, לא הגבול. */
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); max-width: 46rem;
  display: flex; gap: var(--s3); align-items: flex-start; font-size: 1.0625rem;
}
.price-free svg { width: 21px; height: 21px; color: var(--sage); flex: none; margin-top: .2em; }

/* ---------- למי מתאים ---------- */
.fit-grid { display: grid; gap: var(--s5); }
@media (min-width: 820px) { .fit-grid { grid-template-columns: 1fr 1fr; } }
.fit-card { padding: var(--s6); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--ground); }
.fit-card ul { list-style: none; padding: 0; display: grid; gap: var(--s3); margin-top: var(--s4); }
.fit-card li { display: flex; gap: var(--s3); align-items: flex-start; }
.fit-card svg { width: 19px; height: 19px; flex: none; margin-top: .3em; }
.fit-yes svg { color: var(--sage); }
.fit-no svg { color: var(--clay); }

.crisis {
  max-width: 46rem;
  margin-top: var(--s6); padding: var(--s5);
  border: 2px solid var(--clay); border-radius: var(--radius); background: #fff;
}
.crisis strong { color: var(--clay-deep); }

/* ---------- FAQ ---------- */
.faq { max-width: 48rem; }
.faq details {
  border-bottom: 1px solid var(--line); background: transparent;
}
.faq summary {
  cursor: pointer; list-style: none;
  padding: var(--s5) var(--s6) var(--s5) 0;
  min-height: var(--tap);
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  /* גבולות פיזיים בכוונה, לא לוגיים. border-inline-end מתהפך ב-RTL
     לגבול שמאלי, והחץ הצביע הצידה במקום למטה. */
  border-right: 2px solid var(--sage); border-bottom: 2px solid var(--sage);
  transform: translateY(-3px) rotate(45deg); transition: transform .22s ease;
}
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq summary:hover { color: var(--ink); background: var(--ground); }
.faq .answer { padding: 0 0 var(--s5); color: var(--muted); max-width: 44rem; }
.faq .answer > * + * { margin-top: var(--s3); }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* ---------- טופס ---------- */
.contact-grid { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: var(--s8); align-items: start; } }

.form-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: var(--s6); box-shadow: var(--shadow-sm);
}
.field { margin-bottom: var(--s5); }
.field label, .field legend {
  display: block; font-weight: 700; font-size: 1.0625rem; margin-bottom: var(--s2); color: var(--ink);
}
.field .hint { font-size: .95rem; color: var(--muted); font-weight: 400; margin-bottom: var(--s2); }
.field input[type="text"], .field input[type="tel"], .field select {
  width: 100%; min-height: var(--tap);
  padding: var(--s3) var(--s4);
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--ground); border: 1.5px solid var(--line-strong); border-radius: var(--radius);
}
.field input:hover, .field select:hover { border-color: var(--sage); }
.field input:focus-visible, .field select:focus-visible { border-color: var(--sage); }

fieldset { border: 0; padding: 0; margin: 0; }
.radio-group { display: grid; gap: var(--s2); }
.radio-option {
  display: flex; align-items: center; gap: var(--s3);
  min-height: var(--tap); padding: var(--s2) var(--s4);
  border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--ground); cursor: pointer;
}
.radio-option:hover { border-color: var(--sage); }
.radio-option input { width: 21px; height: 21px; accent-color: var(--sage); flex: none; }
.radio-option:has(input:checked) { border-color: var(--sage); background: var(--surface); }

.consent {
  display: flex; gap: var(--s3); align-items: flex-start;
  padding: var(--s4); background: var(--surface); border-radius: var(--radius);
  margin-bottom: var(--s5);
}
.consent input { width: 22px; height: 22px; accent-color: var(--sage); flex: none; margin-top: .15em; }
.consent label { font-size: 1rem; font-weight: 400; line-height: 1.65; margin: 0; }

.error {
  display: block; color: var(--clay-deep); font-size: .95rem; font-weight: 600; margin-top: var(--s2);
}
.error:empty { display: none; }
[aria-invalid="true"] { border-color: var(--clay) !important; }

.form-status { margin-top: var(--s4); font-weight: 600; }
.form-status[data-state="error"] { color: var(--clay-deep); }
.form-status[data-state="ok"]    { color: var(--sage); }
/* היה style="width:100%" inline — הסגנון ה-inline היחיד באתר. */
.form-card .btn[type="submit"] { width: 100%; }
.after-note {
  margin-top: var(--s5); padding: var(--s4) var(--s5);
  background: var(--surface); border-radius: var(--radius);
  display: flex; gap: var(--s3); align-items: flex-start; font-size: 1rem;
}
.after-note svg { width: 20px; height: 20px; color: var(--sage); flex: none; margin-top: .25em; }

.contact-aside > * + * { margin-top: var(--s5); }
.contact-line { display: flex; gap: var(--s3); align-items: flex-start; }
.contact-line svg { width: 20px; height: 20px; color: var(--sage); flex: none; margin-top: .3em; }
.contact-line b { display: block; }
.contact-line span { color: var(--muted); font-size: 1rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink); color: #E7EEE9;
  padding-block: var(--s7) var(--s6); margin-bottom: 0;
}
.site-footer a { color: #E7EEE9; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: var(--s6); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer h2, .site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: var(--s3); }
.site-footer p, .site-footer li { color: #C9D6CE; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: var(--s1); }
.site-footer ul li { display: flex; align-items: center; min-height: 40px; }
.site-footer ul a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 30px; }
/* פירורי לחם — לפחות 24px לפי WCAG 2.5.8 */
nav[aria-label="מיקום בתוך האתר"] a { display: inline-flex; align-items: center; min-height: 28px; }
.footer-bottom {
  margin-top: var(--s6); padding-top: var(--s5);
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5);
  font-size: .95rem; color: #C9D6CE;
}

/* ---------- סרגל דביק במובייל ---------- */
.mobile-bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2);
  padding: var(--s2) var(--s3) calc(var(--s2) + env(safe-area-inset-bottom));
  background: var(--ground);
  border-top: 1px solid var(--line);
  box-shadow: 0 -2px 14px rgba(36,53,47,.08);
}
.mobile-bar .btn { min-height: 50px; font-size: 1rem; padding-inline: var(--s3); }
@media (min-width: 900px) { .mobile-bar { display: none; } }
/* רק בעמודים שבהם יש סרגל דביק — אחרת נוצר פס קרם מתחת לפוטר. */
@media (max-width: 899px) { body:has(.mobile-bar) { padding-bottom: 84px; } }

/* ---------- דפי תוכן (פרטיות / נגישות) ---------- */
.doc { max-width: 46rem; }
.doc h2 { margin-top: var(--s7); margin-bottom: var(--s3); }
.doc h3 { margin-top: var(--s5); margin-bottom: var(--s2); }
.doc p, .doc li { color: var(--ink); }
.doc ul, .doc ol { padding-inline-start: var(--s5); display: grid; gap: var(--s2); }
.doc > p + p { margin-top: var(--s3); }
.doc .updated { color: var(--muted); font-size: 1rem; }
.doc table { width: 100%; border-collapse: collapse; margin-top: var(--s4); }
.doc th, .doc td { text-align: start; padding: var(--s3); border: 1px solid var(--line); font-size: 1rem; }
.doc th { background: var(--surface); font-weight: 700; }

/* ---------- כרטיס פרטי הקבוצה ---------- */
.facts { list-style: none; padding: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
@media (min-width: 700px) { .facts { grid-template-columns: 1fr 1fr; } }
.facts li { display: flex; gap: var(--s3); padding: var(--s4) var(--s5); border-bottom: 1px solid var(--line); align-items: baseline; justify-content: space-between; }
.facts li:last-child { border-bottom: 0; }
@media (min-width: 700px) { .facts li:nth-child(odd) { border-inline-end: 1px solid var(--line); } }
.facts dt, .facts .k { color: var(--muted); font-size: 1rem; min-width: 8.5rem; }
.facts .v { font-weight: 700; }

/* אנימציית החשיפה הוסרה במכוון.
   היא גרמה לתוכן להופיע סעיף-סעיף תוך כדי גלילה, מה שהרגיש
   כמו גלילה "בקטעים" במקום גלילה רציפה. */

/* ---------- הדפסה ---------- */
@media print {
  .site-header, .mobile-bar, .hero-actions, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}
