/* =========================================================
   LiDan Digital – העיצוב
   צבעים: שמנת #F5F3EF · גרפיט #303840 · כחול-אפרפר #91AFC3 · hover #5F86A1
   ========================================================= */

/* ---------- פונטים מקומיים (במקום Google Fonts: בלי העברת מידע לגוגל, ונטען מהר יותר) ---------- */
@font-face { font-family: 'Heebo'; src: url('https://lidandigital.com/wp-content/themes/lidan/assets/fonts/heebo.woff') format('woff'); font-weight: 200 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('https://lidandigital.com/wp-content/themes/lidan/assets/fonts/inter-200.woff') format('woff'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('https://lidandigital.com/wp-content/themes/lidan/assets/fonts/inter-300.woff') format('woff'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('https://lidandigital.com/wp-content/themes/lidan/assets/fonts/inter-400.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('https://lidandigital.com/wp-content/themes/lidan/assets/fonts/inter-500.woff') format('woff'); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('https://lidandigital.com/wp-content/themes/lidan/assets/fonts/inter-700.woff') format('woff'); font-weight: 700 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('https://lidandigital.com/wp-content/themes/lidan/assets/fonts/inter-900.woff') format('woff'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('https://lidandigital.com/wp-content/themes/lidan/assets/fonts/instrument-serif.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('https://lidandigital.com/wp-content/themes/lidan/assets/fonts/instrument-serif-italic.woff') format('woff'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Bodoni Moda'; src: url('https://lidandigital.com/wp-content/themes/lidan/assets/fonts/bodoni-moda-700.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Bodoni Moda'; src: url('https://lidandigital.com/wp-content/themes/lidan/assets/fonts/bodoni-moda-500-italic.woff') format('woff'); font-weight: 500; font-style: italic; font-display: swap; }

:root {
	--cream: #F5F3EF;
	--ink: #303840;
	--blue: #91AFC3;
	--blue-d: #4A6F88; /* כהה מעט מ-#5F86A1, כדי לעמוד בניגודיות 4.5:1 לטקסט */
	--blue-m: #688CA4; /* טקסט גדול: ניגודיות 3:1 */
	--grey: #4A525A;
	--mute: #5E666E; /* תוויות קטנות: ניגודיות 4.5:1 גם על הרקע האפור */
	--line: #D8D3CA;
	--panel: #E4E6E8;
	--he: 'Heebo', system-ui, sans-serif;
	--en: 'Inter', system-ui, sans-serif;
	--serif: 'Instrument Serif', Georgia, serif;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- איפוס מול Astra ---------- */
body.ld,
body.ld #page,
body.ld .site-content,
body.ld .ast-container,
body.ld .entry-content {
	background: var(--cream);
	color: var(--ink);
	font-family: var(--he);
}
body.ld { margin: 0; -webkit-font-smoothing: antialiased; }
body.ld .site-content > .ast-container { max-width: none; padding: 0; display: block; }
body.ld #primary, body.ld .site-main, body.ld article.page, body.ld .entry-content { margin: 0; padding: 0; }
body.ld .entry-content > * { margin-top: 0; margin-bottom: 0; }
body.ld a, body.ld .entry-content a { color: var(--ink); text-decoration: none !important; }
/* Astra מגדירה רוחב ושוליים לכל מה שבתוך תוכן העמוד. כאן מחזירים את הרוחב שלנו: 1360px באמצע */
body.ld .entry-content .ld-wrap,
body.ld .entry-content .ld-sec,
body.ld .entry-content .dm,
body.ld .entry-content .ld-work-in { max-width: 1360px !important; margin-left: auto !important; margin-right: auto !important; padding-left: 40px !important; padding-right: 40px !important; box-sizing: border-box; width: 100%; }
body.ld .entry-content .ld-band { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
@media (max-width: 900px) {
	body.ld .entry-content .ld-wrap,
	body.ld .entry-content .ld-sec,
	body.ld .entry-content .dm,
	body.ld .entry-content .ld-work-in { padding-left: 22px !important; padding-right: 22px !important; }
}
body.ld a:hover, body.ld a:focus-visible { color: var(--blue-d); }
body.ld :focus-visible { outline: 2px solid var(--blue-d); outline-offset: 3px; }
body.ld a:focus:not(:focus-visible), body.ld button:focus:not(:focus-visible) { outline: none; }
body.ld h1, body.ld h2, body.ld h3, body.ld p { color: inherit; font-family: inherit; }
body.ld img { max-width: 100%; height: auto; }
body.ld [lang="en"], body.ld .en { font-family: var(--en); }
body.ld .skip-link:focus { z-index: 100000; }

/* ---------- עזרים כלליים ---------- */
.ld-wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 40px; box-sizing: border-box; }
/* Astra שמה את #page בתוך flex. בלי רוחב מפורש, margin:auto מכווץ את הכותרת לאמצע */
body.ld #page > *, body.ld .ld-footer, .ld-sec, .dm, .ld-work-in { width: 100%; }
body.ld .ld-footer > .ld-wrap { max-width: 1360px; }
body.ld .ld-kick { font-family: var(--en); font-size: 11px; letter-spacing: .16em; color: var(--mute); }
body.ld .ld-h2 { margin: 0; font-weight: 200; font-size: 56px; line-height: 1.15; letter-spacing: -.025em; }
body.ld .ld-sub { font-family: var(--serif); font-style: italic; font-size: 26px; color: #6A727A; }
.ld-hrow { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.ld-sec { max-width: 1360px; margin: 0 auto; padding: 0 40px 150px; box-sizing: border-box; }
.ld-sec-top { border-top: 1px solid var(--ink); }
.ld-sec-top > .ld-kick { display: block; padding: 28px 0 0; text-align: right; }
.ld-sec-top > .ld-hrow { padding-top: 22px; }
body.ld .ld-lead { margin: 0; font-size: 19px; line-height: 1.7; color: var(--grey); max-width: 640px; }

.mark { position: absolute; width: 18px; height: 18px; }
.mark::before, .mark::after { content: ""; position: absolute; background: var(--ink); }
.mark::before { left: 8px; top: 0; width: 1px; height: 18px; }
.mark::after { top: 8px; left: 0; height: 1px; width: 18px; }

/* כפתור עגול עם מסגרת. mag = מגנטי */
body.ld .ld-pill { display: inline-block; font-size: 14px; border: 1px solid var(--ink); padding: 12px 22px; border-radius: 999px; }
body.ld .ld-pill-lg { font-size: 15px; padding: 14px 26px; }
.mag { transition: transform .45s var(--ease), background .3s ease, color .3s ease; }
body.ld .mag:hover { background: var(--ink); color: var(--cream); }

/* ---------- כותרת עליונה ---------- */
.ld-header { display: flex; justify-content: space-between; align-items: center; padding: 30px 0 22px; gap: 20px; flex-wrap: wrap; }
.ld-nav { display: flex; gap: 34px; font-size: 15px; margin-left: auto; }
body.ld .ld-brand { display: flex; align-items: center; gap: 10px; margin-inline-end: 40px; color: var(--ink); }
.ld-bm { position: relative; width: 38px; aspect-ratio: 250 / 180; display: block; transition: transform .6s var(--ease); }
.ld-bm img { position: absolute; inset: 0; width: 100%; height: auto; }
.ld-bw { font-family: var(--en); font-weight: 700; font-size: 22px; line-height: 1; letter-spacing: -.025em; }
body.ld .ld-brand:hover { color: var(--ink); }
body.ld .ld-brand:hover .ld-bm { transform: rotate(-6deg) scale(1.06); }
body.ld .ld-nav a[aria-current="page"] { color: var(--blue-d); }
.ld-hside { display: flex; align-items: center; gap: 26px; }
.ld-hbtns { display: flex; align-items: center; gap: 8px; }
.ld-langs { display: flex; gap: 4px; font-family: var(--en); font-size: 12px; letter-spacing: .12em; }
body.ld .lng { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 8px 10px; min-width: 44px; min-height: 36px; box-sizing: border-box; color: var(--mute); }
body.ld .lng.on { background: var(--ink); color: var(--cream); }
body.ld .ico { width: 44px; height: 44px; border: 1px solid var(--ink); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ink); transition: background .3s ease, color .3s ease; box-sizing: border-box; }
body.ld .ico:hover { background: var(--ink); color: var(--cream); }
.rule { height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; animation: rl 1.4s cubic-bezier(.6, 0, .2, 1) .1s forwards; }
@keyframes rl { to { transform: none; } }

/* ---------- Hero ---------- */
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.ld-hero { padding: 50px 0 0; min-height: min(640px, calc(100vh - 170px)); }
.ld-hero-txt { grid-column: span 8; display: flex; flex-direction: column; justify-content: center; position: relative; padding-top: 50px; }
.ld-hero-kick { position: absolute; top: 0; left: 0; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--blue-d); animation-delay: 2.6s; }
body.ld .h1x { margin: 0; text-align: right; font-family: var(--en); font-weight: 200; font-size: clamp(44px, 5.4vw, 84px); line-height: 1.02; letter-spacing: -.03em; white-space: nowrap; }
.h1x .it { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--blue-m); letter-spacing: 0; }
/* השורה הראשונה, Not just a website: פתיח קטן באותיות גדולות ומרווחות, ששתי השורות הגדולות אחריו מקבלות את הבמה */
body.ld .h1x .ln:first-child { font-family: var(--en); font-size: max(12px, .36em); font-weight: 300; letter-spacing: .32em; text-transform: uppercase; color: #3A4651; line-height: 1.4; margin-bottom: .5em; margin-right: -.32em; }
body.ld .ld-h1 { text-align: right; margin: 56px 0 0; font-weight: 300; font-size: 20px; line-height: 1.7; letter-spacing: .01em; color: var(--grey); animation-delay: 3.1s; }
.L-en .ld-h1 { font-family: var(--en); }
.ld-hero-logo { grid-column: 9 / span 4; display: flex; flex-direction: column; justify-content: center; align-items: center; border-inline-start: 1px solid var(--line); padding-inline-start: 24px; }
.logo { display: flex; flex-direction: column; align-items: center; gap: 30px; cursor: default; }
.logo-m { position: relative; width: clamp(180px, 17.4vw, 250px); aspect-ratio: 250 / 180; height: auto; display: block; }
.logo-m img { position: absolute; inset: 0; width: 100%; }
.logo-w { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.logo-n { font-family: var(--en); font-weight: 700; font-size: clamp(52px, 5vw, 72px); line-height: .85; letter-spacing: -.025em; color: var(--ink); display: flex; }
.logo-d { font-family: var(--en); font-size: 20px; color: var(--ink); }
.ld-strip { margin-top: 80px; border-top: 1px solid var(--line); animation-delay: 3.4s; }
body.ld .svc { grid-column: span 3; padding: 24px 0; font-family: var(--en); font-size: 13px; letter-spacing: .2em; transition: color .3s ease, padding .4s ease; }
body.ld .svc:hover { color: var(--blue-d); padding-inline-start: 10px; }

/* אנימציות הפתיחה */
.mL { opacity: 0; transform: translateX(-30px); animation: mo 1.1s var(--ease) .2s forwards; }
.mD { opacity: 0; transform: translateX(30px); animation: mo 1.1s var(--ease) .65s forwards; }
@keyframes mo { to { opacity: 1; transform: none; } }
.lt { display: inline-block; opacity: 0; transform: translateY(16px); animation: mo .75s var(--ease) forwards; }
.l1 { animation-delay: 1.25s; } .l2 { animation-delay: 1.45s; } .l3 { animation-delay: 1.65s; } .l4 { animation-delay: 2.05s; } .l5 { animation-delay: 2.25s; }
.dg { opacity: 0; letter-spacing: .7em; animation: dg 1.1s ease 2.5s forwards; }
@keyframes dg { to { opacity: 1; letter-spacing: .34em; } }
.ln { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
.ln > span { display: block; transform: translateY(105%); animation: up 1.1s cubic-bezier(.2, .75, .15, 1) forwards; }
.ln:nth-child(1) > span { animation-delay: 2.7s; } .ln:nth-child(2) > span { animation-delay: 2.82s; } .ln:nth-child(3) > span { animation-delay: 2.94s; }
@keyframes up { to { transform: none; } }
.fade { opacity: 0; animation: fd 1s ease forwards; }
@keyframes fd { to { opacity: 1; } }
.pL, .pD { position: absolute; inset: 0; transition: transform 1s var(--ease), filter 1s ease; }
.logo:hover .pL { transform: translate(-9px, 6px); filter: drop-shadow(0 14px 18px rgba(48, 56, 64, .18)); }
.logo:hover .pD { transform: translate(9px, -6px); filter: drop-shadow(0 18px 24px rgba(48, 56, 64, .22)); }

/* Designed to stand out: כל אות בסגנון אחר */
.sl { display: inline-block; transition: transform .55s var(--ease); }
.sto:hover .sl { transform: translateY(-4px); }
.sto:hover .sl:nth-child(odd) { transform: translateY(3px); }
.sl.sp { width: .28em; }
.s-bo { font-family: 'Bodoni Moda', serif; font-weight: 700; }
.s-boi { font-family: 'Bodoni Moda', serif; font-style: italic; font-weight: 500; }
.s-th { font-family: var(--en); font-weight: 200; }
.s-bk { font-family: var(--en); font-weight: 900; }
.s-se { font-family: var(--serif); letter-spacing: 0; }
.s-sei { font-family: var(--serif); font-style: italic; letter-spacing: 0; }
.s-bl { color: var(--blue-m); }
.s-ol { color: transparent; -webkit-text-stroke: 1.4px var(--ink); }
.s-olb { color: transparent; -webkit-text-stroke: 1.4px var(--blue-m); }

/* ---------- כותרת מפוצלת (חיפוש, עבודות) ---------- */
.ld-band { margin-top: 120px; border-top: 1px solid var(--ink); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); border-bottom: 1px solid var(--ink); padding-inline: max(0px, calc((100% - 1360px) / 2)); }
.split > .ld-kick { padding: 28px 40px; border-inline-end: 1px solid var(--ink); }
.split > .ld-hrow { padding: 22px 40px; }

/* ---------- הדגמת החיפוש ---------- */
.dm { max-width: 1360px; margin: 0 auto; padding: 64px 40px 0; box-sizing: border-box; }
.dm-top { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; margin-bottom: 40px; }
body.ld .dmb { cursor: pointer; border: 0; font: inherit; background: var(--ink); color: var(--cream); padding: 16px 28px; border-radius: 999px; font-size: 15px; display: inline-flex; gap: 14px; align-items: center; transition: background .3s ease; }
body.ld .dmb:hover { background: var(--blue-d); }
.dmg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--ink); background: var(--panel); }
.dmg > div { padding: 34px 34px 40px; position: relative; }
.dmg > div:first-child { border-inline-end: 1px solid var(--ink); }
.dm-lab { font-family: var(--en); font-size: 10px; letter-spacing: .18em; color: var(--mute); margin-bottom: 22px; }
.dm-bar { background: #fff; border-radius: 999px; padding: 14px 24px; display: flex; align-items: center; gap: 14px; box-shadow: 0 10px 30px rgba(48, 56, 64, .08); min-height: 26px; }
.dm-in { position: relative; font-size: 17px; flex: 1; }
.dm .ph { position: absolute; inset-inline-start: 0; color: #A3A9AF; transition: opacity .2s; }
.dm.run .ph { opacity: 0; }
.dm .qt { display: inline-block; white-space: nowrap; clip-path: inset(0 0 0 100%); }
.L-en .dm .qt { clip-path: inset(0 100% 0 0); }
.dm.run .qt { animation: typ 1.5s steps(26) .3s forwards; }
@keyframes typ { to { clip-path: inset(0); } }
.car { display: inline-block; width: 1px; height: 20px; background: var(--ink); vertical-align: middle; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.dm-res { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.dm-card { background: #fff; border-radius: 10px; padding: 18px 20px; position: relative; }
.dm-card.hit { border: 1px solid var(--blue); }
.dm-badge { position: absolute; top: -11px; inset-inline-end: 18px; background: var(--ink); color: var(--cream); font-family: var(--en); font-size: 10px; letter-spacing: .14em; padding: 5px 10px; border-radius: 999px; }
.dm-url { display: block; font-family: var(--en); font-size: 12px; color: var(--mute); }
.dm-t { display: block; font-size: 19px; color: var(--blue-d); margin: 4px 0 6px; }
.dm-d { display: block; font-size: 14px; color: var(--grey); line-height: 1.6; }
.sk { display: block; border-radius: 4px; background: var(--panel); height: 9px; }
.sk.b { background: #D8DDE1; height: 12px; margin: 10px 0; }
.dm-chat { display: flex; flex-direction: column; gap: 18px; }
.dm-q { align-self: flex-start; background: var(--ink); color: var(--cream); padding: 14px 20px; border-radius: 18px; border-end-start-radius: 4px; font-size: 16px; max-width: 80%; }
.dm-aw { align-self: flex-end; width: 88%; position: relative; min-height: 220px; }
.dm-a { background: #fff; border-radius: 18px; border-end-end-radius: 4px; padding: 20px 22px; box-shadow: 0 10px 30px rgba(48, 56, 64, .08); }
body.ld .dm-a p { margin: 0 0 14px; font-size: 15px; line-height: 1.7; color: var(--grey); }
.dm-pick { border: 1px solid var(--blue); border-radius: 10px; padding: 14px 16px; }
.dm-pick b { display: block; font-size: 18px; font-weight: 500; }
.dm-pick span { display: block; font-size: 14px; color: var(--grey); line-height: 1.6; margin-top: 4px; }
.dm-src { display: inline-flex; gap: 8px; align-items: center; margin-top: 14px; font-family: var(--en); font-size: 11px; color: var(--blue-d); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
body.ld .dm-cap { margin: 18px 0 0; font-size: 13px; color: var(--mute); }
.dm .an { opacity: 0; }
.dm.run .an { animation: dmIn .8s var(--ease) forwards; }
@keyframes dmIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.dm.run .hit { animation: dmIn .8s var(--ease) 2.4s forwards, glow 1.6s ease 3s; }
@keyframes glow { 0% { box-shadow: 0 0 0 0 rgba(145, 175, 195, .55); } 100% { box-shadow: 0 0 0 14px rgba(145, 175, 195, 0); } }
.dm .dots { position: absolute; top: 18px; inset-inline-start: 20px; opacity: 0; }
.dm.run .dots { animation: dots 1.1s ease 3.4s forwards; }
@keyframes dots { 0%, 100% { opacity: 0; } 15%, 80% { opacity: 1; } }
.dots i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); margin: 0 3px; animation: bob .5s ease-in-out infinite alternate; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes bob { to { transform: translateY(-5px); } }

/* ---------- עבודות נבחרות ---------- */
.ld-work { padding-bottom: 130px; }
.ld-work-in { padding: 70px 40px 0; max-width: 1360px; margin: 0 auto; box-sizing: border-box; }
.frame { display: block; position: relative; border: 1px solid var(--ink); background: var(--panel); padding: 70px 70px 0; overflow: hidden; }
.frame .desk { width: 80%; overflow: hidden; box-shadow: 0 34px 70px rgba(48, 56, 64, .18); background: #fff; }
.frame .bar { height: 28px; background: #F1EFEB; display: flex; align-items: center; padding: 0 14px; border-bottom: 1px solid var(--line); font-family: var(--en); font-size: 10px; letter-spacing: .1em; color: var(--mute); }
.frame .desk img { display: block; width: 100%; }
.frame .phone { position: absolute; left: 70px; bottom: 50px; width: 220px; border-radius: 30px; padding: 8px; background: var(--ink); box-shadow: 0 40px 70px rgba(48, 56, 64, .25); }
.frame .phone img { display: block; width: 100%; border-radius: 22px; }
.frame .desk, .frame .phone { transition: transform 1.2s var(--ease); }
.frame:hover .desk { transform: translateX(14px); }
.frame:hover .phone { transform: translateY(-24px); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--ink); border-top: 0; }
.facts > div { padding: 18px 22px; border-inline-end: 1px solid var(--ink); }
.facts > div:last-child { border-inline-end: 0; }
.facts .ld-kick { display: block; font-size: 10px; }
.facts .v { font-size: 16px; }
.facts .v.big { font-size: 20px; }
.facts .v.yr { font-family: var(--serif); font-style: italic; font-size: 20px; }
.gaus { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--ink); border-top: 0; background: var(--cream); }
.gaus > div { display: flex; align-items: center; gap: 18px; padding: 22px; border-left: 1px solid var(--ink); }
.gaus > div:last-child { border-left: 0; }
.gau { flex: none; transform: rotate(-90deg); }
.gau circle.v { stroke-dasharray: var(--d) 400; }
.gnum { display: block; font-family: var(--en); font-size: 34px; font-weight: 300; line-height: 1; }
.glab { display: block; font-family: var(--en); font-size: 10px; letter-spacing: .16em; color: var(--mute); margin-top: 6px; }
body.ld .gnote { margin: 12px 0 0; font-family: var(--en); font-size: 11px; letter-spacing: .12em; color: var(--mute); }
@supports (animation-timeline: view()) {
	.gau circle.v { animation: gfill linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
	@keyframes gfill { from { stroke-dasharray: 0 400; } to { stroke-dasharray: var(--d) 400; } }
}

/* ---------- שירותים ---------- */
.svl { margin-top: 64px; border-bottom: 1px solid var(--line); }
.svr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px; align-items: baseline; padding: 46px 0; border-top: 1px solid var(--line); position: relative; scroll-margin-top: 30px; }
.svr::after { content: ""; position: absolute; bottom: -1px; inset-inline-start: 0; width: 100%; height: 1px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .8s var(--ease); }
.L-en .svr::after { transform-origin: left; }
.svr:hover::after { transform: none; }
.svn { font-family: var(--en); font-weight: 200; font-size: 58px; line-height: .9; letter-spacing: -.04em; color: #B4BCC3; transition: color .6s ease; }
.svr:hover .svn { color: var(--ink); }
body.ld .svh { margin: 0; font-weight: 300; font-size: 32px; line-height: 1.25; letter-spacing: -.01em; text-wrap: balance; }
body.ld .svt { margin: 0 0 14px; font-family: var(--serif); font-style: italic; font-size: 25px; line-height: 1.3; color: var(--blue-d); text-wrap: balance; }
body.ld.L-he .svt { font-family: var(--he); font-style: normal; font-weight: 400; font-size: 21px; line-height: 1.5; }
body.ld .svd { margin: 0; font-size: 16px; line-height: 1.75; color: var(--grey); max-width: 560px; text-wrap: pretty; }

/* ---------- איך אנחנו עובדים ---------- */
.ld-steps-w { position: relative; margin-top: 80px; }
.pline { position: absolute; top: 0; right: 0; left: 0; height: 1px; background: var(--ink); transform-origin: right; }
.L-en .pline { transform-origin: left; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.stp { position: relative; padding-top: 44px; }
.stp::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--cream); border: 1px solid var(--ink); transform: translateY(-6px); }
.stp .ld-kick { display: block; letter-spacing: .18em; margin-bottom: 14px; }
body.ld .stp h3 { margin: 0 0 12px; font-weight: 300; font-size: 28px; letter-spacing: -.01em; text-wrap: balance; }
body.ld .stp p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--grey); }
@supports (animation-timeline: view()) {
	.pline { animation: pl linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
	@keyframes pl { from { transform: scaleX(0); } to { transform: none; } }
	.stp { animation: stIn linear both; animation-timeline: view(); animation-range: entry 15% cover 35%; }
	@keyframes stIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}

/* ---------- הבדיקה ---------- */
body.ld .ld-qi { margin: 14px 0 40px; font-size: 18px; line-height: 1.7; color: var(--grey); max-width: 640px; }
.qzw { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.qz-list { border-bottom: 1px solid var(--line); }
.qz { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); }
.qz-q { font-size: 19px; font-weight: 300; line-height: 1.5; }
.qz-b { display: flex; gap: 8px; }
body.ld .yn { cursor: pointer; font: inherit; font-size: 14px; border: 1px solid var(--ink); border-radius: 999px; min-width: 64px; min-height: 44px; padding: 0 18px; background: transparent; color: var(--ink); transition: background .3s ease, color .3s ease; }
body.ld .yn:hover { border-color: var(--blue-d); }
body.ld .yn[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.qbox { position: sticky; top: 30px; border: 1px solid var(--ink); background: var(--panel); padding: 40px 34px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.qring-w { position: relative; width: 180px; height: 180px; display: block; }
.qring { transform: rotate(-90deg); }
.qring circle.v { transition: stroke-dasharray 1s var(--ease); }
.qring-n { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.qscore { font-family: var(--en); font-size: 46px; font-weight: 300; line-height: 1; }
.qof { font-family: var(--en); font-size: 10px; letter-spacing: .16em; color: var(--mute); margin-top: 6px; }
body.ld .qtitle { margin: 0; font-size: 20px; font-weight: 400; line-height: 1.5; }
body.ld .qtext { margin: 0; font-size: 15px; line-height: 1.7; color: var(--grey); }

/* ---------- אודות ---------- */
.ld-page { padding-top: 70px; }
.abt { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 80px; align-items: center; margin-top: 64px; }
.abt-t { max-width: 640px; }
body.ld .abt-t p { margin: 0 0 18px; font-size: 17px; line-height: 1.8; color: var(--grey); text-wrap: pretty; }
body.ld .abt-t p.lead { margin: 0 0 28px; font-weight: 300; font-size: 26px; line-height: 1.55; letter-spacing: -.005em; color: var(--ink); }
body.ld .abt-t p.sig { margin: 16px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 16px; }
.abt-t p.sig strong { font-weight: 500; color: var(--ink); }
.abt-f { margin: 0; justify-self: center; width: 100%; max-width: 380px; }
.abt-ph { position: relative; border: 1px solid var(--ink); padding: 14px; background: var(--panel); }
.abt-ph img { display: block; width: 100%; height: auto; }
.abt-f figcaption { margin-top: 16px; font-family: var(--en); font-size: 10px; letter-spacing: .18em; color: var(--mute); text-align: center; }

/* ---------- שאלות ותשובות ---------- */
.faq-in { max-width: 980px; }
.faq-list { margin-top: 40px; border-bottom: 1px solid var(--line); }
.qa { border-top: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-size: 24px; font-weight: 300; transition: color .3s ease; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--blue-d); }
.qa .pl { font-family: var(--en); font-size: 22px; font-weight: 300; transition: transform .35s ease; flex: none; }
.qa[open] .pl { transform: rotate(45deg); }
body.ld .qa p { margin: 0 0 28px; font-size: 17px; line-height: 1.75; color: var(--grey); max-width: 760px; }

/* ---------- עמודי טקסט (נגישות, פרטיות) ---------- */
.ld-prose { max-width: 820px; }
body.ld .ld-prose h2 { font-weight: 300; font-size: 28px; margin: 48px 0 12px; }
body.ld .ld-prose { margin-top: 48px; }
body.ld .ld-prose p, body.ld .ld-prose li { font-size: 17px; line-height: 1.8; color: var(--grey); }
body.ld .ld-prose p { margin: 0 0 18px; }
body.ld .ld-prose ul { margin: 0 0 22px; padding-inline-start: 1.3em; }
body.ld .ld-prose li { margin-bottom: 8px; }
body.ld .ld-prose li::marker { color: var(--blue); }
body.ld .ld-prose strong { font-weight: 500; color: var(--ink); }
body.ld .ld-prose h2:first-of-type { margin-top: 0; }
/* בתוך טקסט רץ קישור חייב להיות מסומן גם בקו, לא רק בצבע (נגישות) */
body.ld .entry-content .ld-prose a { text-decoration: underline !important; text-underline-offset: 3px; color: var(--blue-d); }

/* ---------- סיום הדף ---------- */
.ld-footer { border-top: 1px solid var(--ink); overflow: hidden; background: var(--cream); }
.ld-fcta { padding-top: 60px; position: relative; z-index: 2; }
body.ld .ld-fcontact { margin: 36px 0 0; display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
body.ld.L-en .ld-fcontact { justify-content: flex-start; }
body.ld .ld-cbtn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--en); font-size: 11px; letter-spacing: .2em; color: var(--ink); }
body.ld .ld-cbtn:hover, body.ld .ld-cbtn:focus-visible { background: var(--ink); border-color: var(--ink); color: var(--cream); }
body.ld .ld-fq { margin: 0 0 18px; font-weight: 200; font-size: 44px; letter-spacing: -.02em; line-height: 1.1; }
/* כל משפט בשורה משלו. אם משפט חייב להישבר, השורות מתאזנות ולא נשארת מילה לבד */
body.ld .ld-fq > span { display: block; text-wrap: balance; }
.L-en .ld-fq { font-family: var(--en); }
.bigw { pointer-events: none; position: relative; z-index: 1; font-family: var(--en); font-weight: 700; font-size: 31vw; line-height: .78; letter-spacing: -.045em; text-align: center; margin-top: 90px; white-space: nowrap; }
.bigw span { display: inline-block; }
.bigw .bL { background: linear-gradient(160deg, #B9D0DE, #7C9FB6); -webkit-background-clip: text; background-clip: text; color: transparent; transform: translateY(-7%); }
.bigw .bD { background: linear-gradient(160deg, #5A646E, #2B333B); -webkit-background-clip: text; background-clip: text; color: transparent; transform: translateY(-7%); }
.bigw .bs { color: var(--ink); }
@supports (animation-timeline: view()) {
	.bigw span { animation: bw linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
	@keyframes bw { from { transform: translateY(60%); opacity: 0; } to { transform: none; opacity: 1; } }
	.bigw .bL, .bigw .bD { animation-name: bwUp; }
	@keyframes bwUp { from { transform: translateY(60%); opacity: 0; } to { transform: translateY(-7%); opacity: 1; } }
	.bigw span:nth-child(2) { animation-range: entry 4% cover 33%; } .bigw span:nth-child(3) { animation-range: entry 8% cover 36%; }
	.bigw span:nth-child(4) { animation-range: entry 12% cover 39%; } .bigw span:nth-child(5) { animation-range: entry 16% cover 42%; }
}
.ld-fbar { padding-top: 22px; padding-bottom: 26px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-family: var(--en); font-size: 11px; letter-spacing: .14em; color: var(--mute); border-top: 1px solid var(--line); }
.ld-flinks { letter-spacing: 0; font-family: var(--he); font-size: 14px; }
/* אזור לחיצה של 24px לפחות (WCAG 2.2) */
body.ld .ld-flinks a { display: inline-block; padding: 5px 2px; }
body.ld .ld-flinks a:hover { color: var(--ink); text-decoration: underline !important; text-underline-offset: 3px; }
/* השורה התחתונה מעל ה-LiDan הענק, כדי שהאותיות לא יחצו את הקו */
.ld-fbar { position: relative; z-index: 2; background: var(--cream); }
.L-en .ld-flinks { font-family: var(--en); }
body.ld .ld-flinks a { color: var(--mute); }

/* כפתור "חזרה למעלה" של Astra, בצבעי המותג */
body.ld #ast-scroll-top { background: var(--ink); color: var(--cream); border-radius: 50%; width: 44px; height: 44px; line-height: 44px; }
body.ld #ast-scroll-top:hover { background: var(--blue-d); }

/* ---------- טלפון וטאבלט ---------- */
@media (max-width: 900px) {
	.ld-wrap, .ld-sec, .dm, .ld-work-in { padding-left: 22px; padding-right: 22px; }
	.g12 { grid-template-columns: 1fr; }
	.g12 > * { grid-column: auto !important; }
	.ld-hero { min-height: 0; padding-top: 40px; }
	.ld-hero-logo { border-inline-start: 0; padding-inline-start: 0; order: -1; padding-bottom: 36px; }
	.logo { gap: 16px; }
	.logo-m { width: 124px; }
	.logo-n { font-size: 40px; }
	.logo-d { font-size: 14px; }
	.ld-hero-txt { padding-top: 0; }
	body.ld .ld-h1 { margin-top: 28px; font-size: 18px; }
	.ld-hero-kick { margin-bottom: 12px; }
	body.ld .h1x { font-size: 7vw; white-space: nowrap; }
	.ld-hero-kick { position: static; display: block; margin-bottom: 18px; text-align: left; }
	.ld-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 50px; }
	.ld-strip .svc { grid-column: auto; }
	body.ld .ld-h2 { font-size: 40px; }
	body.ld .ld-sub { font-size: 21px; }
	.ld-sec { padding-bottom: 100px; }
	.ld-band { margin-top: 90px; }
	.split { grid-template-columns: 1fr; }
	.split > .ld-kick { border-inline-end: 0; border-bottom: 1px solid var(--ink); padding: 18px 22px; }
	.split > .ld-hrow { padding: 18px 22px; }
	.dmg, .qzw, .abt, .steps { grid-template-columns: 1fr; }
	.dmg > div { padding: 26px 18px 32px; min-width: 0; }
	.dmg > div:first-child { border-inline-end: 0; border-bottom: 1px solid var(--ink); }
	.dm .qt { white-space: normal; }
	.frame { padding: 30px 22px 0; }
	.frame .desk { width: 100%; }
	.frame .phone { display: none; }
	.facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.facts > div:nth-child(2) { border-inline-end: 0; }
	.facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
	.gaus { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gaus > div { padding: 16px; gap: 12px; }
	.gaus > div:nth-child(2) { border-left: 0; }
	.gaus > div:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
	.gau { width: 56px; height: 56px; }
	.gnum { font-size: 26px; }
	.svr { grid-template-columns: 1fr; gap: 12px; padding: 36px 0; }
	.svn { font-size: 40px; }
	body.ld .svh { font-size: 26px; }
	.steps { row-gap: 44px; }
	.pline { display: none; }
	.qbox { position: static; }
	.abt { gap: 48px; }
	body.ld .qa summary { font-size: 20px; }
	body.ld .ld-fq { font-size: min(34px, 8.6vw); }
	body.ld .ld-fcontact { margin-top: 26px; }
}
@media (max-width: 1000px) {
	.ld-header { row-gap: 14px; }
	.ld-nav { order: 3; width: 100%; margin-left: 0; gap: 26px; overflow-x: auto; white-space: nowrap; padding-bottom: 4px; scrollbar-width: none; }
	.ld-nav::-webkit-scrollbar { display: none; }
}
@media (max-width: 700px) {
	.ld-header { padding: 18px 0 14px; }
	.ld-nav { gap: 22px; font-size: 14px; }
	body.ld .ld-brand { margin-inline-end: 0; }
	.ld-bw { font-size: 19px; }
	.ld-hside { gap: 12px; }
	.ld-langs .lng { min-width: 38px; padding: 8px 6px; }
	body.ld .ld-hbtns .ld-pill { display: none; }
	body.ld .h1x { font-size: 7.4vw; line-height: 1.1; }
	body.ld .svc { padding: 14px 0; }
	.ld-strip { row-gap: 0; }
	.qz { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- למי שביקש פחות תנועה ---------- */
@media (prefers-reduced-motion: reduce) {
	.mL, .mD, .lt, .dg, .ln > span, .fade, .rule { animation: none !important; opacity: 1; transform: none; }
	.dg { letter-spacing: .34em; }
	.pline, .stp, .bigw span, .gau circle.v { animation: none !important; opacity: 1; }
	.pline, .stp, .bigw .bs { transform: none; }
	.mag, .ld-bm, .qring circle.v, .sl, .svr::after, .svn, .pL, .pD, .frame .desk, .frame .phone, .qa .pl { transition: none; }
	.sto:hover .sl { transform: none; }
	.dm .an, .dm.run .an, .dm.run .hit { animation: none; opacity: 1; transform: none; }
	.dm .qt, .dm.run .qt { animation: none; clip-path: none; }
	.dm .ph { opacity: 0; }
	.dm .dots { display: none; }
	.car { animation: none; }
}

/* =========================================================
   אפקטים נוספים (גרסה 1.1.0)
   ========================================================= */

/* 1. מעבר חלק בין עמודים (Chrome ו-Edge. בדפדפנים אחרים פשוט אין מעבר) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .35s cubic-bezier(.4, 0, .2, 1) both; }
::view-transition-new(root) { animation: vtIn .55s var(--ease) .1s both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(18px); } }

/* 2. סמן עכבר: עיגול שעוקב אחרי העכבר. החץ הרגיל נשאר, בשביל הנגישות */
.ld-cur { position: fixed; top: 0; left: 0; z-index: 99999; pointer-events: none; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1px solid var(--ink); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--en); font-size: 11px; letter-spacing: .14em; color: transparent; opacity: 0; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s ease, border-color .35s ease, color .25s ease, opacity .3s ease; will-change: transform; }
.ld-cur.on { opacity: 1; }
.ld-cur.link { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: rgba(145, 175, 195, .18); border-color: var(--blue); }
.ld-cur.view { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--ink); border-color: var(--ink); color: var(--cream); }
.ld-cur.down { transform-origin: center; }

/* 3. כותרות האזורים עולות כשמגיעים אליהן בגלילה */
@supports (animation-timeline: view()) {
	body.ld .ld-h2, body.ld .ld-sub { animation: hIn linear both; animation-timeline: view(); animation-range: entry 5% cover 28%; }
	body.ld .ld-sub { animation-range: entry 12% cover 32%; }
	@keyframes hIn { from { opacity: 0; transform: translateY(34px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 -20% 0); } }
}

/* 4. פס השירותים זז ברצף (נבנה ב-JS, ונעצר כשמעבירים עליו את העכבר) */
body.ld .ld-strip.ld-mq { display: block; position: relative; direction: ltr; padding-right: 52px; }
.mq-view { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-track { display: flex; width: max-content; animation: mq var(--mq-d, 40s) linear infinite; }
.ld-mq:hover .mq-track, .ld-mq:focus-within .mq-track, .ld-mq.mq-off .mq-track { animation-play-state: paused; }
/* כפתור העצירה: עיגול קטן בקצה הפס. אזור הלחיצה 44px */
.mq-btn { position: absolute; right: 0; top: 50%; width: 32px; height: 32px; margin-top: -16px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 3px; transition: border-color .25s ease, background .25s ease; }
.mq-btn::after { content: ""; position: absolute; inset: -7px; }
.mq-btn::before { content: ""; width: 2px; height: 10px; background: currentColor; box-shadow: 5px 0 0 currentColor; margin-right: 5px; }
.ld-mq.mq-off .mq-btn::before { width: 0; height: 0; margin: 0 0 0 2px; background: none; box-shadow: none; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor; }
.mq-btn:hover { border-color: var(--blue); background: rgba(145, 175, 195, .12); }
.mq-btn:focus-visible { outline: 2px solid var(--blue-d); outline-offset: 3px; }
body.ld .ld-mq .svc { grid-column: auto; padding: 24px 0; white-space: nowrap; display: inline-flex; align-items: center; }
body.ld .ld-mq .svc::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); margin: 0 48px; }
body.ld .ld-mq .svc:hover { padding-inline-start: 0; }
@keyframes mq { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
	::view-transition-old(root), ::view-transition-new(root) { animation: none; }
	body.ld .ld-h2, body.ld .ld-sub { animation: none !important; opacity: 1; transform: none; clip-path: none; }
	.mq-track { animation: none; }
	.mq-btn { display: none; }
	.ld-cur { display: none; }
}

/* ---------- עמוד 404 ---------- */
body.ld .ld-404 { padding-top: 120px; padding-bottom: 140px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
body.ld .ld-404-h { margin: 0; font-weight: 200; font-size: clamp(40px, 6vw, 72px); line-height: 1.1; letter-spacing: -.025em; }
body.ld .ld-404 .ld-sub { margin: 0 0 8px; }
.ld-404-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
@media (max-width: 600px) { body.ld .ld-404 { padding-top: 60px; padding-bottom: 80px; } }
