/* BCBL · החזרי מס · העמוד
   השפה נגזרת מהלוגו (DECISIONS.md 2 ו-3): ריבוע שחצוי באלכסון לשני משולשים בכחולים של הלוגו,
   קו מתאר כהה, מדרגות לפינה, ומנדרינה וזעפרן כגוונים החמים. נבנה קודם לטלפון. */

:root {
  --paper: #fcfbf8;
  --surface: #fffefc;
  --ink: #0d1466;
  --ink-2: #3a4170;
  --line: rgba(13, 20, 102, .16);
  --frame: #0a0f2e;

  --night: #071185;
  --navy: #0000a0;
  --indigo: #3f48cc;
  --royal: #0344ed;
  --azure: #1181db;
  --cyan: #00a2e8;
  --sky: #99d9ea;
  --sky-soft: #eaf6fb;

  /* המנדרינה הועמקה כדי שלבן יעבור AA לטקסט גדול. כל כיתוב עליה 19px ומעלה, 700 */
  --warm: #e8590c;
  --warm-hover: #cf4d08;
  --on-warm: #fffefc;
  --warm-2: #ffd166;
  --warm-soft: #fff4dc;

  --font: 'Noto Sans Hebrew', 'Arial Hebrew', Arial, sans-serif;
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-lead: 1.125rem;
  --fs-h3: 1.1875rem;
  --fs-h2: 1.75rem;
  --fs-h1: 2.25rem;
  --lh: 1.65;

  --wrap: 1120px;
  --gut: 16px;
  --sec: 64px;
  --r: 6px;
  --stroke: 1.5px;
  --bar-h: 72px;
}
@media (min-width: 760px) {
  :root { --fs-body: 1.125rem; --fs-lead: 1.3rem; --fs-h3: 1.3rem; --fs-h2: 2.4rem; --fs-h1: 3.6rem; --gut: 40px; --sec: 104px; }
}
@media (min-width: 1100px) { :root { --fs-h1: 4rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: var(--fs-body); line-height: var(--lh); color: var(--ink); background: var(--paper); padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
h1, h2, h3 { font-weight: 700; line-height: 1.2; margin: 0; letter-spacing: -.01em; text-wrap: balance; hyphens: none; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--royal); text-underline-offset: 4px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.nb { white-space: nowrap; }
/* הגדלת טקסט (הצהרת הנגישות): ביטוי שלא נשבר לא יכול להיות רחב מהעמודה. הסף ב-em, ולכן כשמגדילים את הטקסט בדפדפן הוא עולה איתו והביטוי נשבר כרגיל */
.ticks .nb { white-space: normal; }
@media (min-width: 24em) { .ticks .nb { white-space: nowrap; } }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r); z-index: 100; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--royal); outline-offset: 3px; }

/* שדה שאהרון עוד לא מילא (השרת מוסיף is-fill) */
.is-fill { background: var(--warm-soft); outline: 1.5px dashed var(--warm); outline-offset: 1px; border-radius: 3px; padding-inline: 4px; }

/* ---------- כפתורים ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: var(--r); border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 1.0625rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .25s cubic-bezier(.22, 1, .36, 1), background-color .2s, box-shadow .25s; }
.btn-wa { background: var(--warm); color: var(--on-warm); font-size: 1.2rem; }
.btn-wa:hover { background: var(--warm-hover); transform: translateY(-2px); box-shadow: 0 12px 24px -14px var(--night); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--sky-soft); }
.btn-sm { min-height: 42px; padding: 0 14px; font-size: .95rem; }
.btn-block { width: 100%; }
.wa-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--royal); text-decoration: none; font-size: var(--fs-small); }
.wa-link:hover { text-decoration: underline; }

/* ---------- האדר ---------- */
.hdr { background: var(--paper); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand img { width: 44px; height: 44px; }
@media (min-width: 760px) { .brand img { width: 52px; height: 52px; } .hdr-in { min-height: 76px; } }

/* ---------- הירו (הכרעה 20) ----------
   טקסט ליד תמונה, וזהו: כותרת, משפט אחד, כפתור אחד והפנים של אהרון. בלי סימונים, בלי רשת ובלי קו בין הטקסט לתמונה.
   קצב: 16 אחרי הכותרת, 28 לפני הפעולה, 16 עד הפנים. */
.hero-text { padding: 28px var(--gut) 32px; }
.hero h1 { font-size: var(--fs-h1); line-height: 1.12; margin-bottom: 16px; }
.hero h1 > span { display: inline-block; text-wrap: balance; }
.hero h1 .hl { color: var(--royal); }
.hero .lead { font-size: var(--fs-lead); color: var(--ink-2); max-width: 34em; }
.hero-act { margin-top: 28px; }
.hero-cta { width: 100%; }
.trust { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; margin-top: 16px; }
.trust img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.trust p { line-height: 1.4; }
.trust b { display: block; }
.trust-sub { color: var(--ink-2); font-size: var(--fs-small); }
/* בטלפון התמונה אחרי הפנים של אהרון, מקצה לקצה, בלי קווים */
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 600px) { .hero-cta { width: auto; min-width: 320px; } }
@media (min-width: 900px) {
  /* שתי עמודות על כל רוחב המסך: הטקסט מיושר לקצה של .wrap, והתמונה פאנל עד קצה המסך */
  .hero-in { container-type: inline-size; display: grid; grid-template-columns: minmax(0, 1fr) 44%; min-height: min(calc(100svh - 77px), 860px); }
  .hero-text { align-self: center; padding-block: 56px 64px; padding-inline: max(var(--gut), calc((100cqw - var(--wrap)) / 2 + var(--gut))) 56px; }
  /* הכותרת נמדדת לפי רוחב המסך, כדי ש"מגיע לך החזר מס?" יישאר שורה אחת גם ב-960 */
  .hero h1 { font-size: min(var(--fs-h1), 5.6cqw); }
  .trust { margin-top: 20px; }
  .hero-photo { position: relative; }
  .hero-photo picture, .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
  .hero-photo img { aspect-ratio: auto; object-position: 40% 60%; }
}

/* ?hero=wide: התמונה הרחבה לכל רוחב ההירו, והטקסט על האזור הבהיר שלה (בעברית, הצד הימני).
   בלי שכבה כהה: רק נייר שקוף בצד הטקסט, כדי שהניגודיות לא תלויה בעורק של השיש. בטלפון הטקסט מעל התמונה */
[data-hero="wide"] .hero-photo img { aspect-ratio: 4 / 3; object-position: 0 50%; }
/* בין 900 ל-1200 אין מספיק רוחב לטקסט ליד הניירת: הטקסט מעל התמונה, כמו בטלפון */
@media (min-width: 900px) and (max-width: 1199px) {
  [data-hero="wide"] .hero-in { display: block; min-height: 0; }
  [data-hero="wide"] .hero-photo picture, [data-hero="wide"] .hero-photo img { position: static; height: auto; }
  [data-hero="wide"] .hero-photo img { aspect-ratio: 21 / 9; }
}
@media (min-width: 1200px) {
  /* ההאדר שקוף מעל התמונה, בלי קו בין הנייר לשיש */
  [data-hero="wide"] .hdr { position: absolute; inset-inline: 0; top: 0; z-index: 5; background: transparent; border-bottom: 0; }
  [data-hero="wide"] .hero { padding-top: 76px; }
  [data-hero="wide"] .hero-in { position: relative; grid-template-columns: minmax(0, 1fr); min-height: min(calc(100svh - 77px), 680px); }
  [data-hero="wide"] .hero-text { position: relative; z-index: 1; width: 520px; margin-inline-start: max(0px, calc((100cqw - var(--wrap)) / 2)); padding-inline: var(--gut) 0; }
  [data-hero="wide"] .hero h1 { font-size: 3.6rem; }
  [data-hero="wide"] .hero-photo { position: absolute; inset: 0; }
  [data-hero="wide"] .hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(252, 251, 248, .7) 0, rgba(252, 251, 248, .45) 40%, rgba(252, 251, 248, 0) 56%); pointer-events: none; }
  [data-hero="wide"] .hero-photo img { aspect-ratio: auto; object-position: 0 32%; }
}

/* בטלפון יש פס תחתון עם וואטסאפ. כל עוד הכפתור של ההירו על המסך, הפס מחכה למטה,
   כדי שלא יהיו שני כפתורים ראשיים באותו פריים (site.js מסמן cta-in-view) */
@media (max-width: 899px) {
  .bar { transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
  .cta-in-view .bar { transform: translateY(110%); }
}

/* ---------- הדרך השנייה: הטופס, והרשת כגג שלו ----------
   פס תכלת לכל הרוחב. מימין כותרת גדולה ושורה אחת, משמאל הכרטיס.
   הרשת בעמודת הטקסט, מתחת לכותרת (מירב, 2.11.2026: "תעביר את אלמנט הזה לצד של הטקסט").
   המשולש מחכה בחוץ ונכנס למקומו כשהטופס נשלח */
.hero-lead { background: var(--sky-soft); padding-block: 56px; }
.hero-lead-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.lead-intro h2 { font-size: var(--fs-h2); line-height: 1.15; margin-bottom: 12px; text-wrap: balance; }
.lead-sub { font-size: var(--fs-lead); color: var(--ink-2); max-width: 26em; }
.lead-box { display: grid; }
.ask { position: relative; width: min(72%, 280px); margin-top: 28px; }
.ask-vis { display: block; width: 100%; height: auto; overflow: visible; }
.ask-tri { transform-box: fill-box; transform-origin: 50% 50%; transform: translate(-34px, 76px) rotate(-7deg); transition: transform 1.1s cubic-bezier(.22, 1, .36, 1); }
.ask-tri.is-waiting { animation: ask 4.2s ease-in-out infinite; }
.ask-tri.is-home { transform: none; animation: none; }
@keyframes ask { 0%, 100% { transform: translate(-34px, 76px) rotate(-7deg); } 50% { transform: translate(-34px, 72px) rotate(-2deg); } }
.ask-close { transition: stroke-dashoffset .6s .9s; }
.ask-q { position: absolute; left: 34%; top: 80%; transform: translateX(-50%); font-weight: 700; font-size: .9375rem; white-space: nowrap; transition: opacity .4s; }
.ask-q.is-gone { opacity: 0; }
.card { position: relative; background: var(--surface); border: var(--stroke) solid var(--frame); border-radius: var(--r); padding: 24px 18px 20px; }
.hero-lead .field input { background: var(--surface); min-height: 54px; font-size: 1.0625rem; }
.hero-lead .field label { font-size: 1rem; }
/* כפתור השליחה: מלא בדיו, כי בפריים הזה הוא הפעולה. המנדרינה שמורה לוואטסאפ */
.btn-ink { background: var(--ink); color: var(--surface); font-size: 1.125rem; }
.btn-ink:hover { background: var(--night); transform: translateY(-2px); box-shadow: 0 12px 24px -14px var(--night); }
/* שני הסימונים ליד הטופס: וי פשוט, בלי משולש */
.ticks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-inline-start: 26px; font-weight: 700; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .34em; width: 7px; height: 12px; border: solid var(--royal); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
@media (min-width: 900px) {
  .hero-lead { padding-block: 96px; }
  .hero-lead-in { grid-template-columns: 1fr minmax(0, 560px); gap: 72px; align-items: center; }
  .ask { width: 360px; margin-top: 40px; }
  .ask-q { font-size: 1rem; }
  .card { padding: 32px; }
  /* שם וטלפון בשורה אחת: פחות גובה, אותם שדות */
  .hero-lead .lead-form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .hero-lead .lead-form > * { grid-column: 1 / -1; }
  .hero-lead .lead-form > .field { grid-column: auto; }
}

/* ---------- הטופס ---------- */
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label, .chips legend { font-size: var(--fs-small); font-weight: 700; }
.field input { font: inherit; min-height: 50px; padding: 0 14px; border: var(--stroke) solid var(--line); border-radius: var(--r); background: var(--paper); color: var(--ink); width: 100%; }
.field input:focus { border-color: var(--royal); outline: none; box-shadow: 0 0 0 3px rgba(3, 68, 237, .18); }
.field input[aria-invalid="true"] { border-color: var(--warm); }
/* "מה מתאים לך" לא חובה, ולכן סגור כברירת מחדל: פחות חיכוך בטלפון */
.chips { margin: 4px 0 12px; }
.chips summary { cursor: pointer; font-size: var(--fs-small); font-weight: 700; color: var(--royal); list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; }
.chips summary::-webkit-details-marker { display: none; }
.chips > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 4px 12px; border: var(--stroke) solid var(--line); border-radius: var(--r); font-size: .9375rem; cursor: pointer; background: var(--surface); }
.chip:has(input:checked) { border-color: var(--royal); background: var(--sky-soft); }
.chip input, .check input { accent-color: var(--royal); width: 18px; height: 18px; margin: 0; }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .9375rem; margin-bottom: 10px; align-items: start; }
.check input { margin-top: 4px; }
/* אזור לחיצה של 24 לפחות לתווית ולקישורים, בלי להזיז את השורה */
.check label, .check a { padding-block: 4px; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-form .btn { margin-top: 6px; }
.fine { font-size: .875rem; color: var(--ink-2); margin-top: 10px; }
.form-err { margin-top: 10px; font-weight: 700; color: var(--ink); background: var(--warm-soft); border: 1px solid var(--warm); border-radius: var(--r); padding: 8px 12px; font-size: var(--fs-small); }

/* ---------- פס הדחיפות ----------
   מערכת אחת (מירב, 2.11.2026: "לא מסודר ויזואלית, ריווחים וגבהים"):
   בטלפון ובטאבלט טור אחד ברוחב החלון. החלון, המשפט והקאונטר נפתחים ונסגרים על אותם שני קווים, ו-20 ביניהם.
   מ-1100 שני טורים בגובה אחד: הטקסט נמתח לגובה החלון, המשפט נצמד לקו העליון של המסגרת,
   והקופסאות והקישור יושבים על קו הבסיס של מספרי השנים. המספר של הימים מופיע רק בקאונטר. */
.urgent { --win: 520px; background: var(--paper); padding-block: 40px 8px; }
.urgent-in { display: grid; gap: 24px; }
/* החלון של שש השנים (קונספט 4). ה-viewBox חתוך לגבולות הציור, כך שהקופסה של ה-SVG היא הקופסה שהעין רואה */
.window { display: block; width: 100%; max-width: var(--win); height: auto; overflow: visible; font-family: var(--font); }
.window-frame { transition: stroke-dashoffset 1.2s cubic-bezier(.22, 1, .36, 1); }
[data-phase="after"] .window { display: none; }
.urgent-text { display: grid; gap: 20px; justify-items: start; width: 100%; max-width: var(--win); }
.urgent-text > p { font-size: var(--fs-lead); line-height: 1.4; }
.count { display: inline-flex; align-items: baseline; gap: 6px; background: var(--warm-2); border: var(--stroke) solid var(--frame); padding: 0 10px; margin-inline-end: 6px; font-size: 1rem; }
.count b { font-size: 1.6rem; line-height: 1.3; }
/* שני המשפטים נשברים ביניהם ולא באמצע ביטוי */
.urgent #c-urgent_b, .urgent #c-urgent_t { display: inline-block; text-wrap: balance; }
.urgent .src { font-size: .875rem; color: var(--ink-2); }
.urgent .src a { color: var(--ink-2); }
.u-after { display: none; }
[data-phase="after"] .u-before { display: none; }
[data-phase="after"] .u-after { display: block; }
/* הקאונטר: כותרת קטנה, ושלוש קופסאות ברוחב שווה ובאותו גובה כמו אזור הלחיצה של הקישור (44) */
.counter { width: 100%; }
.counter-h { font-size: var(--fs-small); line-height: 1.4; color: var(--ink-2); margin-bottom: 8px; }
/* בסדר של שעון, משמאל לימין: ימים, שעות, דקות, שניות (מירב, 2.11.2026: "זה לא איך שקוראים את השעון") */
.counter-row { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; direction: ltr; }
.cnt small { direction: rtl; }
.cnt { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 68px; min-height: 44px; padding: 8px 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.cnt b { font-size: 1.75rem; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); }
.cnt small { font-size: .875rem; line-height: 1; color: var(--ink-2); }
.cnt-days b { color: var(--warm-hover); }
/* מי שביקש פחות תנועה מקבל קאונטר שקט: בלי השניות, ומתעדכן פעם בדקה */
@media (prefers-reduced-motion: reduce) { .cnt-secs { display: none; } }
/* ארבע קופסאות (ימים, שעות, דקות ושניות, מירב 2.11.2026): המילה מתחת למספר, כדי שייכנסו בשורה אחת עם הקישור */
[data-phase="after"] .counter { display: none; }
@media (min-width: 1100px) {
  .urgent { padding-block: 72px 16px; }
  .urgent-in { grid-template-columns: var(--win) 1fr; gap: 56px; align-items: center; }
  /* הטקסט נמתח לגובה החלון: המשפט למעלה, הקאונטר והקישור למטה. אם אהרון יאריך את המשפט, החלון נשאר ממורכז מולו */
  .urgent-text { align-self: stretch; max-width: none; grid-template-columns: minmax(0, max-content) 1fr; align-content: space-between; column-gap: 24px; }
  .urgent-text > p { grid-column: 1 / -1; }
  .urgent-text > p.u-before { text-box: trim-start cap alphabetic; }
  .counter { width: auto; }
  .urgent-text > .wa-link { grid-column: 2; align-self: end; white-space: nowrap; }
  [data-phase="after"] .urgent-text > .wa-link { grid-column: 1 / -1; }
}

/* ---------- סקשנים ---------- */
.sec { padding-block: var(--sec); }
.sec h2 { font-size: var(--fs-h2); margin-bottom: 28px; max-width: 22em; }
/* בין הסקשנים אין קווים: הרווח והצבע מפרידים (מירב, 2.11.2026) */

/* למי מגיע */
.reasons { list-style: none; margin: 0 0 28px; padding: 0; display: grid; }
/* בטלפון: תמונה גדולה ליד הכותרת. בדסקטופ: שלושה בשורה, והתמונה מלאה מעל הטקסט (מירב, 2.11.2026: "התמונות מקסימות... שיראו אותן קצת יותר") */
.reason { display: grid; grid-template-columns: 112px 1fr; gap: 0 16px; padding-block: 20px; border-top: 1px solid var(--line); align-items: start; }
.thumb { position: relative; margin: 4px 0 0; }
.thumb img { width: 112px; height: 112px; object-fit: cover; border: var(--stroke) solid var(--frame); border-radius: var(--r); }
@media (min-width: 900px) {
  .reasons { grid-template-columns: repeat(3, 1fr); column-gap: 40px; row-gap: 48px; }
  .reason { grid-template-columns: 1fr; padding-block: 0; border-top: 0; gap: 0; }
  .thumb { margin: 0 0 18px; }
  .thumb img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
}
.reason h3 { font-size: var(--fs-h3); margin-bottom: 2px; }
.reason p { color: var(--ink-2); }
.reason .wa-link { margin-top: 6px; }
/* הקישור בכרטיס אל הפריט שלו במדריך */
.reason .more-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: var(--fs-small); color: var(--ink); text-decoration: none; }
.reason .more-link:hover { text-decoration: underline; }
.reason .more-link + .wa-link { margin-inline-start: 16px; }
.reason div { display: block; }
/* המדריך המלא: עמודה אחת במרכז, כמו השאלות */
.guide h2, .guide .updated { text-align: center; margin-inline: auto; }
.guide .updated { font-size: .875rem; color: var(--ink-2); margin-top: -16px; margin-bottom: 28px; }
.guide-list { max-width: 760px; margin-inline: auto; border-top: 1px solid var(--line); }
.guide-list details { border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.guide-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 52px; padding: 16px 0; }
.guide-list summary::-webkit-details-marker { display: none; }
/* שם העילה הוא כותרת (h3) בתוך ה-summary, כדי שקורא מסך ינווט בין העילות. "מה צריך להביא" מתחתיה הוא h4 */
.guide-list summary .q { display: inline; margin: 0; font-size: var(--fs-h3); font-weight: 700; line-height: 1.3; }
.guide-list .more-in { padding-bottom: 22px; }
.guide-list .more-in h4 { font-size: 1rem; font-weight: 700; color: var(--ink); margin: 6px 0 0; }
/* המדריך שנפתח (נשאר לשימוש בתוך המדריך) */
.more { margin-top: 6px; }
.more summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-weight: 700; font-size: var(--fs-small); color: var(--ink); }
.more summary::-webkit-details-marker { display: none; }
.more-in { padding: 6px 0 8px; display: grid; gap: 10px; color: var(--ink-2); max-width: 40em; }
.more-in h4 { font-size: 1rem; font-weight: 700; color: var(--ink); margin: 6px 0 0; }
.docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.docs li { position: relative; padding-inline-start: 20px; }
.docs li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .68em; width: 5px; height: 5px; border-radius: 50%; background: var(--ink-2); }
.srcs { font-size: .875rem; color: var(--ink-2); }
.srcs:empty { display: none; }
.srcs::before { content: "מקורות: "; }
.srcs a { color: var(--ink-2); }
.faq details .srcs { padding-bottom: 18px; margin-top: -8px; }
.who .updated { font-size: .875rem; color: var(--ink-2); margin: -12px 0 24px; }
.who .note { font-size: var(--fs-lead); max-width: 34em; margin-bottom: 24px; }

/* הצעדים: תמונה לכל צעד, והמספר בריבוע חצוי על הפינה שלה. 3 במנדרינה: הכסף בחשבון */
.step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; counter-reset: step; }
.step { position: relative; counter-increment: step; }
.step figure { margin: 0 0 16px; }
.step img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: var(--stroke) solid var(--frame); border-radius: var(--r); }
.step::before { content: counter(step); position: absolute; top: -14px; inset-inline-start: -8px; z-index: 1; display: grid; place-items: center; width: 52px; aspect-ratio: 1; font-size: 1.4rem; font-weight: 700; color: var(--surface); background: linear-gradient(to bottom right, var(--royal) 50%, var(--night) 50%); border: var(--stroke) solid var(--frame); }
.step:nth-child(2)::before { background: linear-gradient(to bottom left, var(--azure) 50%, var(--navy) 50%); }
.step:nth-child(3)::before { background: linear-gradient(to bottom right, var(--warm) 50%, var(--warm-hover) 50%); }
.step h3 { font-size: var(--fs-h3); margin-bottom: 4px; }
.step p { color: var(--ink-2); }
@media (min-width: 900px) { .step-list { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* למה אנחנו */
.why-in { display: grid; gap: 28px; }
.why-photo { position: relative; margin: 0; width: min(62%, 220px); }
.why-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border: var(--stroke) solid var(--frame); border-radius: var(--r); }
/* נגיעה דקורטיבית אחת מהלוגו בעמוד: ריבוע חצוי קטן בכחולים, בפינה של הפורטרט */
.why-photo::after { content: ""; position: absolute; width: 40px; height: 40px; inset-inline-end: -10px; bottom: -10px; background: linear-gradient(to bottom right, var(--sky) 50%, var(--royal) 50%); border: var(--stroke) solid var(--frame); }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.why-list li { position: relative; }
.why-list b { font-weight: 700; }
@media (min-width: 900px) { .why-in { grid-template-columns: 320px 1fr; gap: 64px; align-items: start; } .why-photo { width: 100%; } }

/* המחיר במשולשים (קונספט 3) */
.price { margin-top: 40px; }
.seg { display: inline-grid; grid-template-columns: 1fr 1fr; border: var(--stroke) solid var(--frame); border-radius: var(--r); overflow: hidden; margin-bottom: 14px; }
.seg button { font: inherit; font-size: 1rem; font-weight: 700; padding: 8px 16px; border: 0; background: var(--surface); color: var(--ink); cursor: pointer; min-height: 46px; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
.price-line { font-size: var(--fs-lead); margin-bottom: 14px; min-height: 1.65em; }
.price-line .k-fee, .price-line .k-you { font-weight: 700; white-space: nowrap; }
.price-line .k-fee::before, .price-line .k-you::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-inline-end: 6px; vertical-align: -1px; border: 1.5px solid var(--frame); clip-path: polygon(0 0, 100% 0, 0 100%); background: var(--royal); }
.price-line .k-you::before { background: var(--warm-2); }
.price-grid { display: block; width: 100%; max-width: 520px; height: auto; }
.price-grid polygon { transition: fill .35s cubic-bezier(.22, 1, .36, 1); }
.price-pending { color: var(--ink-2); font-size: var(--fs-small); }

/* המלצות */
.review-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.review { border-top: var(--stroke) solid var(--frame); padding-top: 16px; }
.review blockquote { margin: 0 0 8px; font-size: var(--fs-lead); }
.review .who { color: var(--ink-2); font-size: var(--fs-small); }
@media (min-width: 900px) { .review-list { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* שאלות */
.faq h2 { text-align: center; margin-inline: auto; }
.faq-list { max-width: 760px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 0; }
.faq summary h3 { font-size: var(--fs-h3); }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { padding-bottom: 20px; color: var(--ink-2); }

/* הסגירה */
.close { background: var(--sky-soft); text-align: center; position: relative; overflow: hidden; padding-top: 0; }
.close-photo { margin: 0 0 40px; }
.close-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 760px) { .close-photo img { aspect-ratio: 16 / 7; } .close-photo { margin-bottom: 56px; } }
.close-in { display: grid; justify-items: center; gap: 16px; }
.close h2 { margin: 0 auto; }
.close .lead { font-size: var(--fs-lead); color: var(--ink-2); max-width: 32em; }

/* ---------- פוטר ----------
   ארבע שכבות: זהות (הסימן, השם והמשרד), קשר, מסמכים, ובסוף הסתייגות וקרדיט קטנים.
   בלי מפרידים ובלי קווים: המעבר מהתכלת של הסגירה לנייר הוא הגבול, והרווח מקבץ.
   טלפון: ערימה אחת. מ-600 הזהות מעל ושני טורים. מ-900 שלושה טורים ושורת בסיס. */
.ftr { padding-block: 48px 40px; color: var(--ink-2); }
.ftr-in { display: grid; gap: 32px; }
.ftr p { margin: 0; }
.ftr-id { display: flex; align-items: center; gap: 14px; }
.ftr-name { display: grid; gap: 2px; line-height: 1.3; }
.ftr-name b { font-size: 1.375rem; font-weight: 700; color: var(--ink); letter-spacing: .02em; }
.ftr-name span { font-size: var(--fs-small); }
.ftr-contact { font-style: normal; display: grid; justify-items: start; align-content: start; }
.ftr-contact > * { display: inline-flex; align-items: center; min-height: 44px; }
.ftr-contact a { color: var(--ink); font-size: var(--fs-body); text-decoration-thickness: 1px; text-decoration-color: rgba(13, 20, 102, .35); }
.ftr-contact span { font-size: var(--fs-small); }
.ftr-links { display: flex; flex-wrap: wrap; column-gap: 24px; align-content: start; }
.ftr-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--fs-small); color: var(--ink-2); text-decoration-thickness: 1px; text-decoration-color: rgba(13, 20, 102, .35); }
.ftr a:hover { color: var(--royal); text-decoration-color: currentColor; }
.ftr-base { display: grid; gap: 4px; font-size: .875rem; line-height: 1.6; }
.ftr-note { max-width: 62ch; text-wrap: pretty; }
.ftr-credit a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); text-decoration-thickness: 1px; text-decoration-color: rgba(13, 20, 102, .35); }
@media (min-width: 600px) {
  .ftr { padding-block: 64px 40px; }
  .ftr-in { grid-template-columns: 1fr 1fr; column-gap: 40px; row-gap: 32px; }
  .ftr-id, .ftr-base { grid-column: 1 / -1; }
  .ftr-links { flex-direction: column; align-items: start; }
}
@media (min-width: 900px) {
  .ftr-in { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; column-gap: 56px; row-gap: 48px; }
  .ftr-id { grid-column: auto; align-self: start; }
  /* ההסתייגות מתחת לזהות ולקשר, והקרדיט בטור של המסמכים. השורה הראשונה של שניהם על אותו קו בסיס
     (מירב, 2.11.2026: "זה צריך להיות על אותו בייס ליין") */
  .ftr-base { display: contents; }
  .ftr-note { grid-column: 1 / 3; align-self: first baseline; }
  .ftr-credit { grid-column: 3; align-self: first baseline; }
  .ftr-credit a { min-height: 0; padding-block: 12px; margin-block: -12px; }
}

/* ---------- וואטסאפ צף (דסקטופ) ופס תחתון (טלפון) ---------- */
.fab { display: none; }
@media (min-width: 900px) {
  .fab { position: fixed; inset-inline-end: 24px; bottom: 24px; z-index: 40; display: block; width: 66px; height: 66px; border-radius: 50%; box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--warm), 0 14px 26px -12px var(--night); transition: transform .25s cubic-bezier(.22, 1, .36, 1); }
  .fab:hover { transform: translateY(-3px); }
  .fab img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
  .fab .say { position: absolute; inset-inline-end: calc(100% + 14px); top: 50%; transform: translateY(-50%) translateX(8px); white-space: nowrap; background: var(--surface); color: var(--ink); font-size: .95rem; padding: 10px 16px; border-radius: 14px; border-end-start-radius: 4px; border: 1px solid var(--line); box-shadow: 0 10px 24px -14px var(--night); opacity: 0; pointer-events: none; transition: opacity .35s, transform .35s cubic-bezier(.22, 1, .36, 1); }
  .fab.is-saying .say, .fab:hover .say { opacity: 1; transform: translateY(-50%) translateX(0); }
}
.bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr; gap: 10px; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -18px var(--night); }
.bar .btn { min-height: 50px; padding: 0 12px; }
@media (min-width: 900px) { .bar { display: none; } }

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

/* ---------- תיקונים מהביקורת העוינת (2.11.2026) ---------- */
/* גבולות של שדות ושל צ'יפים: לפחות 3:1 מול הרקע */
:root { --line-strong: #7f86b0; }
.field input, .chip { border-color: var(--line-strong); }
/* הודעת שגיאה ליד כל שדה, ולא רק אחת כללית מתחת לכפתור */
.field-err { margin: 2px 0 0; font-size: .9375rem; font-weight: 700; color: var(--warm-hover); }
.field input[aria-invalid="true"] { border-color: var(--warm-hover); box-shadow: 0 0 0 3px rgba(232, 89, 12, .18); }
.check input[aria-invalid="true"] { outline: 2px solid var(--warm-hover); outline-offset: 2px; }
.check { align-items: center; }
.check label { cursor: pointer; }
/* מטרות לחיצה של 44 לפחות */
.wa-link, .more summary, .chips summary, .chip { min-height: 44px; }
.wa-link { padding-block: 10px; }
.btn-sm { min-height: 44px; }
.check input { width: 22px; height: 22px; }
.srcs a { display: inline-block; padding-block: 8px; }
/* השאלות: טקסט רגיל בתוך summary, כדי שקורא מסך יזהה את הכפתור */
.faq summary .q { font-size: var(--fs-h3); font-weight: 700; line-height: 1.3; }
.faq summary { min-height: 52px; }
/* שורת המחיר: שני הצבעים בשתי שורות, בלי מפריד שנשאר בסוף שורה */
.price-line .k-fee, .price-line .k-you { display: block; }
/* בזמן הקלדה בטופס הפס התחתון יורד, כדי לא לעלות מעל המקלדת */
@media (max-width: 899px) { html:has(.lead-form :focus) .bar { transform: translateY(110%); } }
/* הבועה הצפה מוסתרת בהירו, שבו כבר יש את הפנים של אהרון והכפתור */
@media (min-width: 900px) {
  .fab { transition: transform .25s cubic-bezier(.22, 1, .36, 1), opacity .3s; }
  .fab.is-away { opacity: 0; pointer-events: none; transform: translateY(12px); }
}
.ask { margin-bottom: 8px; }

/* ---------- הפותחנים: המשולש מהלוגו, חצי ריבוע, שמסתובב בפתיחה ----------
   מירב, 2.11.2026: "השימוש במשולש מהלוגו במקום כפתורי הפלוס זה היה חמוד. עכשיו הורדת יותר מידי" */
.faq summary::after, .guide-list summary::after, .faq-more > summary::after, .chips summary::before, .more summary::before {
  content: ""; flex: none; width: 14px; height: 14px; background: var(--royal);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}
.chips summary::before, .more summary::before { width: 11px; height: 11px; }
.faq details[open] > summary::after, .guide-list details[open] > summary::after,
.chips[open] summary::before, .more[open] summary::before { transform: rotate(90deg); }

/* ---------- סבב האישור של הארט וסוכן הדמיון (2.11.2026) ---------- */
/* רווח בין סקשנים על אותו נייר: לא חור של 208 */
:root { --sec: 56px; }
@media (min-width: 760px) { :root { --sec: 72px; } }
/* שדות לא זזים כשמופיעה שגיאה בשכן */
.field { align-content: start; }
/* סקשן הטופס: בטלפון הטופס קודם והרשת אחריו, בדסקטופ הרשת בעמודת הטקסט */
.hero-lead-in > .ask { order: 3; width: 250px; justify-self: start; margin: 4px 0 0; }
@media (min-width: 900px) {
  .hero-lead-in { grid-template-columns: 1fr minmax(0, 560px); grid-template-areas: "intro box" "ask box"; align-items: start; row-gap: 32px; }
  .lead-intro { grid-area: intro; align-self: end; }
  .lead-box { grid-area: box; align-self: center; }
  .hero-lead-in > .ask { grid-area: ask; order: 0; width: 340px; }
}
/* הגלריה: פעולה אחת בכרטיס. התמונה והכותרת מקשרות למדריך */
.reason .to-guide { color: inherit; text-decoration: none; }
.reason h3 .to-guide:hover { text-decoration: underline; text-decoration-thickness: 1.5px; }
.reason a.thumb { display: block; }
.reason p, .step p { text-wrap: balance; }
/* כותרת של שני משפטים נשברת בין המשפטים (site.js מפצל) */
.h2-part { display: inline-block; text-wrap: balance; }
/* "למה אנחנו": המונח כשורה משלו, בלי שני משקלים באותה שורה */
.why-list b { display: block; }
.guide-list .srcs a { padding-block: 4px; }
/* שאלות נוספות מאחורי "עוד שאלות" (site.js). כולן בתוך העמוד, וכולן ב-FAQPage */
.faq-more { border-bottom: 1px solid var(--line); }
.faq-more > summary { list-style: none; cursor: pointer; min-height: 52px; display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--royal); padding: 14px 0; }
.faq-more > summary::-webkit-details-marker { display: none; }
.faq-more[open] > summary { display: none; }
.faq-more details:last-child { border-bottom: 0; }
/* כשמגיעים לטופס מעילה, הצ'יפ שלה מקבל פעם אחת קו זעפרן */
.chip.is-flash { animation: chipflash .6s cubic-bezier(.22, 1, .36, 1) 2; }
@keyframes chipflash { 50% { box-shadow: 0 0 0 4px var(--warm-2); } }
/* המחיר במשולשים: פחות צעקה, אותו יחס. "שלך" במשטח אחד בלי קווים פנימיים */
.price-grid { max-width: 320px; }
/* בטלפון: האריחים של ההירו נכנסים לפריים */
@media (max-width: 899px) { .hero-photo img { object-position: 85% 15%; } }
/* בטלפון הכיתוב מתרחק מהמשולש, כדי שהנדנוד לא יכסה את סימן השאלה */
@media (max-width: 899px) { .hero-lead-in > .ask .ask-q { font-size: .8125rem; top: 82%; left: calc(34% + 16px); } }

/* ---------- סבב האישור השני, שאר העמוד ---------- */
/* כרטיסי העילות: "לבדוק את זה" ננעל לתחתית, וכל הקישורים בשורה על קו אחד */
@media (min-width: 900px) {
  .reason { display: flex; flex-direction: column; }
  .reason > div { display: flex; flex-direction: column; flex: 1; }
  .reason > div > .wa-link { margin-top: auto; align-self: flex-start; }
}
/* "עוד שאלות": חץ אחד בקצה, כמו בשאר השורות */
.faq-more > summary { justify-content: space-between; }
/* תיבת סימון מול כמה שורות: מיושרת לשורה הראשונה */
.check { align-items: start; }
.check input { margin-top: 3px; }

/* "למה אנחנו": בדסקטופ התמונה של אהרון נדבקת ונגללת לצד הטקסט (מירב, 2.11.2026) */
@media (min-width: 900px) { .why-photo { position: sticky; top: 32px; align-self: start; } }

/* ---------- סבב האישור השלישי ---------- */
/* צילומים בלי מסגרת כהה: הקו נשאר רק לוויזואלים מהלוגו ולטופס */
.thumb img, .step img, .why-photo img, .hero-photo img { border: 0; }
/* מספרי הצעדים בתוך פינת התמונה בטלפון, בלי לשבור את השוליים */
@media (max-width: 899px) { .step::before { top: 0; inset-inline-start: 0; width: 44px; font-size: 1.2rem; border-start-start-radius: var(--r); } }
/* כותרות הכרטיסים בגלריה בגובה של שתי שורות, כדי שהפסקאות בכל שורה יתחילו באותו גובה */
@media (min-width: 900px) { .reason h3 { min-height: 2.6em; } }

/* הספירה לאחור במילים, מתחת למשפט על 2020 */

/* מקרא המחיר: "שלך" מלא בכחול, העמלה ריקה, כמו בגרף */
.price-line .k-you::before { background: var(--royal); }
.price-line .k-fee::before { background: var(--sky-soft); border-color: var(--sky); }

