/* ==========================================================================
   לוויים — משרד עורכי דין | מערכת עיצוב (Design System)
   RTL · עברית · נגיש (תקן 5568 / WCAG 2.0 AA) · רספונסיבי
   ========================================================================== */

:root {
  /* צבעים */
  --navy:        #102a43;
  --navy-800:    #14334d;
  --navy-700:    #1b4060;
  --gold:        #b08d4f;
  --gold-600:    #9a7838;
  --gold-light:  #d9c39a;
  --cream:       #faf7f2;
  --white:       #ffffff;
  --ink:         #1d2733;
  --muted:       #5b6b7b;
  --line:        #e7e0d4;
  --line-soft:   #f0eadf;
  --success:     #2f7d5b;
  --danger:      #b3261e;

  /* טיפוגרפיה */
  --font-head: "Frank Ruhl Libre", Georgia, "Times New Roman", serif;
  --font-body: "Heebo", "Segoe UI", Arial, sans-serif;

  /* מידות ומרווחים */
  --maxw: 1180px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 2px 10px rgba(16, 42, 67, 0.06);
  --shadow-md: 0 10px 30px rgba(16, 42, 67, 0.10);
  --shadow-lg: 0 24px 60px rgba(16, 42, 67, 0.16);
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- איפוס בסיסי ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.075rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }
p  { margin: 0 0 1rem; }

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

img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; }

/* ---------- נגישות מקלדת ---------- */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  right: 1rem; top: -200px;
  background: var(--navy);
  color: #fff;
  padding: .85rem 1.4rem;
  border-radius: 0 0 10px 10px;
  z-index: 2000;
  transition: top .2s var(--ease);
  font-weight: 600;
}
.skip-link:focus { top: 0; color: #fff; }

.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;
}

/* ---------- מבנה כללי ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(54px, 8vw, 100px) 0; }
.section--alt { background: var(--white); }
.section__head { max-width: 720px; margin-bottom: 2.6rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 600; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: .8rem;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--gold); display: inline-block; }
.lead { font-size: 1.18rem; color: var(--muted); }

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1.02rem;
  padding: .85rem 1.7rem; border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; transition: all .25s var(--ease); text-align: center;
  min-height: 50px; /* יעד מגע נגיש */
}
.btn--primary { background: var(--gold); color: #fff; }
.btn--primary:hover { background: var(--gold-600); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); }
.btn--light:hover { background: #fff; color: var(--navy); }
.btn--block { width: 100%; }

/* ==========================================================================
   כותרת עליונה (Header)
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(250, 247, 242, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); background: rgba(250,247,242,.97); }
.header__bar {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .7rem; }
.brand__logo { height: 54px; width: auto; display: block; }
.brand__icon { height: 42px; width: auto; color: var(--navy); flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-body); font-weight: 800; font-size: 1.28rem; letter-spacing: .02em; color: var(--navy); }
.brand__tag { font-size: .72rem; letter-spacing: .2em; color: var(--gold-600); font-weight: 600; margin-top: 1px; }

.nav { display: flex; align-items: center; gap: .3rem; }
.nav a {
  color: var(--navy); font-weight: 500; font-size: 1rem;
  padding: .55rem .85rem; border-radius: 8px; position: relative;
}
.nav a::after {
  content: ""; position: absolute; bottom: .3rem; right: .85rem; left: .85rem;
  height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.header__cta { display: flex; align-items: center; gap: .6rem; }
.header__phone {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 700; color: var(--navy); font-size: 1.05rem; direction: ltr;
}
.header__phone:hover { color: var(--gold-600); }

/* כפתור המבורגר */
.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; background: transparent;
  cursor: pointer; align-items: center; justify-content: center; border-radius: 10px;
}
.nav-toggle:hover { background: var(--line-soft); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 26px; height: 2.5px; background: var(--navy);
  border-radius: 3px; transition: all .3s var(--ease); position: relative;
}
.nav-toggle span::before { position: absolute; top: -8px; }
.nav-toggle span::after  { position: absolute; top: 8px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* ---------- מתג שפה ---------- */
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 50px; overflow: hidden; }
.lang-switch a { padding: .35rem .7rem; font-size: .85rem; font-weight: 600; color: var(--muted); }
.lang-switch a[aria-current="true"] { background: var(--navy); color: #fff; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; padding: clamp(60px, 9vw, 120px) 0 clamp(50px, 7vw, 90px);
  background:
    linear-gradient(180deg, rgba(250,247,242,.4), rgba(250,247,242,.85)),
    radial-gradient(1200px 500px at 90% -10%, rgba(176,141,79,.14), transparent 60%);
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero__title { margin-bottom: 1rem; }
.hero__title .accent { color: var(--gold-600); }
.hero__lead { font-size: 1.22rem; color: var(--muted); max-width: 560px; margin-bottom: 1.8rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.6rem; align-items: center; color: var(--muted); font-size: .95rem; }
.hero__trust strong { color: var(--navy); }

.hero__media { position: relative; }
.hero__img {
  border-radius: 18px; box-shadow: var(--shadow-lg); width: 100%;
  aspect-ratio: 4 / 5; object-fit: cover; background: var(--navy-800);
}
.hero__badge {
  position: absolute; bottom: -22px; inset-inline-start: -22px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 1rem 1.3rem; display: flex; align-items: center; gap: .9rem; max-width: 250px;
}
.hero__badge .num { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: var(--gold-600); line-height: 1; }
.hero__badge .lbl { font-size: .9rem; color: var(--muted); }

/* placeholder image styling */
.img-ph {
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: .4rem;
  color: rgba(255,255,255,.75); background: linear-gradient(135deg, var(--navy), var(--navy-700));
  font-family: var(--font-body); font-size: .9rem; text-align: center; padding: 1rem;
}

/* ==========================================================================
   רצועת לוגואים / אמון
   ========================================================================== */
.trustbar { background: var(--white); border-block: 1px solid var(--line); }
.trustbar__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.5rem, 5vw, 4rem); padding: 26px 0; }
.trustbar__item { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-weight: 600; }
.trustbar__item svg { width: 26px; height: 26px; color: var(--gold-600); flex: none; }

/* ==========================================================================
   תחומי עיסוק (כרטיסים)
   ========================================================================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.8rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 4px;
  background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleY(1); }
.card__icon {
  width: 58px; height: 58px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(176,141,79,.14), rgba(176,141,79,.05));
  color: var(--gold-600); margin-bottom: 1.1rem;
}
.card__icon svg { width: 30px; height: 30px; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: 1rem; margin-bottom: 0; }
.card__link { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; font-weight: 600; color: var(--gold-600); }
.card__link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.card:hover .card__link svg { transform: translateX(-4px); }

/* ==========================================================================
   אודות / למה אנחנו
   ========================================================================== */
.about__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.about__media img, .about__media .img-ph { border-radius: 18px; box-shadow: var(--shadow-md); aspect-ratio: 6/5; object-fit: cover; width: 100%; }
.feature-list { display: grid; gap: 1.1rem; margin-top: 1.4rem; }
.feature {
  display: flex; gap: .9rem; align-items: flex-start;
}
.feature__mark { flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(47,125,91,.12); color: var(--success); display: flex; align-items: center; justify-content: center; }
.feature__mark svg { width: 17px; height: 17px; }
.feature h4 { margin: 0 0 .15rem; font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; color: var(--navy); }
.feature p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ==========================================================================
   רצועת נתונים (Stats)
   ========================================================================== */
.stats { background: var(--navy); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat__num { font-family: var(--font-head); font-size: clamp(2.4rem, 5vw, 3.3rem); font-weight: 700; color: var(--gold-light); line-height: 1; }
.stat__lbl { color: rgba(255,255,255,.8); margin-top: .4rem; }
.stats h2 { color: #fff; }

/* ==========================================================================
   תהליך עבודה
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step { position: relative; padding-top: 1rem; }
.step__num {
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: #fff;
  width: 46px; height: 46px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.step h4 { font-family: var(--font-body); font-size: 1.12rem; margin-bottom: .35rem; }
.step p { color: var(--muted); font-size: .97rem; margin: 0; }

/* ==========================================================================
   צוות
   ========================================================================== */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.member { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.member:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.member__photo, .member__photo.img-ph { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.member__body { padding: 1.3rem 1.4rem; }
.member__name { font-family: var(--font-head); font-size: 1.3rem; color: var(--navy); margin: 0; }
.member__role { color: var(--gold-600); font-weight: 600; font-size: .95rem; margin: .15rem 0 .6rem; }
.member__bio { color: var(--muted); font-size: .96rem; margin: 0; }

/* ==========================================================================
   פרופיל עורך הדין (יחיד)
   ========================================================================== */
.profile { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 60px); align-items: center; max-width: 1000px; margin-inline: auto; }
.profile__photo img { width: 100%; border-radius: 18px; box-shadow: var(--shadow-md); aspect-ratio: 1/1; object-fit: cover; }
.profile__name { font-size: clamp(1.6rem, 3vw, 2.05rem); margin-bottom: .15rem; }
.profile__role { color: var(--gold-600); font-weight: 600; margin-bottom: 1.1rem; }
.profile__bio-note { color: var(--muted); font-size: .95rem; }
.profile__creds { list-style: none; padding: 0; margin: .4rem 0 0; display: grid; gap: .6rem; }
.profile__creds li { position: relative; padding-inline-start: 1.8rem; color: var(--ink); font-weight: 500; }
.profile__creds li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .42em;
  width: 16px; height: 16px; border-radius: 4px;
  background: linear-gradient(135deg, var(--gold), var(--gold-600));
}
.profile__creds li::after {
  content: ""; position: absolute; inset-inline-start: 5px; top: .62em;
  width: 5px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
@media (max-width: 780px) {
  .profile { grid-template-columns: 1fr; }
  .profile__photo { max-width: 320px; margin-inline: auto; }
}

/* ==========================================================================
   המלצות
   ========================================================================== */
.testimonials { background: var(--white); }
.tlist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.quote { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.quote__stars { color: var(--gold); letter-spacing: .15em; margin-bottom: .7rem; }
.quote p { font-size: 1.04rem; color: var(--ink); }
.quote__by { font-weight: 700; color: var(--navy); margin-top: .8rem; font-size: .95rem; }

/* ==========================================================================
   מאמרים / טור
   ========================================================================== */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.post { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.post__img, .post__img.img-ph { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.post__body { padding: 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post__tag { font-size: .8rem; font-weight: 600; color: var(--gold-600); letter-spacing: .08em; text-transform: uppercase; }
.post__title { font-family: var(--font-head); font-size: 1.25rem; margin: .4rem 0 .6rem; }
.post__excerpt { color: var(--muted); font-size: .96rem; flex: 1; }

/* הפניה לפייסבוק (אזור מאמרים) */
.fb-cta {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.5rem); display: flex; align-items: center; gap: 1.5rem;
  flex-wrap: wrap; justify-content: center; box-shadow: var(--shadow-sm);
  max-width: 840px; margin-inline: auto;
}
.fb-cta__icon { width: 64px; height: 64px; border-radius: 16px; background: #1877F2; color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.fb-cta__icon svg { width: 34px; height: 34px; }
.fb-cta__body { flex: 1; min-width: 240px; }
.fb-cta__body h3 { margin: 0 0 .3rem; }
.fb-cta__body p { margin: 0; color: var(--muted); }
.fb-cta .btn { flex: none; }
@media (max-width: 600px) { .fb-cta { flex-direction: column; text-align: center; } }

/* ==========================================================================
   יצירת קשר + טופס
   ========================================================================== */
.contact { background: var(--navy); color: #fff; }
.contact h2 { color: #fff; }
.contact .lead { color: rgba(255,255,255,.78); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 60px); }
.contact__info { display: grid; gap: 1.3rem; align-content: start; }
.cinfo { display: flex; gap: 1rem; align-items: flex-start; }
.cinfo__icon { flex: none; width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: var(--gold-light); }
.cinfo__icon svg { width: 22px; height: 22px; }
.cinfo h4 { color: #fff; font-family: var(--font-body); margin: 0 0 .15rem; font-size: 1.05rem; }
.cinfo a, .cinfo p { color: rgba(255,255,255,.82); margin: 0; }
.cinfo a:hover { color: #fff; }

.form { background: #fff; border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.4rem); color: var(--ink); box-shadow: var(--shadow-lg); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .4rem; color: var(--navy); font-size: .96rem; }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 1rem; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,141,79,.18);
}
.field textarea { resize: vertical; min-height: 120px; }
.field--invalid input, .field--invalid select, .field--invalid textarea { border-color: var(--danger); }
.field__err { color: var(--danger); font-size: .85rem; margin-top: .3rem; display: none; }
.field--invalid .field__err { display: block; }

.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: .15rem; flex: none; accent-color: var(--gold-600); }
.consent a { color: var(--gold-600); text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* honeypot */

.form__status { margin-top: 1rem; padding: .9rem 1rem; border-radius: 10px; font-weight: 600; display: none; }
.form__status.ok { display: block; background: rgba(47,125,91,.12); color: var(--success); }
.form__status.err { display: block; background: rgba(179,38,30,.1); color: var(--danger); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: #0c2235; color: rgba(255,255,255,.72); padding: 60px 0 24px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.4rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: 1.05rem; margin-bottom: 1rem; }
.footer a { color: rgba(255,255,255,.72); display: inline-block; padding: .2rem 0; }
.footer a:hover { color: var(--gold-light); }
.footer__brand .brand__name { color: #fff; }
.footer__brand p { font-size: .95rem; max-width: 320px; }
.footer__social { display: flex; gap: .7rem; margin-top: 1rem; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; padding: 0; }
.footer__social a:hover { background: var(--gold); }
.footer__social svg { width: 19px; height: 19px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; font-size: .87rem; }
.footer__bottom a { text-decoration: underline; }

/* ==========================================================================
   כפתורים צפים (וואטסאפ / חיוג / מעבר למעלה)
   ========================================================================== */
.fab-stack { position: fixed; inset-block-end: 22px; inset-inline-start: 22px; z-index: 900; display: flex; flex-direction: column; gap: .7rem; }
.fab {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); color: #fff; transition: transform .2s var(--ease); border: 0; cursor: pointer;
}
.fab:hover { transform: scale(1.08); color: #fff; }
.fab svg { width: 28px; height: 28px; }
.fab--wa { background: #25D366; }
.fab--fb { background: #1877F2; }
.fab--call { background: var(--navy); }
.fab--top { background: var(--gold); width: 48px; height: 48px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .2s; }
.fab--top.show { opacity: 1; pointer-events: auto; }
.fab--top svg { width: 22px; height: 22px; }

/* ==========================================================================
   ווידג'ט נגישות
   ========================================================================== */
.a11y-btn {
  position: fixed; inset-block-end: 22px; inset-inline-end: 22px; z-index: 950;
  width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff;
  border: 0; cursor: pointer; box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center;
  transition: transform .2s var(--ease);
}
.a11y-btn:hover { transform: scale(1.08); }
.a11y-btn svg { width: 30px; height: 30px; }

.a11y-panel {
  position: fixed; inset-block-end: 90px; inset-inline-end: 22px; z-index: 951;
  width: min(330px, calc(100vw - 44px)); background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 1.2rem;
  transform: translateY(20px) scale(.96); opacity: 0; pointer-events: none; transition: all .25s var(--ease);
  max-height: calc(100vh - 130px); overflow-y: auto;
}
.a11y-panel.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.a11y-panel h3 { font-family: var(--font-body); font-size: 1.15rem; display: flex; justify-content: space-between; align-items: center; }
.a11y-panel h3 button { background: none; border: 0; cursor: pointer; color: var(--muted); padding: 4px; border-radius: 6px; }
.a11y-panel h3 button:hover { background: var(--line-soft); }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: .8rem 0; }
.a11y-opt {
  display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: .7rem .4rem;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; font-size: .82rem;
  color: var(--navy); font-weight: 600; text-align: center; transition: all .2s;
}
.a11y-opt svg { width: 22px; height: 22px; color: var(--gold-600); }
.a11y-opt:hover { border-color: var(--gold); background: var(--cream); }
.a11y-opt.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.a11y-opt.active svg { color: var(--gold-light); }
.a11y-reset { width: 100%; margin-top: .4rem; }
.a11y-panel .stmt-link { display: block; text-align: center; margin-top: .8rem; font-size: .88rem; }

/* מצבי נגישות גלובליים */
html.a11y-contrast body { background: #000 !important; color: #fff !important; }
html.a11y-contrast :is(h1,h2,h3,h4,p,span,a,li,label,.lead) { color: #fff !important; }
html.a11y-contrast :is(.section--alt, .white, .card, .form, .member, .post, .quote, .header) { background: #111 !important; }
html.a11y-contrast a { color: #ffe27a !important; }
html.a11y-grayscale body { filter: grayscale(100%); }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-readable body, html.a11y-readable :is(h1,h2,h3,h4) { font-family: Arial, "Segoe UI", sans-serif !important; }
html.a11y-bigcursor, html.a11y-bigcursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath fill='%23102a43' stroke='white' stroke-width='1' d='M5 2l14 7-6 2-2 6z'/%3E%3C/svg%3E") 4 4, auto !important; }
html.a11y-stop * { animation: none !important; transition: none !important; }

/* ==========================================================================
   באנר עוגיות
   ========================================================================== */
.cookie {
  position: fixed; inset-block-end: 0; inset-inline: 0; z-index: 1100;
  background: #fff; border-top: 3px solid var(--gold); box-shadow: 0 -8px 30px rgba(0,0,0,.12);
  padding: 1.1rem 0; transform: translateY(120%); transition: transform .4s var(--ease);
}
.cookie.show { transform: translateY(0); }
.cookie__inner { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cookie__text { flex: 1; min-width: 260px; font-size: .95rem; color: var(--ink); }
.cookie__text a { color: var(--gold-600); text-decoration: underline; }
.cookie__btns { display: flex; gap: .6rem; flex-wrap: wrap; }
.cookie .btn { padding: .65rem 1.3rem; min-height: 44px; }

/* ==========================================================================
   עמודים משפטיים (פרטיות / נגישות)
   ========================================================================== */
.page-hero { background: var(--navy); color: #fff; padding: clamp(60px,8vw,90px) 0 clamp(40px,5vw,60px); }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.78); max-width: 640px; margin: 0; }
.legal { padding: clamp(40px,6vw,70px) 0; }
.legal__body { max-width: 820px; }
.legal__body h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.legal__body h3 { font-size: 1.2rem; margin-top: 1.6rem; }
.legal__body ul { padding-inline-start: 1.3rem; list-style: disc; margin-bottom: 1rem; }
.legal__body li { margin-bottom: .4rem; }
.legal__toc { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.6rem; margin-bottom: 2rem; }
.legal__toc h2 { margin-top: 0; font-size: 1.15rem; }
.legal__toc ul { list-style: none; padding: 0; }
.legal__toc a { font-weight: 500; }
.note { background: rgba(176,141,79,.08); border-inline-start: 4px solid var(--gold); padding: 1rem 1.2rem; border-radius: 0 10px 10px 0; margin: 1.2rem 0; }

/* ==========================================================================
   רספונסיביות
   ========================================================================== */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 440px; margin-inline: auto; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .cards, .team, .tlist, .posts { grid-template-columns: repeat(2, 1fr); }
  .steps, .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }

  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset-block-start: var(--header-h); inset-inline: 0; inset-block-end: 0;
    background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem;
    transform: translateX(-100%); transition: transform .3s var(--ease); overflow-y: auto;
    box-shadow: var(--shadow-lg); border-top: 1px solid var(--line);
  }
  body[dir="rtl"] .nav { transform: translateX(100%); }
  .nav.open { transform: translateX(0) !important; }
  .nav a { padding: 1rem; font-size: 1.15rem; border-bottom: 1px solid var(--line-soft); }
  .nav a::after { display: none; }
  .header__phone span.lbl { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 1.02rem; }
  .cards, .team, .tlist, .posts, .steps, .stats__grid, .footer__grid, .form__row { grid-template-columns: 1fr; }
  .hero__badge { position: static; margin-top: 1.2rem; inset-inline-start: 0; max-width: none; }
  .hero__cta .btn { flex: 1; }
  .footer__bottom { flex-direction: column; }
  .cookie__inner { flex-direction: column; align-items: stretch; text-align: center; }
}

/* הדפסה */
@media print {
  .header, .footer, .fab-stack, .a11y-btn, .a11y-panel, .cookie, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
}
