/* ==========================================================================
   גורן, לביאוב — משרד עורכי דין ונוטריון
   מערכת עיצוב / Design System — נייבי + זהב (נדגם מהלוגו)
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand — נדגם מהלוגו: נייבי #0C2030 + זהב #C9A24A */
  --navy-900: #071522;
  --navy-800: #0C2030;   /* רקע הלוגו — הכהה הראשי */
  --navy-700: #142B3D;
  --navy-600: #1E3A4F;
  --navy-500: #2C4A62;
  --navy-400: #4A6A85;
  --navy-300: #8FA4B6;
  --navy-200: #B9C7D3;
  --navy-100: #DDE5EC;
  --navy-50:  #EEF2F6;

  --gold-700: #8A6114;
  --gold-600: #B38029;   /* קצה כהה של גרדיאנט הלוגו */
  --gold-500: #C9A24A;   /* הזהב המרכזי בלוגו */
  --gold-400: #DAB65A;
  --gold-300: #ECD271;   /* קצה בהיר של הגרדיאנט */
  --gold-100: #F7EFD8;

  --paper: #F4F6F8;      /* רקע הדף — לבן קריר */
  --paper-2: #E9EDF2;
  --line: #D8DFE6;
  --line-strong: #BCC7D1;

  --text: #14202B;
  --text-soft: #4A5966;
  --text-muted: #74838F;
  --on-dark: #EEF2F6;
  --on-dark-soft: #A8B8C6;

  --white: #ffffff;

  /* אקצנט טקסט על רקע בהיר — הזהב נכשל בניגודיות, לכן נייבי */
  --accent-ink: var(--navy-700);
  /* אקצנט טקסט על רקע כהה */
  --accent-dark: var(--gold-400);

  /* Typography — סאנס-סריף מודרני, צפוף */
  --font-display: "Heebo", "Arial Hebrew", Arial, sans-serif;
  --font-body: "Assistant", "Segoe UI", Arial, sans-serif;

  --fs-hero: clamp(2.75rem, 1.3rem + 5.6vw, 5.5rem);
  --fs-h1: clamp(2.25rem, 1.5rem + 3.2vw, 4rem);
  --fs-h2: clamp(1.9rem, 1.3rem + 2.5vw, 3.1rem);
  --fs-h3: clamp(1.3rem, 1.1rem + 0.9vw, 1.75rem);
  --fs-lead: clamp(1.1rem, 1rem + 0.4vw, 1.375rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;

  /* Spacing */
  --sp-section: clamp(4rem, 2.5rem + 6vw, 8.5rem);
  --gutter: clamp(1.15rem, 0.6rem + 2.4vw, 2.5rem);
  --wrap: 1240px;
  --wrap-narrow: 820px;

  /* Effects */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(7, 21, 34, .05), 0 2px 8px rgba(7, 21, 34, .04);
  --shadow-md: 0 4px 12px rgba(7, 21, 34, .07), 0 14px 36px rgba(7, 21, 34, .08);
  --shadow-lg: 0 8px 24px rgba(7, 21, 34, .10), 0 28px 64px rgba(7, 21, 34, .13);
  --ease: cubic-bezier(.22, .68, .36, 1);
  --header-h: 78px;
}

/* ---------- 2. Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, svg, video { max-width: 100%; height: auto; display: block; }

/* כותרות: גדולות, כבדות, צפופות — הסימן ההיכר של הסגנון */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.028em;
  margin: 0 0 .55em;
  color: var(--navy-900);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.18; letter-spacing: -0.02em; }
h4 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold-600); }

ul, ol { margin: 0 0 1.15em; padding-inline-start: 1.4em; }
li { margin-bottom: .4em; }

:focus-visible {
  outline: 2px solid var(--navy-700);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--navy-200); color: var(--navy-900); }

/* ---------- 3. Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--sp-section); }
.section--tight { padding-block: clamp(3rem, 2rem + 3.5vw, 5.5rem); }
.section--paper2 { background: var(--navy-50); }
.section--dark { background: var(--navy-800); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: var(--white); }

.skip-link {
  position: absolute;
  inset-inline-start: 50%;
  top: -100px;
  transform: translateX(50%);
  z-index: 999;
  background: var(--navy-800);
  color: var(--white);
  padding: .75rem 1.25rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: var(--white); }

/* ---------- 4. Typographic components ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--gold-500);
  flex: none;
}
.section--dark .eyebrow { color: var(--accent-dark); }

.section-head { max-width: 760px; margin-bottom: clamp(2.25rem, 1.5rem + 2vw, 3.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: var(--text-soft);
  font-weight: 400;
}
.section--dark .lead { color: var(--on-dark-soft); }

.rule {
  width: 54px;
  height: 3px;
  background: var(--gold-500);
  border: 0;
  margin: 0 0 1.5rem;
}

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--navy-700);
  --btn-fg: var(--paper);
  --btn-bd: var(--navy-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1.9rem;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.4;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 2px solid var(--btn-bd);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease),
              background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn:hover {
  --btn-bg: var(--navy-900);
  --btn-bd: var(--navy-900);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(7, 21, 34, .28);
  color: var(--btn-fg);
}
.btn:active { transform: translateY(0); }

.btn--gold {
  --btn-bg: var(--gold-500);
  --btn-fg: var(--navy-900);
  --btn-bd: var(--gold-500);
}
.btn--gold:hover {
  --btn-bg: var(--gold-400);
  --btn-bd: var(--gold-400);
  --btn-fg: var(--navy-900);
  box-shadow: 0 8px 22px rgba(201, 162, 74, .35);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy-800);
  --btn-bd: var(--line-strong);
}
.btn--ghost:hover {
  --btn-bg: var(--navy-800);
  --btn-fg: var(--white);
  --btn-bd: var(--navy-800);
}
.btn--on-dark {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  --btn-bd: rgba(255, 255, 255, .42);
}
.btn--on-dark:hover {
  --btn-bg: var(--white);
  --btn-fg: var(--navy-900);
  --btn-bd: var(--white);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
}
.btn--sm { padding: .65rem 1.25rem; font-size: var(--fs-xs); }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--accent-ink);
}
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(-4px); }

/* ---------- 6. Header ---------- */
.topbar {
  background: var(--navy-900);
  color: var(--on-dark-soft);
  font-size: var(--fs-xs);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
  flex-wrap: wrap;
}
.topbar__list { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.topbar__list li { margin: 0; }
.topbar a { color: var(--on-dark-soft); display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: var(--gold-400); }
.topbar svg { width: 14px; height: 14px; flex: none; opacity: .75; }
.topbar__note {
  font-family: var(--font-display);
  color: var(--gold-400);
  font-weight: 600;
  letter-spacing: .06em;
}
@media (max-width: 860px) { .topbar { display: none; } }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 246, 248, .9);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 20px rgba(7, 21, 34, .07);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.5rem);
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: .8rem; flex: none; }
.brand img { width: auto; height: 48px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy-900);
}
.brand__sub {
  font-size: .6875rem;
  letter-spacing: .11em;
  color: var(--text-muted);
  font-weight: 600;
}
@media (max-width: 480px) { .brand__text { display: none; } }

.nav { margin-inline-start: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(.5rem, 1.4vw, 1.7rem); list-style: none; margin: 0; padding: 0; }
.nav__list > li { margin: 0; position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .5rem .25rem;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  position: relative;
}
.nav__link::after {
  content: "";
  position: absolute;
  inset-inline: .25rem;
  bottom: .1rem;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: inline-end;
  transition: transform .28s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--navy-900); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: inline-start; }
.nav__link svg { width: 11px; height: 11px; opacity: .55; transition: transform .25s var(--ease); }
.has-menu:hover .nav__link svg, .has-menu:focus-within .nav__link svg { transform: rotate(180deg); }

.megamenu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: -1rem;
  min-width: 580px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold-500);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .1rem .5rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.has-menu:hover .megamenu, .has-menu:focus-within .megamenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.megamenu li { margin: 0; }
.megamenu a {
  display: block;
  padding: .58rem .75rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-soft);
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.megamenu a:hover { background: var(--navy-50); color: var(--navy-900); }

.header__cta { flex: none; }
@media (max-width: 1120px) { .header__cta, .nav { display: none; } }

.burger {
  display: none;
  margin-inline-start: auto;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: 0; cursor: pointer; padding: 0;
}
.burger span {
  display: block; position: relative;
  width: 24px; height: 2px; background: var(--navy-900); border-radius: 2px;
  transition: background-color .2s var(--ease);
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; inset-inline-start: 0;
  width: 24px; height: 2px; background: var(--navy-900); border-radius: 2px;
  transition: transform .28s var(--ease), top .2s var(--ease);
}
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 1120px) { .burger { display: flex; } }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--paper);
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.drawer__list { list-style: none; margin: 0 0 2rem; padding: 0; }
.drawer__list > li { border-bottom: 1px solid var(--line); }
.drawer__list a {
  display: block;
  padding: 1rem .25rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--navy-900);
}
.drawer__list a:hover { color: var(--navy-600); }
.drawer__sub { list-style: none; margin: 0 0 1rem; padding: 0 .25rem 1rem; }
.drawer__sub li { border: 0; }
.drawer__sub a { padding: .5rem 0; font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 500; color: var(--text-soft); letter-spacing: 0; }
.drawer__toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 1rem .25rem; background: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700;
  letter-spacing: -0.025em; color: var(--navy-900);
}
.drawer__toggle svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.drawer__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.drawer__contact { display: grid; gap: .85rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.drawer__contact a { display: flex; align-items: center; gap: .6rem; color: var(--text-soft); font-size: var(--fs-sm); }
.drawer__contact svg { width: 16px; height: 16px; color: var(--navy-600); flex: none; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(580px, 84vh, 880px);
  background: var(--navy-900);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to left, rgba(7, 21, 34, .95) 0%, rgba(12, 32, 48, .86) 44%, rgba(7, 21, 34, .52) 74%, rgba(7, 21, 34, .34) 100%),
    linear-gradient(to top, rgba(5, 16, 26, .72), transparent 46%);
}
.hero__inner { padding-block: clamp(4rem, 10vh, 7rem); }
.hero__content { max-width: 720px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--font-display);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold-400); margin-bottom: 1.5rem;
}
.hero__eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--gold-500); }
.hero__title {
  font-size: var(--fs-hero);
  font-weight: 800;
  color: var(--white);
  line-height: 1.02;
  letter-spacing: -0.038em;
  margin-bottom: 1.5rem;
}
.hero__title em { font-style: normal; color: var(--gold-400); }
.hero__text {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: rgba(238, 242, 246, .84);
  max-width: 54ch;
  margin-bottom: 2.25rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; }

.hero__scroll {
  position: absolute;
  bottom: 1.75rem;
  inset-inline-start: var(--gutter);
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display);
  font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase;
  color: rgba(238, 242, 246, .58);
}
.hero__scroll svg { width: 14px; height: 14px; animation: nudge 2.2s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (max-width: 700px) { .hero__scroll { display: none; } }

/* ---------- 8. Page hero (inner pages) ---------- */
.pagehero {
  position: relative;
  background: var(--navy-800);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.pagehero__media { position: absolute; inset: 0; z-index: -2; }
.pagehero__media img { width: 100%; height: 100%; object-fit: cover; }
.pagehero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to left, rgba(7, 21, 34, .95), rgba(12, 32, 48, .84) 60%, rgba(7, 21, 34, .68));
}
.pagehero__inner { padding-block: clamp(3.5rem, 2rem + 6vw, 7rem); max-width: 860px; }
.pagehero h1 { color: var(--white); margin-bottom: .5rem; }
.pagehero .lead { color: rgba(238, 242, 246, .82); }

.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  list-style: none; margin: 0 0 1.25rem; padding: 0;
  font-size: var(--fs-xs); color: rgba(238, 242, 246, .58);
}
.crumbs li { margin: 0; display: flex; align-items: center; gap: .5rem; }
.crumbs li + li::before { content: "‹"; color: var(--gold-400); }
.crumbs a { color: rgba(238, 242, 246, .78); }
.crumbs a:hover { color: var(--gold-400); }
.crumbs [aria-current] { color: var(--gold-400); font-weight: 600; }

/* ---------- 9. Stat bar ---------- */
.stats {
  background: var(--navy-800);
  color: var(--on-dark);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .1);
}
.stat {
  background: var(--navy-800);
  padding: clamp(1.75rem, 1rem + 2vw, 3rem) 1rem;
  text-align: center;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--gold-400);
  line-height: 1;
  display: block;
  margin-bottom: .5rem;
}
.stat__label {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: .11em;
  color: var(--on-dark-soft);
  text-transform: uppercase;
  font-weight: 600;
}
@media (max-width: 720px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 10. Cards ---------- */
.grid { display: grid; gap: clamp(1.15rem, .8rem + 1.2vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .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 {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform .35s var(--ease);
  z-index: 2;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card:hover::before { transform: scaleX(1); }
.card__body { padding: clamp(1.4rem, 1rem + 1vw, 2rem); display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.25rem; margin-bottom: .55rem; }
.card__title a { color: inherit; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card:hover .card__title { color: var(--navy-600); }
.card__text { font-size: var(--fs-sm); color: var(--text-soft); margin-bottom: 1.25rem; line-height: 1.65; }
.card__more { margin-top: auto; }

/* Practice card */
.card--practice .card__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: var(--navy-100);
  color: var(--navy-700);
  margin-bottom: 1.25rem;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.card--practice .card__icon svg { width: 23px; height: 23px; }
.card--practice:hover .card__icon { background: var(--navy-700); color: var(--gold-400); }

/* Project card */
.card--project .card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-50); }
.card--project .card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.card--project:hover .card__media img { transform: scale(1.05); }
.card__badge {
  position: absolute;
  top: .85rem; inset-inline-end: .85rem;
  background: rgba(7, 21, 34, .88);
  backdrop-filter: blur(6px);
  color: var(--gold-300);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: -0.005em;
  padding: .32rem .8rem;
  border-radius: var(--r-sm);
  z-index: 1;
}
.card__meta {
  display: flex; flex-wrap: wrap; gap: .4rem .9rem;
  font-size: var(--fs-xs); color: var(--text-muted);
  margin-bottom: 1.15rem; list-style: none; padding: 0;
}
.card__meta li { margin: 0; display: flex; align-items: center; gap: .35rem; }
.card__meta strong { color: var(--text); font-weight: 700; }

/* Placeholder — פרויקטים ללא תצלום */
.ph {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .5rem;
  height: 100%;
  padding: 1.5rem;
  text-align: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(201, 162, 74, .18), transparent 55%),
    linear-gradient(145deg, var(--navy-700), var(--navy-900));
}
.ph::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(201, 162, 74, .3);
  border-radius: 2px;
  pointer-events: none;
}
.ph__mark {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--gold-400);
}
.ph__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--on-dark-soft);
  max-width: 22ch;
}
.split__media .ph { aspect-ratio: 4/3; border-radius: var(--r-md); position: relative; overflow: hidden; }

/* Feature tile (למה אנחנו) */
.feature {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.4rem 1.3rem;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-md);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.feature:hover { background: rgba(255, 255, 255, .08); border-color: rgba(201, 162, 74, .5); transform: translateY(-3px); }
.feature__icon { flex: none; width: 34px; height: 34px; display: grid; place-items: center; color: var(--gold-400); }
.feature__icon svg { width: 24px; height: 24px; }
.feature__title {
  font-family: var(--font-display);
  font-size: var(--fs-body); font-weight: 700; letter-spacing: -0.015em;
  color: var(--white); margin: 0; line-height: 1.35;
}

/* ---------- 11. Split section ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}
.split--reverse { direction: ltr; }
.split--reverse > * { direction: rtl; }
@media (max-width: 900px) { .split, .split--reverse { grid-template-columns: 1fr; direction: rtl; } }

.split__media { position: relative; }
.split__media img { border-radius: var(--r-md); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split__media::before {
  content: "";
  position: absolute;
  inset-block-start: -18px;
  inset-inline-start: -18px;
  width: 55%; height: 55%;
  border: 2px solid var(--gold-500);
  border-radius: var(--r-md);
  z-index: -1;
}
@media (max-width: 560px) { .split__media::before { display: none; } }

/* ---------- 12. Partners ---------- */
.partner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  align-items: start;
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.partner + .partner { margin-top: clamp(1.15rem, .8rem + 1.2vw, 1.75rem); }
.partner__photo {
  aspect-ratio: 3/4;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--navy-50);
}
.partner__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.partner__name { font-size: 1.65rem; margin-bottom: .15rem; }
.partner__role {
  font-family: var(--font-display);
  font-size: var(--fs-sm); color: var(--accent-ink); font-weight: 700;
  letter-spacing: -0.01em; margin-bottom: 1.25rem;
}
.partner__list { list-style: none; padding: 0; margin: 0 0 1.35rem; }
.partner__list li {
  position: relative;
  padding-inline-start: 1.4rem;
  font-size: var(--fs-sm);
  color: var(--text-soft);
  margin-bottom: .65rem;
  line-height: 1.65;
}
.partner__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0; top: .62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
}
.partner__mail { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: var(--fs-sm); }
.partner__mail svg { width: 16px; height: 16px; }
@media (max-width: 620px) {
  .partner { grid-template-columns: 1fr; }
  .partner__photo { max-width: 220px; }
}

/* ---------- 13. Article / prose ---------- */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  align-items: start;
}
@media (max-width: 980px) { .layout { grid-template-columns: 1fr; } }

.prose { max-width: 70ch; }
.prose > h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.15rem);
  margin-top: 2.4em;
  margin-bottom: .55em;
}
.prose > h2:first-child { margin-top: 0; }
.prose > h3 { margin-top: 2em; }
.prose p { color: var(--text-soft); }
.prose strong { color: var(--text); font-weight: 700; }

.callout {
  margin-top: 2.75rem;
  padding: clamp(1.4rem, 1rem + 1.2vw, 2.25rem);
  background: var(--navy-800);
  color: var(--on-dark);
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
}
.callout::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 4px;
  background: var(--gold-500);
}
.callout p { color: rgba(238, 242, 246, .87); margin-bottom: 1.35rem; }
.callout .btn { --btn-bg: var(--gold-500); --btn-fg: var(--navy-900); --btn-bd: var(--gold-500); }
.callout .btn:hover { --btn-bg: var(--gold-400); --btn-bd: var(--gold-400); --btn-fg: var(--navy-900); }

/* Sidebar */
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 1.25rem; }
@media (max-width: 980px) { .sidebar { position: static; } }
.widget {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.65rem;
}
.widget--dark { background: var(--navy-800); border-color: var(--navy-700); color: var(--on-dark); }
.widget__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 1.15rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--gold-500);
  color: var(--navy-900);
}
.widget--dark .widget__title { color: var(--white); }
.widget__list { list-style: none; margin: 0; padding: 0; }
.widget__list li { margin: 0; border-bottom: 1px solid var(--line); }
.widget__list li:last-child { border-bottom: 0; }
.widget__list a {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .72rem 0;
  font-size: var(--fs-sm); font-weight: 500; color: var(--text-soft);
}
.widget__list a:hover { color: var(--navy-700); }
.widget__list a svg { width: 12px; height: 12px; flex: none; opacity: .5; }

.widget-contact__row { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: 1rem; font-size: var(--fs-sm); }
.widget-contact__row svg { width: 17px; height: 17px; color: var(--gold-400); flex: none; margin-top: .3em; }
.widget-contact__row a { color: var(--on-dark); }
.widget-contact__row a:hover { color: var(--gold-400); }
.widget--dark .widget-contact__row span { color: var(--on-dark-soft); }
.widget--dark .btn { --btn-bg: var(--gold-500); --btn-fg: var(--navy-900); --btn-bd: var(--gold-500); }
.widget--dark .btn:hover { --btn-bg: var(--gold-400); --btn-bd: var(--gold-400); --btn-fg: var(--navy-900); }

/* ---------- 14. Forms ---------- */
.form { display: grid; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field label {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--text-soft);
}
.field input, .field textarea, .field select {
  width: 100%;
  font-family: inherit;
  font-size: var(--fs-sm);
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: .85rem .95rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 108px; }
.field input::placeholder, .field textarea::placeholder { color: #9AA6B0; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(30, 58, 79, .2);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #B3402F; }

.form--on-dark label { color: var(--on-dark-soft); }
.form--on-dark input, .form--on-dark textarea {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .2);
  color: var(--white);
}
.form--on-dark input::placeholder, .form--on-dark textarea::placeholder { color: rgba(238, 242, 246, .45); }
.form--on-dark input:focus, .form--on-dark textarea:focus {
  border-color: var(--gold-400);
  background: rgba(255, 255, 255, .12);
  box-shadow: 0 0 0 3px rgba(201, 162, 74, .22);
}
.form--on-dark .btn { --btn-bg: var(--gold-500); --btn-fg: var(--navy-900); --btn-bd: var(--gold-500); }
.form--on-dark .btn:hover { --btn-bg: var(--gold-400); --btn-bd: var(--gold-400); --btn-fg: var(--navy-900); }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }

.form__consent { display: flex; align-items: flex-start; gap: .6rem; font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.6; }
.form--on-dark .form__consent { color: var(--on-dark-soft); }
.form__consent input { width: 17px; height: 17px; margin-top: .25em; accent-color: var(--navy-600); flex: none; }

.form__note { font-size: var(--fs-xs); color: var(--text-muted); }
.form--on-dark .form__note { color: rgba(238, 242, 246, .58); }

.form__status {
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: .8rem 1rem;
  border-radius: var(--r-sm);
  display: none;
}
.form__status.is-ok { display: block; background: var(--navy-100); color: var(--navy-800); }
.form__status.is-err { display: block; background: #F8E9E6; color: #92301F; }
.form--on-dark .form__status.is-ok { background: rgba(201, 162, 74, .18); color: var(--gold-300); }
.form--on-dark .form__status.is-err { background: rgba(179, 64, 47, .22); color: #F2AFA4; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* CTA band */
.cta-band { position: relative; background: var(--navy-800); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to left, rgba(7, 21, 34, .96), rgba(7, 21, 34, .9));
}
.cta-band__grid {
  display: grid;
  grid-template-columns: 1fr 490px;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
@media (max-width: 900px) { .cta-band__grid { grid-template-columns: 1fr; } }
.cta-band__form {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-top: 3px solid var(--gold-500);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  backdrop-filter: blur(8px);
}
.cta-band__contacts { display: grid; gap: 1rem; margin-top: 2rem; }
.cta-band__contact { display: flex; align-items: center; gap: .85rem; color: var(--on-dark); font-weight: 600; }
.cta-band__contact:hover { color: var(--gold-400); }
.cta-band__contact span.i {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  color: var(--gold-400);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.cta-band__contact:hover span.i { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); }
.cta-band__contact svg { width: 18px; height: 18px; }
.cta-band__contact small { display: block; font-size: var(--fs-xs); font-weight: 500; color: var(--on-dark-soft); letter-spacing: .07em; }

/* ---------- 15. Footer ---------- */
.footer { background: var(--navy-900); color: var(--on-dark-soft); font-size: var(--fs-sm); }
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.1fr;
  gap: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  padding-block: clamp(3rem, 2rem + 3vw, 5rem);
}
@media (max-width: 980px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }

.footer__brand img { height: 64px; width: auto; margin-bottom: 1.25rem; }
.footer__about { line-height: 1.8; max-width: 38ch; }
.footer__title {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin: 0 0 1.25rem;
}
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: .6rem; }
.footer__list a { color: var(--on-dark-soft); }
.footer__list a:hover { color: var(--gold-400); }

.footer__contact { display: grid; gap: .9rem; }
.footer__contact-row { display: flex; align-items: flex-start; gap: .7rem; }
.footer__contact-row svg { width: 16px; height: 16px; color: var(--gold-400); flex: none; margin-top: .35em; }
.footer__contact-row a { color: var(--on-dark-soft); }
.footer__contact-row a:hover { color: var(--gold-400); }

.footer__social { display: flex; gap: .6rem; margin-top: 1.5rem; }
.footer__social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  color: var(--on-dark-soft);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.footer__social a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; }

.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: var(--fs-xs);
  color: #7C8C9B;
}
.footer__bottom a { color: #7C8C9B; }
.footer__bottom a:hover { color: var(--gold-400); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.footer__legal li { margin: 0; }

.disclaimer {
  padding-block: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .07);
  font-size: .75rem;
  line-height: 1.7;
  color: #63727F;
}

/* ---------- 16. Floating actions ---------- */
.floaters {
  position: fixed;
  inset-inline-end: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: grid;
  gap: .6rem;
}
.floater {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(7, 21, 34, .28);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.floater:hover { transform: scale(1.07); color: var(--white); box-shadow: 0 10px 28px rgba(7, 21, 34, .35); }
.floater svg { width: 26px; height: 26px; }
.floater--wa { background: #25D366; }
.floater--tel { background: var(--navy-700); color: var(--gold-400); }
.floater--tel:hover { color: var(--gold-300); }
.floater--tel svg { width: 22px; height: 22px; }
@media (min-width: 900px) { .floater--tel { display: none; } }

.to-top {
  position: fixed;
  inset-inline-start: 1rem;
  bottom: 1rem;
  z-index: 90;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--navy-800);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  cursor: pointer;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 16px; height: 16px; }
@media (max-width: 620px) { .to-top { display: none; } }

/* ---------- 17. Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- 18. Misc ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; list-style: none; padding: 0; }
.pill-row li { margin: 0; }
.pill {
  display: inline-block;
  padding: .4rem .95rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-soft);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all .2s var(--ease);
}
.pill:hover, .pill.is-active { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }

.map-embed {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16/9;
  background: var(--navy-50);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- 18b. המלצות לקוחות ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.15rem, .8rem + 1.2vw, 1.75rem); }
@media (max-width: 980px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px)  { .quotes { grid-template-columns: 1fr; } }

.quote {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.4rem, 1rem + 1vw, 1.9rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  position: relative;
}
.quote::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--gold-500);
}
.quote__stars { display: flex; gap: .12rem; color: var(--gold-500); }
.quote__stars svg { width: 15px; height: 15px; }
.quote__text {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--text-soft);
  flex: 1;
}
.quote__who {
  display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
}
.quote__name {
  font-family: var(--font-display);
  font-weight: 700; font-size: var(--fs-sm); letter-spacing: -0.015em;
  color: var(--navy-900);
}
.quote__ctx { font-size: var(--fs-xs); color: var(--text-muted); }

.gsummary {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1rem 1.5rem;
  margin-top: clamp(2rem, 1.5rem + 1.5vw, 3rem);
  padding: 1.15rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-align: center;
}
.gsummary__score {
  display: flex; align-items: center; gap: .6rem;
}
.gsummary__num {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 800; letter-spacing: -0.04em;
  color: var(--navy-900); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.gsummary__stars { display: flex; gap: .1rem; color: var(--gold-500); }
.gsummary__stars svg { width: 17px; height: 17px; }
.gsummary__meta { font-size: var(--fs-sm); color: var(--text-soft); }
.gsummary__meta strong { color: var(--navy-900); font-weight: 700; }

/* ---------- 19. מפה בטעינה מבוקרת ---------- */
.map-consent {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .65rem;
  width: 100%;
  height: 100%;
  padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem);
  text-align: center;
  background: var(--navy-50);
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: background-color .25s var(--ease);
}
.map-consent:hover { background: var(--navy-100); }
.map-consent__icon { color: var(--navy-600); }
.map-consent__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}
.map-consent__note {
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 52ch;
}
.map-consent__cta {
  display: inline-block;
  margin-top: .35rem;
  padding: .6rem 1.4rem;
  background: var(--navy-700);
  color: var(--paper);
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
}
.map-consent:hover .map-consent__cta { background: var(--navy-900); }

/* ---------- 20. תפריט נגישות ---------- */
.a11y { position: fixed; inset-inline-start: 1rem; bottom: 1rem; z-index: 95; }

.a11y__toggle {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--navy-800);
  color: var(--gold-400);
  border: 2px solid var(--gold-500);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(7, 21, 34, .3);
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.a11y__toggle:hover { transform: scale(1.07); background: var(--navy-900); }
.a11y__toggle svg { width: 28px; height: 28px; }

.a11y__panel {
  position: absolute;
  bottom: calc(100% + .75rem);
  inset-inline-start: 0;
  width: min(320px, calc(100vw - 2rem));
  max-height: min(70vh, 560px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-top: 4px solid var(--gold-500);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 1.15rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.a11y__panel.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

.a11y__head {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  margin-bottom: .9rem; padding-bottom: .7rem;
  border-bottom: 1px solid var(--line);
}
.a11y__title {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 800; letter-spacing: -0.025em;
  color: var(--navy-900); margin: 0;
}
.a11y__close {
  width: 30px; height: 30px; flex: none;
  display: grid; place-items: center;
  background: none; border: 1px solid var(--line); border-radius: var(--r-sm);
  color: var(--text-soft); cursor: pointer;
  font-size: 1.1rem; line-height: 1;
}
.a11y__close:hover { background: var(--navy-50); color: var(--navy-900); }

.a11y__group { margin-bottom: .9rem; }
.a11y__label {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: .45rem;
}
.a11y__sizer { display: flex; gap: .4rem; }
.a11y__sizer button {
  flex: 1;
  padding: .55rem .3rem;
  background: var(--white);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-800);
  cursor: pointer;
  transition: all .18s var(--ease);
}
.a11y__sizer button:hover { border-color: var(--navy-600); }
.a11y__sizer button[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }

.a11y__opt {
  display: flex; align-items: center; gap: .7rem;
  width: 100%;
  padding: .65rem .7rem;
  margin-bottom: .3rem;
  background: none;
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text);
  text-align: start;
  cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease);
}
.a11y__opt:hover { background: var(--navy-50); }
.a11y__opt[aria-pressed="true"] { background: var(--navy-50); border-color: var(--navy-600); font-weight: 700; }
.a11y__opt svg { width: 19px; height: 19px; flex: none; color: var(--navy-600); }
.a11y__opt .a11y__state {
  margin-inline-start: auto;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-muted);
}
.a11y__opt[aria-pressed="true"] .a11y__state { color: var(--navy-700); }

.a11y__reset {
  width: 100%;
  margin-top: .5rem;
  padding: .7rem;
  background: var(--navy-800);
  color: var(--white);
  border: 0; border-radius: var(--r-sm);
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm);
  cursor: pointer;
}
.a11y__reset:hover { background: var(--navy-900); }

.a11y__foot {
  margin-top: .9rem; padding-top: .7rem;
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs); line-height: 1.6; color: var(--text-muted);
}
.a11y__foot a { font-weight: 600; }

/* --- מצבי הנגישות עצמם --- */

/* ניגודיות גבוהה — דריסת טוקנים */
html.a11y-contrast {
  --paper: #FFFFFF;
  --paper-2: #FFFFFF;
  --white: #FFFFFF;
  --text: #000000;
  --text-soft: #000000;
  --text-muted: #121212;
  --navy-900: #000000;
  --navy-800: #000000;
  --navy-700: #000000;
  --navy-600: #000000;
  --navy-500: #000000;
  --navy-400: #333333;
  --navy-300: #FFFFFF;
  --navy-200: #FFFFFF;
  --navy-100: #FFFFFF;
  --navy-50:  #FFFFFF;
  --gold-600: #7A3E00;
  --gold-500: #000000;
  --gold-400: #FFE44D;
  --gold-300: #FFE44D;
  --line: #000000;
  --line-strong: #000000;
  --on-dark: #FFFFFF;
  --on-dark-soft: #FFFFFF;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
}
html.a11y-contrast .hero__media,
html.a11y-contrast .pagehero__media,
html.a11y-contrast .cta-band__media { display: none; }
html.a11y-contrast .hero::after,
html.a11y-contrast .pagehero::after,
html.a11y-contrast .cta-band::after { background: #000; }
html.a11y-contrast .card__media img,
html.a11y-contrast .split__media img,
html.a11y-contrast .partner__photo img { filter: grayscale(1) contrast(1.25); }
html.a11y-contrast .header { background: #FFF; border-bottom: 2px solid #000; }
html.a11y-contrast .ph { background: #000; }

/* גווני אפור — דריסת טוקנים (לא filter, כדי לא לשבור position:fixed) */
html.a11y-grayscale {
  --navy-900: #101010;
  --navy-800: #1E1E1E;
  --navy-700: #2B2B2B;
  --navy-600: #3D3D3D;
  --navy-500: #545454;
  --navy-400: #6E6E6E;
  --navy-300: #9E9E9E;
  --navy-200: #C4C4C4;
  --navy-100: #DEDEDE;
  --navy-50:  #F0F0F0;
  --gold-600: #5C5C5C;
  --gold-500: #7A7A7A;
  --gold-400: #A8A8A8;
  --gold-300: #C4C4C4;
  --paper: #F6F6F6;
  --paper-2: #EAEAEA;
  --text: #161616;
  --text-soft: #454545;
  --text-muted: #6E6E6E;
  --line: #D8D8D8;
  --line-strong: #B8B8B8;
}
html.a11y-grayscale .card__media img,
html.a11y-grayscale .split__media img,
html.a11y-grayscale .partner__photo img,
html.a11y-grayscale .hero__media img,
html.a11y-grayscale .pagehero__media img,
html.a11y-grayscale .cta-band__media img { filter: grayscale(1); }

/* הדגשת קישורים */
html.a11y-links a:not(.btn):not(.a11y__toggle) {
  text-decoration: underline !important;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  outline: 1px dashed currentColor;
  outline-offset: 2px;
}
html.a11y-links .btn { outline: 2px solid currentColor; outline-offset: 3px; }

/* גופן קריא — ביטול הצפיפות הטיפוגרפית */
html.a11y-readable {
  --font-display: Arial, "Arial Hebrew", sans-serif;
  --font-body: Arial, "Arial Hebrew", sans-serif;
}
html.a11y-readable * {
  letter-spacing: normal !important;
  font-weight: 400;
}
html.a11y-readable h1, html.a11y-readable h2, html.a11y-readable h3,
html.a11y-readable h4, html.a11y-readable strong, html.a11y-readable b,
html.a11y-readable .btn, html.a11y-readable th { font-weight: 700; }
html.a11y-readable body { line-height: 1.9; }
html.a11y-readable h1, html.a11y-readable h2, html.a11y-readable h3 { line-height: 1.35; }
html.a11y-readable p, html.a11y-readable li { word-spacing: .1em; }

/* עצירת אנימציות */
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
html.a11y-still .reveal { opacity: 1 !important; transform: none !important; }

/* סמן גדול */
html.a11y-cursor, html.a11y-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M8 4l30 17-13 3-4 14z' fill='%23fff' stroke='%23000' stroke-width='2.5'/%3E%3C/svg%3E") 6 3, auto;
}
html.a11y-cursor a, html.a11y-cursor button, html.a11y-cursor [role="button"] {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M8 4l30 17-13 3-4 14z' fill='%23FFE44D' stroke='%23000' stroke-width='2.5'/%3E%3C/svg%3E") 6 3, pointer;
}

/* התאמת מיקום כפתור חזרה למעלה כשתפריט הנגישות קיים */
.a11y ~ .to-top, body:has(.a11y) .to-top { bottom: 4.75rem; }

@media (max-width: 620px) {
  .a11y { bottom: .75rem; inset-inline-start: .75rem; }
  .a11y__toggle { width: 46px; height: 46px; }
  .a11y__toggle svg { width: 24px; height: 24px; }
}

@media print {
  .header, .topbar, .floaters, .to-top, .cta-band, .drawer, .hero__actions, .a11y { display: none !important; }
  body { background: #fff; }
}
