/* alef-hebrew-400-normal */
@font-face {
  font-family: 'Alef';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/alef/alef-hebrew-400-normal.woff2) format('woff2'), url(/fonts/alef/alef-hebrew-400-normal.woff) format('woff');
  unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F;
}

/* alef-latin-400-normal */
@font-face {
  font-family: 'Alef';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/alef/alef-latin-400-normal.woff2) format('woff2'), url(/fonts/alef/alef-latin-400-normal.woff) format('woff');
  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;
}
/* alef-hebrew-700-normal */
@font-face {
  font-family: 'Alef';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/fonts/alef/alef-hebrew-700-normal.woff2) format('woff2'), url(/fonts/alef/alef-hebrew-700-normal.woff) format('woff');
  unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F;
}

/* alef-latin-700-normal */
@font-face {
  font-family: 'Alef';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/fonts/alef/alef-latin-700-normal.woff2) format('woff2'), url(/fonts/alef/alef-latin-700-normal.woff) format('woff');
  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;
}
/* frank-ruhl-libre-hebrew-500-normal */
@font-face {
  font-family: 'Frank Ruhl Libre';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/fonts/frank-ruhl-libre/frank-ruhl-libre-hebrew-500-normal.woff2) format('woff2'), url(/fonts/frank-ruhl-libre/frank-ruhl-libre-hebrew-500-normal.woff) format('woff');
  unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F;
}



/* frank-ruhl-libre-latin-500-normal */
@font-face {
  font-family: 'Frank Ruhl Libre';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/fonts/frank-ruhl-libre/frank-ruhl-libre-latin-500-normal.woff2) format('woff2'), url(/fonts/frank-ruhl-libre/frank-ruhl-libre-latin-500-normal.woff) format('woff');
  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;
}
/* frank-ruhl-libre-hebrew-700-normal */
@font-face {
  font-family: 'Frank Ruhl Libre';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/fonts/frank-ruhl-libre/frank-ruhl-libre-hebrew-700-normal.woff2) format('woff2'), url(/fonts/frank-ruhl-libre/frank-ruhl-libre-hebrew-700-normal.woff) format('woff');
  unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F;
}



/* frank-ruhl-libre-latin-700-normal */
@font-face {
  font-family: 'Frank Ruhl Libre';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/fonts/frank-ruhl-libre/frank-ruhl-libre-latin-700-normal.woff2) format('woff2'), url(/fonts/frank-ruhl-libre/frank-ruhl-libre-latin-700-normal.woff) format('woff');
  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;
}
:root{--brand-dark:#2f4832;--brand-accent:#c4b89a;--brand-bg:#f8f7f3}
/* ─────────────────────────────────────────────────────────────
   עיצוב האתר. שלושת צבעי המותג מגיעים מממשק הניהול
   (הגדרות כלליות ← צבעי המותג), וכל שאר הגוונים נגזרים מהם.
   ───────────────────────────────────────────────────────────── */

:root {
  --dark: var(--brand-dark, #2f4832);
  --accent: var(--brand-accent, #c4b89a);
  --bg: var(--brand-bg, #f8f7f3);
  --dark-2: color-mix(in oklab, var(--dark) 82%, black);
  --dark-soft: color-mix(in oklab, var(--dark) 88%, white);
  --accent-soft: color-mix(in oklab, var(--accent) 22%, var(--bg));
  --accent-line: color-mix(in oklab, var(--accent) 60%, var(--bg));
  --accent-deep: color-mix(in oklab, var(--accent) 45%, var(--dark));
  --surface: color-mix(in oklab, var(--bg) 40%, white);
  --alt: color-mix(in oklab, var(--accent) 12%, var(--bg));
  --text: color-mix(in oklab, var(--dark) 70%, #111);
  --muted: color-mix(in oklab, var(--text) 72%, var(--bg));
  --on-dark: color-mix(in oklab, var(--bg) 92%, white);
  --on-dark-muted: color-mix(in oklab, var(--on-dark) 78%, var(--dark));
  --line: color-mix(in oklab, var(--dark) 14%, var(--bg));
  --focus: #1a5fd0;

  --font-body: 'Alef', 'Arial Hebrew', Arial, sans-serif;
  --font-display: 'Frank Ruhl Libre', 'Times New Roman', serif;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 8px 24px rgb(0 0 0 / 0.06);
  --header-h: 76px;
  --fs: 1.0625rem;
}

html[data-size='1'] { --fs: 1.25rem; }
html[data-size='2'] { --fs: 1.45rem; }
html[data-size='-1'] { --fs: 0.95rem; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs);
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.2; color: var(--dark); margin: 0 0 0.6em; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem); }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 2.5rem); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: fixed; top: -100px; right: 1rem; z-index: 200; background: var(--dark); color: var(--on-dark); padding: 0.75rem 1.25rem; border-radius: var(--radius-sm); text-decoration: none; }
.skip-link:focus { top: 1rem; }
main:focus { outline: none; }

/* ───── כפתורים ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.7rem 1.6rem; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 42px; padding: 0.45rem 1.1rem; font-size: 0.95em; }
.btn-block { width: 100%; }
.btn-primary { background: var(--dark); color: var(--on-dark); }
.btn-primary:hover { background: var(--dark-2); }
.btn-accent { background: var(--accent); color: var(--dark-2); }
.btn-accent:hover { background: color-mix(in oklab, var(--accent) 85%, white); }
.btn-outline { border-color: var(--dark); color: var(--dark); background: transparent; }
.btn-outline:hover { background: var(--dark); color: var(--on-dark); }
.btn-outline-light { border-color: color-mix(in oklab, var(--on-dark) 60%, transparent); color: var(--on-dark); background: transparent; }
.btn-outline-light:hover { background: var(--on-dark); color: var(--dark); }
.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; color: var(--dark); text-decoration: none; border-bottom: 1.5px solid var(--accent); }
.link-arrow:hover { border-color: var(--dark); }

/* ───── ראש העמוד ───── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--dark); color: var(--on-dark);
  border-bottom: 1px solid color-mix(in oklab, var(--accent) 35%, transparent);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: baseline; gap: 0.6rem; text-decoration: none; color: var(--on-dark); flex-shrink: 0; }
.logo-mark { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; letter-spacing: 0.14em; color: var(--accent); line-height: 1; }
.logo-text { font-size: 1rem; letter-spacing: 0.04em; color: var(--on-dark-muted); border-inline-start: 1px solid color-mix(in oklab, var(--accent) 50%, transparent); padding-inline-start: 0.6rem; }
.logo-img { max-height: 48px; width: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.main-nav a { display: block; padding: 0.5rem 0.8rem; text-decoration: none; color: var(--on-dark-muted); border-radius: 999px; transition: color .2s, background-color .2s; }
.main-nav a:hover, .main-nav a[aria-current='page'] { color: var(--on-dark); background: color-mix(in oklab, var(--on-dark) 10%, transparent); }
.main-nav a[aria-current='page'] { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 0.5rem; }
.header-call span { direction: ltr; unicode-bidi: isolate; }
.menu-toggle { display: none; background: none; border: 1px solid color-mix(in oklab, var(--on-dark) 30%, transparent); color: var(--on-dark); width: 46px; height: 46px; border-radius: 12px; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle .menu-close { display: none; }
.menu-toggle[aria-expanded='true'] .menu-open { display: none; }
.menu-toggle[aria-expanded='true'] .menu-close { display: inline-flex; }

@media (max-width: 1020px) {
  .main-nav { order: 3; }
  .header-actions { margin-inline-start: auto; }
}
@media (max-width: 1020px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: var(--dark);
    border-top: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
    padding: 0.75rem 1.25rem 1.5rem; display: none; max-height: calc(100vh - var(--header-h)); overflow: auto;
    box-shadow: 0 20px 40px rgb(0 0 0 / 0.25);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { padding: 0.9rem 0.5rem; font-size: 1.15rem; border-radius: 0; border-bottom: 1px solid color-mix(in oklab, var(--on-dark) 10%, transparent); }
  .main-nav a[aria-current='page'] { box-shadow: inset -3px 0 0 var(--accent); padding-inline-start: 1rem; }
}
@media (max-width: 560px) {
  .header-call { display: none; }
  .logo-mark { font-size: 1.6rem; }
}

/* ───── פתיחה ───── */
.hero { position: relative; background: var(--dark); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero.has-image::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(270deg, color-mix(in oklab, var(--dark-2) 94%, transparent) 0%, color-mix(in oklab, var(--dark) 82%, transparent) 50%, color-mix(in oklab, var(--dark) 45%, transparent) 100%);
}
.hero:not(.has-image)::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0.12;
  background-image: linear-gradient(var(--accent) 1px, transparent 1px), linear-gradient(90deg, var(--accent) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-inner { padding-block: clamp(4.5rem, 10vw, 8.5rem) clamp(4rem, 9vw, 7.5rem); max-width: 1180px; }
.hero h1 { color: var(--on-dark); max-width: 15ch; margin-bottom: 0.4em; }
.hero-sub { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); color: var(--on-dark-muted); max-width: 40rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-actions.center { justify-content: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem;
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.12em; color: var(--accent-deep);
}
.eyebrow::before { content: ''; width: 2.25rem; height: 1.5px; background: var(--accent); }
.eyebrow-light { color: var(--accent); }

/* ───── פס נתונים ───── */
.stats { background: var(--surface); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 0; }
.stat { display: flex; flex-direction: column-reverse; padding: 1.75rem 1.25rem; text-align: center; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; }
.stat dd { margin: 0; font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); color: var(--dark); line-height: 1.2; }
.stat dt { color: var(--muted); font-size: 0.95rem; margin-top: 0.25rem; }
@media (max-width: 640px) { .stat { border-inline-start: 0; border-top: 1px solid var(--line); } .stat:first-child { border-top: 0; } }

/* ───── אזורים ───── */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-alt { background: var(--alt); }
.section-dark { background: var(--dark); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: var(--on-dark); }
.section-dark .eyebrow { color: var(--accent); }
.section-head { max-width: 46rem; margin-bottom: 2.75rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { margin-bottom: 0.35em; }
.lead { font-size: 1.15em; color: var(--muted); }
.section-dark .lead { color: var(--on-dark-muted); }
.head-row { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.75rem; }
.head-row .section-head { margin-bottom: 0; }
.split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-inline-start: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.35em; }
.prose li::marker { color: var(--accent-deep); }
.prose a { color: var(--dark); text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose img { border-radius: var(--radius); margin-block: 1.5rem; }

/* ───── כרטיסים ───── */
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.cards-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.service-card { display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s, transform .2s; }
.service-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.service-icon { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--dark); margin-bottom: 1.25rem; }
.service-card h3 { margin-bottom: 0.5rem; }
.service-card p { color: var(--muted); }
.service-card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 700; color: var(--dark); padding-top: 0.5rem; }
.stretched { text-decoration: none; }
.stretched::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.check-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.check-list li { position: relative; padding-inline-start: 1.6rem; margin-bottom: 0.45rem; }
.check-list li::before { content: ''; position: absolute; inset-inline-start: 0; top: 0.6em; width: 0.8rem; height: 0.45rem; border-inline-start: 2px solid var(--accent-deep); border-bottom: 2px solid var(--accent-deep); transform: rotate(-45deg) scaleX(-1); }

/* ───── פרויקטים ───── */
.projects-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.project-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.project-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.project-card[hidden] { display: none; }
.project-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--alt); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.project-card:hover .project-media img { transform: scale(1.04); }
.tag { position: absolute; top: 0.9rem; inset-inline-start: 0.9rem; background: var(--accent); color: var(--dark-2); font-weight: 700; font-size: 0.85rem; padding: 0.25rem 0.75rem; border-radius: 999px; }
.project-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.project-body h2, .project-body h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.project-meta { color: var(--accent-deep); font-weight: 700; font-size: 0.92rem; margin-bottom: 0.6rem; }
.project-body p { color: var(--muted); }
.project-time { margin: auto 0 0; padding-top: 0.9rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--muted); }
.project-time strong { color: var(--dark); }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.filter { border: 1.5px solid var(--line); background: var(--surface); padding: 0.5rem 1.1rem; border-radius: 999px; cursor: pointer; min-height: 44px; }
.filter:hover { border-color: var(--dark); }
.filter[aria-pressed='true'] { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }
.empty { color: var(--muted); }
.project-cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 3rem; max-height: 620px; }
.project-cover img { width: 100%; height: 100%; object-fit: cover; }

.content-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .content-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 4rem; } .side { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.side { display: grid; gap: 1.25rem; }
.side-card { padding: 1.5rem; }
.side-card h2 { font-size: 1.25rem; }
.side-cta { background: var(--alt); border-color: var(--accent-line); }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links a { display: block; padding: 0.55rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.side-links a:hover { color: var(--dark); text-decoration: underline; text-decoration-color: var(--accent); }
.details { margin: 0; }
.details div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.details dt { color: var(--muted); }
.details dd { margin: 0; font-weight: 700; color: var(--dark); text-align: end; }

/* גלריה */
.gallery-wrap, .compare-wrap { margin-top: 3.5rem; }
.gallery-grid { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.gallery-item { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-sm); background: var(--alt); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .zoom { position: absolute; bottom: 0.6rem; inset-inline-end: 0.6rem; width: 38px; height: 38px; border-radius: 50%; background: rgb(255 255 255 / 0.9); color: var(--dark); display: grid; place-items: center; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgb(10 14 11 / 0.92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; max-width: min(1200px, 92vw); text-align: center; }
.lightbox img { max-height: 82vh; width: auto; margin-inline: auto; border-radius: var(--radius-sm); }
.lightbox figcaption { color: #eee; margin-top: 0.75rem; }
.lightbox button { position: fixed; background: rgb(255 255 255 / 0.12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { background: rgb(255 255 255 / 0.25); }
.lb-close { top: 1rem; left: 1rem; }
.lb-prev { right: 1rem; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lb-next { left: 1rem; top: 50%; transform: translateY(-50%); }

/* לפני / אחרי */
.compare { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: var(--alt); user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare-after { position: absolute; inset: 0; }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-50%); box-shadow: 0 0 0 1px rgb(0 0 0 / 0.15); pointer-events: none; }
.compare-handle::after { content: '⟷'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--dark); display: grid; place-items: center; font-size: 1.3rem; box-shadow: var(--shadow); }
.compare-label { position: absolute; bottom: 1rem; background: color-mix(in oklab, var(--dark) 85%, transparent); color: var(--on-dark); padding: 0.25rem 0.8rem; border-radius: 999px; font-size: 0.9rem; }
.label-before { right: 1rem; }
.label-after { left: 1rem; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; direction: ltr; }
.compare-range:focus-visible + .compare-handle, .compare:focus-within .compare-handle { background: var(--focus); }

/* ───── תהליך ───── */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid color-mix(in oklab, var(--accent) 35%, transparent); }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 1.75rem 1.5rem 1.75rem 2rem; border-bottom: 1px solid color-mix(in oklab, var(--accent) 35%, transparent); }
.step-num { display: block; font-family: var(--font-display); font-size: 2.4rem; color: var(--accent); line-height: 1; margin-bottom: 1rem; }
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--on-dark-muted); margin: 0; }

/* ───── למה אנחנו ───── */
.why-grid { display: grid; gap: 2rem 3rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.why-item { border-top: 2px solid var(--accent); padding-top: 1.25rem; }
.why-item p { color: var(--muted); margin: 0; }

/* ───── ציטוט ───── */
.quote-band { background: var(--alt); padding-block: clamp(3.5rem, 8vw, 6rem); text-align: center; border-block: 1px solid var(--line); }
.quote-band figure { margin: 0 auto; max-width: 52rem; }
.quote-band blockquote { margin: 0; }
.quote-band blockquote p { font-family: var(--font-display); font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.25rem); line-height: 1.45; color: var(--dark); margin: 0; }
.quote-band blockquote p::before { content: '\201D'; display: block; font-size: 3.5em; line-height: 0.8; height: 0.45em; color: var(--accent); margin-bottom: 0.25rem; }
.quote-band figcaption { margin-top: 1.25rem; color: var(--muted); }
.quote-band figcaption::before { content: '— '; }

/* ───── המלצות ───── */
.testimonials { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.testimonial { margin: 0; }
.testimonial blockquote { margin: 0 0 1rem; }
.testimonial figcaption { display: flex; flex-direction: column; color: var(--muted); }
.testimonial figcaption strong { color: var(--dark); }

/* ───── שאלות נפוצות ───── */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 0.25rem; font-weight: 700; font-size: 1.08em; color: var(--dark); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--accent); }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; top: 50%; left: 50%; width: 11px; height: 1.5px; background: var(--dark); transform: translate(-50%, -50%); transition: transform .2s; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { padding: 0 0.25rem 1.25rem; color: var(--muted); }
.faq-answer p:last-child { margin: 0; }

/* ───── יצירת קשר ───── */
.section-contact { background: var(--alt); }
.contact-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.6rem; }
.contact-list li, .contact-list a { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.contact-list a:hover span { text-decoration: underline; text-decoration-color: var(--accent); }
.contact-list svg { flex-shrink: 0; color: var(--accent-deep); }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.form-note { font-size: 0.9rem; color: var(--muted); }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 700; margin-bottom: 0.35rem; color: var(--dark); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 0.65rem 0.9rem; border: 1.5px solid color-mix(in oklab, var(--dark) 28%, var(--bg)); border-radius: var(--radius-sm); background: #fff; }
.field input[dir='ltr'] { text-align: right; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--dark); }
.field [aria-invalid='true'] { border-color: #b3261e; }
.field-error { color: #b3261e; font-size: 0.92rem; margin: 0.3rem 0 0; }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 0.6rem; align-items: start; margin-bottom: 1.25rem; }
.field-check input { width: 22px; height: 22px; margin-top: 0.3rem; accent-color: var(--dark); }
.field-check .field-error { grid-column: 2; }
.hp { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; overflow: hidden; }
.form-status { margin: 1rem 0 0; font-weight: 700; }
.form-status.ok { color: #1e6b34; }
.form-status.err { color: #b3261e; }
.map-section iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(0.35); }

/* ───── כותרת לעמודים פנימיים ───── */
.page-hero { background: var(--dark); color: var(--on-dark); padding-block: clamp(2.5rem, 6vw, 4.5rem); position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; inset: 0; opacity: 0.08; pointer-events: none; background-image: linear-gradient(var(--accent) 1px, transparent 1px), linear-gradient(90deg, var(--accent) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to left, black, transparent 70%); }
.page-hero h1 { color: var(--on-dark); font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); margin-bottom: 0.3em; position: relative; z-index: 1; }
.page-hero .lead { color: var(--on-dark-muted); max-width: 46rem; margin: 0; position: relative; z-index: 1; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 0.25rem; font-size: 0.92rem; color: var(--on-dark-muted); position: relative; z-index: 1; }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-inline-start: 0.4rem; color: var(--accent); }
.breadcrumbs a { color: var(--on-dark-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--on-dark); text-decoration: underline; }

/* ───── אודות ───── */
.facts { margin: 0; display: grid; gap: 1rem; }
.fact { display: flex; flex-direction: column-reverse; padding: 1.25rem 1.5rem; border-inline-start: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.fact dd { margin: 0; font-family: var(--font-display); font-size: 1.5rem; color: var(--dark); }
.fact dt { color: var(--muted); }
.team-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.team-card { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start; }
.team-photo { width: 104px; height: 104px; border-radius: 50%; overflow: hidden; background: var(--dark); display: grid; place-items: center; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo span { font-family: var(--font-display); font-size: 2.6rem; color: var(--accent); }
.team-card h3 { margin-bottom: 0.15rem; }
.role { color: var(--accent-deep); font-weight: 700; margin-bottom: 0.6rem; }
.team-card p:last-child { color: var(--muted); margin: 0; }
@media (max-width: 480px) { .team-card { grid-template-columns: 1fr; } }

/* ───── פס קריאה לפעולה ───── */
.cta-band { background: var(--dark); color: var(--on-dark); padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.cta-band h2 { color: var(--on-dark); margin-bottom: 0.3em; }
.cta-band p { color: var(--on-dark-muted); margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ───── 404 ───── */
.notfound { background: var(--dark); color: var(--on-dark); text-align: center; padding-block: clamp(4rem, 12vw, 8rem); min-height: 70vh; display: grid; align-items: center; }
.notfound h1 { color: var(--on-dark); }
.notfound .lead { color: var(--on-dark-muted); max-width: 34rem; margin-inline: auto; margin-bottom: 2rem; }
.nf-code { font-family: var(--font-display); font-size: clamp(5rem, 18vw, 9rem); line-height: 1; color: var(--accent); margin-bottom: 0.5rem; }

/* ───── פוטר ───── */
.site-footer { background: var(--dark-2); color: var(--on-dark-muted); padding-top: 4rem; padding-bottom: 1rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-bottom: 3rem; }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; } }
.site-footer .muted { color: var(--on-dark-muted); opacity: 0.85; }
.footer-title { font-family: var(--font-body); font-weight: 700; font-size: 1rem; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 1rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); text-decoration: underline; text-decoration-color: var(--accent); }
.footer-contact li { display: flex; gap: 0.6rem; align-items: center; }
.footer-contact svg { flex-shrink: 0; color: var(--accent); }
.logo-footer { margin-bottom: 1rem; }
.social { display: flex; gap: 0.5rem; margin-top: 1rem; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid color-mix(in oklab, var(--accent) 40%, transparent); display: grid; place-items: center; }
.footer-bottom { border-top: 1px solid color-mix(in oklab, var(--on-dark) 12%, transparent); padding-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; font-size: 0.92rem; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* ───── וואטסאפ צף ופס חיוג בטלפון ───── */
.wa-float { position: fixed; bottom: 1.5rem; left: 1.5rem; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #1f9e55; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgb(0 0 0 / 0.25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .wa-float { display: none; }
  .mobile-bar { position: fixed; bottom: 0; inset-inline: 0; z-index: 60; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--dark); border-top: 1px solid color-mix(in oklab, var(--accent) 40%, transparent); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; padding: 0.55rem 0.25rem; color: var(--on-dark); text-decoration: none; font-size: 0.85rem; }
  .mobile-bar a + a { border-inline-start: 1px solid color-mix(in oklab, var(--on-dark) 12%, transparent); }
  .mobile-bar svg { color: var(--accent); }
  body { padding-bottom: 64px; }
}

/* ───── תפריט נגישות ───── */
.a11y { position: fixed; z-index: 70; right: 0; top: 50%; transform: translateY(-50%); }
.a11y-toggle { width: 50px; height: 50px; border: 0; border-radius: 12px 0 0 12px; background: #1a4f9c; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 16px rgb(0 0 0 / 0.25); }
.a11y-toggle:hover { background: #143f7d; }
.a11y-panel { position: absolute; right: 56px; top: 50%; transform: translateY(-50%); width: min(320px, calc(100vw - 72px)); background: #fff; color: #1b1b1b; border-radius: var(--radius); box-shadow: 0 20px 50px rgb(0 0 0 / 0.3); padding: 1.25rem; font-size: 1rem; line-height: 1.5; max-height: 85vh; overflow: auto; }
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.a11y-head h2 { font-family: var(--font-body); font-size: 1.15rem; font-weight: 700; color: #1b1b1b; margin: 0; }
.a11y-close { background: none; border: 0; cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; }
.a11y-close:hover { background: #eee; }
.a11y-size { display: grid; grid-template-columns: 1fr repeat(3, 48px); gap: 0.4rem; align-items: center; margin-bottom: 0.75rem; }
.a11y-size button, .a11y-option { border: 1.5px solid #c9c9c9; background: #f6f6f6; border-radius: 8px; min-height: 46px; cursor: pointer; color: #1b1b1b; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; margin-bottom: 0.75rem; }
.a11y-option[aria-pressed='true'], .a11y-size button[aria-pressed='true'] { background: #1a4f9c; border-color: #1a4f9c; color: #fff; }
.a11y-reset { width: 100%; min-height: 44px; border: 0; border-radius: 8px; background: #1b1b1b; color: #fff; cursor: pointer; margin-bottom: 0.6rem; }
.a11y-statement { display: block; text-align: center; color: #1a4f9c; }
@media (max-width: 760px) { .a11y { top: auto; bottom: 84px; transform: none; } .a11y-panel { top: auto; bottom: 0; transform: none; } }

/* מצבי נגישות */
html.a11y-contrast {
  --dark: #000; --accent: #ffd400; --bg: #fff; --text: #000; --muted: #000; --surface: #fff; --alt: #fff;
  --on-dark: #fff; --on-dark-muted: #fff; --line: #000; --accent-deep: #000; --accent-soft: #fff; --accent-line: #000; --dark-2: #000;
}
html.a11y-contrast .hero-bg { display: none; }
html.a11y-contrast .hero.has-image::before { background: #000; }
html.a11y-contrast a:not(.btn) { text-decoration: underline !important; }
html.a11y-contrast .card, html.a11y-contrast .project-card, html.a11y-contrast .contact-form { border: 2px solid #000; }
html.a11y-links a:not(.btn) { text-decoration: underline !important; text-decoration-thickness: 2px !important; background: color-mix(in oklab, yellow 35%, transparent); }
html.a11y-readable body, html.a11y-readable h1, html.a11y-readable h2, html.a11y-readable h3, html.a11y-readable .logo-mark { font-family: Arial, 'Arial Hebrew', sans-serif !important; letter-spacing: 0.01em; }
html.a11y-spacing body { letter-spacing: 0.06em; word-spacing: 0.16em; line-height: 2; }
html.a11y-spacing p { margin-bottom: 1.5em; }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l16 10-7 1.5L9.5 21z' fill='black' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E") 4 2, auto !important; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

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

@media print {
  .site-header, .site-footer, .wa-float, .mobile-bar, .a11y, .cta-band, .contact-form { display: none !important; }
}
