/* ═══════════════════════════════════════════════════════════
   עו״ד שושנה בנדריהם · משרד עורכי דין למקרקעין, ירושלים
   עיצוב: כחול-נייבי עמוק, זהב-פליז ולבן · Bona Nova + Assistant
   הגופנים מתארחים מקומית — assets/fonts/fonts.css נטען מה-HTML
   ═══════════════════════════════════════════════════════════ */

:root {
  --navy:       #0E2A47;
  --navy-deep:  #0A1F36;
  --navy-line:  #24425F;
  --paper:      #FFFFFF;
  --paper-alt:  #F2F5F9;
  --line:       #D8DFE8;
  --ink:        #16222F;
  --slate:      #4D5D6E;
  --gold:       #A98736;   /* זהב על רקע בהיר */
  --gold-bright:#C9A254;   /* זהב על רקע כהה */
  --gold-soft:  #D8B366;
  --on-navy:    #D9E2EC;
  --on-navy-dim:#93A9C0;
  --wa-green:   #1FAF54;

  --font-display: 'Heebo', 'Segoe UI', 'Arial Hebrew', Arial, sans-serif;
  --font-body: 'Heebo', 'Segoe UI', 'Arial Hebrew', Arial, sans-serif;

  --container: 1140px;
  --header-h: 78px;
  --ease-out: cubic-bezier(.22, .61, .21, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.8;
  /* clip ולא hidden: hidden הופך את body למכל גלילה ושובר scrollY */
  overflow-x: clip;
}

img { max-width: 100%; height: auto; }

[hidden] { display: none !important; }

h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; color: var(--navy); }
p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

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

::selection { background: var(--navy); color: #fff; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

section { scroll-margin-top: calc(var(--header-h) + 14px); }

.section { padding-block: clamp(4.25rem, 9vw, 6.75rem); }
.section-deep { background: var(--paper-alt); }

/* ── דילוג לתוכן ── */
.skip-link {
  position: fixed;
  top: -100px;
  inset-inline-start: 16px;
  z-index: 120;
  padding: .65rem 1.2rem;
  background: var(--navy);
  color: #fff;
  border-radius: 6px;
  font-size: .95rem;
  transition: top .2s;
}
.skip-link:focus-visible { top: 14px; }

/* ── טיפוגרפיה משותפת ── */
.eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-block-end: 1.1rem;
  color: var(--gold);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .2em;
}
.eyebrow-rule {
  display: inline-block;
  width: 34px;
  height: 2px;
  background: var(--gold);
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .005em;
  margin-block-end: clamp(1.8rem, 4vw, 2.8rem);
}

/* ── חותם (לוגו) ── */
.brand-seal { width: 42px; height: 42px; color: var(--gold-bright); flex: none; }
.seal-letters {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  fill: currentColor;
}

/* ═══════════ כותרת עליונה ═══════════ */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 80;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .35s, border-color .35s, box-shadow .35s;
}
.site-header.scrolled {
  background: rgba(11, 33, 56, .93);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(201, 162, 84, .25);
  box-shadow: 0 10px 30px -18px rgba(4, 14, 26, .8);
}

.header-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: .8rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: .8rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: #fff;
}
.brand-role {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .22em;
  color: var(--gold-bright);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 1.9rem);
  font-size: .97rem;
  font-weight: 500;
}
.nav-list a, .lang-toggle {
  position: relative;
  padding-block: .35rem;
  color: var(--on-navy);
  transition: color .25s;
}
.nav-list a:hover { color: #fff; }
.nav-list a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold-bright);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform .3s var(--ease-out);
}
html[dir="ltr"] .nav-list a:not(.nav-cta)::after { transform-origin: 0 50%; }
.nav-list a:not(.nav-cta):hover::after,
.nav-list a.active:not(.nav-cta)::after { transform: scaleX(1); }
.nav-list a.active { color: #fff; }

.nav-cta {
  border: 1.5px solid var(--gold-bright);
  border-radius: 999px;
  padding: .42rem 1.15rem !important;
  color: var(--gold-bright) !important;
  transition: background .25s, color .25s;
}
.nav-cta:hover { background: var(--gold-bright); color: var(--navy-deep) !important; }

.lang-toggle {
  background: none;
  border: 1px solid rgba(217, 226, 236, .4);
  border-radius: 999px;
  padding: .34rem .95rem;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  cursor: pointer;
}
.lang-toggle:hover { border-color: #fff; color: #fff; }

/* תפריט נייד */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: #fff;
  transition: transform .3s, opacity .3s;
}

/* ═══════════ פתיח (נייבי) ═══════════ */
.hero {
  position: relative;
  background:
    radial-gradient(115% 90% at 85% -10%, #1A3E63 0%, rgba(26, 62, 99, 0) 55%),
    radial-gradient(90% 70% at 8% 108%, #123253 0%, rgba(18, 50, 83, 0) 60%),
    var(--navy);
  color: var(--on-navy);
  padding-block: calc(var(--header-h) + clamp(2.2rem, 6vh, 4.5rem)) clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
}
.hero-frame {
  position: absolute;
  inset: calc(var(--header-h) + 10px) 24px 24px;
  border: 1px solid rgba(201, 162, 84, .28);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 3.2rem);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .8fr);
  gap: clamp(2.2rem, 5.5vw, 5rem);
  align-items: center;
}

.hero .eyebrow { color: var(--gold-bright); }
.hero .eyebrow-rule { background: var(--gold-bright); }

.hero-title {
  font-size: clamp(1.95rem, 4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: .005em;
  margin-block: .4rem 1.4rem;
  color: #fff;
}
html[lang="en"] .hero-title { font-size: clamp(1.85rem, 3.7vw, 2.65rem); }
.hero-line { display: block; }
.hero-title em {
  font-style: normal;
  font-weight: 700;
  color: var(--gold-bright);
  white-space: nowrap;
}

.hero-sub {
  max-width: 34rem;
  color: var(--on-navy);
  font-size: 1.07rem;
  font-weight: 300;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-block-start: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 1.65rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease-out), box-shadow .3s;
}
.btn .ic { width: 20px; height: 20px; flex: none; }
.btn-solid {
  background: var(--gold-bright);
  color: var(--navy-deep);
  border: 1.5px solid var(--gold-bright);
}
.btn-solid:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -14px rgba(201, 162, 84, .55);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .38);
}
.btn-ghost:hover {
  border-color: #fff;
  transform: translateY(-2px);
}

.hero-license {
  margin-block-start: 1.7rem;
  color: var(--on-navy-dim);
  font-size: .82rem;
  letter-spacing: .05em;
}

/* מסגרת קשת */
.arch-frame {
  border: 1px solid rgba(201, 162, 84, .45);
  border-radius: 999px 999px 14px 14px;
  padding: 13px;
  background: rgba(255, 255, 255, .05);
}
.arch-frame > img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4.15;
  object-fit: cover;
  border-radius: 999px 999px 8px 8px;
}

.hero-figure { margin: 0; }
.hero-figure .arch-frame { overflow: hidden; }
.hero-figure img { animation: kenburns 24s var(--ease-out) both; }
@keyframes kenburns {
  from { transform: scale(1.07); }
  to   { transform: scale(1); }
}
.hero-figcap {
  margin-block-start: .9rem;
  text-align: center;
  color: var(--on-navy-dim);
  font-size: .84rem;
  letter-spacing: .12em;
}
.about-figcap {
  margin-block-start: .9rem;
  text-align: center;
  color: var(--slate);
  font-size: .84rem;
  letter-spacing: .12em;
}

/* אנימציית טעינה של הפתיח */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes arch-in {
  from { opacity: 0; clip-path: inset(8% 0 0 0 round 999px 999px 14px 14px); transform: translateY(14px); }
  to   { opacity: 1; clip-path: inset(0 0 0 0 round 999px 999px 14px 14px); transform: translateY(0); }
}
.hero-load { animation: rise-in .8s var(--ease-out) both; }
.hl-1 { animation-delay: .1s; }
.hl-2 { animation-delay: .22s; }
.hl-3 { animation-delay: .34s; }
.hl-4 { animation-delay: .5s; }
.hl-5 { animation-delay: .64s; }
.hl-6 { animation-delay: .78s; }
.hl-img { animation-name: arch-in; animation-duration: 1.05s; animation-delay: .35s; }

/* ═══════════ פס אמון ═══════════ */
.trust {
  border-block-end: 1px solid var(--line);
  background: var(--paper);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: clamp(2.2rem, 5vw, 3.2rem);
}
.trust-item { padding-inline-start: 1.3rem; border-inline-start: 2px solid var(--gold); }
.trust-title {
  font-size: 1.18rem;
  font-weight: 600;
  margin-block-end: .35rem;
}
.trust-item p { color: var(--slate); font-size: .96rem; line-height: 1.75; }

/* ═══════════ היכרות ═══════════ */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.about-figure .arch-frame {
  border-color: var(--line);
  background: var(--paper-alt);
}

/* מסגרת התמונה של שושנה: גוונים חמים שנשאבו מרקע התצלום עצמו,
   כדי שהמסגרת תרגיש כהמשך טבעי של התמונה ולא כקופסה קרה סביבה */
.about-figure .arch-frame.about-photo-frame {
  border-color: rgba(169, 135, 54, .4);
  background: linear-gradient(160deg, #F5EDDF 0%, #E7D8C1 100%);
}
.about-photo-frame img { object-position: 50% 18%; }

.photo-placeholder {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1rem;
  aspect-ratio: 3 / 4.15;
  background: linear-gradient(168deg, #EDF1F7 0%, #DDE5EF 100%);
}
.placeholder-seal { width: 76px; height: 76px; color: rgba(169, 135, 54, .55); }
.placeholder-seal .seal-letters { font-size: 12.5px; }
.placeholder-note {
  color: var(--slate);
  font-size: .82rem;
  letter-spacing: .22em;
}

.about-text p + p { margin-block-start: 1.1rem; }
.about-text p { color: var(--slate); }

.about-points { margin-block-start: 1.8rem; display: grid; gap: .85rem; }
.about-points li {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-weight: 500;
  color: var(--ink);
}
.point-mark {
  flex: none;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ═══════════ תחומי עיסוק ═══════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.1rem, 2.5vw, 1.6rem);
}

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  transition: transform .35s var(--ease-out), border-color .35s, box-shadow .35s;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(169, 135, 54, .6);
  box-shadow: 0 24px 46px -24px rgba(14, 42, 71, .35);
}

.service-icon {
  width: 42px;
  height: 42px;
  color: var(--gold);
  transition: color .35s;
}
.service-card:hover .service-icon { color: var(--navy); }

.service-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-block: .9rem .55rem;
}
.service-desc { color: var(--slate); font-size: .98rem; line-height: 1.8; }

.service-list {
  margin-block-start: 1.15rem;
  padding-block-start: 1.05rem;
  border-block-start: 1px solid var(--line);
  display: grid;
  gap: .45rem;
}
.service-list li {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--slate);
  font-size: .92rem;
}
.service-list li::before {
  content: '';
  flex: none;
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ═══════════ שלבי הליווי ═══════════ */
.process-track {
  --num: 44px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
}
.process-track::before {
  content: '';
  position: absolute;
  top: calc(var(--num) / 2);
  inset-inline: 8%;
  height: 1px;
  background: var(--line);
}

.process-step { position: relative; padding-block-start: calc(var(--num) + 1.1rem); }
.step-num {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: var(--num);
  height: var(--num);
  display: grid;
  place-items: center;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold);
  z-index: 1;
  transition: border-color .35s, box-shadow .35s, color .35s;
}
.process-step:hover .step-num {
  border-color: var(--gold);
  color: var(--navy);
  box-shadow: 0 0 0 5px rgba(169, 135, 54, .12);
}
.step-title { font-size: 1.22rem; font-weight: 600; margin-block-end: .4rem; }
.process-step p { color: var(--slate); font-size: .95rem; line-height: 1.75; }

/* ═══════════ פס ציטוט (נייבי) ═══════════ */
.band {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  padding-block: clamp(4.5rem, 10vw, 7.5rem);
}
.band-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .16;
  filter: saturate(.4);
}
.band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 31, 54, .35), rgba(10, 31, 54, .75));
}
.band-quote {
  position: relative;
  text-align: center;
}
.band-quote blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.3vw, 2.35rem);
  font-weight: 500;
  line-height: 1.5;
  color: #fff;
}
.band-quote figcaption {
  margin-block-start: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: var(--gold-bright);
  font-size: .92rem;
  letter-spacing: .08em;
}
.band-quote figcaption::before {
  content: '';
  width: 36px;
  height: 1.5px;
  background: var(--gold-bright);
}

/* ═══════════ שאלות נפוצות ═══════════ */
.faq-container { max-width: 820px; }

.faq-list { border-block-start: 1px solid var(--line); }
.faq-item { border-block-end: 1px solid var(--line); }

.faq-q { margin: 0; }
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem .3rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: start;
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 600;
  color: var(--navy);
  transition: color .25s;
}
.faq-btn:hover { color: var(--gold); }
.faq-item.open .faq-btn { color: var(--gold); }

.faq-mark { position: relative; flex: none; width: 15px; height: 15px; color: var(--gold); }
.faq-mark::before, .faq-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  background: currentColor;
  transition: transform .35s var(--ease-out);
}
.faq-mark::before { width: 15px; height: 1.6px; }
.faq-mark::after { width: 1.6px; height: 15px; }
.faq-item.open .faq-mark::after { transform: rotate(90deg); }

html.js .faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease-out);
}
html.js .faq-a > p {
  min-height: 0;
  overflow: hidden;
  padding-block-end: 0; /* סגור: אפס גובה, כדי ששום שורה לא תציץ */
  transition: padding-block-end .4s var(--ease-out);
}
html.js .faq-item.open .faq-a { grid-template-rows: 1fr; }
html.js .faq-item.open .faq-a > p { padding-block-end: 1.3rem; }
.faq-a > p {
  margin: 0;
  padding-block-end: 1.3rem;
  max-width: 46rem;
  color: var(--slate);
  font-size: .99rem;
  line-height: 1.85;
}

.faq-disclaimer {
  margin-block-start: 1.8rem;
  color: var(--slate);
  font-size: .84rem;
}

/* ═══════════ יצירת קשר ═══════════ */
.contact-inner { text-align: center; }
.contact-inner .eyebrow { justify-content: center; }
.contact-lead {
  max-width: 33rem;
  margin-inline: auto;
  color: var(--slate);
  margin-block-end: 2.4rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 1.1rem;
  max-width: 860px;
  margin-inline: auto;
}
.contact-card {
  display: grid;
  justify-items: center;
  gap: .35rem;
  padding: 1.9rem 1.4rem 1.7rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform .35s var(--ease-out), border-color .35s, box-shadow .35s;
}
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(169, 135, 54, .6);
  box-shadow: 0 22px 42px -24px rgba(14, 42, 71, .38);
}
.ic-lg { width: 30px; height: 30px; color: var(--gold); margin-block-end: .5rem; }
.contact-label {
  color: var(--slate);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
}
.contact-value {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-note {
  margin-block-start: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  color: var(--slate);
  font-size: .93rem;
}
.ic-sm { width: 18px; height: 18px; flex: none; color: var(--gold); }

/* ═══════════ תחתית ═══════════ */
.site-footer {
  background: var(--navy-deep);
  color: var(--on-navy);
  border-block-start: 2px solid var(--gold-bright);
}
.footer-inner {
  padding-block: clamp(2.8rem, 6vw, 4rem);
  display: grid;
  gap: 2rem;
  text-align: center;
  justify-items: center;
}
.footer-seal { color: var(--gold-bright); width: 46px; height: 46px; }
.footer-brand { display: grid; gap: .4rem; justify-items: center; }
.footer-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: #fff;
}
.footer-license { color: var(--on-navy-dim); font-size: .85rem; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem;
  font-size: .93rem;
}
.footer-nav a {
  color: var(--on-navy);
  padding-block: .2rem;
  border-block-end: 1px solid transparent;
  transition: border-color .25s, color .25s;
}
.footer-nav a:hover { border-block-end-color: var(--gold-bright); color: #fff; }

.footer-legal { color: var(--on-navy-dim); font-size: .82rem; line-height: 1.9; }

/* ═══════════ וואטסאפ צף ═══════════ */
.float-whatsapp {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 90;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: var(--wa-green);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 26px -8px rgba(31, 175, 84, .65);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.float-whatsapp svg { width: 32px; height: 32px; }
.float-whatsapp:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 16px 32px -10px rgba(31, 175, 84, .7);
}
.float-whatsapp::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(31, 175, 84, .55);
  animation: wa-pulse 3.8s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: 1; }
  55%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ═══════════ נגישות: כפתור ותפריט ═══════════ */
.a11y-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  cursor: pointer;
  opacity: .88;
  transition: opacity .25s, transform .25s;
}
.a11y-toggle:hover { opacity: 1; transform: scale(1.05); }
.a11y-toggle svg { width: 26px; height: 26px; }

.a11y-panel {
  position: fixed;
  right: 18px;
  bottom: 76px;
  z-index: 95;
  width: min(332px, calc(100vw - 28px));
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 26px 56px -20px rgba(10, 31, 54, .5);
  padding: 1.05rem 1.05rem .9rem;
}
.a11y-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block-end: .8rem;
}
.a11y-title { font-size: 1.02rem; font-weight: 600; }
.a11y-close {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: none;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--slate);
}
.a11y-close:hover { color: var(--gold); border-color: var(--line); }

.a11y-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}
.a11y-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .38rem;
  min-height: 74px;
  padding: .6rem .3rem .55rem;
  background: var(--paper-alt);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.a11y-tile svg { width: 24px; height: 24px; flex: none; }
.a11y-tile:hover { border-color: var(--slate); transform: translateY(-1px); }
/* טבעת מוקד בולטת יותר מהגלובלית, כדי שניווט בחצים בתוך הרשת הצפופה יהיה ברור */
.a11y-tile:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-color: var(--gold);
}
.a11y-tile[aria-pressed="true"] {
  background: rgba(169, 135, 54, .16);
  border-color: var(--gold);
  color: var(--navy);
}

.a11y-hint {
  margin-block-start: .75rem;
  color: var(--slate);
  font-size: .74rem;
  text-align: center;
}

.a11y-foot {
  margin-block-start: .65rem;
  padding-block-start: .75rem;
  border-block-start: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .84rem;
}
.a11y-reset {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: .84rem;
  color: var(--slate);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
}
.a11y-reset:hover, .a11y-foot a:hover { color: var(--gold); }
.a11y-foot a {
  color: var(--slate);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── מצבי נגישות (מוחלים על <html>) ── */

/* גודל טקסט: 4 מדרגות. zoom (לא רק font-size) כדי שגם כותרות
   שגודלן נקבע לפי vw ב-clamp() יגדלו בפועל, ולא רק טקסט רגיל */
.a11y-fs1 { font-size: 110%; zoom: 1.14; }
.a11y-fs2 { font-size: 120%; zoom: 1.28; }
.a11y-fs3 { font-size: 132%; zoom: 1.44; }
.a11y-fs4 { font-size: 145%; zoom: 1.6; }

/* ניגודיות גבוהה: אותה פוליריות (בהיר נשאר בהיר, כהה נשאר כהה), חדה יותר */
.a11y-contrast {
  --navy: #001633;
  --navy-deep: #000D1F;
  --paper: #FFFFFF;
  --paper-alt: #FFFFFF;
  --line: #6B6B6B;
  --ink: #000000;
  --slate: #1A1A1A;
  --gold: #6E5500;
  --gold-bright: #FFD466;
  --on-navy: #FFFFFF;
  --on-navy-dim: #E0E0E0;
}
.a11y-contrast .hero { background: var(--navy); }
.a11y-contrast .band-img { opacity: .06; }

/* היפוך צבעים: מצב כהה חלופי לאזורים הבהירים באתר */
.a11y-invert {
  --paper: #14181d;
  --paper-alt: #1b2027;
  --line: #363c45;
  --ink: #eef1f4;
  --slate: #b7c0ca;
  --gold: #e8b34a;
  --gold-bright: #e8b34a;
}
.a11y-invert h1, .a11y-invert h2, .a11y-invert h3,
.a11y-invert .service-card:hover .service-icon,
.a11y-invert .process-step:hover .step-num,
.a11y-invert .faq-btn, .a11y-invert .faq-item.open .faq-btn,
.a11y-invert .contact-value,
.a11y-invert .step-num {
  color: #f5efe0;
}
.a11y-invert .about-photo-frame {
  border-color: rgba(232, 179, 74, .4);
  background: linear-gradient(160deg, #2a2f36 0%, #1b2027 100%);
}
.a11y-invert .band-overlay { background: rgba(20, 24, 29, .82); }

/* שחור צהוב: ניגודיות מקסימלית לרגישות לאור ולקויי ראייה */
.a11y-yellowblack {
  --paper: #000000;
  --paper-alt: #000000;
  --line: #6b5a12;
  --ink: #FFD400;
  --slate: #FFD400;
  --gold: #FFD400;
  --gold-bright: #FFD400;
}
.a11y-yellowblack h1, .a11y-yellowblack h2, .a11y-yellowblack h3,
.a11y-yellowblack .service-card:hover .service-icon,
.a11y-yellowblack .process-step:hover .step-num,
.a11y-yellowblack .faq-btn, .a11y-yellowblack .faq-item.open .faq-btn,
.a11y-yellowblack .contact-value,
.a11y-yellowblack .step-num {
  color: #FFD400;
}
.a11y-yellowblack .btn-solid { background: #FFD400; color: #000; border-color: #FFD400; }
.a11y-yellowblack .btn-ghost { color: #FFD400; border-color: #FFD400; }
.a11y-yellowblack .about-photo-frame {
  border-color: #FFD400;
  background: #000;
}
.a11y-yellowblack .band-overlay { background: rgba(0, 0, 0, .9); }

.a11y-grayscale .site-header,
.a11y-grayscale main,
.a11y-grayscale .site-footer,
.a11y-grayscale .float-whatsapp,
.a11y-grayscale .a11y-toggle { filter: grayscale(1); }

.a11y-links main a,
.a11y-links .site-footer a,
.a11y-links .site-header a {
  text-decoration: underline !important;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

/* הדגשת כותרות: מסגרת עבה + הילה, כך שבולט גם על רקע כהה וגם על רקע בהיר
   (רקע צבעוני שקוף לא תמיד נראה טוב על נייבי, מסגרת/הילה כן) */
.a11y-headings h1, .a11y-headings h2, .a11y-headings h3,
.a11y-headings .faq-btn,
.a11y-headings .step-title,
.a11y-headings .service-title,
.a11y-headings .trust-title {
  outline: 3px solid var(--gold-bright);
  outline-offset: 5px;
  border-radius: 4px;
  box-shadow: 0 0 0 9px rgba(201, 162, 84, .25);
}

.a11y-readable body,
.a11y-readable .section-title,
.a11y-readable h1, .a11y-readable h2, .a11y-readable h3,
.a11y-readable .faq-btn,
.a11y-readable .contact-value,
.a11y-readable .brand-name,
.a11y-readable .footer-name,
.a11y-readable .band-quote blockquote p,
.a11y-readable .step-num {
  font-family: Arial, 'Segoe UI', sans-serif !important;
}

/* סמן גדול: כ-2.5 פעמים סמן ברירת המחדל של המערכת, עם מסגרת לבנה עבה
   כדי שיהיה ברור ובולט על כל רקע. שני חוקים: ברירת מחדל (auto) לטקסט רגיל,
   ו-pointer לאלמנטים לחיצים - כך שהצורה נשארת נכונה סמנטית, רק גדולה */
html.a11y-bigcursor {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M8 5 8 51 22 40 30 59 38 55 30 37 48 35Z' fill='%23111111' stroke='%23ffffff' stroke-width='4.5' stroke-linejoin='round'/%3E%3C/svg%3E") 8 5, auto !important;
}
html.a11y-bigcursor a,
html.a11y-bigcursor button,
html.a11y-bigcursor [role="button"] {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M8 5 8 51 22 40 30 59 38 55 30 37 48 35Z' fill='%23111111' stroke='%23ffffff' stroke-width='4.5' stroke-linejoin='round'/%3E%3C/svg%3E") 8 5, pointer !important;
}

/* ── חשיפה בגלילה ── */
html.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .75s var(--ease-out), transform .75s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
html.js .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── ביטול תנועה ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; }
}
.a11y-nomotion *, .a11y-nomotion *::before, .a11y-nomotion *::after {
  animation: none !important;
  transition: none !important;
}
.a11y-nomotion { scroll-behavior: auto; }
.a11y-nomotion.js .reveal { opacity: 1; transform: none; }

/* ═══════════ רספונסיביות ═══════════ */
@media (max-width: 1020px) {
  .services-grid { gap: 1rem; }
  .process-track { grid-template-columns: repeat(2, 1fr); row-gap: 2.4rem; }
  .process-track::before { display: none; }
}

@media (max-width: 860px) {
  .hero-frame { display: none; }
  .hero { padding-block-start: calc(var(--header-h) + 1.6rem); }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.6rem;
  }
  .hero-figure { max-width: 420px; margin-inline: auto; width: 86%; }
  .hero-sub { font-size: 1.02rem; }

  .about-grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .about-figure { max-width: 380px; margin-inline: auto; width: 80%; }

  .services-grid { grid-template-columns: 1fr; }

  .trust-grid { grid-template-columns: 1fr; gap: 1.6rem; }

  /* תפריט נייד */
  .nav-toggle { display: flex; }
  .nav-list {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(11, 33, 56, .97);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201, 162, 84, .3);
    padding: .5rem 1.4rem 1.2rem;
    display: none;
  }
  .main-nav.open .nav-list { display: flex; }
  .nav-list a {
    display: block;
    padding: .8rem .2rem;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(217, 226, 236, .14);
  }
  .nav-list a:not(.nav-cta)::after { display: none; }
  .nav-cta {
    margin-block-start: .7rem;
    text-align: center;
    border-radius: 8px;
  }
  .lang-toggle { margin-block-start: .8rem; align-self: center; padding: .45rem 1.6rem; }
  .main-nav.open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .main-nav.open .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .main-nav.open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 560px) {
  .process-track { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .float-whatsapp { width: 54px; height: 54px; left: 14px; bottom: 14px; }
  .a11y-toggle { right: 14px; bottom: 14px; }
  .a11y-panel { right: 14px; }
  .brand-name { font-size: 1.1rem; }
  .brand-role { font-size: .62rem; }
}
