/* ============================================================
   main.css — מערכת העיצוב של האתר הארגוני
   "עולי הרגלים לרווחת עולי הרגל בע"מ (חל"צ)"

   שפה חזותית: כחול ירושלמי עמוק · זהב חם במינון · אבן ירושלמית ·
   לבן שבור. הזהב הוא *דגש*, לא משטח: קריאות לפעולה, קווים, מספרים
   וסמלים בלבד.

   הקובץ מוגש לכל דפי האתר הארגוני (partials/main-head): הבית, אודות,
   שירותים, הטבות, התנדבות, מפה והמסמכים המשפטיים. שינוי כאן משנה את
   כולם — זו הנקודה. אין להוסיף "תיקון נקודתי" לעמוד יחיד; אם חסר
   רכיב, מוסיפים אותו כאן כרכיב.

   RTL · Mobile First · WCAG AA.
   ============================================================ */

@font-face {
  font-family: 'HarovaHayehudi';
  src: url('/public/fonts/harova-hayehudi.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'BAPlatforma';
  src: url('/public/fonts/platforma-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'BAPlatforma';
  src: url('/public/fonts/platforma-bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'BAPlatforma';
  src: url('/public/fonts/platforma-black.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap;
}

/* ============================================================
   1. TOKENS
   ============================================================ */
:root {
  /* --- כחול ירושלמי --- */
  --navy: #123a6b;
  --navy-dark: #0c2748;
  --navy-deep: #08182f;          /* רצועות כהות מלאות */
  --navy-tint: rgba(18, 58, 107, .07);
  --navy-tint-2: rgba(18, 58, 107, .13);

  /* --- זהב חם. gold-ink הוא הגרסה היחידה שמותרת לטקסט על רקע בהיר --- */
  --gold: #c9973f;
  --gold-warm: #ddb96e;
  --gold-dark: #ad7f2c;
  --gold-ink: #86611a;
  --gold-line: rgba(201, 151, 63, .45);

  /* --- אבן ולבן שבור --- */
  --stone: #e7dcc7;
  --stone-2: #dbcbae;
  --cream: #faf7f0;
  --cream-2: #f3ece0;
  --card: #ffffff;

  --ink: #1e2635;
  --muted: #5a6478;
  --line: #e5ddcd;

  --radius: 18px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px rgba(12, 39, 72, .10);
  --shadow-soft: 0 4px 18px rgba(12, 39, 72, .07);
  --shadow-lift: 0 18px 44px rgba(12, 39, 72, .16);

  --tap: 44px;
  --wrap: 1180px;
  --measure: 62ch;               /* רוחב שורה מרבי לטקסט רץ */

  --font: 'BAPlatforma', 'Heebo', system-ui, -apple-system, 'Segoe UI', 'Arial Hebrew', Arial, sans-serif;
  --font-display: 'HarovaHayehudi', 'Frank Ruhl Libre', Georgia, serif;

  --ease: cubic-bezier(.22, .61, .36, 1);

  /* מרקם נייר/אבן — feTurbulence מוטבע, בלי קובץ ובלי בקשת רשת */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

/* ============================================================
   2. BASE
   ============================================================ */
* { box-sizing: border-box; }
html { font-size: 17px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.62;
  font-size: 1.12rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* גרעין עדין על כל הדף — נותן לנייר גוף בלי להכביד על הרינדור */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0;
  background-image: var(--grain);
  pointer-events: none; opacity: .55;
}
body > * { position: relative; z-index: 1; }

h1, h2, h3, h4 { line-height: 1.16; margin: 0 0 .45em; color: var(--navy); text-wrap: balance; }
p { margin: 0 0 1em; }
img, svg { max-width: 100%; }
a { color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }

/* עוגן שנוחת מתחת לסרגל הדביק — בלי זה כותרת הסקשן מסתתרת מאחוריו
   בכל לחיצה על #services / #faq / #join */
:target, section[id], main [id] { scroll-margin-top: 96px; }
@media (max-width: 900px) { :target, section[id], main [id] { scroll-margin-top: 80px; } }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- כותרת סקשן ---------- */
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 2.9rem);
  display: flex; align-items: center; gap: 12px;
}
.section-title .title-icon { color: var(--gold-ink); display: inline-flex; flex: none; }

/* אייצ' עם קו זהב קצר מתחת — חתימה חוזרת של המותג */
.section-head { margin-bottom: 26px; }
.section-head .section-title { margin-bottom: .3em; }
.section-head::after {
  content: ''; display: block; width: 64px; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
}
.m-section-lead {
  color: var(--muted); font-size: 1.14rem;
  max-width: var(--measure); margin: 0;
}

/* ---------- קצב עמוד: רצועות מתחלפות ---------- */
.band-stone { background: linear-gradient(180deg, var(--cream), var(--cream-2) 40%, var(--cream)); }
.band-navy { background: linear-gradient(155deg, var(--navy), var(--navy-dark) 70%, var(--navy-deep)); color: #fff; }
.band-navy h2, .band-navy h3 { color: #fff; }

/* מפריד קשתות ירושלמיות — מוטיב דקורטיבי בין רצועות */
.arches {
  display: block; width: 100%; height: 26px;
  color: var(--gold-line); opacity: .55;
}

/* ============================================================
   3. כפתורים
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: var(--tap); padding: 12px 26px;
  font: inherit; font-weight: 800; font-size: 1.05rem;
  border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; text-align: center;
  transition: transform .12s var(--ease), background-color .18s var(--ease),
              box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .btn-arrow { flex: none; transition: transform .18s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(-3px); }   /* RTL: החץ פונה שמאלה */

/* כחול על זהב — 5.6:1. לבן על זהב נכשל (2.4:1) ואסור. */
.btn-gold {
  background: linear-gradient(160deg, var(--gold-warm), var(--gold));
  color: var(--navy-dark);
  box-shadow: 0 6px 20px rgba(201, 151, 63, .38);
}
.btn-gold:hover { background: linear-gradient(160deg, var(--gold), var(--gold-dark)); box-shadow: 0 10px 26px rgba(201, 151, 63, .46); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-outline { background: transparent; color: var(--navy); border-color: rgba(18, 58, 107, .35); }
.btn-outline:hover { background: var(--navy-tint); border-color: var(--navy); }
/* על רקע כהה (hero / רצועה כחולה) */
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .5); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .2); border-color: #fff; }
.btn-lg { font-size: 1.16rem; padding: 15px 34px; min-height: 54px; }
.btn-sm { font-size: .98rem; padding: 8px 18px; min-height: 40px; }

/* ============================================================
   4. HEADER — לוגו גדול, ניווט מצומצם, CTA קבוע
   ============================================================ */
.m-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 247, 240, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.m-header.is-stuck { box-shadow: 0 4px 20px rgba(12, 39, 72, .10); background: rgba(250, 247, 240, .97); }
.m-header-inner {
  display: flex; align-items: center; gap: 14px;
  min-height: 84px; padding-block: 10px;
  transition: min-height .25s var(--ease);
}
.m-header.is-stuck .m-header-inner { min-height: 66px; }

.m-brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--navy); font-weight: 900; flex: none;
}
.m-brand img {
  width: 62px; height: 62px; object-fit: contain;
  transition: width .25s var(--ease), height .25s var(--ease);
}
.m-header.is-stuck .m-brand img { width: 48px; height: 48px; }
.m-brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.m-brand-name strong {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.5rem; letter-spacing: .01em; color: var(--navy);
}
.m-brand-name small { font-weight: 400; color: var(--muted); font-size: .88rem; }

.m-nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
/* :not(.btn) חובה — `.m-nav > a` ספציפי יותר מ-`.btn-gold`, ובלעדיו כפתור
   ה-CTA בסרגל היה מאבד את הזהב והופך לקישור לבן. */
.m-nav > a:not(.btn), .m-nav-more > button {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: var(--tap); padding: 8px 13px;
  color: var(--navy); text-decoration: none; font-weight: 700; font-size: 1.02rem;
  border-radius: 999px; border: 0; background: transparent;
  font-family: inherit; cursor: pointer; white-space: nowrap;
}
.m-nav > a:not(.btn):hover, .m-nav-more > button:hover { background: var(--navy-tint); }
.m-nav > a:not(.btn)[aria-current="page"] { color: var(--gold-ink); }
.m-nav > a[aria-current="page"]::after {
  content: ''; position: absolute; margin-top: 2.1em;
  width: 18px; height: 3px; border-radius: 2px; background: var(--gold);
}

/* תפריט "עוד" — שאר הקישורים, כדי שהשורה תישאר נקייה */
.m-nav-more { position: relative; }
.m-nav-more > button .chev { transition: transform .18s var(--ease); }
.m-nav-more[data-open="true"] > button .chev { transform: rotate(180deg); }
.m-nav-more-panel {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0;
  min-width: 210px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lift);
  display: none; flex-direction: column;
}
.m-nav-more[data-open="true"] .m-nav-more-panel { display: flex; }
.m-nav-more-panel a {
  display: flex; align-items: center; min-height: var(--tap); padding: 6px 14px;
  color: var(--navy); text-decoration: none; font-weight: 700; font-size: 1rem;
  border-radius: 10px; white-space: nowrap;
}
.m-nav-more-panel a:hover { background: var(--navy-tint); }

.m-nav .btn { margin-inline-start: 10px; }

.m-nav-toggle {
  display: none;
  margin-inline-start: auto;
  width: var(--tap); height: var(--tap);
  border: 1px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--navy); cursor: pointer;
  align-items: center; justify-content: center;
}

@media (max-width: 1040px) {
  .m-nav > a:not(.btn), .m-nav-more > button { padding: 8px 10px; font-size: .98rem; }
  .m-brand-name strong { font-size: 1.3rem; }
}
@media (max-width: 900px) {
  .m-nav-toggle { display: inline-flex; }
  .m-header-inner { min-height: 70px; }
  .m-brand img { width: 50px; height: 50px; }
  .m-brand-name strong { font-size: 1.22rem; }
  .m-brand-name small { display: none; }
  .m-nav {
    display: none;
    position: absolute; inset-inline: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 16px calc(18px + env(safe-area-inset-bottom, 0px));
    box-shadow: var(--shadow-lift);
    max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .m-nav.open { display: flex; }
  .m-nav > a:not(.btn) { min-height: 50px; font-size: 1.1rem; border-radius: 12px; }
  .m-nav .btn { width: 100%; min-height: 52px; font-size: 1.08rem; }
  .m-nav > a[aria-current="page"]::after { display: none; }
  .m-nav .btn { margin: 10px 0 0; }
  /* במובייל אין "עוד" — כל הקישורים פרושים */
  .m-nav-more { display: contents; }
  .m-nav-more > button { display: none; }
  .m-nav-more-panel {
    position: static; display: flex; min-width: 0; padding: 0;
    border: 0; box-shadow: none; background: transparent;
    border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px;
  }
  .m-nav-more-panel a { min-height: 50px; font-size: 1.1rem; padding-inline: 13px; }
}

/* ============================================================
   5. HERO — צילום מלא-רוחב, כותרת כרגע המרכזי
   ============================================================ */
.m-hero {
  position: relative;
  min-height: clamp(520px, 78vh, 760px);
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--navy-deep);
  isolation: isolate;
}
.m-hero-media { position: absolute; inset: 0; margin: 0; z-index: -2; }
.m-hero-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  /* דירוג צבע אחיד לכל תמונות האתר: חום-זהוב, ניגודיות מעט מוגברת */
  filter: saturate(1.06) contrast(1.05) brightness(.94) sepia(.12);
}
/* שכבת קריאות: כהה מלמטה, וגוון כחול-זהב שמאחד את הצילום עם הפלטה */
.m-hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(8, 24, 47, .93) 0%, rgba(8, 24, 47, .78) 26%, rgba(8, 24, 47, .30) 58%, rgba(8, 24, 47, .42) 100%),
    linear-gradient(120deg, rgba(18, 58, 107, .45), rgba(201, 151, 63, .18));
}
.m-hero-inner { position: relative; padding-block: 56px 40px; width: 100%; }
.m-hero-copy { max-width: 20ch; }

.m-hero .kicker {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--gold-warm); font-weight: 700; font-size: 1.02rem;
  letter-spacing: .06em; margin: 0 0 14px;
  text-transform: none;
}
.m-hero .kicker::after {
  content: ''; width: 46px; height: 1px; background: var(--gold-line);
}
.m-hero-title {
  font-family: var(--font-display); font-weight: 400; color: #fff;
  font-size: clamp(3.1rem, 8.4vw, 6.2rem);
  line-height: 1.02; letter-spacing: .005em;
  margin: 0 0 .28em;
  text-shadow: 0 2px 30px rgba(8, 24, 47, .55);
}
.m-hero-sub {
  font-size: clamp(1.1rem, 2.4vw, 1.38rem);
  color: rgba(255, 255, 255, .9);
  max-width: 46ch; margin: 0 0 26px;
  text-shadow: 0 1px 12px rgba(8, 24, 47, .5);
}
.m-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
/* שורת אמון — עובדות בלבד */
.m-hero-trust {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  margin: 24px 0 0; padding: 0; list-style: none;
  color: rgba(255, 255, 255, .8); font-size: .99rem; font-weight: 700;
}
.m-hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.m-hero-trust svg { color: var(--gold-warm); flex: none; }

@media (max-width: 860px) {
  .m-hero { min-height: clamp(480px, 74vh, 620px); }
  .m-hero-copy { max-width: none; }
  .m-hero-inner { padding-block: 40px 34px; }
  .m-hero-actions .btn { flex: 1 1 200px; }
  .m-hero-trust { gap: 6px 16px; font-size: .93rem; }
}

/* ============================================================
   6. רצועת מספרים חיים — נתוני אמת מהמערכת בלבד
   ============================================================ */
.m-stats {
  background: var(--navy-deep); color: #fff;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-block: 26px;
}
.m-stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; align-items: center;
}
.m-stat { text-align: center; padding-inline: 10px; }
.m-stat + .m-stat { border-inline-start: 1px solid rgba(255, 255, 255, .14); }
.m-stat-num {
  display: block; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 3.4rem); line-height: 1;
  color: var(--gold-warm);
  font-variant-numeric: tabular-nums;
}
.m-stat-label { display: block; margin-top: 6px; font-size: 1rem; color: rgba(255, 255, 255, .8); }

/* מד מייסדים — מוצג רק כשהמערכת עדיין במצב founders */
.m-founders { margin-top: 22px; max-width: 620px; margin-inline: auto; text-align: center; }
.m-founders-bar {
  height: 10px; border-radius: 999px; overflow: hidden;
  background: rgba(255, 255, 255, .16);
}
.m-founders-fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-warm));
  box-shadow: 0 0 16px rgba(221, 185, 110, .5);
}
.m-founders-note { margin: 10px 0 0; font-size: .99rem; color: rgba(255, 255, 255, .78); }

@media (max-width: 620px) {
  .m-stats-grid { grid-template-columns: 1fr; gap: 4px; }
  .m-stat { display: flex; align-items: baseline; justify-content: center; gap: 10px; padding-block: 6px; }
  .m-stat + .m-stat { border-inline-start: 0; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 12px; margin-top: 6px; }
  .m-stat-num { font-size: 2.2rem; }
  .m-stat-label { margin-top: 0; }
}

/* ============================================================
   7. הבטחות ערך — רצועה שקטה מתחת למספרים
   ============================================================ */
.m-features { padding-block: 34px 6px; }
.m-features-card {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 10px 18px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-soft);
  padding: 22px 26px;
}
.m-feature {
  display: flex; align-items: center; gap: 13px;
  min-height: var(--tap);
  text-decoration: none; color: inherit;
  border-radius: 14px; padding: 6px 8px;
  transition: background-color .18s var(--ease);
}
a.m-feature:hover { background: var(--navy-tint); }
.m-feature-icon {
  flex: none; width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(150deg, var(--cream-2), var(--stone));
  color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(201, 151, 63, .25);
}
.m-feature strong { display: block; color: var(--navy); font-size: 1.06rem; line-height: 1.25; }
.m-feature > span > span { display: block; color: var(--muted); font-size: .94rem; line-height: 1.32; }

@media (max-width: 1000px) { .m-features-card { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .m-features { padding-top: 26px; }
  .m-features-card { grid-template-columns: 1fr; padding: 16px 18px; border-radius: 22px; }
}

/* ============================================================
   8. FOOTER — עמודות מקובצות
   ============================================================ */
.m-footer {
  background: var(--navy-deep); color: rgba(255, 255, 255, .82);
  padding-block: 46px calc(26px + env(safe-area-inset-bottom, 0px));
  margin-top: 0;
}
.m-footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 30px 26px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.m-footer-about { max-width: 34ch; }
.m-footer-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; text-decoration: none; }
.m-footer-brand img { width: 52px; height: 52px; object-fit: contain; }
.m-footer-brand span {
  font-family: var(--font-display); font-weight: 400; font-size: 1.34rem; color: #fff;
}
.m-footer-desc { margin: 14px 0 0; font-size: 1rem; color: rgba(255, 255, 255, .68); line-height: 1.55; }
.m-footer-col h3 {
  color: var(--gold-warm); font-family: var(--font); font-weight: 800;
  font-size: .92rem; letter-spacing: .09em; margin: 0 0 10px;
}
.m-footer-col nav { display: flex; flex-direction: column; }
.m-footer-col a {
  display: inline-flex; align-items: center; min-height: var(--tap);
  color: rgba(255, 255, 255, .8); text-decoration: none; font-size: 1.01rem;
  border-radius: 8px; padding-inline: 4px;
}
.m-footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.m-footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px;
  padding-top: 22px;
}
.m-footer-credit { margin: 0; color: rgba(255, 255, 255, .55); font-size: .94rem; }
.m-footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; margin-inline-start: auto; font-size: .94rem; }
.m-footer-legal a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 4px 8px;
  color: rgba(255, 255, 255, .62); text-decoration: underline; text-underline-offset: 3px; border-radius: 8px;
}
.m-footer-legal a:hover { color: #fff; }
.m-footer-legal span { color: rgba(255, 255, 255, .3); }
.m-footer .lang-note { width: 100%; margin: 6px 0 0; color: rgba(255, 255, 255, .5); font-size: .9rem; }

@media (max-width: 900px) {
  .m-footer-top { grid-template-columns: 1fr 1fr; }
  .m-footer-about { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 520px) {
  .m-footer-top { grid-template-columns: 1fr; gap: 22px; }
  .m-footer-legal { margin-inline-start: 0; }
}

/* ============================================================
   9. נגישות
   ט"י 5568 / WCAG 2.0 AA:
   · 2.4.1 Bypass Blocks — קישור דילוג שנחשף במיקוד.
   · 2.3.3 Animation from Interactions — כיבוד prefers-reduced-motion.
   ============================================================ */
.skip-link {
  position: absolute; inset-inline-start: -9999px; top: 0; z-index: 1000;
  background: var(--navy); color: #fff; padding: 12px 22px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700; text-decoration: none; box-shadow: var(--shadow);
}
.skip-link:focus { inset-inline-start: 12px; }

/* הופעה רכה בגלילה — עדינה, ומתבטלת לגמרי בהעדפת תנועה מופחתת */
/* ⚠️ ההסתרה מותנית ב-.js על <html>: בלי JS (או אם הסקריפט נכשל) התוכן פשוט
   מוצג. אנימציה לא מסתירה תוכן — היא רק מרככת את הופעתו. */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
