/* ==========================================================================
   אורי עדן סוכנות לביטוח — עיצוב מרכזי
   RTL | פלטת כחול | רספונסיבי | נגישות AA
   ========================================================================== */

:root {
  /* פלטת שחור-אספרסו + זהב — מותאמת ללוגו הסוכנות (OE) */
  --navy: #15110d;          /* אספרסו-שחור — מותג ראשי כהה (כותרות/רקעים) */
  --navy-700: #2a2218;      /* גוון ביניים לגרדיאנטים */
  --blue: #2c2417;          /* אספרסו כהה — אינטראקטיבי (קישורים/כפתור ראשי) */
  --blue-light: #b5975d;    /* זהב — הדגשה/מסגרות */
  --cyan: #b5975d;          /* זהב — אקסנט (על רקע כהה) */
  --gold: #b5975d;          /* זהב הלוגו — אקסנט ראשי */
  --gold-deep: #8a6c3c;     /* זהב כהה — אקסנט/טקסט על רקע בהיר */
  --gold-light: #d8c08a;    /* זהב בהיר — על רקע כהה */
  --cta: #b5975d;           /* זהב — כפתורי המרה (טקסט כהה) */
  --cta-hover: #c8aa6c;     /* זהב בהיר יותר ל-hover */
  --ink: #1d1812;           /* טקסט ראשי */
  --muted: #6e665a;         /* טקסט משני (אפור חמים) */
  --line: #e8e2d6;          /* קו מפריד חמים */
  --bg: #ffffff;
  --bg-soft: #f7f3ec;       /* קרם בהיר */
  --bg-navy-soft: #f1ebdf;  /* קרם לאקסנטים */
  --white: #ffffff;
  --success: #1f9d57;
  --danger: #d23b3b;
  --shadow-sm: 0 1px 3px rgba(21,17,13,.08);
  --shadow: 0 6px 22px rgba(21,17,13,.10);
  --shadow-lg: 0 18px 50px rgba(21,17,13,.18);
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --header-h: 76px;
}

/* ---------- בסיס ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Heebo", "Assistant", system-ui, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { line-height: 1.25; color: var(--navy); margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { margin: 0 0 1rem; }
a { color: var(--blue); text-decoration: none; transition: color .15s; }
a:hover { color: var(--gold-deep); }
img { max-width: 100%; display: block; }
ul { padding-inline-start: 1.2rem; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }

.section { padding: clamp(48px, 7vw, 90px) 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #e7ddca; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-block; font-weight: 700; font-size: .92rem; letter-spacing: .02em;
  color: var(--blue); background: var(--bg-navy-soft);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.section--navy .eyebrow { color: #d8c08a; background: rgba(255,255,255,.08); }

.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.section--navy .lead { color: #d3c8b2; }
.text-center { text-align: center; }
.center-wrap { max-width: 720px; margin-inline: auto; }

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 700; font-size: 1.02rem;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .12s, background .15s, box-shadow .15s;
  text-align: center; line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn--cta { background: var(--cta); color: var(--navy); font-weight: 800; box-shadow: 0 6px 16px rgba(181,151,93,.40); }
.btn--cta:hover { background: var(--cta-hover); color: var(--navy); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--navy); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: #f1ebdf; color: var(--navy); }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 32px; font-size: 1.1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 6px 22px -12px rgba(0,0,0,.55);
}
.header-inner { display: flex; align-items: center; gap: 18px; height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo__mark {
  width: 66px; height: 44px; flex-shrink: 0;
  background: url('../img/logo-mark-light.png') center / contain no-repeat;
  font-size: 0; line-height: 0; color: transparent; /* מסתיר את אות הגיבוי "ע" */
}
.logo__text { line-height: 1.15; }
.logo__text b { display: block; color: #fff; font-size: 1.12rem; font-weight: 800; }
.logo__text span { display: block; color: #c4b89f; font-size: .76rem; font-weight: 600; }

.main-nav { margin-inline: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav > ul > li { position: relative; }
.main-nav a, .nav-services {
  display: flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 10px;
  color: #f1ead9; font-weight: 600; font-size: .98rem; font-family: inherit;
  background: none; border: none; cursor: pointer; position: relative; white-space: nowrap;
  transition: color .15s, background .15s;
}
.main-nav > ul > li > a::after, .nav-services::after {
  content: ""; position: absolute; inset-inline: 16px; bottom: 6px; height: 2.5px; border-radius: 3px;
  background: var(--cyan);
  transform: scaleX(0); transform-origin: inline-end; transition: transform .26s cubic-bezier(.2,.8,.2,1);
}
.main-nav > ul > li > a:hover, .nav-services:hover { color: #fff; background: rgba(255,255,255,.10); }
.main-nav > ul > li > a:hover::after, .nav-services:hover::after,
.has-dropdown:hover .nav-services::after { transform: scaleX(1); transform-origin: inline-start; }
.main-nav a[aria-current="page"], .nav-services.is-active { color: #fff; }
.main-nav > ul > li > a[aria-current="page"]::after, .nav-services.is-active::after { transform: scaleX(1); }

/* תפריט נפתח — "שירותים" */
.nav-services .caret { font-size: .62rem; color: var(--cyan); transition: transform .22s; }
.has-dropdown:hover .nav-services .caret, .nav-services[aria-expanded="true"] .caret { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 10px); min-width: 256px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 9px; list-style: none; margin: 0; z-index: 130;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.dropdown-menu::before { content: ""; position: absolute; top: -12px; inset-inline: 0; height: 12px; }
.has-dropdown:hover .dropdown-menu, .dropdown-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li { margin: 0; }
.dropdown-menu a {
  display: flex; align-items: center; gap: 11px; padding: 12px 13px; border-radius: 11px;
  font-weight: 600; color: var(--ink); font-size: .96rem;
}
.dropdown-menu a::after { display: none; }
.dropdown-menu a .dot {
  width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0;
  background: var(--blue-light); transition: transform .18s;
}
.dropdown-menu a:hover { background: var(--bg-navy-soft); color: var(--blue); }
.dropdown-menu a:hover .dot { transform: scale(1.35); }
/* העמוד הנוכחי בתפריט הנפתח — לבטל את הצבע הלבן שהופך אותו לבלתי-נראה על רקע לבן */
.dropdown-menu a[aria-current="page"] { color: var(--gold-deep); background: var(--bg-soft); font-weight: 700; }
.dropdown-menu a[aria-current="page"] .dot { background: var(--gold); transform: scale(1.35); }

.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-phone { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; color: #fff; white-space: nowrap; }
.header-phone svg { color: var(--cyan); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.06); border-radius: 10px; cursor: pointer; align-items: center; justify-content: center;
  margin-inline-start: auto;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; inset-inline: 0; height: 2px; background: #fff;
}
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #efe7d8;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(181,151,93,.30), transparent 60%),
    linear-gradient(105deg, rgba(17,13,9,.95) 0%, rgba(22,17,11,.86) 42%, rgba(34,27,17,.55) 78%, rgba(36,29,18,.34) 100%),
    url('../img/hero-home.jpg'),
    linear-gradient(155deg, var(--navy) 0%, var(--navy-700) 55%, #34291a 100%);
  background-size: cover, cover, cover, cover;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 320px at 5% 110%, rgba(181,151,93,.20), transparent 60%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding: clamp(48px, 7vw, 84px) 0;
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 .accent { color: var(--cyan); }
.hero p.lead { color: #d8cdb6; font-size: 1.18rem; }
.hero-points { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 11px; }
.hero-points li { display: flex; align-items: center; gap: 11px; font-weight: 600; color: #f1ead9; }
.hero-points .ic {
  width: 26px; height: 26px; border-radius: 50%; background: rgba(181,151,93,.20);
  color: var(--cyan); display: grid; place-items: center; flex-shrink: 0; font-weight: 800;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 18px 26px; color: #c4b89f; font-size: .9rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }

/* ---------- כרטיס טופס ---------- */
.lead-card {
  background: #fff; color: var(--ink); border-radius: 18px; padding: 26px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.5);
}
.lead-card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.lead-card .sub { color: var(--muted); font-size: .96rem; margin-bottom: 18px; }

.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; color: var(--navy); }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fdfbf6; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(181,151,93,.30); background: #fff;
}
.field textarea { resize: vertical; min-height: 84px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .82rem; margin-top: 4px; min-height: 0; }

.consent { display: flex; align-items: flex-start; gap: 9px; font-size: .85rem; color: var(--muted); margin: 6px 0 16px; }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--blue); }
.consent a { text-decoration: underline; }

.form-note { font-size: .8rem; color: var(--muted); text-align: center; margin-top: 12px; }
.form-status { font-weight: 700; text-align: center; margin-top: 12px; }
.form-status.is-error { color: var(--danger); }
.form-status.is-ok { color: var(--success); }
.btn--cta.is-loading { opacity: .75; pointer-events: none; }

/* ---------- כרטיסי שירותים ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s, border-color .15s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #ddd2bb; }
.card .ico {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 16px;
  background: var(--bg-navy-soft); color: var(--blue); display: grid; place-items: center;
}
.card .ico svg { width: 30px; height: 30px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 16px; flex-grow: 1; }
.card .card-link { font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.card .card-link:hover { color: var(--navy); gap: 9px; }

/* ---------- שלבי תהליך ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { text-align: center; }
.step .num {
  width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff;
  display: grid; place-items: center; font-size: 1.4rem; font-weight: 800; box-shadow: var(--shadow);
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- סטטיסטיקות / אמון ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.stat b { display: block; font-size: clamp(1.8rem, 4vw, 2.6rem); color: #fff; font-weight: 800; }
.stat span { color: #c4b89f; font-weight: 600; }

/* ---------- רצועת לוגואים ---------- */
.logos-section { padding-block: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.logos-marquee {
  position: relative; overflow: hidden;
  direction: ltr; /* התוכן הרזרבי גולש לצד ימין — לוגו שיוצא משמאל נכנס מחדש מימין (לופ רציף) */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
}
.logos-track {
  display: flex; align-items: center; width: max-content;
  direction: ltr; /* התוכן גולש לצד ימין — כך לוגו שיוצא משמאל נכנס מחדש מימין (לופ רציף) */
  animation: logos-scroll 46s linear infinite;
  will-change: transform;
}
.logos-marquee:hover .logos-track { animation-play-state: paused; }
/* לופ חלק ואינסופי: 3 עותקים זהים, תנועה של עותק אחד (שליש) — אף פעם אין חלק ריק */
@keyframes logos-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.3333%); }
}
.logo-chip {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 34px;
  transition: transform .25s, opacity .25s;
}
.logo-chip:hover { transform: translateY(-3px) scale(1.04); }
.logo-chip img { display: block; height: 54px; width: auto; max-width: 200px; object-fit: contain; }
/* לוגו עם הרבה שוליים פנימיים (מנורה) — מעט גדול יותר לאיזון חזותי */
.logo-chip img.logo-chip__lg { height: 72px; max-width: 220px; }
@media (prefers-reduced-motion: reduce) {
  .logos-track { animation: none; transform: translateX(0); }
}

/* ---------- עדויות ---------- */
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.quote p { font-size: 1.05rem; color: var(--ink); }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.quote .who .av {
  width: 44px; height: 44px; border-radius: 50%; background: var(--bg-navy-soft);
  color: var(--blue); display: grid; place-items: center; font-weight: 800;
}
.quote .who b { color: var(--navy); display: block; }
.quote .who span { color: var(--muted); font-size: .88rem; }
.stars { color: var(--cta); letter-spacing: 2px; }

/* ---------- קרוסלת המלצות ---------- */
.testi-carousel {
  position: relative;
  max-width: 1120px; margin: 40px auto 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: 12px;
}
.testi-viewport { overflow: hidden; padding: 8px 4px; }
.testi-track { display: flex; gap: 24px; will-change: transform; transition: transform .55s cubic-bezier(.22,.61,.36,1); }
.testi-slide {
  flex: 0 0 100%; min-width: 0; margin: 0;
  display: flex; flex-direction: column;
  padding: 28px 26px; box-shadow: var(--shadow);
}
.testi-slide p { font-size: 1.04rem; line-height: 1.8; flex: 1 0 auto; }
.testi-slide .stars { font-size: 1.1rem; margin-bottom: 6px; }
.testi-carousel .testi-slide:hover { transform: none; box-shadow: var(--shadow); }

.testi-arrow {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: #fff; color: var(--navy); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: background .18s, color .18s, border-color .18s, transform .12s;
}
.testi-arrow svg { width: 22px; height: 22px; }
.testi-arrow:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.testi-arrow:active { transform: scale(.94); }
.testi-arrow:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 2px; }

.testi-dots {
  grid-column: 1 / -1; display: flex; justify-content: center; gap: 9px; margin-top: 24px;
}
.testi-dots button {
  width: 9px; height: 9px; padding: 0; border-radius: 50%; cursor: pointer;
  border: none; background: #d8ccb4; transition: background .2s, transform .2s, width .2s;
}
.testi-dots button:hover { background: var(--gold-deep); }
.testi-dots button[aria-current="true"] { background: var(--gold); width: 26px; border-radius: 6px; }
.testi-dots button:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }

@media (max-width: 620px) {
  .testi-carousel { grid-template-columns: 1fr; gap: 0; }
  .testi-arrow { position: absolute; top: 38%; z-index: 3; }
  .testi-arrow--prev { inset-inline-start: -4px; }
  .testi-arrow--next { inset-inline-end: -4px; }
  .testi-slide { padding: 28px 22px; }
  .testi-slide p { font-size: 1.04rem; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item:hover { border-color: #d3c8b2; }
.faq-item.open { border-color: var(--blue-light); box-shadow: 0 10px 28px -16px rgba(181,151,93,.35); }
.faq-q {
  width: 100%; text-align: right; background: none; border: none; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 1.05rem; color: var(--navy);
  padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transition: color .15s;
}
.faq-q:hover { color: var(--blue); }
.faq-item.open .faq-q { color: var(--blue); }
.faq-q .chev { transition: transform .2s; color: var(--blue); flex-shrink: 0; }
.faq-q[aria-expanded="true"] .chev { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a__inner { overflow: hidden; min-height: 0; }
.faq-a p { color: var(--ink); margin: 0; font-size: 1.04rem; line-height: 1.85; }
.faq-item.open .faq-a__inner {
  padding: 16px 22px 20px;
  border-top: 1px solid var(--line);
  background: var(--bg-navy-soft);
  border-inline-start: 4px solid var(--blue-light);
}

/* ---------- CTA רצועה ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff;
  border-radius: 20px; padding: clamp(30px, 5vw, 50px); text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #ddd2bb; max-width: 56ch; margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; margin-top: 22px; }

/* ---------- הירו בעמודה אחת (ללא טופס) ---------- */
.hero-grid--single { grid-template-columns: 1fr; }
.hero-grid--single .hero-copy { max-width: 760px; }

/* ---------- סקשן טופס ליד בתחתית העמוד ---------- */
.lead-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 60%, #34291a 100%);
  color: #e7ddca; scroll-margin-top: calc(var(--header-h) + 12px);
}
.lead-section--family,
.lead-section--office {
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
}
.lead-section--family {
  background-image:
    linear-gradient(115deg, rgba(17,13,9,.95) 0%, rgba(22,17,11,.90) 45%, rgba(34,27,17,.72) 100%),
    url('../img/hero-life.jpg'),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 60%, #34291a 100%);
}
.lead-section--office {
  background-image:
    linear-gradient(115deg, rgba(17,13,9,.95) 0%, rgba(22,17,11,.90) 45%, rgba(34,27,17,.72) 100%),
    url('../img/hero-home.jpg'),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 60%, #34291a 100%);
}
.lead-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.lead-intro h2 { color: #fff; margin-bottom: 16px; }
.lead-intro .lead { color: #d8cdb6; }
.lead-intro .hero-points { margin: 22px 0 26px; }
.lead-intro .hero-points li { color: #f1ead9; }

@media (max-width: 860px) {
  .lead-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- עמוד פנימי / hero משני ---------- */
.page-hero {
  background:
    radial-gradient(700px 400px at 90% -20%, rgba(181,151,93,.30), transparent 60%),
    linear-gradient(155deg, var(--navy), #34291a);
  color: #efe7d8; padding: clamp(40px, 6vw, 70px) 0;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: #d8cdb6; font-size: 1.12rem; max-width: 62ch; }
.breadcrumb { font-size: .85rem; color: #c4b89f; margin-bottom: 12px; }
.breadcrumb a { color: #d3c8b2; } .breadcrumb a:hover { color: #fff; }

.prose { max-width: 760px; }
.prose h2 { margin-top: 1.8em; }
.prose ul { margin: 0 0 1.2rem; }
.prose li { margin-bottom: .5rem; }

/* עמודי הסבר: התוכן על כרטיס-מסמך לבן מעל רקע קרם — פחות "לבן ריק", מראה מקצועי */
.section:has(> .container > .prose) { background: var(--bg-soft); }
.section > .container > .prose {
  max-width: 900px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(26px, 4vw, 52px);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 560px) {
  .section > .container > .prose { padding: 22px 18px; border-radius: 14px; }
}

/* ---------- עמודים משפטיים (תקנון / מדיניות פרטיות) ---------- */
.legal-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: clamp(40px,6vw,74px) 0 clamp(22px,3vw,30px); }
.legal-head .breadcrumb { margin-bottom: 8px; }
.legal-head h1 { margin: 6px 0 12px; }
.legal-meta { color: var(--muted); font-size: .92rem; margin: 0 0 16px; }
.legal-meta .dot { color: var(--gold); margin: 0 8px; }
.legal-intro { max-width: 760px; color: var(--ink); margin: 0; font-size: 1.06rem; }
.legal-doc { max-width: 880px; margin-inline: auto; }
.legal-toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin: 0 0 42px; box-shadow: var(--shadow-sm); }
.legal-toc h2 { font-size: 1.02rem; margin: 0 0 12px; }
.legal-toc ol { margin: 0; padding-inline-start: 1.4rem; columns: 2; column-gap: 36px; }
.legal-toc li { margin-bottom: 9px; break-inside: avoid; }
.legal-toc a { color: var(--ink); font-weight: 600; }
.legal-toc a:hover { color: var(--gold-deep); text-decoration: underline; }
.legal-body > section { scroll-margin-top: calc(var(--header-h) + 18px); margin-bottom: 32px; }
.legal-body h2 { font-size: 1.22rem; margin: 0 0 12px; padding-bottom: 7px; border-bottom: 2px solid var(--gold); display: inline-block; }
.legal-body p, .legal-body li { color: var(--ink); }
.legal-body ul { padding-inline-start: 1.25rem; margin: 0 0 1rem; }
.legal-body li { margin-bottom: 8px; }
.legal-note { color: var(--muted); font-size: .9rem; margin-top: 2.2em; padding-top: 18px; border-top: 1px solid var(--line); font-style: italic; }
@media (max-width: 620px) { .legal-toc ol { columns: 1; } }

.checklist { list-style: none; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; align-items: flex-start; gap: 11px; }
.checklist .ck {
  width: 24px; height: 24px; border-radius: 50%; background: rgba(31,157,87,.12); color: var(--success);
  display: grid; place-items: center; flex-shrink: 0; margin-top: 3px; font-weight: 800;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.info-box.sticky { position: sticky; top: calc(var(--header-h) + 16px); }
.split--contact { grid-template-columns: 0.82fr 1.18fr; }
.map-col { display: flex; flex-direction: column; gap: 14px; }
.map-embed { flex: 1; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); min-height: 440px; }
.map-embed iframe { display: block; width: 100%; height: 100%; min-height: 440px; border: 0; }
.map-waze { align-self: stretch; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.map-waze svg { flex-shrink: 0; }
@media (max-width: 860px) {
  .split--contact { grid-template-columns: 1fr; }
  .map-embed, .map-embed iframe { min-height: 320px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c9bda3; padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.site-footer a { color: #c9bda3; }
.site-footer a:hover { color: #fff; }
.footer-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-logo { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.footer-logo .logo__mark { background: url('../img/logo-mark-light.png') center / contain no-repeat; }
.footer-logo b { color: #fff; font-size: 1.1rem; }
.footer-contact li { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; list-style: none; }
.footer-contact ul { padding: 0; margin: 0; }
.footer-disclosure {
  font-size: .8rem; color: #9a8f79; border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 34px; padding-top: 22px; line-height: 1.7;
}
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 16px; font-size: .82rem; color: #9a8f79; }

/* ---------- כפתורים צפים ---------- */
.floating { position: fixed; inset-block-end: 20px; inset-inline-start: 18px; z-index: 90; display: grid; gap: 12px; }
.fab {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; box-shadow: var(--shadow-lg); transition: transform .15s;
}
.fab:hover { transform: scale(1.07); color: #fff; }
.fab--wa { background: #25d366; }
.fab--tel { background: var(--blue); display: none; }

/* ---------- כללי נגישות ---------- */
.skip-link {
  position: absolute; inset-inline-start: 8px; top: -60px; background: var(--navy); color: #fff;
  padding: 10px 16px; border-radius: 8px; z-index: 200; transition: top .2s;
}
.skip-link:focus { top: 8px; color: #fff; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 2px; border-radius: 4px; }
.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; }

/* ---------- רספונסיבי ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .info-box.sticky { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; margin-inline-start: auto; }
  .header-inner { gap: 10px; }
  .main-nav {
    position: fixed; inset-block-start: var(--header-h); inset-inline: 0; inset-block-end: 0;
    background: #fff; margin: 0; padding: 14px 20px; overflow-y: auto;
    transform: translateX(100%); transition: transform .25s; box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--line);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a, .nav-services { padding: 14px; border-radius: 10px; font-size: 1.05rem; width: 100%; justify-content: space-between; color: var(--ink); }
  .main-nav > ul > li > a:hover, .nav-services:hover { color: var(--blue); background: var(--bg-navy-soft); }
  .main-nav a[aria-current="page"], .nav-services.is-active { color: var(--blue); }
  .nav-services .caret { color: var(--blue); }
  .main-nav > ul > li > a::after, .nav-services::after { display: none; }
  .nav-services { justify-content: space-between; }
  /* תפריט נפתח במובייל — אקורדיון בתוך התפריט */
  .dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: none; border-radius: 0; min-width: 0; padding: 0 0 6px;
    max-height: 0; overflow: hidden; transition: max-height .28s ease;
  }
  .dropdown-menu::before { display: none; }
  .dropdown-menu.open { max-height: 420px; }
  .has-dropdown:hover .dropdown-menu { max-height: 0; }
  .has-dropdown:hover .dropdown-menu.open { max-height: 420px; }
  .dropdown-menu a { padding: 12px 14px 12px 26px; font-size: 1rem; color: var(--muted); }
  .header-cta { display: none; }
  .fab--tel { display: grid; }
}

@media (max-width: 700px) {
  /* פריסה — עמודה אחת */
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .steps, .stats { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  /* טיפוגרפיה קומפקטית — קטן וצפוף כמו אתרים מקצועיים */
  body { font-size: 14px; line-height: 1.55; }
  h1 { font-size: 1.4rem; line-height: 1.25; }
  h2 { font-size: 1.15rem; line-height: 1.3; }
  h3 { font-size: 1rem; }
  .lead { font-size: .92rem; line-height: 1.6; }
  .eyebrow { font-size: .74rem; margin-bottom: 8px; }
  .btn { font-size: .9rem; padding: 11px 18px; }

  /* ריווח קומפקטי והדוק */
  .section { padding: 28px 0; }
  .container { padding-inline: 18px; }
  .grid { gap: 12px; }
  .card { padding: 16px; }

  /* Hero ראשי — קומפקטי */
  .hero-grid { padding: 26px 0 32px; }
  .hero h1 { font-size: 1.42rem; line-height: 1.25; margin-bottom: 10px; }
  .hero p.lead { font-size: .92rem; line-height: 1.6; margin-bottom: 4px; }
  .hero-points { margin: 14px 0 18px; gap: 8px; }
  .hero-points li { font-size: .86rem; line-height: 1.4; }

  /* Hero באנר (עמודי שירות) — נמוך וקומפקטי */
  .page-hero--banner { min-height: clamp(160px, 40vw, 240px); padding: 28px 0; }
  .page-hero--banner h1 { font-size: 1.42rem; line-height: 1.22; }
  .page-hero--banner p { font-size: .9rem; line-height: 1.55; }

  /* כרטיס תוכן בעמודי הסבר */
  .section > .container > .prose { padding: 18px 16px; }
  .prose p, .prose li { font-size: .92rem; line-height: 1.65; }

  /* המלצות */
  .quote { padding: 16px; }
  .quote p { font-size: .92rem; line-height: 1.6; }
}

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

/* ==========================================================================
   גרסה 2 — שיפורי טיפוגרפיה, אינטראקטיביות, איורים ונגישות
   ========================================================================== */

/* ---------- טיפוגרפיה ---------- */
body { font-size: 1.03rem; letter-spacing: -.011em; font-feature-settings: "kern" 1; }
h1, h2, h3, h4 { letter-spacing: -.02em; }
.lead { font-size: 1.16rem; line-height: 1.6; }
.center-wrap h2 { display: inline-block; }
.center-wrap h2::after {
  content: ""; display: block; width: 62px; height: 4px; border-radius: 4px;
  margin: 16px auto 0; background: var(--gold);
}
.prose p { font-size: 1.06rem; }
.prose h2 { display: inline-block; }
.prose h2::after {
  content: ""; display: block; width: 48px; height: 3px; border-radius: 3px;
  margin: 10px 0 0; background: var(--gold);
}

/* ---------- כפתורים אינטראקטיביים ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .2s, background .2s, color .2s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.28), transparent 65%);
  transform: translateX(-130%); transition: transform .55s ease;
}
.btn:hover::before { transform: translateX(130%); }
.btn--cta:hover { background: var(--cta-hover); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(181,151,93,.40); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(21,17,13,.20); }
.btn--primary:hover, .btn--ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0) scale(.985); }

/* ---------- כרטיסים — חיווי אינטראקטיבי ---------- */
.card { position: relative; overflow: hidden; }
.card::after {
  content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 3px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: inline-end; transition: transform .28s ease;
}
.card:hover::after { transform: scaleX(1); }
.card .ico { transition: transform .22s ease, background .2s; }
.card:hover .ico { transform: scale(1.08) rotate(-4deg); background: #f1ead9; }
.card .card-link { transition: gap .18s ease, color .15s; }

/* ---------- כפתורי שירות בכרטיסים ---------- */
.quote { transition: transform .18s, box-shadow .18s; }
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* ---------- איור בגיבור עמודים פנימיים ---------- */
.page-hero { position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.10) 1px, transparent 0);
  background-size: 22px 22px;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero--media .container {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
}
.page-hero__art { display: flex; justify-content: center; }
.page-hero__art svg { width: 100%; max-width: 340px; height: auto; }
.page-hero__art img { width: 100%; max-width: 300px; height: auto; }

/* ---------- באנר הסכמה לעוגיות ---------- */
.cookie-banner {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
  background: var(--navy); color: #efe7d8;
  border-top: 2px solid var(--gold);
  padding: 15px 20px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; text-align: center;
  box-shadow: 0 -8px 30px rgba(21,17,13,.35);
}
.cookie-banner p { margin: 0; font-size: .93rem; line-height: 1.5; max-width: 780px; }
.cookie-banner a { color: var(--gold-light); text-decoration: underline; }
.cookie-banner .cookie-actions { flex-shrink: 0; }
.cookie-banner .btn { padding: 9px 24px; }
@media (max-width: 560px) { .cookie-banner .btn { width: 100%; } }

/* ---------- באנר גיבור רוחב-מלא לעמודי שירות ---------- */
.page-hero--banner {
  min-height: clamp(330px, 42vw, 480px);
  display: flex; align-items: center;
  padding: clamp(54px, 7vw, 96px) 0;
  background:
    linear-gradient(to left, rgba(15,12,8,.93) 0%, rgba(34,27,17,.78) 42%, rgba(34,27,17,.42) 72%, rgba(34,27,17,.22) 100%),
    linear-gradient(150deg, var(--navy), #34291a);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat;
}
.page-hero--banner.hero-pension {
  background-image:
    linear-gradient(to left, rgba(15,12,8,.93) 0%, rgba(34,27,17,.78) 42%, rgba(34,27,17,.42) 72%, rgba(34,27,17,.22) 100%),
    url('../img/hero-pension.jpg'),
    linear-gradient(150deg, var(--navy), #34291a);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
}
.page-hero--banner.hero-health {
  background-image:
    linear-gradient(to left, rgba(15,12,8,.93) 0%, rgba(34,27,17,.78) 42%, rgba(34,27,17,.42) 72%, rgba(34,27,17,.22) 100%),
    url('../img/hero-health.jpg'),
    linear-gradient(150deg, var(--navy), #34291a);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
}
.page-hero--banner.hero-life {
  background-image:
    linear-gradient(to left, rgba(15,12,8,.93) 0%, rgba(34,27,17,.78) 42%, rgba(34,27,17,.42) 72%, rgba(34,27,17,.22) 100%),
    url('../img/hero-life.jpg'),
    linear-gradient(150deg, var(--navy), #34291a);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
}
.page-hero--banner.hero-critical {
  background-image:
    linear-gradient(to left, rgba(15,12,8,.93) 0%, rgba(34,27,17,.78) 42%, rgba(34,27,17,.42) 72%, rgba(34,27,17,.22) 100%),
    url('../img/hero-critical.jpg'),
    linear-gradient(150deg, var(--navy), #34291a);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
}
.page-hero--banner.hero-disability {
  background-image:
    linear-gradient(to left, rgba(15,12,8,.93) 0%, rgba(34,27,17,.78) 42%, rgba(34,27,17,.42) 72%, rgba(34,27,17,.22) 100%),
    url('../img/hero-disability.jpg'),
    linear-gradient(150deg, var(--navy), #34291a);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
}
.page-hero--banner.hero-car { background-image: linear-gradient(to left, rgba(15,12,8,.93) 0%, rgba(34,27,17,.78) 42%, rgba(34,27,17,.42) 72%, rgba(34,27,17,.22) 100%), url('../img/hero-car.jpg'), linear-gradient(150deg, var(--navy), #34291a); background-size: cover, cover, cover; background-position: center, center, center; background-repeat: no-repeat; }
.page-hero--banner.hero-property { background-image: linear-gradient(to left, rgba(15,12,8,.93) 0%, rgba(34,27,17,.78) 42%, rgba(34,27,17,.42) 72%, rgba(34,27,17,.22) 100%), url('../img/hero-property.jpg'), linear-gradient(150deg, var(--navy), #34291a); background-size: cover, cover, cover; background-position: center, center, center; background-repeat: no-repeat; }
.page-hero--banner.hero-business { background-image: linear-gradient(to left, rgba(15,12,8,.93) 0%, rgba(34,27,17,.78) 42%, rgba(34,27,17,.42) 72%, rgba(34,27,17,.22) 100%), url('../img/hero-business.jpg'), linear-gradient(150deg, var(--navy), #34291a); background-size: cover, cover, cover; background-position: center, center, center; background-repeat: no-repeat; }
.page-hero--banner.hero-travel { background-image: linear-gradient(to left, rgba(15,12,8,.93) 0%, rgba(34,27,17,.78) 42%, rgba(34,27,17,.42) 72%, rgba(34,27,17,.22) 100%), url('../img/hero-travel.jpg'), linear-gradient(150deg, var(--navy), #34291a); background-size: cover, cover, cover; background-position: center, center, center; background-repeat: no-repeat; }
.page-hero--banner.hero-gemel { background-image: linear-gradient(to left, rgba(15,12,8,.93) 0%, rgba(34,27,17,.78) 42%, rgba(34,27,17,.42) 72%, rgba(34,27,17,.22) 100%), url('../img/hero-gemel.jpg'), linear-gradient(150deg, var(--navy), #34291a); background-size: cover, cover, cover; background-position: center, center, center; background-repeat: no-repeat; }
.page-hero--banner.hero-hishtalmut { background-image: linear-gradient(to left, rgba(15,12,8,.93) 0%, rgba(34,27,17,.78) 42%, rgba(34,27,17,.42) 72%, rgba(34,27,17,.22) 100%), url('../img/hero-hishtalmut.jpg'), linear-gradient(150deg, var(--navy), #34291a); background-size: cover, cover, cover; background-position: center, center, center; background-repeat: no-repeat; }
.page-hero--banner.hero-managers { background-image: linear-gradient(to left, rgba(15,12,8,.93) 0%, rgba(34,27,17,.78) 42%, rgba(34,27,17,.42) 72%, rgba(34,27,17,.22) 100%), url('../img/hero-managers.jpg'), linear-gradient(150deg, var(--navy), #34291a); background-size: cover, cover, cover; background-position: center, center, center; background-repeat: no-repeat; }
.page-hero--banner::before { opacity: .28; }
.page-hero--banner .page-hero__text { max-width: 660px; }
.page-hero--banner h1 { font-size: clamp(2rem, 4.6vw, 3.15rem); line-height: 1.12; margin: 0 0 16px; }
.page-hero--banner p { color: #e7ddca; font-size: clamp(1.05rem, 1.7vw, 1.22rem); line-height: 1.7; max-width: 58ch; }
.page-hero--banner .breadcrumb { margin-bottom: 16px; }
.float-anim { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- רצועת אמון לוגואים/ערכים ---------- */
.trust-strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px;
  padding: 18px 0; color: var(--muted); font-weight: 600;
}
.trust-strip span { display: inline-flex; align-items: center; gap: 9px; }
.trust-strip svg { width: 22px; height: 22px; color: var(--blue); }

/* ==========================================================================
   ווידג'ט נגישות
   ========================================================================== */
.a11y-trigger {
  position: fixed; inset-block-end: 20px; inset-inline-end: 18px; z-index: 95;
  width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--navy); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-lg); transition: transform .15s, background .2s;
}
.a11y-trigger:hover { transform: scale(1.07); background: var(--blue); }
.a11y-trigger svg { width: 30px; height: 30px; }

.a11y-panel {
  position: fixed; inset-block-end: 86px; inset-inline-end: 18px; z-index: 96;
  width: 290px; max-width: calc(100vw - 36px); background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 18px; transform-origin: bottom; display: none;
}
.a11y-panel.open { display: block; animation: a11yPop .18s ease; }
@keyframes a11yPop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.a11y-panel h2 { font-size: 1.12rem; margin: 0 0 4px; }
.a11y-panel .a11y-sub { color: var(--muted); font-size: .82rem; margin: 0 0 14px; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-btn {
  font-family: inherit; font-weight: 600; font-size: .9rem; color: var(--navy);
  background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 12px 8px; cursor: pointer; display: flex; flex-direction: column; align-items: center;
  gap: 6px; transition: border-color .15s, background .15s, transform .1s; text-align: center;
}
.a11y-btn:hover { border-color: var(--blue); background: #fff; }
.a11y-btn:active { transform: scale(.97); }
.a11y-btn[aria-pressed="true"] { border-color: var(--blue); background: var(--bg-navy-soft); color: var(--blue); }
.a11y-btn svg { width: 22px; height: 22px; }
.a11y-reset {
  grid-column: 1 / -1; background: var(--navy); color: #fff; border: none; border-radius: 10px;
  padding: 11px; font-family: inherit; font-weight: 700; cursor: pointer; margin-top: 4px;
}
.a11y-reset:hover { background: var(--blue); }
.a11y-panel .a11y-statement { display: block; text-align: center; margin-top: 12px; font-size: .82rem; }

/* מצבי נגישות מופעלים */
html[data-a11y-font="1"]  { font-size: 110%; }
html[data-a11y-font="2"]  { font-size: 122%; }
html[data-a11y-font="3"]  { font-size: 138%; }
html[data-a11y-font="-1"] { font-size: 90%; }

body.a11y-readable, body.a11y-readable * {
  font-family: Arial, "Segoe UI", sans-serif !important;
  letter-spacing: .02em !important; word-spacing: .1em !important; line-height: 1.9 !important;
}
body.a11y-links a {
  text-decoration: underline !important; text-underline-offset: 3px;
  box-shadow: inset 0 -.5em 0 rgba(181,151,93,.30);
}
body.a11y-noanim *, body.a11y-noanim *::before, body.a11y-noanim *::after {
  animation: none !important; transition: none !important;
}

/* ניגודיות גבוהה */
body.a11y-contrast { background: #000 !important; color: #fff !important; }
body.a11y-contrast .site-header, body.a11y-contrast .hero, body.a11y-contrast .page-hero,
body.a11y-contrast .section, body.a11y-contrast .section--soft, body.a11y-contrast .section--navy,
body.a11y-contrast .site-footer, body.a11y-contrast .card, body.a11y-contrast .quote,
body.a11y-contrast .info-box, body.a11y-contrast .lead-card, body.a11y-contrast .faq-item,
body.a11y-contrast .cta-band { background: #000 !important; }
body.a11y-contrast h1, body.a11y-contrast h2, body.a11y-contrast h3, body.a11y-contrast h4,
body.a11y-contrast p, body.a11y-contrast li, body.a11y-contrast span, body.a11y-contrast label,
body.a11y-contrast .lead, body.a11y-contrast .eyebrow, body.a11y-contrast .breadcrumb,
body.a11y-contrast .muted { color: #fff !important; }
body.a11y-contrast a { color: #ffd400 !important; }
body.a11y-contrast .card, body.a11y-contrast .quote, body.a11y-contrast .info-box,
body.a11y-contrast .lead-card, body.a11y-contrast .faq-item, body.a11y-contrast .site-header,
body.a11y-contrast input, body.a11y-contrast select, body.a11y-contrast textarea { border: 1px solid #fff !important; }
body.a11y-contrast .btn { background: #ffd400 !important; color: #000 !important; border-color: #ffd400 !important; }
body.a11y-contrast input, body.a11y-contrast select, body.a11y-contrast textarea { background: #000 !important; color: #fff !important; }
body.a11y-contrast .page-hero::before { display: none; }

/* ---------- רספונסיבי — תוספות גרסה 2 ---------- */
@media (max-width: 760px) {
  .page-hero--media .container { grid-template-columns: 1fr; gap: 24px; }
  .page-hero__art { order: -1; }
  .page-hero__art svg { max-width: 220px; }
  .floating { inset-inline-start: 18px; }
  .a11y-trigger { inset-block-end: 84px; }
  /* גודל בסיס קומפקטי לנייד (גובר על כלל הבסיס בשורה 674) */
  body { font-size: 14px; }
  /* כפתורים צפים קטנים — פחות מסתירים תוכן */
  .fab { width: 44px; height: 44px; }
  .fab svg { width: 20px; height: 20px; }
  .a11y-trigger { width: 44px; height: 44px; }
  .a11y-trigger svg { width: 24px; height: 24px; }
  .floating { gap: 9px; inset-block-end: 14px; }
}
