/* אתר עידן סולימן. השפה: משרד ייעוץ כלכלי-משפטי גדול (בסגנון Cornerstone, Analysis Group, Brattle):
   צפחה כהה, נייר, זהב כקו דק בלבד, כותרות גדולות, תוויות קטנות מרווחות, פינות ישרות, קווים דקים, הרבה אוויר.
   גופנים: Assistant (כותרות וטקסט, גופן אחד כמו במשרדי עורכי הדין הגדולים; החלטה מ-22.10.2026), Allura (השם בלוגו),
   Cormorant (שורת התגית). הכל מקומי. */

@font-face { font-family: "Assistant"; src: url("fonts/assistant-hebrew.woff2") format("woff2"); font-weight: 200 800; font-display: swap;
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Assistant"; src: url("fonts/assistant-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Script"; src: url("fonts/allura.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Garamond"; src: url("fonts/cormorant-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ink: #1F2630;           /* צפחה: כחול-אפור עמוק במקום שחור (22.10.2026) */
  --ink-2: #283039;
  --ink-3: #333B45;
  --paper: #FFFFFF;
  --ivory: #F7F4EE;
  --cream: #EDE7DA;
  --tile: #EFEAE1;
  --text: #1C1B19;
  --soft: #4B4740;
  --muted: #6E685E;
  --gold: #B08D57;          /* קווים, נקודות, אייקונים */
  --gold-ink: #7D6134;      /* טקסט זהוב על רקע בהיר (ניגודיות 5.5:1) */
  --gold-soft: #CDB07A;     /* זהב על רקע כהה */
  --rule: rgba(21, 20, 15, .13);
  --rule-strong: rgba(21, 20, 15, .3);
  --rule-dark: rgba(255, 255, 255, .16);
  --ok: #2E6B45;
  --err: #A33A2A;
  --wrap: 1240px;
  --head: "Assistant", "Arial Hebrew", Arial, system-ui, sans-serif;
  --body: "Assistant", "Arial Hebrew", Arial, system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--paper); color: var(--text); overflow-x: clip;
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.8; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--gold-ink); text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.18; margin: 0; letter-spacing: -.005em; text-wrap: balance; }
p { margin: 0 0 1em; }
b { font-weight: 700; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 860px; }
.nb { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -60px; right: 16px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 60; }
.skip:focus { top: 0; color: #fff; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic .g { stroke: var(--gold); }

/* תוויות קטנות: הסימן של משרד גדול. בעברית אין אותיות גדולות, ולכן מרווח אותיות וזהב */
.eyebrow { margin: 0 0 22px; font-size: 0.78125rem; font-weight: 600; letter-spacing: .2em; color: var(--gold-ink); }
.eyebrow::before { content: ""; display: inline-block; vertical-align: middle; width: 28px; height: 1px; margin: -2px 0 0 14px; background: var(--gold); }
.eyebrow:empty { display: none; }

/* ---------------------------------------------------------------- כפתורים: ישרים, עם חץ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  font: 500 0.9375rem/1.2 var(--body); letter-spacing: .02em; padding: 16px 28px; text-decoration: none; cursor: pointer;
  transition: background .25s, border-color .25s, color .25s;
}
.btn:hover { background: var(--gold-ink); border-color: var(--gold-ink); color: #fff; }
.btn .ic { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .ic { transform: translateX(-5px); }
.btn > svg:not(.ic) { width: 18px; height: 18px; flex: none; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--rule-strong); }
.btn.ghost:hover { border-color: var(--text); color: var(--text); background: transparent; }
.btn.gold { background: var(--gold-ink); border-color: var(--gold-ink); }
.btn.gold:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn.light { background: #fff; border-color: #fff; color: var(--ink); }
.btn.light:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--ink); }
.btn.ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn.ghost-light:hover { border-color: #fff; background: transparent; }
.btn.sm { padding: 11px 20px; font-size: 0.875rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.more { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 0.9375rem; text-decoration: none; letter-spacing: .01em; }
.more .ic { width: 18px; height: 18px; color: var(--gold-ink); transition: transform .3s var(--ease); }
.more:hover { color: var(--gold-ink); }
.more:hover .ic { transform: translateX(-6px); }

/* ---------------------------------------------------------------- כותרת עליונה */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.top.scrolled { border-color: var(--rule); background: rgba(255, 255, 255, .96); }
/* פס התקדמות הקריאה: קו זהב דק בתחתית הסרגל שמתמלא מימין לשמאל ככל שגוללים (site.js מעדכן את --progress) */
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--gold-soft), var(--gold-ink)); transform-origin: right; transform: scaleX(var(--progress, 0)); pointer-events: none; }
.top .wrap { max-width: none; padding: 0 40px; }
.top-in { direction: ltr; display: flex; align-items: center; justify-content: space-between; height: 92px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text); flex: none; }
.tile { width: 66px; height: 66px; background: var(--tile); display: flex; align-items: center; justify-content: center; flex: none; color: var(--text); }
.tile svg { width: 55px; height: 55px; }
.brand-text, .foot-brand > div { display: flex; flex-direction: column; }
.name { font-family: "Script", cursive; font-size: 2.125rem; line-height: 1; padding-top: 5px; }
/* ™ ליד השם: קטן, בגופן הטקסט, מורם לגובה האותיות הגדולות של הכתב, ובלי להשפיע על גובה השורה (28.10.2026) */
.name .tm { display: inline-block; font-family: var(--body); font-size: .3em; font-weight: 600; line-height: 0; letter-spacing: .02em; margin-left: .18em; position: relative; top: -.95em; color: var(--muted); }
.tag { font-family: "Garamond", serif; font-weight: 600; font-size: 0.71875rem; letter-spacing: 3px; color: var(--gold); margin-top: 4px; white-space: nowrap; }
.nav { direction: rtl; display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) { position: relative; color: var(--soft); text-decoration: none; font-size: 0.9375rem; font-weight: 500; letter-spacing: .01em; padding: 6px 0; white-space: nowrap; }
.nav a:not(.btn)::after { content: ""; position: absolute; right: 0; left: 0; bottom: -2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover, .nav a[aria-current] { color: var(--text); }
.nav a:not(.btn):hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
/* חיוג: כפתור שקוף עם אייקון זהוב ליד ״יצירת קשר״. המספר לא מוצג, רק נפתח החיוג */
.nav-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: 6px; }
.btn.call { gap: 9px; }
.btn.call .ic { width: 16px; height: 16px; color: var(--gold-ink); transition: color .25s; }
.btn.call:hover .ic { transform: none; color: currentColor; }
.call-m { display: none; }
.menu-btn { display: none; flex: none; width: 46px; height: 46px; border: 1px solid var(--rule-strong); background: var(--paper); cursor: pointer; position: relative; }
.menu-btn span:first-child, .menu-btn span:first-child::before, .menu-btn span:first-child::after { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); content: ""; transition: transform .25s, background .25s; }
.menu-btn span:first-child { top: 22px; }
.menu-btn span:first-child::before { left: 0; right: 0; top: -6px; }
.menu-btn span:first-child::after { left: 0; right: 0; top: 6px; }
.menu-btn[aria-expanded="true"] span:first-child { background: transparent; }
.menu-btn[aria-expanded="true"] span:first-child::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:first-child::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------------------------- פתיח: לוח כהה, הצהרה אחת, ציור נתונים */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #F3EFE6; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(1100px 600px at 85% 20%, rgba(176, 141, 87, .16), transparent 60%); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; min-height: min(calc(100vh - 84px), 860px); padding-block: 72px 96px; }
.hero .eyebrow { color: var(--gold-soft); }
.hero .eyebrow::before { background: var(--gold-soft); }
.hero h1 { font-size: clamp(2.5rem, calc(5.4vw * var(--fz, 1)), 4.5rem); line-height: 1.08; color: #fff; }
/* שורת התגית בתוך ה-H1 (בשביל גוגל וקוראי מסך): נראית בדיוק כמו השורה הנפרדת שהייתה מעל הכותרת */
.hero h1 .eyebrow { display: block; line-height: 1.8; text-wrap: wrap; }
.hero h1 .h1-main { display: block; max-width: 11em; }
.hero h1 b, .page-hero h1 b, .sec-head h2 b, .quote b { color: var(--gold-soft); font-weight: inherit; }
.page-hero h1 b, .sec-head h2 b { color: var(--gold-ink); }
.lead-short { display: none; }
.hero .lead { font-size: clamp(1.0625rem, calc(1.4vw * var(--fz, 1)), 1.25rem); color: #C9C2B4; margin: 28px 0 38px; max-width: 32em; line-height: 1.75; }
.hero .btn:not(.ghost) { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--ink); }
.hero .btn:not(.ghost):hover { background: #fff; border-color: #fff; color: var(--ink); }
.hero .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
.hero .btn.ghost:hover { border-color: #fff; }
.badges { list-style: none; padding: 28px 0 0; margin: 36px 0 0; border-top: 1px solid var(--rule-dark); display: flex; flex-wrap: wrap; gap: 12px 36px; color: #B7B0A2; font-size: 0.875rem; letter-spacing: .01em; }
.badges li { display: flex; align-items: center; gap: 10px; }
.badges li::before { content: ""; width: 5px; height: 5px; background: var(--gold-soft); transform: rotate(45deg); flex: none; }
.badges .ic { display: none; }
.hero-side { position: relative; }
.hero-visual { position: relative; aspect-ratio: 5 / 3.6; }
.hero-visual .surface { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-visual .chart { position: absolute; inset: 0; width: 100%; height: 100%; }
html.js .hero-visual .chart { display: none; }
html:not(.js) .hero-visual .surface { display: none; }
.chart { width: 100%; height: auto; display: block; }
.chart .grid line { stroke: rgba(255, 255, 255, .09); stroke-width: 1; }
.chart .axis { stroke: rgba(255, 255, 255, .28); stroke-width: 1; }
.chart .area { fill: url(#chart-fill); }
.chart .ln { fill: none; stroke: var(--gold-soft); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .ln2 { fill: none; stroke: rgba(255, 255, 255, .35); stroke-width: 1.2; stroke-dasharray: 3 5; }
.chart .dot { fill: #fff; }
.chart .ring { fill: none; stroke: var(--gold-soft); stroke-width: 1; opacity: .7; }
.chart .lbl { font-family: "Garamond", serif; font-size: 0.6875rem; letter-spacing: 2px; fill: rgba(255, 255, 255, .5); }
.hero-enter .chart .ln { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 1.6s .2s var(--ease) forwards; }
.hero-enter .chart .area { opacity: 0; animation: fade 1s 1.2s both; }
.hero-enter .hero-text > *, .hero-enter .hero-text > h1 > span { animation: rise .9s var(--ease) both; }
/* התגית והכותרת שבתוך ה-H1 עולות כל אחת בתורה, כמו כשהיו שתי שורות נפרדות, ושאר השורות באותו קצב כמו קודם */
.hero-enter .hero-text > h1 { animation: none; }
.hero-enter .hero-text > h1 > span + span { animation-delay: .08s; }
.hero-enter .hero-text > :nth-child(2) { animation-delay: .16s; }
.hero-enter .hero-text > :nth-child(3) { animation-delay: .24s; }
.hero-enter .hero-text > :nth-child(4) { animation-delay: .32s; }
.hero-enter .hero-text > :nth-child(5) { animation-delay: .4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { transform: translateY(28px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } }
.valley { position: absolute; left: 0; right: 0; bottom: 28px; width: 100%; height: 46px; pointer-events: none; }
.valley path { fill: none; stroke: var(--rule-dark); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero::after, .page-hero::after { content: ""; position: absolute; left: 50%; bottom: 39px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--gold); pointer-events: none; }

/* רצועת תחומים מתחת לפתיח */
.strip { background: var(--ivory); border-bottom: 1px solid var(--rule); }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; }
.strip li { flex: 1 1 0; padding: 22px 20px; font-size: 0.90625rem; color: var(--soft); border-left: 1px solid var(--rule); display: flex; gap: 14px; align-items: baseline; }
.strip li:last-child { border-left: 0; }
.strip li:first-child { padding-right: 0; }
.strip .n { font-family: "Garamond", serif; font-weight: 600; font-size: 0.8125rem; letter-spacing: .1em; color: var(--gold-ink); }

/* ---------------------------------------------------------------- חלקים */
.sec { padding: 100px 0; position: relative; }
.sec:not(.alt):not(.contact) + .sec:not(.alt):not(.contact), .sec.alt + .sec.alt, .scene + .sec.alt { padding-top: 0; }
.sec.alt { background: var(--ivory); }
.sec-head { max-width: 960px; margin-bottom: 64px; }   /* הכותרת רחבה, כדי שכותרת של משפט אחד תישאר בשורה אחת; הפתיחה נשארת ב-40em */
.h-note { display: block; font-size: max(.46em, 0.9375rem); font-weight: 500; letter-spacing: .01em; color: var(--muted); margin-top: .55em; line-height: 1.4; }
.sec-head.center { text-align: center; margin-inline: auto; }
.sec-head.center .eyebrow::before { display: none; }
.sec-head h2 { font-size: clamp(2rem, calc(3.6vw * var(--fz, 1)), 3.125rem); }
.sec-lead { font-size: 1.15625rem; color: var(--soft); margin: 20px 0 0; line-height: 1.75; max-width: 40em; }
.ticks { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9375rem; line-height: 1.6; color: var(--soft); }
.ticks li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: .62em; background: var(--gold); transform: rotate(45deg); }
.ticks .ic { display: none; }

/* שתי הדלתות: לוח כהה ולוח נייר, ישרים */
.doors-sec { padding-top: 96px; }
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--rule); border: 1px solid var(--rule); }
.door { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 56px 52px 48px; text-decoration: none; color: inherit; background: var(--paper); transition: background .35s; }
.door-legal { background: var(--ink); color: #F1ECE3; }
.door-legal p, .door-legal .ticks li { color: #BDB5A7; }
.door-legal .door-label, .door-legal .door-link { color: var(--gold-soft); }
.door-legal .ticks li::before { background: var(--gold-soft); }
.door-legal:hover { background: var(--ink-2); color: #F1ECE3; }
.door-business:hover { background: var(--ivory); color: inherit; }
.door-business p, .door-business .ticks li { color: var(--soft); }
.door-label { font-size: 0.78125rem; font-weight: 600; letter-spacing: .2em; color: var(--gold-ink); }
.door h3 { font-size: clamp(1.625rem, calc(2.5vw * var(--fz, 1)), 2.125rem); }
.door p { margin: 0; font-size: 1.03125rem; }
.door-link { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.9375rem; color: var(--gold-ink); }
.door-link .ic { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.door:hover .door-link .ic { transform: translateX(-6px); }
.door.spot { margin-top: 48px; }            /* בעמוד חוות הדעת: הכרטיס לעמוד הייצוגיות */
.sources .prose-lg { font-size: 0.9375rem; }
.example-box { border: 1px solid var(--rule-strong); background: var(--paper); padding: 44px 48px; }   /* הדוגמה על נתונים בדויים */
@media (max-width: 700px) { .example-box { padding: 28px 22px; } }

/* עמודי השירות: שורות האמון בפתיח, נקודת המוצא והמספרים, ושורות השירות עם ״מתי״ ו״התוצר״ */
.page-hero .marks { list-style: none; padding: 22px 0 0; margin: 30px 0 0; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 10px 34px; max-width: 54em; color: var(--soft); font-size: 0.9375rem; }
.page-hero .marks li { display: flex; align-items: center; gap: 10px; }
.page-hero .marks li::before { content: ""; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); flex: none; }
.insight { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: start; }
.insight h2 { font-size: clamp(2rem, calc(3.4vw * var(--fz, 1)), 2.875rem); line-height: 1.15; text-wrap: balance; }
.insight h2 b { color: var(--gold-ink); font-weight: inherit; }
.insight-text { padding-top: 40px; font-size: 1.125rem; line-height: 1.85; color: var(--soft); }
.insight-text p:last-child { margin-bottom: 0; }
.figures { margin-top: 72px; padding-top: 36px; border-top: 1px solid var(--rule-strong); }
.figures-lead { max-width: 46em; margin: 0 0 36px; font-size: 1.0625rem; color: var(--text); }
.figures ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.figures li { padding: 2px 0 2px 28px; }
.figures li + li { padding-right: 28px; border-right: 1px solid var(--rule); }
.figures b { display: block; direction: ltr; unicode-bidi: isolate; text-align: right; font-family: var(--head); font-weight: 700; font-size: clamp(2.25rem, calc(3.6vw * var(--fz, 1)), 3.125rem); line-height: 1; color: var(--gold-ink); }
.figures span { display: block; margin-top: 12px; max-width: 17em; font-size: 0.9375rem; line-height: 1.6; color: var(--soft); }
.figures-note { margin: 30px 0 0; font-size: 0.8125rem; line-height: 1.7; color: var(--soft); }
.insight + .figures + .door, .figures + .door.spot, .insight ~ .door.spot { margin-top: 64px; }
.stages .svc { grid-template-columns: 90px minmax(0, 5fr) minmax(0, 7fr); }
.stages .when { margin: 10px 0 0; font-size: 0.9375rem; font-weight: 600; color: var(--gold-ink); }
.stages .svc p { font-size: 1.03125rem; }
.stages .result { display: flex; gap: 16px; align-items: baseline; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 0.96875rem; color: var(--text); }
.stages .result b { flex: none; font-size: 0.75rem; font-weight: 700; letter-spacing: .16em; color: var(--gold-ink); }
.quote .eyebrow, .band-head .eyebrow { color: var(--gold-soft); margin: 0 0 16px; }
.quote .eyebrow::before, .band-head .eyebrow::before { display: none; }
.band-head { position: relative; margin: 0 auto 72px; max-width: 900px; text-align: center; }
.band-head svg { width: 48px; height: 48px; color: var(--gold-soft); margin-bottom: 26px; }
.band-head h2 { color: #fff; font-size: clamp(1.875rem, calc(3.2vw * var(--fz, 1)), 2.75rem); line-height: 1.2; text-wrap: balance; }
.band-head h2 b { color: var(--gold-soft); font-weight: inherit; }
@media (max-width: 1100px) {
  .stages .svc { grid-template-columns: 70px minmax(0, 1fr); }
  .stages .svc > div:last-of-type { grid-column: 2; }
  .insight { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .insight-text { padding-top: 0; }
  .figures ul { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .figures li:nth-child(3) { padding-right: 0; border-right: 0; }
}
@media (max-width: 640px) {
  .stages .svc { grid-template-columns: minmax(0, 1fr); }
  .stages .svc > div:last-of-type { grid-column: 1; }
  .stages .result { flex-direction: column; gap: 6px; }
  .page-hero .marks { flex-direction: column; gap: 10px; }
  .figures { margin-top: 52px; }
  .figures li { padding-left: 14px; }
  .figures li + li { padding-right: 14px; }
}

/* תחומי העבודה: שורות ממוספרות, כמו ברשימת ה-practices של המשרדים הגדולים */
.svcs { display: block; border-top: 1px solid var(--rule-strong); }
.svc { display: grid; grid-template-columns: 90px minmax(0, 5fr) minmax(0, 6fr) 56px; gap: 36px; align-items: start; padding: 40px 0; border-bottom: 1px solid var(--rule); position: relative; }
.svc::before { content: ""; position: absolute; right: 0; top: -1px; width: 0; height: 1px; background: var(--gold); transition: width .5s var(--ease); }
.svc:hover::before { width: 100%; }
.svc-n { font-family: "Garamond", serif; font-weight: 600; font-size: 0.9375rem; letter-spacing: .22em; color: var(--gold-ink); padding-top: 10px; }
.svc h3 { font-size: 1.5625rem; line-height: 1.25; }
.svc p { color: var(--soft); margin: 0 0 10px; font-size: 1rem; }
.svc .more { justify-self: end; padding-top: 8px; }
.svc h3 .svc-link { color: inherit; text-decoration: none; }     /* הכותרת היא הקישור לעמוד, באותו מראה */

/* ייחודיות: ארבע עמודות עם קו עליון ומספרים */
.strengths { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.strengths li { border-top: 1px solid var(--rule-strong); padding-top: 26px; }
.st-n { display: block; font-family: "Garamond", serif; font-weight: 600; font-size: 0.875rem; letter-spacing: .24em; color: var(--gold-ink); margin-bottom: 18px; }
.strengths h3 { font-size: 1.3125rem; margin-bottom: 10px; }
.strengths p { color: var(--soft); font-size: 0.96875rem; margin: 0; }

/* הרצועה הכהה: ציטוט ועקרונות */
.dark-band { position: relative; overflow: hidden; background: var(--ink); color: #EDE7DC; padding: 130px 0; }
.dark-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 50% 0%, rgba(176, 141, 87, .14), transparent 70%); pointer-events: none; }
.quote { position: relative; margin: 0 auto 84px; text-align: center; max-width: 980px; }
.quote svg { width: 54px; height: 54px; color: var(--gold-soft); margin-bottom: 30px; }
.quote blockquote { margin: 0; font-family: var(--head); font-weight: 700; font-size: clamp(2.125rem, calc(4.4vw * var(--fz, 1)), 3.875rem); line-height: 1.14; color: #fff; text-wrap: balance; }
.quote figcaption { margin: 24px auto 0; color: #B7B0A2; font-size: 1.125rem; max-width: 38em; }
.principles { position: relative; list-style: none; padding: 0; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 36px; }
.principles li { border-top: 1px solid rgba(205, 176, 122, .5); padding-top: 24px; }
.principles h3 { font-size: 1.25rem; color: #fff; margin-bottom: 8px; }
.principles p { color: #B7B0A2; font-size: 0.96875rem; margin: 0; }

/* איך זה עובד: ציר אופקי */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 32px; position: relative; }
.steps::before { content: ""; position: absolute; top: 20px; right: 0; left: 0; border-top: 1px solid var(--rule-strong); }
.step-n { position: relative; z-index: 1; display: inline-block; background: var(--paper); padding: 0 12px 0 0; font-family: "Garamond", serif; font-weight: 600; font-size: 1.875rem; line-height: 2.5rem; color: var(--gold-ink); margin-bottom: 18px; }
.sec.alt .step-n { background: var(--ivory); }
.steps h3 { font-size: 1.21875rem; margin-bottom: 8px; }
.steps p { font-size: 0.96875rem; color: var(--soft); margin: 0; }

/* הנהלה / אודות */
.about-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 96px; align-items: center; }
.about-photo { width: min(100%, 440px); }
.about-photo .creds { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 0.875rem; line-height: 1.75; color: var(--soft); }
.about-in h2 { font-size: clamp(2rem, calc(3.6vw * var(--fz, 1)), 3.125rem); margin-bottom: 20px; }
.about-in p { color: var(--soft); font-size: 1.0625rem; }
.facts { list-style: none; padding: 0; margin: 28px 0 34px; border-top: 1px solid var(--rule-strong); }
.facts li { position: relative; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 0.96875rem; line-height: 1.55; color: var(--soft); }
.portrait { position: relative; margin: 0; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; background: var(--tile); }
.portrait::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--gold); z-index: -1; pointer-events: none; }
.portrait figcaption { display: flex; flex-direction: column; gap: 2px; padding: 16px 0 0; }
.portrait figcaption b { font-family: var(--head); font-size: 1.25rem; }
.portrait figcaption span { font-size: 0.8125rem; color: var(--gold-ink); letter-spacing: .14em; font-weight: 600; }
.portrait.small::before { inset: -12px 12px 12px -12px; }
.portrait.mini { width: 60px; flex: none; }
.portrait.mini img { aspect-ratio: 1; filter: none; }
.portrait.mini::before, .portrait.mini figcaption { display: none; }
.about-page { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 80px; align-items: start; }
.about-page .about-photo { position: sticky; top: 112px; }
.about-page .facts { margin-top: 36px; }

/* שאלות נפוצות */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 80px; align-items: start; }
.faq-wrap .sec-head { position: sticky; top: 120px; margin-bottom: 0; }
.faq { border-top: 1px solid var(--rule-strong); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: 26px 0; font-family: var(--head); font-weight: 700; font-size: 1.3125rem; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 20px; height: 20px; color: var(--gold-ink); transition: transform .35s var(--ease); }
.faq summary:hover { color: var(--gold-ink); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq-a { padding: 0 0 28px; color: var(--soft); max-width: 46em; font-size: 1.03125rem; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-wrap .more { margin-top: 28px; }
.faq-group + .faq-group { margin-top: 72px; }
.faq-group > h2 { font-size: 1.875rem; margin-bottom: 22px; }

/* מאמרים */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--rule); border: 1px solid var(--rule); }
.post { display: flex; flex-direction: column; gap: 12px; padding: 36px 32px 32px; text-decoration: none; color: inherit; background: var(--paper); min-height: 280px; transition: background .3s; }
.post:hover { background: var(--ivory); color: inherit; }
.post-date { font-size: 0.78125rem; letter-spacing: .14em; color: var(--gold-ink); font-weight: 600; }
.post h3, .post h2 { font-size: 1.4375rem; line-height: 1.3; }     /* h2 בעמוד המאמרים, h3 בשאר העמודים */
.post p { color: var(--soft); font-size: 0.96875rem; margin: 0; }
.post .more { margin-top: auto; padding-top: 14px; }
/* ״קריאה נוספת״ בסוף מאמר: כרטיס השירות לעורכי דין כהה, כמו הדלת שלו בדף הבית */
.post-svc-legal { background: var(--ink); color: #F1ECE3; }
.post-svc-legal p { color: #BDB5A7; }
.post-svc-legal .post-date, .post-svc-legal .more, .post-svc-legal .more .ic { color: var(--gold-soft); }
.post-svc-legal:hover { background: var(--ink-2); color: #F1ECE3; }

/* רצועת ההזמנה */
.cta-band { background: var(--ink); color: #fff; }
.cta-in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; padding-block: 72px; }
.cta-in h2 { font-size: clamp(1.75rem, calc(3vw * var(--fz, 1)), 2.5rem); color: #fff; max-width: 18em; }
.cta-in p { color: #B7B0A2; margin: 14px 0 0; font-size: 1.09375rem; max-width: 36em; }
.cta-in .actions { flex: none; justify-content: center; }
.cta-band + .contact .contact-in, .cta-band + .foot { border-top: 1px solid var(--rule-dark); }

/* ---------------------------------------------------------------- יצירת קשר: לוח כהה, טופס על נייר */
.contact { background: var(--ink); color: #F1ECE3; }
.contact-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
.cta-band + .contact .contact-in { padding-top: 100px; }
.contact-info .eyebrow { color: var(--gold-soft); }
.contact-info .eyebrow::before { background: var(--gold-soft); }
.contact-info h1, .contact-info h2 { font-size: clamp(2rem, calc(3.6vw * var(--fz, 1)), 3.125rem); color: #fff; }
.contact-info .sec-lead { color: #B7B0A2; }
.details { list-style: none; padding: 0; margin: 36px 0 0; border-top: 1px solid var(--rule-dark); }
.contact-info > .details:first-child { margin-top: 0; }
.details li { display: flex; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--rule-dark); }
.details li > svg { width: 22px; height: 22px; color: var(--gold-soft); flex: none; }
.details li span { display: block; font-size: 0.75rem; letter-spacing: .14em; color: #8E877A; line-height: 1.6; }
.details a { color: #fff; font-weight: 500; text-decoration: none; font-size: 1.0625rem; }
.details a:hover { color: var(--gold-soft); }
.details li.wa > svg { color: #4FBF78; }
.details li.main a { font-size: 1.25rem; }
.details li.minor { padding: 12px 0; }
.details li.minor > svg { width: 17px; height: 17px; opacity: .6; }
.details li.minor a { font-size: 0.875rem; font-weight: 400; color: #B9B2A6; }
.response { display: flex; align-items: center; gap: 10px; color: #8E877A; font-size: 0.90625rem; margin: 24px 0 0; }
.response .ic { width: 18px; height: 18px; color: var(--gold-soft); }
.form { position: relative; display: flex; flex-direction: column; gap: 18px; background: var(--paper); color: var(--text); padding: 44px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 0.8125rem; font-weight: 600; letter-spacing: .08em; color: var(--soft); }
.form label small { font-weight: 400; letter-spacing: 0; color: var(--muted); }
.form input:not([type=checkbox]), .form textarea, .form select {
  font: inherit; font-size: 1.03125rem; letter-spacing: 0; color: var(--text); background: var(--paper); width: 100%;
  border: 0; border-bottom: 1px solid var(--rule-strong); padding: 10px 2px; transition: border-color .2s;
}
.form select { -webkit-appearance: none; appearance: none; padding-left: 30px; cursor: pointer; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237D6134' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat left 4px center / 16px; }
.form input[dir=ltr] { text-align: left; }
.form textarea { resize: vertical; min-height: 96px; line-height: 1.6; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-bottom-color: var(--gold-ink); box-shadow: 0 1px 0 var(--gold-ink); }
.form [aria-invalid=true] { border-bottom-color: var(--err); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.form-intro { margin: 0 0 4px; padding-bottom: 20px; border-bottom: 1px solid var(--rule); font-size: 1.03125rem; line-height: 1.7; color: var(--soft); }
.form-privacy { color: var(--muted); font-size: 0.8125rem; line-height: 1.5; max-width: 24em; }
.form-privacy a { color: var(--gold-ink); }
/* תיבת אישור מדיניות הפרטיות: חובה. הכפתור נפתח רק כשהיא מסומנת */
.consent { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; color: var(--muted); font-size: 0.84375rem; line-height: 1.55; max-width: 34em; }
.consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--gold); cursor: pointer; }
.consent a { color: var(--gold-ink); }
.consent[aria-invalid="true"] { color: #B3261E; }
.form button[disabled] { opacity: .45; cursor: not-allowed; }
.form textarea::placeholder, .form input::placeholder { color: #9A948A; opacity: 1; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; opacity: 0; pointer-events: none; }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.form-foot small { color: var(--muted); font-size: 0.84375rem; }
.form .btn { min-width: 170px; }
.form-msg { margin: 0; min-height: 1.5em; font-size: 0.9375rem; }
.form-msg:empty { display: none; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--err); }
.form-done { position: absolute; inset: 0; z-index: 2; background: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; gap: 6px; animation: fade .5s var(--ease) both; }
.form-done[hidden] { display: none; }
.form-done svg { width: 70px; height: 70px; color: var(--ink); margin-bottom: 12px; }
.form-done svg circle:last-child { animation: settle 1.1s .15s var(--ease) both; }
.form-done h3 { font-size: 1.875rem; }
.form-done p { color: var(--soft); max-width: 26em; margin: 0; }
@keyframes settle { 0% { transform: translate(-16px, -12px); } 40% { transform: translate(5px, 0); } 70% { transform: translate(-2px, 0); } 100% { transform: none; } }

/* ---------------------------------------------------------------- עמודים פנימיים */
.page-hero { position: relative; overflow: hidden; padding: 52px 0 110px; background: var(--ivory); border-bottom: 1px solid var(--rule); }
.page-hero h1 { font-size: clamp(2.25rem, calc(4.6vw * var(--fz, 1)), 3.875rem); max-width: 15em; line-height: 1.1; }
.page-hero .lead { font-size: clamp(1.0625rem, calc(1.4vw * var(--fz, 1)), 1.25rem); color: var(--soft); margin: 24px 0 0; max-width: 36em; line-height: 1.75; }
.page-hero .actions { margin-top: 30px; }
.page-hero .valley path { stroke: var(--rule-strong); }
.page-hero .byline { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
  text-decoration-color: rgba(125, 97, 52, .45); }    /* ״מאת עידן סולימן״ בשורת התאריך של מאמר: קו עדין, כדי שייראה כקישור */
.page-hero .byline:hover { text-decoration-color: currentColor; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0 0 36px; font-size: 0.78125rem; letter-spacing: .1em; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-inline-end: 10px; color: var(--rule-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.prose-lg { font-size: 1.125rem; line-height: 1.85; color: var(--soft); }
.prose-lg h2 { font-size: clamp(1.625rem, calc(2.6vw * var(--fz, 1)), 2.125rem); color: var(--text); margin: 52px 0 16px; }
.prose-lg h2:first-child { margin-top: 0; }
.prose-lg b { color: var(--text); }
.prose-lg ul { padding-inline-start: 1.2em; margin: 0 0 1.1em; }
.prose-lg li { margin-bottom: .45em; }
.prose-lg li::marker { color: var(--gold); }
.prose-lg a.ext { overflow-wrap: anywhere; }     /* כתובת ארוכה ברשימת המקורות נשברת בטלפון ולא גולשת */
.offer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: var(--rule); border: 1px solid var(--rule); }
.offer-card { display: flex; gap: 22px; align-items: flex-start; background: var(--paper); padding: 40px 36px; transition: background .3s; }
.offer-card:hover { background: var(--ivory); }
.offer-card .icon-tile { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--rule-strong); color: var(--text); flex: none; }
.offer-card .icon-tile .ic { width: 24px; height: 24px; stroke-width: 1.4; }
.offer-card h3 { font-size: 1.375rem; margin-bottom: 10px; }
.offer-card p { color: var(--soft); font-size: 1rem; }
.areas { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule-strong); }
.areas li { padding: 30px 28px; border-bottom: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.areas li:nth-child(3n) { border-left: 0; }
.areas h3 { position: relative; font-size: 1.21875rem; margin-bottom: 8px; padding-right: 18px; }
.areas h3::before { content: ""; position: absolute; right: 1px; top: .55em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.areas p { color: var(--soft); font-size: 0.96875rem; margin: 0; }
.sides { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.side { border-top: 1px solid var(--rule-strong); padding-top: 24px; }
.side h3 { font-size: 1.4375rem; margin-bottom: 10px; }
.side p { color: var(--soft); font-size: 1rem; }
.side p:last-child { margin: 0; }
.partner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 40px; background: var(--ivory); border: 1px solid var(--rule); padding: 56px; }
.partner-mark { width: 72px; height: 72px; border: 1px solid var(--gold); color: var(--gold-ink); display: grid; place-items: center; }
.partner-mark .ic { width: 34px; height: 34px; }
.boxes { display: grid; gap: 24px; }
.partner h2 { font-size: clamp(1.625rem, calc(2.8vw * var(--fz, 1)), 2.125rem); margin-bottom: 14px; }
.partner p { color: var(--soft); }
.article .author { display: flex; gap: 18px; align-items: center; margin-top: 64px; padding-top: 30px; border-top: 1px solid var(--rule-strong); font-size: 1rem; }
.article .author p { margin: 0; color: var(--muted); }
.article .author .author-edu { font-size: 0.9375rem; color: var(--soft); margin: 4px 0 6px; }

/* ---------------------------------------------------------------- תחתית */
.foot { background: var(--ink); color: #B7B0A2; padding: 40px 0 0; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--rule-dark); }
.foot-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.foot-name { display: flex; flex-direction: column; direction: ltr; align-items: flex-end; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; flex: 1 1 0; min-width: 0; justify-content: center; }   /* מתכווץ ונשבר לשורה שנייה בתוך העמודה, בלי לדחוף את הפרטים לשורה משלהם */
.foot-nav a { color: #DED8CC; text-decoration: none; font-size: 0.9375rem; }
.foot-nav a:hover { color: var(--gold-soft); }
.foot-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 0.90625rem; }
.foot-contact a, .foot-contact span { color: #DED8CC; text-decoration: none; }
.foot-contact a.minor { font-size: 0.8125rem; color: #A69F93; }
.foot-contact span { color: #8E877A; font-size: 0.84375rem; }
.foot-contact a:hover { color: var(--gold-soft); }
.foot .tile { background: var(--ink-3); color: #EDE7DC; width: 58px; height: 58px; }
.foot .tile svg { width: 48px; height: 48px; }
.foot .name { font-size: 1.875rem; }
.foot .tag { font-size: 0.65625rem; letter-spacing: 2.8px; }
.foot .name { color: #fff; }
.foot .name .tm { color: #A69F93; }
.foot .tag { color: var(--gold-soft); }
.foot-brand p { grid-column: 1 / -1; margin: 20px 0 0; color: #8E877A; font-size: 0.90625rem; max-width: 32em; line-height: 1.7; }
.foot-col h2 { font-family: var(--body); font-size: 0.75rem; letter-spacing: .2em; color: var(--gold-soft); font-weight: 600; margin-bottom: 18px; }
.foot-col a, .foot-col span { display: block; color: #DED8CC; text-decoration: none; padding: 5px 0; font-size: 0.9375rem; width: fit-content; }
.foot-col a:hover { color: var(--gold-soft); }
.foot-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 22px; font-size: 0.8125rem; color: #8E877A; letter-spacing: .02em; }
.foot-base p { margin: 0; margin-inline-end: auto; }   /* הזכויות בהתחלה; הקישורים והאייקונים יחד בסוף השורה */
.foot-social { display: flex; align-items: center; gap: 14px; margin-inline-start: 12px; }
.foot-social a { display: inline-flex; color: #8E877A; }
.foot-social a:hover { color: #fff; }
.foot-social .ic { width: 16px; height: 16px; stroke-width: 1.6; }
.foot-base nav { display: flex; gap: 24px; }
.foot-base a { color: #B7B0A2; text-decoration: none; }
.foot-base a:hover { color: #fff; }
.contact + .foot { border-top: 1px solid var(--rule-dark); }

/* וואטסאפ צף: בועת הודעה ירוקה עם זנב, כמו הודעה בוואטסאפ */
.wa-float { position: fixed; left: 24px; bottom: 24px; z-index: 30; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px rgba(37, 211, 102, .32), 0 3px 8px rgba(0, 0, 0, .2); transition: transform .3s var(--ease), background .3s, box-shadow .3s; }
.wa-float::after { content: ""; position: absolute; left: 2px; bottom: 0; width: 16px; height: 16px; background: inherit; clip-path: polygon(0 100%, 0 22%, 78% 100%); }
.wa-float svg { position: relative; width: 31px; height: 31px; }
.wa-float:hover { background: #1DB954; color: #fff; transform: translateY(-3px); box-shadow: 0 16px 34px rgba(37, 211, 102, .4), 0 4px 10px rgba(0, 0, 0, .22); }

/* ---------------------------------------------------------------- הופעה בגלילה */
.reveal-ready [data-reveal] { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-ready [data-reveal]:not(.in) { opacity: 0; transform: translateY(22px); }

/* ---------------------------------------------------------------- מסך הפתיחה (על דיו) */
html.intro body::before { content: ""; position: fixed; inset: 0; z-index: 90; background: var(--ink); animation: intro-safe .4s ease 7s forwards; }
@keyframes intro-safe { to { opacity: 0; visibility: hidden; } }
.splash { position: fixed; inset: 0; z-index: 100; }
.splash svg { position: absolute; inset: 0; display: block; overflow: visible; }
.splash .sp-fill { fill: var(--ink); }
.splash .sp-stroke { fill: none; stroke: #F3EFE6; stroke-linecap: round; stroke-linejoin: round; }
.splash .sp-ext { stroke: rgba(243, 239, 230, .35); }
.splash .sp-ball { fill: var(--gold-soft); }
.splash .sp-ping { fill: none; stroke: var(--gold-soft); opacity: 0; }
.splash .sp-name { font-family: "Script", cursive; fill: #F3EFE6; }
.splash .sp-tag { font-family: "Garamond", serif; font-weight: 600; fill: var(--gold-soft); letter-spacing: .32em; }
.sp-skip { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); background: none; border: 0; cursor: pointer; font: 500 0.75rem var(--body); letter-spacing: .2em; color: #8E877A; padding: 8px 14px; animation: fade .6s 1.2s both; }
.sp-skip:hover { color: #fff; }


/* ---------------------------------------------------------------- הסצנה: הכדור על קו העמק (scroll.js) */
.scene { position: relative; background: var(--ivory); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); overflow: hidden; }
.scene-pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; box-sizing: border-box; }
.scene-head { margin-bottom: 12px; }
.scene-head h2 { font-size: clamp(1.875rem, calc(3.4vw * var(--fz, 1)), 2.875rem); }
.scene-stage { position: relative; }
.scene-line { position: relative; }
.scene-line::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(21, 20, 15, .05) 0 1px, transparent 1px 60px), repeating-linear-gradient(0deg, rgba(21, 20, 15, .05) 0 1px, transparent 1px 60px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.scene-svg { position: relative; width: 100%; height: auto; display: block; overflow: visible; }
.sc-path { fill: none; stroke: var(--rule-strong); stroke-width: .9; }
.sc-trace { fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; }
.sc-ball { fill: var(--gold); }
.sc-ring { fill: none; stroke: var(--gold); stroke-width: 1; opacity: 0; vector-effect: non-scaling-stroke; }
.sc-noise { fill: var(--soft); opacity: .35; }
.sc-noise.k { fill: var(--gold); opacity: .55; }
.scene-cards { position: relative; z-index: 2; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 44px; margin-top: 20px; }
.station { border-top: 1px solid var(--rule-strong); padding-top: 22px; transition: border-color .5s var(--ease); }
.station.on { border-top-color: var(--gold); }
.station .st-n { margin-bottom: 10px; }
.station h3 { font-size: clamp(1.25rem, calc(1.5vw * var(--fz, 1)), 1.4375rem); margin-bottom: 8px; }
.station p { color: var(--soft); font-size: 0.96875rem; margin: 0; }
.no-js .scene-stage .sc-trace, html:not(.js) .sc-trace { stroke-dasharray: none; }
.svc-line { position: absolute; right: 0; left: 0; top: -1px; height: 1px; background: var(--rule-strong); transform-origin: right center; }
.svcs { border-top: 0; }
.svc:first-child .svc-line { background: var(--rule-strong); }
.steps-line { position: absolute; top: 20px; right: 0; left: 0; height: 1px; background: var(--rule-strong); transform-origin: right center; }
.steps::before { display: none; }
.dark-band .glow { position: absolute; left: 50%; top: -20%; width: 900px; height: 520px; margin-left: -450px; border-radius: 50%; background: radial-gradient(closest-side, rgba(176, 141, 87, .22), transparent 70%); pointer-events: none; z-index: 0; }
.dark-band::before { display: none; }
.dark-band .wrap { position: relative; z-index: 1; }
.portrait .ph { position: relative; isolation: isolate; }
.portrait .frame { position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--gold); pointer-events: none; z-index: 0; }
.portrait::before { display: none; }
.portrait.small .frame { inset: -12px 12px 12px -12px; }
.portrait.mini .frame { display: none; }
.portrait img { position: relative; z-index: 1; }
/* התמונה של עידן בלי רקע ובלי מסגרת: הדמות עומדת על רקע העמוד, בלי דהייה.
   במסך רחב התמונה משמאל והטקסט מימין, כך שהמבט מופנה אל הטקסט */
.portrait.cutout img { aspect-ratio: auto; object-fit: contain; background: none; }
.portrait.cutout .frame { display: none; }
.portrait.cutout figcaption { position: relative; z-index: 2; padding-top: 18px; }
.about-photo:has(.cutout) { width: min(100%, 420px); }
@media (min-width: 981px) {
  .about-in:has(.cutout) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .about-page:has(.cutout) { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  .about-in .about-photo:has(.cutout), .about-page .about-photo:has(.cutout) { order: 2; justify-self: end; }
}
@media (max-width: 1240px) and (min-width: 981px) {
  .top .wrap { padding: 0 24px; }
  .nav { gap: 20px; }
  .nav a:not(.btn) { font-size: 0.875rem; }
  .nav .btn.sm { padding: 10px 14px; font-size: 0.84375rem; }
  .brand { gap: 10px; }
  .tile { width: 56px; height: 56px; }
  .tile svg { width: 46px; height: 46px; }
  .name { font-size: 1.75rem; }
  .tag { font-size: 0.59375rem; letter-spacing: 2.2px; }
}
@media (max-width: 1100px) {
  .steps-line { top: 0; bottom: 0; right: 19px; left: auto; width: 1px; height: auto; transform-origin: center top; }
}
@media (max-width: 980px) {
  .scene-pin { min-height: 0; padding: 72px 0 64px; }
  .sc-path { stroke-width: 2.4; }
  .sc-trace { stroke-width: 4; }
  .scene-cards { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 16px; }
}


/* ---------------------------------------------------------------- איור במאמר, הערה משפטית, קלפי מאמרים */
.art-fig { margin: 0 0 40px; border: 1px solid var(--rule); background: var(--ivory); }
.art-fig img { display: block; width: 100%; height: auto; }
.art-fig > a { display: block; cursor: zoom-in; }
.art-fig a.ext { overflow-wrap: anywhere; }      /* קישור בייחוס שבכיתוב: בתוך השורה, לא כבלוק */
.art-fig figcaption { padding: 12px 18px; font-size: 0.84375rem; color: var(--muted); border-top: 1px solid var(--rule); }
.art-fig .credit { display: block; margin-top: 4px; font-size: 0.75rem; color: var(--muted); direction: ltr; text-align: left; }
.legal-note { margin: 56px 0 0; padding: 20px 24px; border: 1px solid var(--rule); background: var(--ivory); font-size: 0.875rem; line-height: 1.7; color: var(--muted); }
.legal-note b { color: var(--soft); }

/* ---------------------------------------------------------------- תפריט נגישות */
.a11y { position: fixed; right: 24px; bottom: 24px; z-index: 35; }
.a11y-btn { width: 58px; height: 58px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: var(--ink); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 12px 28px rgba(0, 0, 0, .28); transition: background .3s, transform .3s var(--ease); }
.a11y-btn svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.a11y-btn svg circle { fill: currentColor; stroke: none; }
.a11y-btn:hover, .a11y-btn[aria-expanded="true"] { background: var(--gold-ink); color: #fff; transform: translateY(-3px); }
.a11y-panel[hidden] { display: none; }
.a11y-panel { position: absolute; right: 0; bottom: 72px; width: 240px; background: var(--paper); border: 1px solid var(--rule-strong); box-shadow: 0 20px 50px rgba(0, 0, 0, .18); padding: 8px; display: grid; gap: 4px; }
.a11y-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px 10px; border-bottom: 1px solid var(--rule); margin-bottom: 4px; font-size: 0.9375rem; }
.a11y-close { background: none; border: 0; font-size: 1.375rem; line-height: 1; cursor: pointer; color: var(--muted); }
.a11y-opt, .a11y-reset { display: flex; align-items: center; gap: 12px; width: 100%; text-align: right; background: none; border: 1px solid transparent; padding: 9px 10px; font: 500 0.90625rem var(--body); color: var(--text); cursor: pointer; }
.a11y-opt:hover, .a11y-reset:hover { background: var(--ivory); }
.a11y-opt[aria-pressed="true"] { border-color: var(--gold); background: var(--ivory); }
.a11y-ic { width: 34px; height: 26px; display: grid; place-items: center; font: 600 0.75rem var(--body); letter-spacing: .02em; border: 1px solid var(--rule-strong); color: var(--gold-ink); flex: none; }
.a11y-reset { color: var(--muted); border-top: 1px solid var(--rule); margin-top: 4px; }
.a11y-link { display: block; padding: 8px 10px 4px; font-size: 0.8125rem; color: var(--gold-ink); }
html.a11y-font { font-size: 112%; --fz: 1.12; }
html.a11y-font2 { font-size: 126%; --fz: 1.26; }
html.a11y-font body, html.a11y-font2 body { line-height: 1.85; }
/* ניגודיות גבוהה: שחור על לבן, והלוחות הכהים לבן על שחור. המשתנים של הצבעים מוחלפים, וכל טקסט מקבל את צבע
   הלוח שלו (--hc) דרך כלל גורף, כך שגם צבעים שנכתבו ישירות (אפור, זהב) מתיישרים. קישורים כחולים, ועל כהה צהובים */
html.a11y-contrast { --ink: #000; --ink-2: #000; --ink-3: #000; --paper: #fff; --ivory: #fff; --cream: #fff; --tile: #fff; --text: #000; --soft: #000; --muted: #000; --gold: currentColor; --gold-ink: currentColor; --gold-soft: currentColor; --rule: currentColor; --rule-strong: currentColor; --rule-dark: currentColor; --hc: #000; --hc-link: #0000EE; }
html.a11y-contrast :is(.hero, .dark-band, .cta-band, .contact, .foot, .door-legal, .skip, .a11y-btn, .wa-float) { --hc: #fff; --hc-link: #FFD700; }
html.a11y-contrast .form { --hc: #000; --hc-link: #0000EE; }
html.a11y-contrast body, html.a11y-contrast body *:not(svg *) { color: var(--hc) !important; }
html.a11y-contrast a:not(.btn, .door, .post, .brand, .foot-brand, .skip, .wa-float, .call-m) { color: var(--hc-link) !important; }
html.a11y-contrast .btn { background: #000 !important; border-color: #000 !important; --hc: #fff; }
html.a11y-contrast :is(.hero, .dark-band, .cta-band, .contact, .foot, .door-legal) .btn:not(.form .btn) { background: #fff !important; border-color: #fff !important; --hc: #000; }
html.a11y-contrast .form-msg.err, html.a11y-contrast .consent[aria-invalid="true"] { --hc: #C00000; }
html.a11y-contrast .wa-float { background: #000 !important; box-shadow: 0 0 0 2px #fff; }
html.a11y-contrast .hero::before, html.a11y-contrast .dark-band::before, html.a11y-contrast .dark-band .glow { display: none; }
html.a11y-contrast .chart .lbl { fill: #fff; }
html.a11y-contrast ::placeholder { color: #333 !important; }
html.a11y-links a:not(.btn):not(.brand) { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; }
html.a11y-motion .reveal-ready [data-reveal]:not(.in) { opacity: 1; transform: none; }
html.a11y-readable body, html.a11y-readable h1, html.a11y-readable h2, html.a11y-readable h3, html.a11y-readable .name, html.a11y-readable .tag { font-family: Arial, "Arial Hebrew", Helvetica, sans-serif; letter-spacing: 0; }
@media (max-width: 640px) {
  .a11y { right: 16px; bottom: 16px; }
  .a11y-btn { width: 54px; height: 54px; }
  .a11y-btn svg { width: 26px; height: 26px; }
  .post-fig { margin: -28px -22px 18px; }
}

/* ---------------------------------------------------------------- מסכים צרים */
@media (max-width: 1100px) {
  .svc { grid-template-columns: 70px minmax(0, 1fr) 48px; }
  .svc > div:last-of-type { grid-column: 2; }
  .svc .more { grid-column: 3; }
  .strengths { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .principles { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-auto-flow: row; grid-template-columns: none; gap: 0; }
  .steps::before { top: 0; bottom: 0; right: 19px; left: auto; border-top: 0; border-right: 1px solid var(--rule-strong); }
  .steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 24px; padding-bottom: 30px; }
  .steps .step-n { grid-row: span 2; margin: 0; padding: 0 0 8px; line-height: 1.1; font-size: 1.625rem; }
  .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .areas li:nth-child(3n) { border-left: 1px solid var(--rule); }
  .areas li:nth-child(2n) { border-left: 0; }
  .strip li { font-size: 0.84375rem; padding: 18px 14px; }
}
@media (max-width: 980px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--rule); padding: 8px 32px 24px; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
  .nav.open { visibility: visible; opacity: 1; transform: none; }
  .nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--rule); font-size: 1.0625rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin: 18px 0 0; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .nav .btn.call { display: none; }
  /* בטלפון: אייקון חיוג בסרגל, צמוד לכפתור התפריט ובאותו גודל */
  .call-m { display: grid; place-items: center; flex: none; width: 46px; height: 46px; margin-left: auto; margin-right: -12px; border: 1px solid var(--rule-strong); background: var(--paper); color: var(--gold-ink); transition: border-color .25s, color .25s; }
  .call-m .ic { width: 20px; height: 20px; }
  .call-m:hover { border-color: var(--text); color: var(--text); }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 48px; min-height: 0; padding-block: 64px 100px; }
  .hero-side { max-width: 560px; }
  .about-in, .contact-in, .faq-wrap, .about-page { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .faq-wrap .sec-head, .about-page .about-photo { position: static; }
  .doors, .offer, .posts { grid-template-columns: minmax(0, 1fr); }
  .strip ul { flex-wrap: wrap; }
  .strip li { flex: 1 1 45%; border-left: 0; border-bottom: 1px solid var(--rule); }
  .cta-in { gap: 28px; }
}
/* עד רוחב 1360 כפתורי הוואטסאפ והנגישות הצפים מכסים בסוף העמוד את שני קצות השורה התחתונה (הזכויות, הקישורים והאייקונים);
   מרווח מתחתיה, כמו בטלפון, כך שהם יושבים מתחת לשורה */
@media (max-width: 1359px) { .foot-base { padding-bottom: 96px; } }
@media (max-width: 640px) {
  body { font-size: 1.03125rem; }
  .wrap { padding: 0 20px; }
  .top .wrap { padding: 0 20px; }
  .top-in { height: 72px; }
  .tile { width: 50px; height: 50px; }
  .tile svg { width: 41px; height: 41px; }
  .name { font-size: 1.6875rem; white-space: nowrap; }
  .tag { font-size: 0.5375rem; letter-spacing: 2px; white-space: normal; line-height: 1.3; }
  /* במסך צר (או בהגדלת טקסט) הלוגו מתכווץ ושורת התגית נשברת לשתיים; כפתור התפריט שומר על גודלו */
  .top-in { gap: 14px; height: auto; min-height: 72px; }
  .call-m { margin-right: -4px; }
  .brand { flex: 0 1 auto; min-width: 0; }
  .brand-text { min-width: 0; }
  .sec { padding: 72px 0; }
  .sec-head { margin-bottom: 40px; }
  .hero-in { padding-block: 36px 84px; gap: 36px; }
  .hero .eyebrow { font-size: 0.71875rem; letter-spacing: .08em; margin-bottom: 16px; }
  .hero .eyebrow::before { width: 18px; margin-left: 10px; }
  .hero h1 { font-size: clamp(1.875rem, calc(8.6vw * var(--fz, 1)), 2.375rem); line-height: 1.15; }
  .hero .lead { font-size: 1rem; line-height: 1.7; margin: 16px 0 26px; }
  .lead-full { display: none; }
  .lead-short { display: block; }
  .actions .btn { flex: 1 1 auto; }
  .hero .actions .btn { padding-inline: 18px; }
  .hero .badges { display: none; }
  .hero-visual { aspect-ratio: 5 / 3.2; }
  .eyebrow { font-size: 0.75rem; letter-spacing: .14em; margin-bottom: 16px; }
  .sec-head h2, .scene-head h2 { font-size: clamp(1.6875rem, calc(7.4vw * var(--fz, 1)), 2rem); }
  .page-hero h1 { font-size: clamp(1.8125rem, calc(8.2vw * var(--fz, 1)), 2.25rem); }
  .page-hero .lead { font-size: 1.03125rem; }
  .scene-cards { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .station h3 { font-size: 1.3125rem; }
  .strip ul { display: grid; grid-template-columns: 1fr 1fr; }
  .strip li { padding: 14px 0; font-size: 0.8125rem; gap: 8px; border-bottom: 1px solid var(--rule); }
  .strip li:nth-child(odd) { padding-left: 12px; border-left: 1px solid var(--rule); }
  .strip li:nth-child(even) { padding-right: 12px; }
  .strip li:nth-last-child(-n+2) { border-bottom: 0; }
  .foot-base { padding-bottom: 88px; }
  .quote blockquote { font-size: clamp(1.75rem, calc(7.8vw * var(--fz, 1)), 2.125rem); }
  .quote figcaption { font-size: 1.03125rem; }
  .about-in .portrait.small { max-width: 300px; margin-inline: auto; }
  .about-in .creds { max-width: 300px; margin-inline: auto; }
  .door { padding: 40px 26px 36px; }
  .svc { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 30px 0; }
  .svc > div:last-of-type, .svc .more { grid-column: 1; }
  .svc .more { justify-self: start; }
  .strengths { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .principles { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .dark-band { padding: 90px 0; }
  .offer-card { flex-direction: column; padding: 30px 22px; }
  .areas { grid-template-columns: minmax(0, 1fr); }
  .areas li, .areas li:nth-child(3n) { border-left: 0; padding: 22px 0; }
  .partner { grid-template-columns: minmax(0, 1fr); padding: 36px 22px; gap: 22px; }
  .row2 { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .form { padding: 28px 20px; }
  .cta-in { padding-block: 56px; }
  .foot { padding-top: 32px; }
  .foot-in { flex-direction: column; align-items: flex-start; gap: 18px; padding-bottom: 24px; }
  .foot-nav { gap: 6px 20px; }
  .foot-nav a { font-size: 0.90625rem; }
  .foot-contact { align-items: flex-start; }
  .wa-float { width: 54px; height: 54px; left: 16px; bottom: 16px; }
  .wa-float svg { width: 28px; height: 28px; }
  .page-hero { padding: 36px 0 96px; }
  .post { min-height: 0; padding: 28px 22px; }
}
/* טלפונים צרים מאוד (320): הלוגו, כפתור החיוג וכפתור התפריט מתכווצים מעט כדי שהשם ייכנס במלואו */
@media (max-width: 359px) {
  .top .wrap { padding: 0 16px; }
  .brand { gap: 10px; }
  .tile { width: 42px; height: 42px; }
  .tile svg { width: 34px; height: 34px; }
  .name { font-size: 1.5rem; }
  .call-m, .menu-btn { width: 42px; height: 42px; }
  .menu-btn span:first-child { top: 20px; }
}
@media (min-width: 981px) and (max-height: 820px) {
  .scene-pin { padding: 24px 0; }
  .scene-head { margin-bottom: 4px; }
  .scene-head .sec-lead { display: none; }
  .scene-head h2 { font-size: 2.125rem; }
  .scene-line { max-width: 1040px; margin-inline: auto; }
  .scene-cards { margin-top: 10px; gap: 28px; }
  .station { padding-top: 14px; }
  .station p { font-size: 0.90625rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-ready [data-reveal]:not(.in) { opacity: 1; transform: none; }
  .hero-enter .chart .ln { stroke-dasharray: none; stroke-dashoffset: 0; }
}
@media print {
  .top, .wa-float, .cta-band, .foot, .splash { display: none !important; }
  .reveal-ready [data-reveal]:not(.in) { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- שדה החלקיקים (field.js): שכבת ציור בלבד, מתחת לטקסט */
.field { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }

/* סימון המינימום בפתיח: נקודה לבנה, טבעת זהב פועמת, קו מקווקו ו-MIN (המקום נקבע ב-field.js) */
.field-min { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; pointer-events: none; }

.field-min i, .field-min span { position: absolute; display: block; }

.fm-dot { left: -4.2px; top: -4.2px; width: 8.4px; height: 8.4px; border-radius: 50%; background: #fff; }

.fm-ring { left: -10px; top: -10px; width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(205, 176, 122, .7); animation: fm-pulse 2.86s ease-in-out infinite; }

.fm-stem { left: -.5px; bottom: 0; width: 1px; height: 0; background: repeating-linear-gradient(to top, rgba(205, 176, 122, .55) 0 2px, transparent 2px 7px); }

.field-min span { left: 0; top: 0; font: 600 0.625rem/1 "Garamond", serif; letter-spacing: 3px; color: rgba(243, 239, 230, .55); white-space: nowrap; }

/* השקיפות של הטבעת נקבעת ב-field.js (הופעה והיעלמות), ולכן הפעימה משנה רק גודל וצבע */
@keyframes fm-pulse { 0%, 100% { transform: scale(1); border-color: rgba(205, 176, 122, .7); } 50% { transform: scale(1.6); border-color: rgba(205, 176, 122, .25); } }

/* בסצנה הענן מצויר ב-field.js, ולכן הנקודות הבודדות שב-SVG מוסתרות (רק כשהשכבה באמת פועלת) */
.fx-scene .sc-noises { display: none; }
