/* =========================================================================
   ג'מאל עבודות עפר — Design System
   RTL · Hebrew-first · WCAG 2.1 AA
   ========================================================================= */

/* ---------- Fonts ----------
   כותרות: Secular One (משקל יחיד, בלי מודגש מלאכותי). גוף: IBM Plex Sans Hebrew 400/600.
   FUP Galil נשאר בתיקייה אבל כבר לא בשימוש. */
@font-face { font-family: 'Secular One'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/secular-one-hebrew.woff2') format('woff2'); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Secular One'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/secular-one-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plex'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/plex-400-hebrew.woff2') format('woff2'); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Plex'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/plex-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plex'; font-style: normal; font-weight: 600 800; font-display: swap; src: url('../fonts/plex-600-hebrew.woff2') format('woff2'); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Plex'; font-style: normal; font-weight: 600 800; font-display: swap; src: url('../fonts/plex-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Design tokens ---------- */
:root {
  /* color */
  --ink: #15171C;
  --ink-soft: #454A54;
  --ink-mute: #6B7280;
  --paper: #FAF9F7;
  --surface: #FFFFFF;
  --surface-2: #F2EFEA;
  --graphite: #1B1E25;
  --graphite-2: #23272F;
  --line: #E4E0D9;
  --line-strong: #D3CEC4;

  --brand: #E9631C;
  --brand-hover: #D4550F;
  --brand-ink: #16181D;
  --brand-tint: #FDECE2;
  --accent: #B8460C;
  --accent-hover: #963808;

  --ok: #1E7A46;
  --focus: #1D6FE0;

  /* radius */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* shadow */
  --shadow-sm: 0 1px 2px rgba(20,23,28,.06), 0 2px 6px rgba(20,23,28,.05);
  --shadow-md: 0 4px 12px rgba(20,23,28,.08), 0 12px 32px rgba(20,23,28,.08);
  --shadow-lg: 0 12px 28px rgba(20,23,28,.12), 0 28px 60px rgba(20,23,28,.14);

  /* layout */
  --maxw: 1180px;
  --maxw-narrow: 760px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
  --header-h: 72px;

  /* type */
  --font: 'Plex', 'Assistant', 'Segoe UI', Arial, sans-serif;
  --font-display: 'Secular One', 'Plex', Arial, sans-serif;
  --fs-900: clamp(2.1rem, 1.4rem + 3.4vw, 3.6rem);
  --fs-800: clamp(1.75rem, 1.3rem + 2.2vw, 2.6rem);
  --fs-700: clamp(1.4rem, 1.15rem + 1.2vw, 1.9rem);
  --fs-600: clamp(1.2rem, 1.08rem + 0.6vw, 1.4rem);
  --fs-500: 1.0625rem;
  --fs-400: 1rem;
  --fs-300: .9rem;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-400);
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1, h2, h3, h4 { margin: 0 0 .5em; font-family: var(--font-display); line-height: 1.2; font-weight: 400; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: var(--fs-900); }
h2 { font-size: var(--fs-800); }
h3 { font-size: var(--fs-700); }
h4 { font-size: var(--fs-600); font-weight: 400; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-underline-offset: .18em; }
a:hover { color: var(--accent-hover); }

img, picture, svg, video { max-width: 100%; height: auto; display: block; }
ul, ol { padding-inline-start: 1.3em; margin: 0 0 1rem; }
li { margin-bottom: .4em; }
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

/* ---------- Accessibility helpers ---------- */
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}
.skip-link {
  position: fixed; inset-block-start: -60px; inset-inline-start: 12px; z-index: 200;
  background: var(--graphite); color: #fff; padding: .7rem 1.1rem; border-radius: var(--r-sm);
  font-weight: 700; transition: inset-block-start .2s;
}
.skip-link:focus { inset-block-start: 12px; color: #fff; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--maxw-narrow); }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--surface-2); }
.section--dark { background: var(--graphite); color: #EDEBE7; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #C7C9CE; }
.section__head { max-width: 44rem; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.section__head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5ch;
  font-size: var(--fs-300); font-weight: 700; letter-spacing: .06em;
  color: var(--brand-ink); background: var(--brand-tint);
  padding: .35rem .8rem; border-radius: var(--r-pill); margin-bottom: 1rem;
}
.section--dark .eyebrow { color: var(--brand); background: rgba(233,99,28,.14); }
.lead { font-size: var(--fs-600); color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--brand); --_fg: var(--brand-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .6ch;
  font: inherit; font-weight: 700; font-size: var(--fs-500);
  padding: .95rem 1.6rem; border-radius: var(--r-pill); border: 2px solid transparent;
  background: var(--_bg); color: var(--_fg); cursor: pointer;
  text-decoration: none; transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  min-height: 48px; box-shadow: var(--shadow-sm);
}
.btn:hover { background: var(--brand-hover); color: var(--brand-ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--accent { --_bg: var(--accent); --_fg: #fff; }
.btn--accent:hover { background: var(--accent-hover); color: #fff; }
.btn--ghost { --_bg: transparent; --_fg: var(--ink); border-color: var(--line-strong); box-shadow: none; }
.btn--ghost:hover { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.btn--on-dark { --_bg: #fff; --_fg: var(--graphite); }
.btn--on-dark.btn--ghost { --_bg: transparent; --_fg: #fff; border-color: rgba(255,255,255,.4); }
.btn--on-dark.btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.btn--lg { padding: 1.1rem 2rem; font-size: var(--fs-600); }
.btn--block { width: 100%; }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.btn-row--center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; inset-block-start: 0; z-index: 100;
  background: rgba(250,249,247,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__bar {
  display: flex; align-items: center; gap: 1rem;
  min-height: var(--header-h); padding-block: .5rem;
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-weight: 800; flex: none; }
.brand img { width: auto; height: 58px; }
@media (max-width: 480px) { .brand img { height: 46px; } }
.brand__name { font-size: 1.15rem; line-height: 1.1; }
.brand__name span { display: block; font-size: .72rem; font-weight: 600; color: var(--ink-mute); letter-spacing: .02em; }

.nav { margin-inline-start: auto; }
.nav__list { list-style: none; display: flex; gap: .3rem; margin: 0; padding: 0; }
.nav__list a {
  display: block; padding: .55rem .8rem; border-radius: var(--r-sm);
  color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: .97rem; white-space: nowrap;
}
@media (min-width: 961px) and (max-width: 1300px) {
  .nav__list { gap: 0; }
  .nav__list a { padding-inline: .45rem; font-size: .9rem; }
  .header-cta .btn { padding-inline: .85rem; }
}
.nav__list a:hover { background: var(--surface-2); color: var(--ink); }
.nav__list a[aria-current="page"] { color: var(--ink); background: var(--brand-tint); }

.header-cta { display: flex; align-items: center; gap: .5rem; flex: none; }
.header-cta .btn { padding: .7rem 1.15rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong);
  background: var(--surface); border-radius: var(--r-sm); cursor: pointer;
  align-items: center; justify-content: center; flex: none;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 960px) {
  .header-cta .btn span { display: none; }
  .header-cta .btn { padding: .7rem; width: 44px; height: 44px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0;
    background: var(--paper); padding: 1.5rem var(--gutter) 6rem;
    transform: translateX(100%); transition: transform .28s ease, visibility .28s;
    visibility: hidden;
    overflow-y: auto; border-top: 1px solid var(--line);
  }
  [dir="ltr"] .nav { transform: translateX(-100%); }
  .nav.is-open { transform: translateX(0); visibility: visible; }
  .nav__list { flex-direction: column; gap: .2rem; }
  .nav__list a { padding: .95rem .8rem; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
}
.nav__m { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--graphite); color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(255deg, rgba(20,23,28,.62) 0%, rgba(20,23,28,.82) 55%, rgba(20,23,28,.94) 100%);
}
.hero__inner { position: relative; padding-block: clamp(3rem, 9vw, 6.5rem); max-width: 42rem; }
.hero h1 { color: #fff; }
.hero__sub { font-size: var(--fs-600); color: #D9DBDF; margin-bottom: 1.6rem; }
.hero__list { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .5rem; }
.hero__list li { display: flex; gap: .6ch; align-items: flex-start; color: #E7E8EB; font-weight: 600; }
.hero__list svg { width: 1.35em; height: 1.35em; color: var(--brand); flex: none; margin-top: .15em; }
.hero__trust {
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.16);
  display: flex; flex-wrap: wrap; gap: 1.2rem 2rem;
}
.hero__trust div { font-size: .9rem; color: #C7C9CE; }
.hero__trust strong { display: block; font-size: 1.5rem; color: #fff; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--graphite-2); color: #fff; }
.trust-strip__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.08);
}
.trust-strip__item { background: var(--graphite-2); padding: 1.4rem 1rem; text-align: center; }
.trust-strip__item svg { width: 26px; height: 26px; color: var(--brand); margin: 0 auto .4rem; }
.trust-strip__item b { display: block; font-size: 1rem; }
.trust-strip__item span { font-size: .82rem; color: #B7BAC0; }
@media (max-width: 720px) { .trust-strip__grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.card--link { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); color: inherit; }
.card__icon {
  width: 52px; height: 52px; border-radius: var(--r-sm); background: var(--brand-tint);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.card__icon svg { width: 28px; height: 28px; color: var(--brand-ink); }
.card h3 { font-size: var(--fs-600); margin-bottom: .4rem; }
.card p { color: var(--ink-soft); font-size: .97rem; }
.card__more { margin-top: auto; padding-top: 1rem; font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: .4ch; }
.card--link:hover .card__more { gap: .8ch; }

/* feature list */
.features { display: grid; gap: 1.2rem; }
.feature { display: flex; gap: 1rem; }
.feature__mark { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--brand-tint); display: grid; place-items: center; }
.feature__mark svg { width: 22px; height: 22px; color: var(--brand-ink); }
.feature h3 { font-size: var(--fs-500); margin-bottom: .2rem; }
.feature p { font-size: .95rem; color: var(--ink-soft); margin: 0; }

/* ---------- Process (numbered) ---------- */
.steps { counter-reset: step; display: grid; gap: 1.2rem; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 2.4rem 1.3rem 1.3rem; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; inset-block-start: -18px; inset-inline-start: 1.3rem;
  width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: var(--brand-ink);
  font-weight: 800; display: grid; place-items: center; font-size: 1.1rem; box-shadow: var(--shadow-sm);
}
.step h3 { font-size: var(--fs-500); }
.step p { font-size: .92rem; color: var(--ink-soft); margin: 0; }

/* ---------- Split (text + media) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.split--reverse .split__media { order: -1; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }
.split__media img { border-radius: var(--r-md); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat b { display: block; font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); color: var(--brand); line-height: 1; }
.stat span { font-size: .95rem; color: #C7C9CE; }

/* ---------- FAQ ---------- */
.faq { max-width: 46rem; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 1.15rem 0; font-weight: 700; font-size: var(--fs-500);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; width: 12px; height: 12px; flex: none;
  border-inline-end: 2.5px solid var(--ink-mute); border-block-end: 2.5px solid var(--ink-mute);
  transform: rotate(45deg); transition: transform .2s ease; margin-top: -4px;
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq__item .faq__body { padding: 0 0 1.2rem; color: var(--ink-soft); }
.faq__item .faq__body p { font-size: .97rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
@media (max-width: 720px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery figure { margin: 0; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding: .55rem .7rem; font-size: .82rem; color: var(--ink-mute); }

/* ---------- Projects gallery ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2rem; }
.gallery-filters button {
  font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer;
  padding: .5rem 1rem; border-radius: var(--r-pill); border: 1.5px solid var(--line-strong);
  background: var(--surface); color: var(--ink-soft);
}
.gallery-filters button:hover { border-color: var(--ink); color: var(--ink); }
.gallery-filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 860px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .project-grid { grid-template-columns: 1fr; } }
.project-grid figure {
  margin: 0; border-radius: var(--r-md); overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.project-grid figure.is-hidden { display: none; }
.project-card {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: start; font: inherit;
}
.project-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s ease; background: var(--surface-2); }
.project-card:hover img { transform: scale(1.04); }
.project-grid figcaption { padding: .8rem 1rem 1rem; }
.project-grid figcaption b { display: block; font-size: .98rem; }
.project-grid figcaption span { font-size: .85rem; color: var(--ink-mute); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(15,17,20,.92); display: none; align-items: center; justify-content: center; padding: 4vw; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: var(--r-sm); box-shadow: var(--shadow-lg); }
.lightbox figcaption { position: absolute; inset-block-end: 2vw; inset-inline: 0; text-align: center; color: #fff; font-weight: 600; text-shadow: 0 1px 4px #000; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,.14); color: #fff; border: 0; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem; display: grid; place-items: center;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.28); }
.lightbox__close { inset-block-start: 3vw; inset-inline-end: 3vw; }
.lightbox__nav { inset-block-start: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { inset-inline-end: 2vw; }
.lightbox__nav--next { inset-inline-start: 2vw; }
@media (max-width: 560px) { .lightbox__nav { display: none; } }

/* placeholder image block */
.ph {
  display: grid; place-items: center; text-align: center; gap: .3rem;
  aspect-ratio: 4 / 3; background: repeating-linear-gradient(45deg, #EFEBE3, #EFEBE3 12px, #F4F1EA 12px, #F4F1EA 24px);
  color: var(--ink-mute); border-radius: var(--r-sm); border: 1px dashed var(--line-strong); padding: 1rem;
}
.ph svg { width: 30px; height: 30px; opacity: .5; }
.ph span { font-size: .8rem; font-weight: 600; }

/* ---------- Areas ---------- */
.areas { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 800px) { .areas { grid-template-columns: 1fr; } }
.area-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.area-card h3 { font-size: var(--fs-500); display: flex; align-items: center; gap: .5ch; }
.area-card h3 svg { width: 1.3em; height: 1.3em; color: var(--brand-ink); }
.area-card + .area-card { margin-top: 1rem; }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .8rem; }
.tag { font-size: .84rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-pill); padding: .3rem .75rem; color: var(--ink-soft); }

/* ---------- Pricing note ---------- */
.pricing-note { background: var(--brand-tint); border: 1px solid #F5CDB5; border-radius: var(--r-md); padding: clamp(1.3rem, 3vw, 2rem); }
.pricing-note ul { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--graphite); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #C7C9CE; max-width: 40rem; margin-inline: auto; }
.cta-band .btn-row { margin-top: 1.8rem; }

/* ---------- Lead form ---------- */
.lead-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.4rem, 4vw, 2.4rem); box-shadow: var(--shadow-md); }
.lead-form h3 { font-size: var(--fs-700); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .35rem; }
.field .req { color: var(--accent); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; padding: .8rem .9rem; border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm); background: var(--paper); color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--focus); background: #fff; }
.field textarea { min-height: 110px; resize: vertical; }
.field--hp { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } /* was left:-9999px, which stretched the RTL page to ~11,000px wide */
.form-consent { font-size: .82rem; color: var(--ink-mute); margin-top: .6rem; }
.form-error { background: #FDECEA; border: 1px solid #F5C6C0; color: #8A2318; padding: .7rem .9rem; border-radius: var(--r-sm); font-size: .9rem; margin-bottom: 1rem; }
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3rem); align-items: start; }
@media (max-width: 860px) { .contact-split { grid-template-columns: 1fr; } }

/* contact methods list */
.contact-methods { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.contact-methods li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-methods svg { width: 24px; height: 24px; color: var(--brand-ink); flex: none; margin-top: .15rem; }
.contact-methods a { color: var(--ink); font-weight: 700; text-decoration: none; }
.contact-methods a:hover { color: var(--accent); }
.contact-methods span { display: block; font-size: .86rem; color: var(--ink-mute); font-weight: 400; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: .85rem; color: var(--ink-mute); padding-block: .9rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4ch; padding: 0; margin: 0; }
.breadcrumbs a { color: var(--ink-mute); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumbs li:not(:last-child)::after { content: "‹"; margin-inline-start: .4ch; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: var(--maxw-narrow); margin-inline: auto; }
.prose h2 { font-size: var(--fs-700); margin-top: 2.2rem; }
.prose h3 { font-size: var(--fs-600); margin-top: 1.6rem; }
.prose ul { margin-bottom: 1.2rem; }
.prose .doc-meta { color: var(--ink-mute); font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--graphite); color: #B7BAC0; padding-block: clamp(3rem, 6vw, 4.5rem) 0; }
.site-footer a { color: #D6D8DC; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .footer-h { color: #fff; font-size: .95rem; font-weight: 700; letter-spacing: .04em; margin: 0 0 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .55rem; font-size: .92rem; }
.footer-brand img { width: 230px; height: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; max-width: 30ch; }
.footer-contact li { display: flex; gap: .5ch; align-items: center; }
.footer-contact svg { width: 18px; height: 18px; color: var(--brand); flex: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-block: 1.4rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; font-size: .82rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-a11y { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.footer-a11y:hover { color: #fff; }

/* ---------- Floating WhatsApp ---------- */
.wa-fab {
  position: fixed; inset-block-end: 20px; inset-inline-end: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
  transition: transform .15s ease;
}
.wa-fab:hover { transform: scale(1.06); color: #fff; }
.wa-fab svg { width: 30px; height: 30px; }
@media (max-width: 960px) { .wa-fab { inset-block-end: 84px; } }

/* ---------- Sticky mobile CTA bar ---------- */
.mobile-cta {
  display: none;
  position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 95;
  background: var(--surface); border-top: 1px solid var(--line);
  padding: .5rem; gap: .5rem; box-shadow: 0 -4px 16px rgba(20,23,28,.1);
}
.mobile-cta .btn { flex: 1; padding: .8rem .5rem; font-size: .98rem; }
@media (max-width: 960px) { .mobile-cta { display: flex; } body { padding-bottom: 68px; } }

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 120;
  background: var(--graphite); color: #EDEBE7;
  border-block-start: 3px solid var(--brand);
  box-shadow: 0 -6px 24px rgba(20,23,28,.25);
  padding: .7rem var(--gutter);
}
.cookie-banner__inner {
  max-width: var(--maxw); margin-inline: auto;
  display: flex; align-items: center; gap: 1rem;
}
.cookie-banner__text { flex: 1 1 auto; }
.cookie-banner__text strong { display: block; color: #fff; margin-bottom: .2rem; }
.cookie-banner__text p { margin: 0; font-size: .9rem; color: #C7C9CE; }
.cookie-banner__text a { color: var(--brand); }
.cookie-banner__actions { display: flex; gap: .6rem; flex: 0 0 auto; }
.cookie-banner__actions .btn { padding: .55rem 1.4rem; }
.cookie-banner__actions .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.cookie-banner__actions .btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
@media (max-width: 960px) {
  .cookie-banner { inset-block-end: 60px; }  /* מעל סרגל ה-CTA במובייל */
}
.js-cookie-settings { cursor: pointer; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 1.8rem; }
.check-list { list-style: none; padding: 0; }
.check-list li { display: flex; gap: .6ch; align-items: flex-start; margin-bottom: .6rem; }
.check-list svg { width: 1.3em; height: 1.3em; color: var(--ok); flex: none; margin-top: .2em; }
.pill-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; }
.pill-list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: .4rem .9rem; font-size: .9rem; font-weight: 600; margin: 0; }
