/* ==========================================================================
   עו"ד הילה משה — גיליון סגנון ראשי
   עברית / RTL · נגישות ת"י 5568 (WCAG 2.1 AA) · ללא תלות חיצונית
   ========================================================================== */

/* --- 1. אסימוני עיצוב --------------------------------------------------- */
:root {
  /* צבעים — כל שילובי הטקסט נבדקו לניגודיות AA לפחות */
  --ink:          #17222f;   /* טקסט ראשי           על לבן 14.4:1 */
  --ink-soft:     #435265;   /* טקסט משני — 7.97:1 על לבן, 7.39:1 על קרם (AAA) */
  --navy:         #1b2840;   /* רקע כהה — נגזר מכחול הלוגו */
  --navy-deep:    #121c2e;
  --brand-blue:   #405373;   /* הכחול המדויק של הלוגו */
  --gold:         #8a6420;   /* טקסט מודגש          על לבן  5.7:1 */
  --gold-bright:  #c79235;   /* קישוט/על רקע כהה    על נייבי 6.1:1 */
  --paper:        #ffffff;
  --paper-warm:   #f8f6f2;
  --paper-warm-2: #f1ede6;
  --line:         #ddd6ca;
  --line-soft:    #ebe6dd;
  --focus:        #0b5fff;
  --error:        #a4232b;   /* על לבן 6.4:1 */
  --success:      #1a6b4a;

  /* טיפוגרפיה */
  --font-display: "Rubik", "Segoe UI", Arial, sans-serif;
  --w-display: 600;          /* משקל הכותרות — קליל יותר מ-700 בגופן Sans */
  --font-body:    "Assistant", "Heebo", "Segoe UI", Arial, sans-serif;

  /* מידות */
  --wrap: 1180px;
  --wrap-narrow: 720px;
  /* פינות כמעט־ישרות. עיגול גדול קורא כאפליקציה, לא כמשרד עורכי דין. */
  --radius: 4px;
  --radius-lg: 6px;
  --shadow-sm: 0 1px 2px rgba(23,34,47,.05);
  --shadow-md: 0 12px 34px rgba(23,34,47,.10);

  /* פסי ריווח — נשימה גדולה יותר בין הסעיפים */
  --s1: .5rem;  --s2: .875rem; --s3: 1.25rem; --s4: 2.25rem;
  --s5: 3.5rem; --s6: 6rem;    --s7: 7.75rem;
  --measure: 68ch;
}

/* --- 2. איפוס ובסיס ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem; /* כדי שהעוגנים לא ייחתכו מתחת לכותרת הדביקה */
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;      /* 17px — נוח לקריאה בעברית */
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--w-display);
  line-height: 1.18;
  color: var(--navy);
  margin: 0 0 var(--s2);
  /* כיווץ קל של המרווח בין האותיות — בכותרות גדולות זה ההבדל בין
     "טקסט שהוגדל" לבין כותרת שנראית מעוצבת. */
  letter-spacing: -.018em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 1.35rem + 3.4vw, 3.7rem); line-height: 1.1; }
h2 { font-size: clamp(1.7rem, 1.28rem + 1.8vw, 2.5rem); }
h3 { font-size: clamp(1.18rem, 1.06rem + .5vw, 1.36rem); font-weight: 600; letter-spacing: -.008em; }
h4 { font-size: 1.0625rem; }

p  { margin: 0 0 var(--s3); }
p:last-child { margin-bottom: 0; }

a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--navy); }

ul, ol { padding-inline-start: 1.35em; margin: 0 0 var(--s3); }
li { margin-bottom: .4em; }

strong { font-weight: 700; color: var(--navy); }

/* --- 3. נגישות: מיקוד, דילוג, תנועה מופחתת ------------------------------ */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
/* דפדפנים ישנים ללא focus-visible */
@supports not selector(:focus-visible) {
  :focus { outline: 3px solid var(--focus); outline-offset: 3px; }
}

.skip-link {
  position: absolute;
  inset-inline-start: var(--s3);
  top: -100px;
  z-index: 999;
  background: var(--navy);
  color: #fff;
  padding: .85rem 1.4rem;
  border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none;
  font-weight: 700;
  transition: top .15s ease-out;
}
.skip-link:focus { top: 0; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* --- 4. פריסה ----------------------------------------------------------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }

section { padding-block: var(--s6); }
section.tight { padding-block: var(--s5); }
.bg-warm { background: var(--paper-warm); }
.bg-navy { background: var(--navy); color: #e8eef5; }
.bg-navy h2, .bg-navy h3 { color: #fff; }

.section-head { max-width: 62ch; margin-bottom: var(--s5); }
/* כותרת־על עם קו זהב קצר — חוט מקשר אחד שחוזר בכל סעיף באתר. */
.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--gold);
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: "";
  width: 2.2rem; height: 1px;
  background: currentColor;
  flex-shrink: 0;
}
.bg-navy .eyebrow::before { opacity: .8; }
.bg-navy .eyebrow { color: var(--gold-bright); }
.lead { font-size: 1.16rem; color: var(--ink-soft); max-width: var(--measure); }
.bg-navy .lead { color: #c3d0de; }

/* --- 5. כפתורים --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 50px;              /* מטרת מגע ≥44px */
  padding: .75rem 1.9rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .012em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s, transform .12s;
}
.btn:active { transform: translateY(1px); }
.btn { max-width: 100%; }
@media (max-width: 420px) { .btn { padding-inline: 1.1rem; font-size: .96rem; } }

.btn-primary { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-primary:hover { background: #6f4f18; border-color: #6f4f18; color: #fff; }

.btn-dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-dark:hover { background: var(--navy-deep); color: #fff; }

.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { background: var(--paper-warm-2); color: var(--navy); border-color: var(--navy); }

/* כפתור רפאים על רקע כהה — חייב להתהפך, אחרת נייבי על נייבי */
.bg-navy .btn-ghost,
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.bg-navy .btn-ghost:hover,
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
/* על רקע בהיר הגבול חייב 3:1 מול הרקע (WCAG 1.4.11) */
.btn-ghost { border-color: #8a8171; }

.btn-wa { background: #14803f; color: #fff; border-color: #14803f; } /* 4.9:1 על לבן */
.btn-wa:hover { background: #0f6431; color: #fff; border-color: #0f6431; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); }

/* --- 6. כותרת עליונה וניווט --------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  /* ספארי דורש את הקידומת. בלעדיה הכותרת הדביקה באייפון מוצגת בלי הטשטוש
     — הרקע חצי-שקוף נשאר, והטקסט שמתחתיו מציץ דרכו בזמן גלילה. */
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  min-height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
}
.brand:hover { color: var(--navy); }
.brand img { width: 46px; height: 46px; border-radius: 3px; object-fit: cover; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 3px;
  background: var(--navy); color: var(--gold-bright);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--font-display); font-weight: var(--w-display); font-size: 1.15rem; }
.brand-sub  { font-size: .75rem; color: var(--ink-soft); letter-spacing: .04em; }

.nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: transparent; border: 1px solid var(--line);
  border-radius: var(--radius); cursor: pointer; color: var(--navy);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav ul {
  display: flex; align-items: center; gap: .35rem;
  list-style: none; margin: 0; padding: 0;
}
.site-nav a {
  display: block;
  padding: .55rem .8rem;
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: .98rem;
  line-height: 1.6;
}
.site-nav a:hover { background: var(--paper-warm-2); color: var(--navy); }
.site-nav a[aria-current="page"],
.site-nav a[aria-current="true"] {
  color: var(--gold);
  box-shadow: inset 0 -2px 0 var(--gold);
  border-radius: 0;
}
.header-cta { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.header-phone {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 700; color: var(--navy); text-decoration: none;
  padding: .5rem .7rem; border-radius: var(--radius);
  min-height: 44px;
  direction: ltr;
}
.header-phone:hover { background: var(--paper-warm-2); color: var(--navy); }
.header-phone svg { width: 18px; height: 18px; flex-shrink: 0; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: var(--s2); }
  .site-nav a { padding: .9rem 1rem; border-radius: var(--radius); font-size: 1.05rem; }
  .site-nav a[aria-current="page"] { box-shadow: none; background: var(--paper-warm-2); }
  .header-cta .btn { display: none; }
}
@media (max-width: 560px) {
  .header-phone span { display: none; }
  .brand-sub { display: none; }
}

/* --- 7. גיבור (Hero) -----------------------------------------------------
   גיבור בהיר על נייר חם, לא מפל צבע כהה. שני אתרי הייחוס שנבדקו פותחים
   שניהם בתמונה גדולה על רקע בהיר — זה מה שקורא כמשרד עורכי דין ולא
   כדף נחיתה של מוצר. הנייבי נשמר לסעיפים שבאמצע העמוד, שם הוא עובד
   כניגוד ולא כרקע ברירת המחדל.
   -------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
  padding-block: var(--s6) var(--s6);
  overflow: hidden;
}
.hero::after {           /* קישוט בלבד — מוסתר מקוראי מסך */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 88% -10%, rgba(199,146,53,.13), transparent 58%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero h1 { margin-bottom: var(--s3); }
.hero .kicker {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  color: var(--gold);
  margin: 0 0 var(--s3);
}
.hero .kicker::before {
  content: ""; width: 2.2rem; height: 1px; background: currentColor; flex-shrink: 0;
}
.hero-quote {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, .95rem + .5vw, 1.28rem);
  line-height: 1.6;
  font-weight: 400;
  color: var(--navy);
  border-inline-start: 2px solid var(--gold);
  padding-inline-start: 1.25rem;
  margin: 0 0 var(--s4);
  max-width: 46ch;
}

/* חמש עובדות יבשות מתחת לכפתורים. פרטים עובדתיים מותרים בפרסום
   עורכי דין; הבטחות תוצאה ואחוזי הצלחה — לא. */
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.6rem;
  margin: var(--s4) 0 0;
  padding-top: var(--s3);
  border-top: 1px solid var(--line);
  font-size: .93rem;
  color: var(--ink-soft);
  max-width: 46ch;
}
.hero-facts span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-facts span::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}

/* התמונה בתוך מסגרת זהב מוסטת — פרט עיצובי אחד שנושא את כל הסעיף,
   במקום צל רך שכל מחולל אתרים מייצר. */
.hero-portrait {
  position: relative;
  padding-block-end: 1.4rem;
  padding-inline-start: 1.4rem;
}
.hero-portrait::before {
  content: "";
  position: absolute;
  inset-block: 1.4rem 0;
  inset-inline: 0 1.4rem;
  background: var(--navy);
  pointer-events: none;
}
/* קו זהב דק לאורך הצלע הפנימית של הדיוקן — אותו חוט מקשר של כותרות־העל */
.hero-portrait::after {
  content: "";
  position: absolute;
  inset-block: 0 1.4rem;
  inset-inline-end: -1px;
  width: 3px;
  background: var(--gold);
  pointer-events: none;
  z-index: 2;
}
.hero-portrait img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 22%;
  background: #e7e1d6;
}
.portrait-fallback {
  width: 100%; aspect-ratio: 4 / 5;
  display: grid; place-items: center;
  background: var(--paper-warm-2);
  color: var(--ink-soft); font-size: .9rem; text-align: center; padding: 2rem;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .hero-portrait { max-width: 320px; margin-inline: auto; }
  .hero { padding-block: var(--s5); }
}

/* --- 8. פס אמון ---------------------------------------------------------
   שורה מחולקת בקווי שיער, בלי תיבות ובלי צל. זו רשימת עובדות, לא ארבעה
   כרטיסים שצפים מעל העמוד. */
.trustbar { background: var(--paper); border-bottom: 1px solid var(--line); }
.trustbar ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(215px, 100%), 1fr));
  gap: 0;
  list-style: none; margin: 0; padding: 0;
}
.trustbar li {
  display: flex; gap: .75rem; align-items: flex-start; margin: 0;
  padding: var(--s4) var(--s3);
  border-inline-start: 1px solid var(--line-soft);
}
.trustbar li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.trustbar svg { width: 21px; height: 21px; color: var(--gold); flex-shrink: 0; margin-top: .3rem; }
.trustbar b {
  display: block; color: var(--navy); font-family: var(--font-display);
  font-size: 1rem; font-weight: 600; letter-spacing: -.008em; margin-bottom: .1rem;
}
.trustbar span { font-size: .91rem; color: var(--ink-soft); line-height: 1.55; }
@media (max-width: 700px) {
  .trustbar li { border-inline-start: 0; padding: var(--s3) 0; border-top: 1px solid var(--line-soft); }
  .trustbar li:first-child { border-top: 0; }
}

/* --- 9. כרטיסי תחומי עיסוק ----------------------------------------------
   כרטיס שטוח עם קו זהב עליון שנפתח במעבר עכבר. בלי צל, בלי הרמה,
   בלי אייקון בתוך ריבוע מעוגל — אלה בדיוק שלושת הסימנים שמסגירים
   תבנית מוכנה. */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 1px;
  /* קווי ההפרדה מגיעים מצל של כל כרטיס בנפרד, ולא מרקע המכל. עם רקע
     על המכל, שורה אחרונה שאינה מלאה מציירת את התאים הריקים כגוש צבע —
     וזה נראה כתקלת רינדור. כך התאים הריקים פשוט אינם. */
  background: transparent;
  border: 0;
}
.card {
  position: relative;
  background: var(--paper);
  border: 0;
  border-radius: 0;
  padding: var(--s4);
  box-shadow: none;
  transition: background-color .2s;
}
.card-grid > .card { box-shadow: 0 0 0 1px var(--line); }
.card::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0 100%;
  height: 3px;
  background: var(--gold);
  transition: inset-inline-end .35s ease;
}
.card:hover { background: var(--paper-warm); transform: none; }
.card:hover::before { inset-inline-end: 0; }
.card-head { display: flex; align-items: center; gap: .7rem; margin-bottom: var(--s2); }
.card-icon {
  width: auto; height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--gold);
  display: block;
  margin: 0;
  flex-shrink: 0;
}
.card-icon svg { width: 26px; height: 26px; display: block; }
.card h3 { margin: 0; }
.card p { font-size: .97rem; color: var(--ink-soft); margin: 0; }

/* הכרטיס הבודד (תיבת "איך אנחנו עובדים") אינו חלק מהרשת */
.card-warm {
  border: 1px solid var(--line);
  background: var(--paper-warm);
  padding: var(--s4);
}
.card-warm h3 { margin-bottom: 1rem; }

/* --- 10. שלבי התהליך ----------------------------------------------------
   מספרי רפאים גדולים במקום עיגולי מספר. הספרה היא העיצוב. */
.steps { counter-reset: step; display: grid; gap: 0; background: transparent; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative;
  padding: var(--s4) var(--s3);
  background: transparent;
  border: 0;
  border-radius: 0;
}
@media (min-width: 900px) {
  .step { border-inline-start: 1px solid rgba(255,255,255,.18); }
  .step:first-child { border-inline-start: 0; padding-inline-start: 0; }
  .step:last-child { padding-inline-end: 0; }
}
@media (max-width: 899px) {
  .step { border-top: 1px solid rgba(255,255,255,.18); padding-inline: 0; }
  .step:first-child { border-top: 0; }
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: static;
  display: block;
  width: auto; height: auto;
  background: none;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--gold-bright);
  opacity: .85;
  margin-bottom: .85rem;
  direction: ltr;
  text-align: start;
}
.step h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.step p { font-size: .95rem; color: #c3d0de; margin: 0; }

/* --- 10ב. פס קריאה לפעולה באמצע העמוד -----------------------------------
   שני אתרי הייחוס חוזרים על ההזמנה ליצור קשר לפני שהגולל מגיע לתחתית.
   כאן זו שורה אחת שקטה, לא טופס שני. */
.cta-band {
  background: var(--brand-blue);
  color: #fff;
  padding-block: var(--s5);
}
.cta-band .cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3) var(--s4);
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem);
  margin: 0 0 .35rem;
}
.cta-band p { color: #dbe4f0; margin: 0; max-width: 56ch; font-size: 1rem; }
/* בלי flex-shrink:0 — במסך צר הכפתורים חייבים להיערם ולא לגלוש החוצה */
.cta-band .cta-inner > * { min-width: 0; }
.cta-band .btn-row { margin-top: 0; }
@media (max-width: 620px) { .cta-band .btn-row .btn { flex: 1 1 100%; } }
.cta-band .btn-primary { background: #fff; color: var(--navy); border-color: #fff; }
.cta-band .btn-primary:hover { background: var(--paper-warm-2); color: var(--navy); border-color: var(--paper-warm-2); }
.cta-band strong { color: #fff; }

/* --- 11. שאלות נפוצות (details/summary נגיש) ----------------------------
   רשימה מחולקת בקווי שיער במקום עשרה מלבנים ממוסגרים. */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  overflow: hidden;
}
.faq details[open] { border-color: var(--line); box-shadow: none; background: var(--paper-warm); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem .75rem;
  min-height: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
  font-family: var(--font-display);
  font-weight: var(--w-display); font-size: 1.06rem; color: var(--navy);
  letter-spacing: -.008em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--paper-warm); }
.faq summary::after {
  content: "";
  width: 11px; height: 11px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform .2s;
  flex-shrink: 0;
  margin-top: -4px;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.faq .faq-body { padding: 0 .75rem 1.35rem; color: var(--ink-soft); max-width: var(--measure); }
.faq .faq-body p { font-size: .98rem; }

/* --- 12. יצירת קשר ------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s5);
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: var(--s4); } }

.contact-list { list-style: none; margin: 0 0 var(--s4); padding: 0; display: grid; gap: .25rem; }
.contact-list li { margin: 0; }
.contact-list a, .contact-list .ci-static {
  display: flex; align-items: flex-start; gap: .85rem;
  padding: .7rem .6rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  min-height: 48px;
}
.contact-list a:hover { background: var(--paper-warm-2); color: var(--navy); }
.contact-list svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; margin-top: .35rem; }
.ci-label { display: block; font-size: .8rem; color: var(--ink-soft); line-height: 1.4; }
.ci-value { display: block; font-weight: 700; color: var(--navy); font-size: 1.05rem; line-height: 1.5; }
.ci-value.ltr { direction: ltr; text-align: start; }

/* טופס */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 0;
  padding: var(--s4);
  box-shadow: var(--shadow-md);
}
@media (max-width: 560px) { .form-card { padding: var(--s3); } }
.field { margin-bottom: var(--s3); }
.field label { display: block; font-weight: 700; color: var(--navy); margin-bottom: .35rem; font-size: .97rem; }
.req { color: var(--error); font-weight: 700; }
.hint { display: block; font-size: .85rem; color: var(--ink-soft); font-weight: 400; margin-top: .1rem; }
.field input, .field textarea, .field select {
  width: 100%;
  min-height: 48px;
  padding: .7rem .85rem;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #8a8171;   /* 3.85:1 מול לבן — עומד ב-1.4.11 (רכיבי ממשק) */
  border-radius: var(--radius);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--ink-soft); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field-error {
  display: none;
  margin-top: .35rem;
  color: var(--error);
  font-size: .9rem;
  font-weight: 600;
}
.field-error::before { content: "⚠ "; }
.field-error.show { display: block; }

.check {
  display: flex; align-items: flex-start; gap: .7rem;
  font-size: .95rem; color: var(--ink-soft); line-height: 1.6;
}
.check input[type="checkbox"] {
  width: 24px; height: 24px; min-height: 24px;
  margin: .28rem 0 0; flex-shrink: 0; accent-color: var(--gold);
}
.form-status {
  margin-top: var(--s3);
  padding: .9rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  display: none;
}
.form-status.show { display: block; }
.form-status.ok   { background: #e7f4ee; color: var(--success); border: 1px solid #b7ded0; }
.form-status.err  { background: #fdecec; color: var(--error);   border: 1px solid #f3c4c4; }

.map-embed {
  border: 0; width: 100%; height: 260px;
  border-radius: 0; display: block;
  filter: grayscale(.2);
}

/* קופסת המפה לפני הטעינה — טקסט והסבר, בלי שום בקשה החוצה */
.map-box {
  border: 1px solid var(--line);
  background: var(--paper-warm);
  padding: var(--s3);
  display: grid;
  gap: .75rem;
  justify-items: start;
  min-height: 130px;
  align-content: center;
}
.map-box.is-loaded { padding: 0; border: 0; background: none; min-height: 0; display: block; }
.map-consent { font-size: .87rem; color: var(--ink-soft); margin: 0; max-width: 54ch; line-height: 1.6; }
.map-load svg { width: 20px; height: 20px; }

/* --- 13. כותרת תחתונה --------------------------------------------------- */
.site-footer {
  background: var(--navy-deep); color: #b9c7d6;
  border-top: 3px solid var(--gold);
  padding-block: var(--s5) var(--s3); font-size: .95rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s4); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2, .site-footer h3 { color: #fff; font-size: 1.02rem; margin-bottom: .8rem; }
.site-footer a { color: #d6e0ea; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer .foot-link { display: inline-block; padding: .25rem 0; min-height: 32px; }
.social-row { display: flex; gap: .6rem; margin-top: var(--s2); }
.social-row a {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 2px;
}
.social-row a:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); }
.social-row svg { width: 20px; height: 20px; }
.footer-bottom {
  margin-top: var(--s4);
  padding-top: var(--s3);
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3);
  justify-content: space-between;
  font-size: .87rem;
  color: #93a5b7;
}
.disclaimer {
  margin-top: var(--s3);
  font-size: .84rem;
  line-height: 1.65;
  color: #8fa2b5;
  max-width: 90ch;
}

/* --- 14. סרגל פעולה דביק בנייד ------------------------------------------
   שני כפתורי גלולה על רקע מטושטש. הירוק המלא של וואטסאפ נשאר רק באייקון —
   ריבוע ירוק ברוחב חצי מסך מתנגש עם הנייבי והזהב ומוזיל את המראה. */
.mobile-bar {
  position: fixed;
  inset-inline: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: .5rem;
  padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-top: 1px solid var(--line-soft);
  box-shadow: 0 -5px 20px rgba(23, 34, 47, .09);
}
.mobile-bar .btn {
  flex: 1 1 0;
  min-width: 0;              /* בלי זה הכפתורים לא מתכווצים מתחת לרוחב התוכן */
  min-height: 46px;
  padding: .45rem .7rem;
  gap: .45rem;
  font-size: .95rem;
  letter-spacing: .005em;
  border-radius: 100px;
  box-shadow: none;
}
.mobile-bar .btn svg { width: 18px; height: 18px; }

.mobile-bar .mb-call {
  background: var(--gold); color: #fff; border-color: var(--gold);
  box-shadow: 0 2px 8px rgba(138, 100, 32, .28);
}
.mobile-bar .mb-call:hover { background: #6f4f18; border-color: #6f4f18; color: #fff; }

.mobile-bar .mb-wa {
  /* גבול ב-3.85:1 מול לבן — גבול של רכיב אינטראקטיבי חייב 3:1 (WCAG 1.4.11) */
  background: #fff; color: var(--navy); border-color: #8a8171;
}
.mobile-bar .mb-wa:hover { background: var(--paper-warm); border-color: var(--navy); color: var(--navy); }
.mobile-bar .mb-wa svg { color: #0f7a3d; }      /* דקורטיבי — זיהוי המותג בלבד */

@media (max-width: 760px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 70px; }
}
@media (max-width: 380px) {
  .mobile-bar { padding-inline: .5rem; gap: .4rem; }
  .mobile-bar .btn { font-size: .86rem; padding-inline: .45rem; gap: .3rem; }
  .mobile-bar .btn svg { width: 16px; height: 16px; }
}

/* --- 15. עמודי תוכן משפטי ----------------------------------------------- */
.page-head { background: var(--paper-warm); border-bottom: 1px solid var(--line); padding-block: var(--s5) var(--s5); }
.page-head p { color: var(--ink-soft); margin: 0; }
.breadcrumbs { font-size: .88rem; color: var(--ink-soft); margin-bottom: var(--s2); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.breadcrumbs li { margin: 0; display: flex; align-items: center; }
/* „בית” הוא קישור ניווט עצמאי, לא קישור בתוך משפט — ולכן חלה עליו
   דרישת גודל מטרת המגע. בלי זה הוא 19x18 פיקסלים. */
.breadcrumbs a {
  display: inline-flex; align-items: center;
  min-height: 24px; min-width: 24px;
  padding-inline: .25rem;
  justify-content: center;
}
.breadcrumbs li + li::before { content: "‹"; margin-inline-end: .4rem; color: var(--line); }

.prose h2 { margin-top: var(--s4); padding-top: var(--s2); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--s3); }
.prose ul li::marker { color: var(--gold); }
.page-head .updated {
  display: inline-block;
  background: var(--paper-warm-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: .3rem 1rem;
  font-size: .87rem;
  color: var(--ink-soft);
  margin: var(--s2) 0 0;
}
.callout {
  background: var(--paper-warm);
  border: 1px solid var(--line-soft);
  border-inline-start: 3px solid var(--gold);
  border-radius: 0;
  padding: var(--s3) var(--s4);
  margin: var(--s4) 0 0;
}
.callout p:last-child { margin-bottom: 0; }

table.simple { width: 100%; border-collapse: collapse; margin: var(--s3) 0; font-size: .96rem; }
table.simple caption { text-align: start; font-weight: 700; color: var(--navy); padding-bottom: .5rem; }
table.simple th, table.simple td { text-align: start; padding: .7rem .8rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.simple th { background: var(--paper-warm); color: var(--navy); font-weight: 700; }
.table-scroll { overflow-x: auto; }

/* --- 16. הדפסה ---------------------------------------------------------- */
@media print {
  .site-header, .mobile-bar, .site-footer, .form-card, .nav-toggle { display: none !important; }
  body { font-size: 11pt; color: #000; padding: 0; }
  a::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  section { padding-block: 1rem; page-break-inside: avoid; }
}

/* --- 17. סמל המותג (תמונה) ---------------------------------------------- */
.brand-mark-img {
  width: 46px; height: 46px;
  object-fit: contain;
  flex-shrink: 0;
}
@media (max-width: 400px) { .brand-mark-img { width: 40px; height: 40px; } }

/* --- 18. פריסת "אודות" -------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: var(--s4); } }

kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .88em;
  background: var(--paper-warm-2);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: .1em .45em;
  color: var(--navy);
  direction: ltr;
  display: inline-block;
}

/* --- 19. מלכודת ספאם -----------------------------------------------------
   חייבת להיות מוסתרת בלי ליצור גלישה אופקית של המסמך.
   שימוש ב-left שלילי גדול שובר את פריסת ה-RTL — לכן clip-path. */
.honeypot {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
}

/* --- 20. גודל אייקונים בתוך כפתורים וקישורים ---------------------------
   ללא הגבלה מפורשת, SVG ללא width/height מתנפח לגובה השורה של ההורה. */
.btn svg,
.mobile-bar .btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-row .btn svg   { width: 20px; height: 20px; }
.callout svg        { width: 20px; height: 20px; }

/* --- 21. קישורי מפה עצמאיים — מטרת מגע מספקת ---------------------------- */
.map-links { font-size: .9rem; margin-top: .4rem; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; }
.map-links a {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: .25rem .6rem;
  border-radius: var(--radius);
}
.map-links a:hover { background: var(--paper-warm-2); }
.map-links .sep { color: var(--line); }

/* --- 22. עמידות הכותרת בהגדלת טקסט (WCAG 1.4.4) -------------------------
   כשהמשתמש מגדיל את גופן הבסיס, שורת הכותרת חייבת להישבר בעדינות
   במקום לדחוף תוכן אל מחוץ למסך. */
.header-inner { flex-wrap: wrap; row-gap: .4rem; padding-block: .35rem; }
.site-nav          { min-width: 0; }
.site-nav ul       { flex-wrap: wrap; }
.header-cta        { flex-wrap: wrap; justify-content: flex-end; min-width: 0; }
.header-phone      { max-width: 100%; }
.brand             { min-width: 0; max-width: 100%; }
.brand-text        { min-width: 0; }
.brand-name, .brand-sub { overflow-wrap: anywhere; }

/* --- 23. הדגשה על רקע כהה -------------------------------------------------
   הכלל הגלובלי צובע <strong> בנייבי. על סעיפים כהים זה נייבי-על-נייבי.
   התוכן מגיע מ-content.json, ולכן ההדגשה יכולה להופיע בכל מקום — הכלל
   הזה מבטיח שהיא תמיד קריאה. */
.bg-navy strong,
.site-footer strong,
.cta-band strong,
.step strong,
.disclaimer strong { color: #fff; }

/* --- 24. מחלקות שירות ------------------------------------------------------
   מחליפות תכונות style= בתוך ה-HTML. הסיבה אינה אסתטית אלא אבטחתית:
   בלי סגנון מוטבע אפשר להגדיר CSP קפדני (style-src 'self') בלי 'unsafe-inline'. */
.footer-logo    { width: 200px; height: auto; margin-bottom: 1rem; }
.footer-tagline { color: #b9c7d6; max-width: 44ch; }
.hero-lead      { color: var(--ink-soft); font-size: 1.2rem; margin-bottom: 1.5rem; max-width: 48ch; }
.steps-note     { margin-top: 2.5rem; color: #93a5b7; font-size: .92rem; max-width: 80ch; }
.section-center { text-align: center; padding-block: var(--s7); }
.center-row     { justify-content: center; }
.pb-0           { padding-block: 0; }
.mt-md          { margin-top: 2rem; }
.mt-lg          { margin-top: 1.4rem; }
.mb-md          { margin-bottom: 1rem; }
.mb-xs          { margin-bottom: .4rem; }
.w-full         { width: 100%; }
.bare-list      { list-style: none; padding: 0; margin: 0; }
.tick-list      { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.tick-row       { display: flex; gap: .75rem; margin: 0; }
.tick-icon      { color: var(--gold); flex-shrink: 0; width: 22px; }
.card-warm      { background: var(--paper-warm); border-color: var(--line); }
.form-hint      { font-size: .94rem; color: var(--ink-soft); margin-bottom: 1.4rem; }
.form-foot      { font-size: .85rem; color: var(--ink-soft); margin-top: 1rem; margin-bottom: 0; }

/* --- 25. מה להביא לפגישה ------------------------------------------------- */
.prep-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
@media (min-width: 700px) { .prep-list { grid-template-columns: 1fr 1fr; gap: 1rem; } }
.prep-item {
  display: flex; gap: .8rem; margin: 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 1.1rem .25rem;
}
.prep-check { color: var(--gold); flex-shrink: 0; width: 24px; margin-top: .15rem; }
.prep-check svg { width: 24px; height: 24px; }
.prep-item b { display: block; color: var(--navy); font-family: var(--font-display);
               font-weight: 600; font-size: 1.02rem; margin-bottom: .15rem; }
.prep-item > span > span { display: block; font-size: .95rem; color: var(--ink-soft); line-height: 1.6; }

/* --- 26. העדפת יצירת קשר ------------------------------------------------- */
fieldset.pref { border: 0; padding: 0; margin: 0 0 var(--s3); }
fieldset.pref legend {
  padding: 0; font-weight: 700; color: var(--navy); margin-bottom: .45rem; font-size: .97rem;
}
.pref-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.pref-opt {
  display: inline-flex; align-items: center; gap: .45rem;
  min-height: 44px; padding: .4rem .85rem;
  border: 1.5px solid #8a8171; border-radius: 100px;
  cursor: pointer; background: #fff; font-size: .95rem;
}
.pref-opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--gold); }
.pref-opt:hover { border-color: var(--navy); background: var(--paper-warm); }
.pref-opt:has(input:checked) {
  border-color: var(--gold); background: #fdf8ef; font-weight: 700; color: var(--navy);
}
.pref-opt:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
