/* =====================================================================
   מרפאה אסתטית — עיצוב האתר הציבורי
   קונספט: חם ואנושי. טרקוטה־ורוד על שמנת, שזיף עמוק לרצועות מעבר.
   חתימה חזותית: "קו סימון" מקווקו — כמו קו שמנתח מסמן על העור לפני טיפול —
   שמצטייר פעם אחת בפתיח ובראש כל עמוד, ומחבר את שלבי התהליך.
   כל צבע מטוקן ב-:root (גם בכהה). אין hex מחוץ ל-:root.
   ===================================================================== */
:root {
  --bg: #fbf6f1;
  --bg-2: #f3e8de;
  --bg-3: #eedccf;
  --card: #fffdfa;
  --line: #e7d8cb;
  --text: #2b1c1e;
  --muted: #6a5553;
  --brand: #a34e3c;          /* טרקוטה: טקסט לבן עליו 5.6:1 */
  --brand-2: #873f30;
  --brand-soft: rgba(163, 78, 60, .09);
  --blush: #e9c4b4;
  --mark: rgba(163, 78, 60, .55);
  --plum: #3a2230;           /* רצועות מעבר ותחתית */
  --plum-2: #2c1924;
  --on-plum: #f7ece6;
  --on-plum-muted: #dcc6bf;
  --plum-accent: #f0b8a3;
  --on-brand: #ffffff;
  --wa: #1f8a4c;
  --wa-2: #17713d;
  --ok: #2f7d4f;
  --danger: #b3261e;
  --shade: 43, 28, 30;       /* rgb לשכבות הכהיה */
  --photo-filter: saturate(.88) contrast(1.04) sepia(.07);
  --hero-veil: transparent;
  --font: 'Assistant', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-display: 'Frank Ruhl Libre', 'David Libre', Georgia, serif;
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-frame: 6px 6px 6px 110px;
  --shadow: 0 1px 2px rgba(43, 28, 30, .05), 0 14px 34px -16px rgba(43, 28, 30, .22);
  --shadow-lg: 0 30px 60px -28px rgba(43, 28, 30, .45);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --max: 1200px;
  --pad: clamp(16px, 5vw, 56px);
  --header-h: 72px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.2 0 0 0 0 0.18 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #191214;
    --bg-2: #21181b;
    --bg-3: #2a1f23;
    --card: #271d21;
    --line: #3d2f33;
    --text: #f4e9e3;
    --muted: #c7b2ac;
    --brand: #e59a83;
    --brand-2: #f0b39f;
    --brand-soft: rgba(229, 154, 131, .12);
    --blush: #5a3a36;
    --mark: rgba(229, 154, 131, .55);
    --plum: #120c0f;
    --plum-2: #0d080b;
    --on-plum: #f4e9e3;
    --on-plum-muted: #cdb7b0;
    --plum-accent: #f0b8a3;
    --on-brand: #2a130e;
    --shade: 10, 6, 8;
    --photo-filter: saturate(.85) contrast(1.02) brightness(.92) sepia(.06);
    --hero-veil: linear-gradient(to right, rgba(10, 6, 8, .6), rgba(10, 6, 8, .25) 60%, rgba(10, 6, 8, 0));
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px -16px rgba(0, 0, 0, .7);
    --shadow-lg: 0 30px 60px -28px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 18px/1.7 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.18; margin: 0 0 .5em; text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); line-height: 1.08; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
bdi, .ltr { unicode-bidi: isolate; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--max), 100%); margin-inline: auto; padding-inline: var(--pad); position: relative; }
.narrow { max-width: 820px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--brand); font-weight: 700; font-size: 15px; letter-spacing: .02em; margin-bottom: .8em; }
.eyebrow::before { content: ''; inline-size: 26px; block-size: 0; border-top: 2px dashed currentColor; opacity: .8; }
.muted { color: var(--muted); font-size: 15px; }

/* ---------- כפתורים ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 2px solid transparent; font: 700 16px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .15s var(--ease), background-color .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-2); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-2); }
.btn-light { background: var(--on-plum); color: var(--plum); }
.btn-light:hover { background: var(--plum-accent); }

/* ---------- החתימה: קו סימון מקווקו שמצטייר ---------- */
.mark { position: absolute; pointer-events: none; overflow: visible; }
.mark-line { fill: none; stroke: var(--mark); stroke-width: 2; stroke-dasharray: 3 10; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.mark-dot { fill: var(--mark); }
.mark-draw { fill: none; stroke: #fff; stroke-width: 40; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke;
  animation: mark-draw 2.6s .35s var(--ease) forwards; }
@keyframes mark-draw { to { stroke-dashoffset: 0; } }

/* ---------- כותרת עליונה ---------- */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; flex-direction: column; color: var(--text); text-decoration: none; line-height: 1; }
.brand-name { font: 500 26px/1.1 var(--font-display); letter-spacing: -.01em; }
.brand::after { content: ''; display: block; margin-top: 5px; inline-size: 62%; border-top: 2px dashed var(--mark); }
.nav { display: flex; gap: 26px; margin-inline-start: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 16px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.top-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 14px; background: var(--card);
  flex-direction: column; justify-content: center; gap: 5px; padding: 0 13px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; }

/* ---------- פתיח ---------- */
.hero { position: relative; isolation: isolate; min-height: min(88vh, 820px); display: grid; align-items: center; overflow: hidden;
  padding-block: clamp(48px, 8vw, 110px); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .35; mix-blend-mode: multiply; }
.hero-bg { position: absolute; inset-block: 0; inset-inline-end: 0; width: 60%; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 30%; filter: var(--photo-filter);
  -webkit-mask-image: linear-gradient(to right, #000 45%, transparent 96%); mask-image: linear-gradient(to right, #000 45%, transparent 96%); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: var(--hero-veil); pointer-events: none; }
.hero-glow { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; inset-inline-end: 38%; top: -35vmax;
  background: radial-gradient(closest-side, var(--blush), transparent); opacity: .55; z-index: -1; }
.mark-hero { inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-in { position: relative; z-index: 1; }
.hero-text { max-width: 620px; }
.hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; }
.chips li { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; font-size: 15px; }
.chips li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }

/* ---------- רצועת מעבר: אמון ---------- */
.facts { background: var(--plum); color: var(--on-plum); position: relative; overflow: hidden; }
.facts::before { content: ''; position: absolute; inset: 0; background-image: var(--grain); opacity: .25; mix-blend-mode: screen; pointer-events: none; }
.facts-in { display: grid; grid-template-columns: minmax(220px, .8fr) 2.2fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding-block: clamp(40px, 6vw, 72px); }
.facts-title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--on-plum); margin: 0; }
.facts-list { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.facts-list > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding-inline: 20px; border-inline-start: 1px dashed rgba(240, 184, 163, .45); }
.facts-list dd { margin: 0; font: 400 clamp(2.4rem, 4.4vw, 3.6rem)/1 var(--font-display); color: var(--plum-accent); font-variant-numeric: tabular-nums; }
.facts-list dt { color: var(--on-plum-muted); font-size: 15px; line-height: 1.45; }

/* ---------- סקשנים ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.sec-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 52px); }
.sec-head p:last-child { color: var(--muted); }
.sec-head-split { max-width: none; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px, 4vw, 64px); align-items: end; }
.sec-head-split h2 { margin: 0; }
.sec-head-split > p { margin: 0; font-size: 1.05rem; }
.sec-more { margin: 36px 0 0; text-align: center; }
.more { font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.more::after { content: '←'; transition: transform .15s var(--ease); }
.more:hover::after { transform: translateX(-4px); }

/* ---------- כרטיסים: מוביל גדול + שאר, כל אחד עם צילום ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.card { position: relative; background: var(--card); border-radius: var(--r-md); padding: 22px 22px 24px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card h3 { font: 500 1.45rem/1.2 var(--font-display); margin-bottom: .35em; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.card p { color: var(--muted); font-size: 16px; }
.card .more { margin-top: auto; position: relative; }
.card-media { display: block; margin: -22px -22px 18px; overflow: hidden; border-radius: var(--r-md) var(--r-md) 0 0; position: relative; }
.card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: var(--photo-filter); transition: transform .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(var(--shade), .18)); }
.card-meta { color: var(--muted); font-size: 14px; margin-bottom: .4em; }
.cards-lead .card:first-child { grid-column: span 2; grid-row: span 2; padding: 30px; }
.cards-lead .card:first-child .card-media { margin: -30px -30px 22px; }
.cards-lead .card:first-child .card-media { flex: 1 1 auto; min-height: 280px; }
.cards-lead .card:first-child .card-media img { aspect-ratio: auto; height: 100%; min-height: 280px; position: absolute; inset: 0; }
.cards-lead .card:first-child h3 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); }
.cards-lead .card:first-child p { font-size: 18px; max-width: 52ch; }
.cards-articles { grid-template-columns: 1.5fr 1fr 1fr; }
.cards-articles .card:first-child .card-media img { aspect-ratio: 5 / 4; }
.cards-articles .card:first-child h3 { font-size: 1.8rem; }
.cards-more .card { flex-direction: row; gap: 16px; align-items: flex-start; padding: 16px; }
.cards-more .card-media { margin: 0; flex: 0 0 96px; border-radius: 12px; }
.cards-more .card-media img { aspect-ratio: 1; }
.cards-more .card h3 { font-size: 1.2rem; }
.cards-more .card p { display: none; }
.cards-more .card > :not(.card-media) { flex: 1 1 auto; }

/* ---------- מי אנחנו ---------- */
.about-band { background: var(--bg-2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 88px); align-items: center; }
.frame { margin: 0; position: relative; isolation: isolate; }
.frame img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: var(--r-frame); box-shadow: var(--shadow-lg); filter: var(--photo-filter); }
.frame::after { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 2px dashed var(--mark); border-radius: var(--r-frame); z-index: -1; }
.principles { list-style: none; padding: 0; margin: 24px 0 28px; counter-reset: p; display: grid; gap: 14px; }
.principles li { counter-increment: p; position: relative; padding-inline-start: 52px; color: var(--muted); }
.principles li::before { content: '0' counter(p); position: absolute; inset-inline-start: 0; top: 2px; font: 400 1.6rem/1 var(--font-display); color: var(--brand); }
.principles strong { color: var(--text); }

/* ---------- התהליך: קו הסימון מחבר בין התחנות ---------- */
.process-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.process-in .sec-head { position: sticky; top: calc(var(--header-h) + 24px); margin: 0; }
.process-photo { margin: 28px 0 0; }
.process-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); filter: var(--photo-filter); box-shadow: var(--shadow); }
.route { list-style: none; padding: 0; margin: 0; position: relative; display: grid; gap: clamp(28px, 4vw, 48px); }
.route::before { content: ''; position: absolute; inset-block: 14px 14px; inset-inline-start: 13px; border-inline-start: 2px dashed var(--mark); }
.route li { position: relative; padding-inline-start: 58px; }
.route li::before { content: ''; position: absolute; inset-inline-start: 4px; top: 6px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--brand); box-shadow: 0 0 0 6px var(--bg); }
.route li:last-child::before { background: var(--brand); }
.route .when { display: inline-block; font-size: 14px; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 3px 12px; border-radius: 999px; margin-bottom: 10px; }
.route h3 { font: 500 1.6rem/1.2 var(--font-display); }
.route p { color: var(--muted); max-width: 54ch; }

/* ---------- לפני / אחרי: צילום מלא עם הכהיה מכיוון הטקסט ---------- */
.cases { position: relative; isolation: isolate; color: var(--on-plum); padding-block: clamp(72px, 10vw, 140px); overflow: hidden; background: var(--plum); }
.cases-bg { position: absolute; inset: 0; z-index: -1; }
.cases-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; filter: var(--photo-filter); }
.cases-bg::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(270deg, rgba(var(--shade), .94) 0%, rgba(var(--shade), .82) 45%, rgba(var(--shade), .35) 85%); }
.cases .sec-head { max-width: 640px; }
.cases h2 { color: var(--on-plum); }
.cases .sec-head p:last-child { color: var(--on-plum-muted); }
.eyebrow-light { color: var(--plum-accent); }
.timeline { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; max-width: 1000px; }
.timeline::before { content: ''; position: absolute; top: 8px; inset-inline: 8px 0; border-top: 2px dashed rgba(240, 184, 163, .6); }
.timeline li { position: relative; padding-top: 32px; }
.timeline li::before { content: ''; position: absolute; top: 0; inset-inline-start: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--plum-accent); box-shadow: 0 0 0 6px rgba(240, 184, 163, .18); }
.timeline b { display: block; font: 500 1.35rem/1.2 var(--font-display); margin-bottom: 6px; color: var(--on-plum); }
.timeline span { color: var(--on-plum-muted); font-size: 15px; line-height: 1.55; display: block; }
.cases-note { font-size: 14px; color: var(--on-plum-muted); max-width: 60ch; }

/* ---------- שאלות נפוצות ---------- */
.faq-band { background: var(--bg-2); }
.faq-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.faq-in .sec-head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq { border-bottom: 1px dashed var(--mark); }
.faq:first-child { border-top: 1px dashed var(--mark); }
.faq summary { padding: 22px 4px; font: 500 1.3rem/1.35 var(--font-display); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--card);
  color: var(--brand); font: 400 22px/1 var(--font); transition: transform .2s var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 4px 22px; color: var(--muted); margin: 0; max-width: 62ch; }

/* ---------- יצירת קשר ---------- */
.contact { background: radial-gradient(120% 90% at 85% 0%, var(--bg-3) 0%, var(--bg) 60%); overflow: hidden; }
.contact .split { align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; color: var(--muted); }
.contact-list a { font-weight: 700; text-decoration: none; }
.lead-form, .thanks { background: var(--card); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-lg); position: relative; }
.lead-form::before { content: ''; position: absolute; inset: -12px 12px 12px -12px; border: 2px dashed var(--mark); border-radius: var(--r-lg); z-index: -1; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: var(--bg); color: var(--text); font: inherit; font-size: 17px; }
.field input[dir="ltr"] { text-align: right; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin-bottom: 12px; line-height: 1.5; }
.check input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--brand); flex: none; }
.lead-form .btn { width: 100%; margin-top: 6px; }
.form-msg { min-height: 1.4em; margin: 10px 0 0; font-weight: 600; }
.form-msg.err { color: var(--danger); }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.thanks { text-align: center; }
.thanks h3 { font: 500 2rem/1.2 var(--font-display); }
.thanks:focus { outline: none; }

/* ---------- תחתית ---------- */
.foot { background: var(--plum); color: var(--on-plum); padding-top: 72px; position: relative; overflow: hidden; }
.foot a { color: inherit; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.mark-foot { top: 0; inset-inline: 0; width: 100%; height: 70px; }
.foot .mark-line { stroke: rgba(240, 184, 163, .4); }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; align-items: start; }
.foot-brand .brand-name { display: block; font-size: 30px; margin-bottom: 10px; }
.foot p { color: var(--on-plum-muted); }
.foot nav { display: grid; gap: 8px; }
.foot-h { font: 700 14px/1.2 var(--font); letter-spacing: .04em; color: var(--plum-accent); margin: 0 0 6px; }
.made-by { display: grid; gap: 8px; justify-items: start; font-size: 13px; color: var(--on-plum-muted); }
.made-by img { background: #fff; border-radius: 8px; padding: 4px 8px; height: 32px; width: auto; }
.copy { text-align: center; color: var(--on-plum-muted); font-size: 14px; padding: 24px var(--pad); margin: 40px 0 0; border-top: 1px dashed rgba(240, 184, 163, .25); }
.copy a { text-decoration: underline; }

/* ---------- וואטסאפ צף ודיאלוג ---------- */
.wa-fab { position: fixed; bottom: 18px; inset-inline-start: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  border: 0; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
  cursor: pointer; transition: transform .15s var(--ease); }
.wa-fab:hover { transform: scale(1.06); }
.wa-dialog { border: 0; border-radius: var(--r-lg); padding: 0; width: min(420px, calc(100vw - 32px)); background: var(--card); color: var(--text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.wa-dialog::backdrop { background: rgba(20, 10, 14, .55); }
.wa-form { padding: 26px; }
.wa-form h2 { font-size: 28px; }

/* ---------- חשיפה בגלילה: פעם אחת, מימין לשמאל ---------- */
.js .rv { opacity: 0; transform: translate(-0px, 16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .facts-list .rv:nth-child(2), .js .route .rv:nth-child(2), .js .timeline .rv:nth-child(2), .js .cards .rv:nth-child(2) { transition-delay: 80ms; }
.js .facts-list .rv:nth-child(3), .js .route .rv:nth-child(3), .js .timeline .rv:nth-child(3), .js .cards .rv:nth-child(3) { transition-delay: 160ms; }
.js .facts-list .rv:nth-child(4), .js .route .rv:nth-child(4), .js .timeline .rv:nth-child(4), .js .cards .rv:nth-child(4) { transition-delay: 240ms; }
.js .timeline .rv:nth-child(5), .js .cards .rv:nth-child(5) { transition-delay: 320ms; }

/* ---------- עמודי מסמך (נגישות, פרטיות, הסרה, 404) ---------- */
.doc h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
.doc h2 { font-size: 1.6rem; margin-top: 1.6em; }
.doc ul { padding-inline-start: 1.2em; }
.doc li { margin-bottom: .4em; }
.credits { columns: 2; font-size: 15px; }

/* ---------- עמודים פנימיים: שירות, מאמר, עמוד, רשימה ---------- */
.page-head { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(44px, 7vw, 96px) clamp(64px, 8vw, 110px);
  background: radial-gradient(90% 120% at 100% 0%, var(--bg-3), var(--bg-2) 70%); }
.page-head::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .3; mix-blend-mode: multiply; }
.mark-head { inset: 0; width: 100%; height: 100%; z-index: -1; }
.page-head h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); margin-bottom: .3em; }
.page-head .lead { max-width: 60ch; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.page-meta { color: var(--muted); font-size: 15px; margin: 0; }
.page-media { margin: calc(-1 * clamp(40px, 5vw, 70px)) 0 0; position: relative; }
.page-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-frame); box-shadow: var(--shadow-lg); filter: var(--photo-filter); }
.prose { font-size: 18.5px; line-height: 1.8; padding-block: 36px 8px; max-inline-size: 68ch; }
.prose > p:first-child { font-size: 1.18em; color: var(--text); }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-top: 1.8em; padding-bottom: .3em; background: linear-gradient(90deg, transparent, transparent) ; }
.prose h2::after { content: ''; display: block; margin-top: .35em; inline-size: 56px; border-top: 2px dashed var(--mark); }
.prose h3 { font-size: 1.2rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-inline-start: 1.4em; margin: 0 0 1.1em; }
.prose ul { list-style: none; padding-inline-start: 0; }
.prose ul li { position: relative; padding-inline-start: 28px; }
.prose ul li::before { content: ''; position: absolute; inset-inline-start: 2px; top: .85em; inline-size: 14px; border-top: 2px dashed var(--brand); }
.prose ol li::marker { color: var(--brand); font-weight: 700; }
.prose li { margin-bottom: .5em; }
.prose blockquote { margin: 2em 0; padding: 22px 26px; border-radius: var(--r-md); background: var(--plum); color: var(--on-plum);
  font: 500 1.3rem/1.5 var(--font-display); }
.prose blockquote p { margin: 0; }
.prose blockquote a { color: var(--plum-accent); }
.prose img { border-radius: var(--r-md); margin: 1.2em 0; }
.prose a { font-weight: 600; }
.page-cta { margin: 36px 0 0; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg); background: var(--plum); color: var(--on-plum); position: relative; overflow: hidden; }
.page-cta::before { content: ''; position: absolute; inset-inline-start: -30px; top: 50%; inline-size: 55%; border-top: 2px dashed rgba(240, 184, 163, .35); transform: rotate(-8deg); }
.page-cta h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); color: var(--on-plum); }
.page-cta p { color: var(--on-plum-muted); max-width: 52ch; }
.page-cta .actions { margin-block: 14px 0; }
.page-cta .btn-primary { background: var(--plum-accent); color: var(--plum-2); }
.page-cta .btn-primary:hover { background: var(--on-plum); }
.page + .section { background: var(--bg-2); }
body[data-kind$="-list"] .page-head { padding-bottom: clamp(44px, 6vw, 80px); }

/* ---------- טאבלט ---------- */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .top-cta .btn-ghost { display: none; }
}
@media (max-width: 980px) {
  .nav { display: none; position: absolute; inset-inline: 0; top: var(--header-h); flex-direction: column; gap: 0;
    background: var(--card); border-bottom: 1px solid var(--line); padding: 8px var(--pad) 16px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px dashed var(--line); }
  .nav-toggle { display: flex; }
  .hero { min-height: 0; padding-top: 0; align-items: start; }
  .hero-bg { position: relative; width: auto; height: 52vh; min-height: 320px; margin-inline: calc(-1 * var(--pad)); }
  .hero-bg { inset: auto; margin: 0; }
  .hero-bg img { -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); object-position: 40% 25%; }
  .hero { display: block; }
  .hero-in { margin-top: -70px; }
  .mark-hero { height: 70%; top: 30%; }
  .facts-in, .split, .process-in, .faq-in, .sec-head-split { grid-template-columns: 1fr; }
  .process-in .sec-head, .faq-in .sec-head { position: static; }
  .facts-list { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards-lead .card:first-child { grid-column: 1 / -1; grid-row: auto; }
  .cards-articles { grid-template-columns: 1fr 1fr; }
  .cards-articles .card:first-child { grid-column: 1 / -1; }
  .timeline { grid-template-columns: 1fr; gap: 22px; }
  .timeline::before { top: 8px; bottom: 8px; inset-inline: 8px auto; border-top: 0; border-inline-start: 2px dashed rgba(240, 184, 163, .6); }
  .timeline li { padding-top: 0; padding-inline-start: 38px; }
  .cases-bg::after { background: linear-gradient(180deg, rgba(var(--shade), .72) 0%, rgba(var(--shade), .92) 40%, rgba(var(--shade), .96) 100%); }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .frame { max-width: 520px; }
}
/* ---------- טלפון ---------- */
@media (max-width: 620px) {
  body { font-size: 17px; }
  .top-cta .btn-primary { display: none; }
  .brand-name { font-size: 23px; }
  .hero-bg { height: 34vh; min-height: 250px; }
  .hero-in { margin-top: -54px; }
  .hero .actions { margin-block: 22px; }
  .hero .actions .btn { flex: 1 1 0; padding-inline: 12px; min-height: 52px; font-size: 16px; }
  .chips { gap: 8px 16px; }
  .cards, .cards-articles { grid-template-columns: 1fr; }
  .cards-lead .card:first-child { padding: 22px; }
  .cards-lead .card:first-child .card-media { margin: -22px -22px 18px; }
  .facts-list > div { padding-inline: 14px; }
  .actions .btn { flex: 1 1 100%; }
  .foot-in { grid-template-columns: 1fr; }
  .credits { columns: 1; }
  .frame::after { inset: 12px -10px -12px 10px; }
  .lead-form::before { display: none; }
  .prose { font-size: 17.5px; }
  .wa-fab { bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; transition-delay: 0s !important; }
  .js .rv { opacity: 1; transform: none; }
  .mark-draw { stroke-dashoffset: 0; animation: none; }
}
@media print {
  .top, .wa-fab, .foot, #a11y-root, .contact, .page-cta { display: none !important; }
}
