/* ===== פדיון הבן – המדריך המלא =====
   סגנון: חוברת מודפסת. נייר בהיר, דיו כהה, קווים דקים, בלי גרדיאנטים ובלי צללים. */

/* ---------- צבעים ופונטים: מוגדרים פעם אחת ---------- */
:root {
  /* ארבעת צבעי הבסיס. אזור הניהול משנה אותם, וכל השאר נגזר מהם */
  --ink: #1A2744;     /* דיו: כחול לילה */
  --blue: #243260;    /* משני: כחול עמוק */
  --yellow: #B8862F;  /* הדגשה: זהב עמום */
  --teal: #7A5618;    /* הדגשה לטקסט על נייר */

  --brand: var(--ink);
  --accent: var(--yellow);
  --accent-2: var(--teal);
  --bg: color-mix(in srgb, var(--yellow) 9%, #fff);        /* נייר */
  --paper-2: color-mix(in srgb, var(--yellow) 17%, #fff);  /* נייר כהה יותר */
  --card: #FFFDF9;
  --text: color-mix(in srgb, var(--ink) 94%, #000);
  --muted: color-mix(in srgb, var(--ink) 68%, #fff);
  --line: color-mix(in srgb, var(--ink) 18%, transparent);
  --line-strong: var(--ink);
  --on-dark: rgb(255 255 255 / .78);
  --wa: #17783F;

  --font-head: 'Suez One', 'Heebo', Arial, sans-serif;
  --font-body: 'Heebo', Arial, sans-serif;
  --r: 4px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-synthesis: none; font-family: var(--font-body); font-size: 18px; line-height: 1.7; color: var(--text); background: var(--bg); overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 1.2; text-wrap: balance; color: var(--ink); }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }
.icon { width: 20px; height: 20px; flex: none; }
.wave, .dots, .cta__outline { display: none; }

/* ---------- כפתורים: שטוחים ומלבניים ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border: 1.5px solid var(--ink); border-radius: var(--r); font: inherit; font-weight: 700; font-size: 17px; line-height: 1.3; cursor: pointer; transition: background .15s ease, color .15s ease; }
.btn--gold, .btn--ink { color: #fff; background: var(--ink); }
.btn--gold:hover, .btn--ink:hover { background: var(--blue); }
.btn--ghost-dark { color: var(--ink); background: transparent; }
.btn--ghost-dark:hover { background: var(--paper-2); }
.btn--wa { color: var(--wa); border-color: var(--wa); background: transparent; }
.btn--wa:hover { color: #fff; background: var(--wa); }
.btn--sm { min-height: 44px; padding: 8px 16px; font-size: 16px; }
.btn--lg { min-height: 54px; padding: 13px 28px; }

/* ---------- תפריט עליון ---------- */
.nav-wrap { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line-strong); }
.nav { position: relative; width: min(1080px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1.5px solid var(--ink); border-radius: 50%; color: var(--ink); }
.logo__mark svg { width: 22px; height: 22px; }
.logo__text { display: grid; font-family: var(--font-head); font-weight: 900; font-size: 22px; line-height: 1.05; color: var(--ink); }
.logo__text small { font-family: var(--font-body); font-weight: 500; font-size: 14px; color: var(--muted); }
.logo__img { height: 42px; width: auto; max-width: 170px; object-fit: contain; }
.logo--has-img .logo__mark, .logo--has-img .logo__text { display: none; }
.logo--light .logo__text { color: #fff; }
.logo--light .logo__text small { color: var(--on-dark); }
.logo--light .logo__mark { border-color: #fff; color: #fff; }
.nav__links { display: none; gap: 18px; }
.nav__links a { padding: 10px 0; font-size: 17px; font-weight: 500; color: var(--ink); border-bottom: 2px solid transparent; }
.nav__links a:hover { border-bottom-color: var(--accent); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__lang { display: grid; place-items: center; min-width: 44px; min-height: 44px; font-weight: 700; font-size: 16px; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.nav__cta { display: none; }
.nav__toggle { display: grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid var(--ink); border-radius: var(--r); color: var(--ink); background: transparent; cursor: pointer; }
.nav__toggle svg { width: 24px; height: 24px; }
.nav--open .nav__links { display: grid; gap: 0; position: absolute; inset: 100% -20px auto -20px; padding: 6px 20px 14px; background: var(--bg); border-bottom: 1px solid var(--line-strong); }
.nav--open .nav__links a { padding: 14px 0; font-size: 19px; border-bottom: 1px solid var(--line); }

/* ---------- פתיחה: כותרת ומחשבון ---------- */
.hero { padding: 44px 0 56px; border-bottom: 1px solid var(--line-strong); }
.hero__grid { display: grid; gap: 40px; align-items: start; }
.kicker, .eyebrow { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 700; letter-spacing: .04em; color: var(--accent-2); }
.kicker::before, .eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--accent); flex: none; }
.hero__title { margin-top: 18px; font-weight: 900; font-size: clamp(42px, 8vw, 80px); line-height: 1.08; }
.hero__title em, .title em { font-style: normal; color: var(--ink); background: linear-gradient(transparent 62%, color-mix(in srgb, var(--accent) 45%, transparent) 62% 92%, transparent 92%); }
.hero__sub { margin-top: 22px; max-width: 30em; font-size: 20px; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
.hero__ticks { display: none; margin-top: 34px; border-top: 1px solid var(--line); }
.hero__ticks li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 500; color: var(--ink); }
.hero__ticks li::before { content: "—"; margin-inline-end: 10px; color: var(--accent); }

/* המחשבון: נראה כמו דף חשבון מודפס */
.calc { padding: 26px 22px 22px; background: var(--card); border: 1.5px solid var(--ink); border-radius: var(--r); outline: 1px solid var(--ink); outline-offset: 5px; margin: 6px; }
.calc__kicker { font-size: 16px; font-weight: 700; letter-spacing: .04em; color: var(--accent-2); }
.calc__title { margin-top: 6px; font-size: clamp(26px, 4.4vw, 34px); font-weight: 900; }
.ledger { margin-top: 18px; }
.ledger > div { display: flex; align-items: baseline; gap: 10px; padding: 10px 0; border-bottom: 1px dotted var(--muted); font-size: 17px; }
.ledger dt { color: var(--muted); }
.ledger dd { margin-inline-start: auto; font-weight: 700; color: var(--ink); white-space: nowrap; }
.ledger .ledger__total { align-items: center; padding: 16px 0 14px; border-bottom: 3px double var(--ink); }
.ledger .ledger__total dt { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--ink); }
.ledger .ledger__total dd { font-family: var(--font-head); font-weight: 900; font-size: clamp(46px, 11vw, 66px); line-height: 1; }
/* המספר והסימן הם שני פריטים נפרדים, כדי שבעברית סימן השקל יעמוד משמאל למספר */
.ledger .ledger__total dd { display: flex; align-items: baseline; gap: 8px; }
.ledger .ledger__total dd small { font-size: .45em; color: var(--accent-2); }
.ledger .ledger__total:has(+ .ledger__total) { border-bottom: 1px dotted var(--muted); }
.ledger .ledger__total--second dd { font-size: clamp(30px, 6vw, 40px); }
[dir="ltr"] .ledger .ledger__total dd { gap: 4px; }
[dir="ltr"] .ledger .ledger__total dd small { font-size: .6em; }
.calc__time { display: block; margin-top: 10px; font-size: 16px; color: var(--muted); }
.calc__label { display: block; margin-top: 20px; font-weight: 700; font-size: 17px; color: var(--ink); }
.calc__weights { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 10px; border: 1.5px solid var(--ink); border-radius: var(--r); overflow: hidden; }
.chip { position: relative; cursor: pointer; }
.chip + .chip { border-inline-start: 1.5px solid var(--ink); }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: grid; place-items: center; min-height: 48px; padding: 8px 6px; font-weight: 700; font-size: 16px; color: var(--ink); text-align: center; }
.chip input:checked + span { color: #fff; background: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: -4px; }
.calc__hint { margin-top: 10px; font-size: 16px; color: var(--muted); }
.calc__btn { width: 100%; margin-top: 18px; text-align: center; }
.calc__btn:disabled { opacity: .6; cursor: wait; }
.calc__status { display: block; min-height: 1.6em; margin-top: 8px; font-size: 16px; font-weight: 500; color: var(--accent-2); }
.calc__note { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.55; color: var(--muted); }

/* ---------- מחשבון תאריך הפדיון: לוח שנה עברי ולועזי ---------- */
.when { display: grid; gap: 30px; align-items: start; }
.cal { padding: 16px 14px; background: var(--card); border: 1.5px solid var(--ink); border-radius: var(--r); }
.cal__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 8px; padding-bottom: 12px; border-bottom: 3px double var(--ink); }
.cal__title { order: -1; flex: 1 0 100%; text-align: center; font-family: var(--font-head); font-weight: 400; font-size: 20px; line-height: 1.25; color: var(--ink); }
.cal__nav { min-height: 44px; padding: 6px 10px; border: 1.5px solid var(--ink); border-radius: var(--r); font: inherit; font-size: 16px; font-weight: 700; color: var(--ink); background: transparent; cursor: pointer; }
.cal__nav:hover { background: var(--paper-2); }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__dow { margin: 12px 0 6px; font-size: 16px; font-weight: 700; text-align: center; color: var(--accent-2); }
.cal__day { display: grid; align-content: center; justify-items: center; gap: 1px; min-height: 56px; padding: 4px 2px; border: 1px solid var(--line); border-radius: var(--r); font: inherit; color: var(--ink); background: #fff; cursor: pointer; }
.cal__day b { font-size: 18px; font-weight: 700; line-height: 1.1; }
.cal__day small { font-size: 13px; line-height: 1.15; color: var(--muted); white-space: nowrap; }
.cal__day:hover { border-color: var(--ink); }
.cal__day--shabbat { background: var(--bg); }
.cal__day--today { border: 2px solid var(--accent); }
.cal__day--picked, .cal__day--picked small { color: #fff; }
.cal__day--picked { background: var(--ink); border-color: var(--ink); }
.cal__day--pidyon { background: color-mix(in srgb, var(--accent) 38%, #fff); border: 2px solid var(--ink); }
.cal__blank { min-height: 56px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 48px; font-weight: 700; font-size: 18px; color: var(--ink); cursor: pointer; }
.check input { width: 24px; height: 24px; accent-color: var(--ink); flex: none; }
.when__place { margin-top: 18px; }
.when__result { margin-top: 22px; padding: 22px 20px; background: var(--card); border: 1.5px solid var(--ink); border-radius: var(--r); outline: 1px solid var(--ink); outline-offset: 5px; }
.when__result p { color: var(--muted); }
.when__result .when__label { font-size: 16px; font-weight: 700; letter-spacing: .04em; color: var(--accent-2); }
.when__result .when__date { margin-top: 6px; font-family: var(--font-head); font-size: clamp(26px, 4.6vw, 36px); line-height: 1.2; color: var(--ink); }
.when__result .when__heb { margin-top: 4px; font-size: 22px; font-weight: 700; color: var(--ink); }
.when__result .when__why { margin-top: 14px; padding-top: 12px; border-top: 1px dotted var(--muted); font-size: 17px; }
.when .calc__note { margin-top: 20px; }
@media (min-width: 900px) {
  .when { grid-template-columns: 1.05fr .95fr; gap: 48px; }
  .cal { padding: 22px 20px; }
  .cal__day { min-height: 64px; }
  .cal__title { order: 0; flex: 1; font-size: 22px; }
}

/* ---------- מקטעים וכותרות ---------- */
.section { position: relative; padding: 72px 0; border-bottom: 1px solid var(--line-strong); }
.section--white { background: var(--card); }
.head { max-width: 760px; margin-bottom: 40px; }
.head--center { margin-inline: 0; text-align: start; }
.title { margin-top: 14px; font-weight: 900; font-size: clamp(34px, 5.4vw, 56px); line-height: 1.08; }
.head__sub { margin-top: 16px; font-size: 20px; color: var(--muted); }
.dark .eyebrow { color: color-mix(in srgb, var(--accent) 60%, #fff); }
.dark .title { color: #fff; }
.dark .title em { color: #fff; background: linear-gradient(transparent 62%, color-mix(in srgb, var(--accent) 75%, transparent) 62% 92%, transparent 92%); }
.dark .head__sub { color: var(--on-dark); }

/* ---------- מה זה ---------- */
.about { display: grid; gap: 44px; align-items: start; }
.about__text p { margin-bottom: 18px; color: var(--text); }
.about__text p.lead-p { font-weight: 500; font-size: 23px; line-height: 1.5; color: var(--ink); }
.verse { margin: 30px 0; padding: 6px 22px 6px 0; border-inline-start: 3px solid var(--accent); font-weight: 500; font-size: clamp(22px, 3vw, 27px); line-height: 1.7; color: var(--ink); }
[dir="ltr"] .verse { padding: 6px 0 6px 22px; }
.verse cite { display: block; margin-top: 10px; font-family: var(--font-body); font-style: normal; font-weight: 700; font-size: 16px; color: var(--accent-2); }
.facts { padding: 26px 24px; background: var(--bg); border: 1.5px solid var(--ink); border-radius: var(--r); }
.facts h3 { padding-bottom: 12px; border-bottom: 3px double var(--ink); font-size: 26px; font-weight: 900; }
.facts dl > div { display: grid; grid-template-columns: 5.2em 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { font-weight: 700; color: var(--accent-2); }
.facts dd { color: var(--ink); }

/* ---------- סרטונים: נטענים מיוטיוב רק אחרי לחיצה ---------- */
.videos { grid-column: 1 / -1; margin-top: 12px; padding-top: 30px; border-top: 1px solid var(--line-strong); }
.videos__title { font-size: 26px; margin-bottom: 18px; }
.videos__grid { display: grid; gap: 22px; }
.video { margin: 0; }
.video__play, .video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 1.5px solid var(--ink); border-radius: var(--r); background: var(--ink); }
.video__play { position: relative; padding: 0; overflow: hidden; cursor: pointer; }
.video__play img { width: 100%; height: 100%; object-fit: cover; opacity: .86; transition: opacity .15s ease; }
.video__play:hover img { opacity: 1; }
.video__icon { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; color: #fff; background: var(--ink); border: 2px solid #fff; }
.video__icon svg { width: 32px; height: 32px; }
.video figcaption { display: grid; gap: 2px; margin-top: 10px; }
.video figcaption strong { font-family: var(--font-head); font-weight: 400; font-size: 21px; color: var(--ink); }
.video figcaption span { font-size: 16px; color: var(--muted); }
.videos__note { margin-top: 16px; font-size: 16px; color: var(--muted); }

/* ---------- רשימת הכנות ---------- */
.prep { display: grid; gap: 34px; }
.prep__group h3 { padding-bottom: 10px; border-bottom: 3px double var(--ink); font-size: 26px; }
.prep__group li { position: relative; padding: 13px 0; padding-inline-start: 34px; border-bottom: 1px solid var(--line); color: var(--text); }
.prep__group li::before { content: ""; position: absolute; inset-inline-start: 0; top: 17px; width: 18px; height: 18px; border: 1.5px solid var(--ink); border-radius: 3px; background: #fff; }
@media (min-width: 720px) {
  .videos__grid { grid-template-columns: repeat(2, 1fr); }
  .prep { grid-template-columns: repeat(2, 1fr); column-gap: 56px; }
}

/* ---------- הלכות: רשימה ממוספרת, לא כרטיסים ---------- */
.rules { display: grid; border-top: 1.5px solid var(--ink); }
.rule { display: grid; grid-template-columns: 54px 1fr; column-gap: 14px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.rule__num { grid-row: span 2; font-family: var(--font-head); font-weight: 900; font-size: 46px; line-height: 1; color: var(--accent); }
.rule h3 { font-size: 24px; margin-bottom: 6px; }
.rule p { grid-column: 2; color: var(--muted); }

/* ---------- סדר הטקס ---------- */
.ceremony { position: relative; padding: 76px 0; background: var(--ink); }
.steps { display: grid; border-top: 1px solid rgb(255 255 255 / .35); }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; padding: 26px 0; border-bottom: 1px solid rgb(255 255 255 / .18); }
.step__num { font-family: var(--font-head); font-weight: 900; font-size: 40px; line-height: 1; color: color-mix(in srgb, var(--accent) 70%, #fff); }
.step h3 { font-size: 24px; color: #fff; margin-bottom: 6px; }
.step p { color: var(--on-dark); }

/* ---------- כהנים: רשימה כמו ספר טלפונים ---------- */
.kohanim { display: grid; border-top: 1.5px solid var(--ink); }
.kohen { display: grid; gap: 4px 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.kohen:has(.kohen__name:empty) { display: none; }
.kohen__avatar { display: none; }
.kohen__name { font-size: 26px; font-weight: 700; }
.kohen__area { display: flex; align-items: center; gap: 6px; font-size: 17px; color: var(--accent-2); font-weight: 500; }
.kohen__area:not(:has(span:not(:empty))), .kohen__note:empty, .kohen__phone:has(span:empty) { display: none; }
/* בעמוד באנגלית: שם ואזור מתורגמים, ואם אין תרגום מוצג השם בעברית */
.kohen__name span:not(:empty) + .he-fallback, .kohen__area span:not(:empty) + .he-fallback { display: none; }
.kohen:has(.kohen__name span):not(:has(.kohen__name span:not(:empty))) { display: none; }
.kohen__area .icon { width: 17px; height: 17px; }
.kohen__note { font-size: 16px; color: var(--muted); }
.kohen__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.kohen__phone { direction: ltr; }
.kohen:has(.kohen__phone span:empty) .kohen__wa { display: none; }
.kohanim-empty { display: none; padding: 30px 26px; background: var(--bg); border: 1.5px dashed var(--ink); border-radius: var(--r); }
.kohanim-empty h3 { font-size: 24px; margin-bottom: 8px; }
.kohanim-empty p { color: var(--muted); max-width: 36em; }
.kohanim:not(:has(.kohen__name:not(:empty))) { display: none; }
.kohanim:not(:has(.kohen__name:not(:empty))) + .kohanim-empty { display: block; }
.join { display: grid; gap: 16px; align-items: center; margin-top: 34px; padding: 26px 24px; background: var(--bg); border: 1.5px solid var(--ink); border-radius: var(--r); }
.join h3 { font-size: 24px; }
.join p { color: var(--muted); }
.note { display: flex; gap: 10px; margin-top: 22px; font-size: 16px; color: var(--muted); }
.note .icon { color: var(--accent-2); margin-top: 4px; }

/* ---------- גלריה: מופיעה רק כשיש תמונות ---------- */
.gallery:not(:has(img[src])) { display: none; }
body:not(:has(.gallery img[src])) a[href$="#gallery"] { display: none; }
.gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery__grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line); }
.gallery__grid img:not([src]) { display: none; }

/* ---------- שאלות נפוצות ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq .head { margin-inline: 0; }
.faq details { border-top: 1px solid var(--line-strong); }
.faq details:last-of-type { border-bottom: 1px solid var(--line-strong); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding: 16px 0; font-family: var(--font-head); font-weight: 700; font-size: 22px; line-height: 1.3; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--font-body); font-weight: 400; font-size: 30px; line-height: 1; color: var(--accent-2); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; max-width: 40em; color: var(--muted); }

/* ---------- יצירת קשר ---------- */
.cta { position: relative; padding: 72px 0; background: var(--paper-2); }
.cta__grid { display: grid; gap: 36px; align-items: start; }
.cta__title { font-weight: 900; font-size: clamp(36px, 6vw, 60px); line-height: 1.05; }
.cta__sub { margin-top: 16px; max-width: 26em; font-size: 20px; color: var(--muted); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.lead { position: relative; display: grid; gap: 14px; padding: 26px 22px; background: var(--card); border: 1.5px solid var(--ink); border-radius: var(--r); }
.lead__title { font-size: 26px; font-weight: 900; }
.lead__field { display: grid; gap: 6px; font-size: 16px; font-weight: 700; color: var(--ink); }
.lead__field input, .lead__field select, .lead__field textarea { width: 100%; min-height: 50px; padding: 11px 14px; border: 1.5px solid var(--muted); border-radius: var(--r); background: #fff; font: inherit; font-size: 17px; font-weight: 400; color: var(--ink); }
.lead__field textarea { min-height: 84px; resize: vertical; }
.lead__field input:focus, .lead__field select:focus, .lead__field textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.lead__trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.lead__submit { width: 100%; }
.lead__submit:disabled { opacity: .6; }
.lead__msg { min-height: 1.4em; font-size: 16px; font-weight: 700; color: var(--accent-2); }
.lead__msg--bad { color: #A32012; }
.lead__done { padding: 26px 6px; text-align: center; font-family: var(--font-head); font-weight: 900; font-size: 26px; color: var(--ink); }
.lead__privacy { font-size: 16px; color: var(--muted); }

/* ---------- כותרת תחתונה ---------- */
.footer { padding: 44px 0 100px; color: var(--on-dark); background: var(--ink); }
.footer__grid { display: grid; gap: 26px; }
.footer__line { margin-top: 12px; max-width: 30em; font-size: 16px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 16px; }
.footer__links a { padding: 8px 0; color: #fff; text-decoration: underline; text-decoration-color: rgb(255 255 255 / .35); text-underline-offset: 4px; }
.footer__disclaimer { margin-top: 28px; padding: 16px 0; border-block: 1px solid rgb(255 255 255 / .2); font-size: 16px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 18px; font-size: 16px; }
.footer__admin { opacity: .6; }
.footer__admin:hover { opacity: 1; }

/* ---------- וואטסאפ ---------- */
/* עד שמכניסים מספר וואטסאפ אמיתי באזור הניהול, כפתורי הוואטסאפ הכלליים מוסתרים */
a[href*="wa.me/972500000000"], a[href$="wa.me/972"], a[href*="wa.me/972?"] { display: none !important; }
.wa-float { position: fixed; left: 18px; bottom: 18px; z-index: 60; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: #fff; background: var(--wa); border: 2px solid #fff; }
.wa-float svg { width: 26px; height: 26px; }
[dir="ltr"] .wa-float { left: auto; right: 18px; }

/* ---------- דילוג לתוכן ---------- */
.skip { position: absolute; inset-inline-start: 8px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: var(--r); font-weight: 700; color: #fff; background: var(--ink); }
.skip:focus { top: 8px; }

/* ---------- תוסף נגישות ---------- */
.a11y { position: fixed; right: 18px; bottom: 18px; z-index: 70; }
[dir="ltr"] .a11y { right: auto; left: 18px; }
.a11y__open { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 2px solid #fff; color: #fff; background: var(--ink); cursor: pointer; }
.a11y__open svg { width: 30px; height: 30px; }
.a11y__panel { position: absolute; bottom: 68px; right: 0; display: grid; gap: 8px; width: min(300px, calc(100vw - 36px)); padding: 14px; background: #fff; border: 1.5px solid var(--ink); border-radius: var(--r); }
[dir="ltr"] .a11y__panel { right: auto; left: 0; }
.a11y__head { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-head); font-size: 22px; color: var(--ink); }
.a11y__panel button { min-height: 46px; padding: 8px 14px; border: 1.5px solid var(--ink); border-radius: var(--r); font: inherit; font-size: 17px; font-weight: 700; text-align: start; color: var(--ink); background: #fff; cursor: pointer; }
.a11y__panel button[aria-pressed="true"] { color: #fff; background: var(--ink); }
.a11y__panel .a11y__close { min-height: 44px; width: 44px; padding: 0; text-align: center; font-size: 26px; line-height: 1; }
.a11y__panel a { padding: 8px 2px; font-size: 16px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

html.a11y-contrast { --ink: #000 !important; --blue: #000 !important; --yellow: #5A3D00 !important; --teal: #3D2A00 !important; --bg: #fff !important; --paper-2: #fff !important; --card: #fff !important; --muted: #1F1F1F !important; --text: #000 !important; --on-dark: #fff !important; --line: #000 !important; }
html.a11y-contrast .step__num, html.a11y-contrast .dark .eyebrow { color: #FFD75E; }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 4px; }
html.a11y-links a:not(.btn) { outline: 2px solid currentColor; outline-offset: 2px; }
html.a11y-font body, html.a11y-font body * { font-family: Arial, Helvetica, sans-serif !important; }
html.a11y-motion, html.a11y-motion * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }

/* ---------- הודעה על קוקיז ---------- */
.notice { position: fixed; left: 50%; bottom: 86px; z-index: 65; transform: translateX(-50%); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; width: calc(100% - 36px); max-width: 620px; padding: 14px 16px; background: #fff; border: 1.5px solid var(--ink); border-radius: var(--r); font-size: 16px; line-height: 1.5; color: var(--ink); }
.notice a { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 900px) { .notice { bottom: 22px; } }

/* ---------- עמודי נגישות ופרטיות ---------- */
.legal { padding: 52px 0 84px; }
.legal .wrap { width: min(780px, 100% - 40px); }
.legal h1 { margin-top: 14px; font-weight: 900; font-size: clamp(36px, 6vw, 58px); line-height: 1.08; }
.legal__meta { margin-top: 12px; font-size: 16px; color: var(--muted); }
.legal h2 { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-strong); font-size: 27px; font-weight: 900; }
.legal p { margin-top: 14px; }
.legal ul { margin-top: 12px; padding-inline-start: 22px; list-style: disc; }
.legal li { margin-top: 8px; }
.legal a { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.legal__box { margin-top: 20px; padding: 18px 20px; background: var(--card); border: 1.5px solid var(--ink); border-radius: var(--r); }

/* ---------- טאבלט ומחשב ---------- */
@media (min-width: 720px) {
  .rules { grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
  .steps { grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
  .kohen { grid-template-columns: 1fr auto; align-items: center; }
  .kohen__name, .kohen__area, .kohen__note { grid-column: 1; }
  .kohen__actions { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .join { grid-template-columns: 1fr auto; padding: 30px 32px; }
  .footer__grid { grid-template-columns: 1.2fr 1fr; align-items: start; }
  .lead { padding: 30px 28px; }
  .calc { padding: 30px 28px 24px; }
  .nav__cta { display: inline-flex; }
}
@media (min-width: 1160px) {
  .nav__links { display: flex; }
  .nav__toggle { display: none; }
}
@media (min-width: 1020px) {
  .hero { padding: 64px 0 76px; }
  .hero__ticks { display: block; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 64px; }
  .about { grid-template-columns: 1.5fr .9fr; gap: 72px; }
  .cta__grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .section, .ceremony, .cta { padding-block: 96px; }
}

/* כשאזור הניהול פתוח במחשב */
@media (min-width: 1100px) {
  .adm-open .nav__links, .adm-open .nav__cta, .adm-open .wa-float { display: none; }
  .adm-open .nav__toggle { display: grid; }
  .adm-open .hero__grid, .adm-open .about, .adm-open .cta__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
