/* ===== עו״ד רחל אדיר – עיצוב האתר ===== */
:root {
  --navy: #1b2b4b;
  --navy-2: #24375e;
  --navy-deep: #131f37;
  --gold: #b8935a;
  --gold-light: #d4b483;
  --gold-text: #86672f;      /* זהב כהה לטקסט קטן על רקע בהיר – עומד בניגודיות AA */
  --cream: #f7f3ec;
  --cream-2: #efe8dc;
  --ink: #1f2633;
  --muted: #5a6273;
  --line: #e3dccf;
  --white: #fff;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(19, 31, 55, .10);
  --container: 1180px;
  --font-head: "Frank Ruhl Libre", "David", serif;
  --font-body: "Assistant", "Arial", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--gold-text); }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
svg { width: 1em; height: 1em; flex: none; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.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; }
.skip-link { position: absolute; top: -100px; right: 16px; background: var(--navy); color: #fff; padding: .6em 1em; z-index: 1000; border-radius: var(--radius); }
.skip-link:focus { top: 12px; color: #fff; }
main:focus { outline: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); color: #e9ecf3; }
.section-navy h2, .section-navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--font-body); font-weight: 700; font-size: .85rem;
  letter-spacing: .25em; color: var(--gold-text); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.section-navy .eyebrow, .hero .eyebrow { color: var(--gold-light); }
.section-head { max-width: 760px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.lead { font-size: 1.25rem; color: var(--muted); }
.divider { display: flex; align-items: center; gap: 12px; color: var(--gold); margin: 1.2rem 0 1.6rem; }
.divider::before, .divider::after { content: ""; height: 1px; background: currentColor; flex: 1; max-width: 120px; }
.divider span { width: 8px; height: 8px; background: currentColor; transform: rotate(45deg); }
.center .divider { justify-content: center; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font: 700 1.05rem/1 var(--font-body);
  padding: 0 0 0 0; min-height: 56px; padding-inline: 1.6em;
  border: 2px solid transparent; border-radius: var(--radius);
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-light); color: var(--navy-deep); }
.btn-outline { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-sm { min-height: 44px; font-size: .98rem; padding-inline: 1.1em; }
.btn-arrow {
  display: inline-grid; place-items: center; width: 1.3em; height: 1.3em;
  margin-inline-start: .1em; background: transparent; color: inherit;
  transition: transform .2s;
}
.btn:hover .btn-arrow { transform: translateX(-4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ===== Top bar & header ===== */
.topbar { background: var(--navy-deep); color: #dfe4ee; font-size: .98rem; }
.topbar-inner { display: flex; justify-content: center; align-items: center; gap: 24px; min-height: 44px; flex-wrap: wrap; }
.topbar a { color: var(--gold-light); font-weight: 700; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-wa { display: inline-flex; align-items: center; gap: .4em; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(19,31,55,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 52px; height: 52px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--navy); }
.brand-sub { font-size: .9rem; color: var(--gold-text); font-weight: 600; letter-spacing: .04em; }
.brand-sub span { font-size: .55em; vertical-align: middle; margin-inline: .3em; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.site-nav ul a { text-decoration: none; font-weight: 600; color: var(--navy); padding-block: 6px; border-bottom: 2px solid transparent; }
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { border-color: var(--gold); color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; width: 48px; height: 48px; cursor: pointer; position: relative; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  position: absolute; left: 12px; width: 24px; height: 2px; background: var(--navy); transition: transform .25s, opacity .25s; content: "";
}
.nav-toggle-bars { top: 23px; }
.nav-toggle-bars::before { top: -8px; left: 0; }
.nav-toggle-bars::after { top: 8px; left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; inset-inline: 0; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 24px;
    box-shadow: 0 20px 30px rgba(19,31,55,.12);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav ul a[aria-current="page"] { color: var(--gold-text); border-color: var(--line); }
  .nav-cta { margin-top: 18px; justify-content: center; }
  .header-inner { min-height: 72px; }
  .brand img { width: 44px; height: 44px; }
  .brand-name { font-size: 1.35rem; }
}

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden; color: #e9ecf3;
  background:
    linear-gradient(100deg, rgba(19,31,55,.0) 0%, rgba(19,31,55,.0) 40%, rgba(19,31,55,.55) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px),
    radial-gradient(1200px 600px at 20% 10%, #2a3f6b 0%, var(--navy) 55%, var(--navy-deep) 100%);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; padding-block: clamp(56px, 8vw, 96px); }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero-text { font-size: 1.25rem; max-width: 34em; color: #d3d9e6; }
.hero-points { list-style: none; padding: 0; margin: 1.6rem 0 2.2rem; display: grid; gap: .5rem; }
.hero-points li { position: relative; padding-inline-start: 1.5em; }
.hero-points li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .75em; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.hero-photo { position: relative; justify-self: center; width: min(420px, 100%); }
.arch { position: relative; border-radius: 999px 999px 0 0; overflow: hidden; aspect-ratio: 4 / 5; background: #c9c3bb; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-frame { position: relative; }
.arch-frame::before {
  content: ""; position: absolute; inset: -16px -16px 16px 16px; border: 1px solid var(--gold);
  border-radius: 999px 999px 0 0; pointer-events: none;
}
.hero-badge {
  position: absolute; bottom: 28px; inset-inline-start: -36px; background: #fff; color: var(--navy);
  padding: 14px 20px; box-shadow: var(--shadow); border-inline-start: 4px solid var(--gold); max-width: 240px; line-height: 1.35;
}
.hero-badge strong { display: block; text-align: right; font-family: var(--font-head); font-size: 1.9rem; color: var(--gold-text); line-height: 1.1; }
.hero-badge span { font-size: .95rem; font-weight: 600; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: start; }
  .hero-photo { order: -1; width: min(250px, 66%); margin-top: 6px; }
  .hero-badge { inset-inline-start: auto; inset-inline-end: -24px; bottom: 16px; padding: 10px 14px; }
  .hero-badge strong { font-size: 1.5rem; }
}

/* ===== Credentials strip ===== */
.creds { background: var(--navy-deep); color: #dfe4ee; }
.creds-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.cred { padding: 30px 26px; border-inline-start: 1px solid rgba(255,255,255,.08); }
.cred:first-child { border-inline-start: 0; }
.cred strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--gold-light); line-height: 1.2; margin-bottom: .3rem; }
.cred span { font-size: 1rem; line-height: 1.5; display: block; }
@media (max-width: 900px) {
  .creds-grid { grid-template-columns: 1fr 1fr; }
  .cred:nth-child(3) { border-inline-start: 0; }
  .cred { border-top: 1px solid rgba(255,255,255,.08); }
}
@media (max-width: 520px) { .creds-grid { grid-template-columns: 1fr; } .cred { border-inline-start: 0; } }

/* ===== Quick contact ===== */
.quick-contact { background: var(--cream); }
.quick-contact .section-head { margin-bottom: 2rem; }
.contact-form { background: #fff; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); border-top: 4px solid var(--gold); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 1rem; color: var(--navy); }
.req { color: #a2402a; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1.05rem; padding: 12px 14px; border: 1px solid #c9c1b2; border-radius: var(--radius);
  background: #fdfcfa; color: var(--ink); min-height: 52px; width: 100%;
}
.field input[dir="ltr"] { text-align: right; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: 2px solid var(--gold); outline-offset: 0; }
.field-check { flex-direction: row; align-items: flex-start; gap: 10px; }
.field-check input { width: 22px; height: 22px; min-height: 0; margin-top: 4px; accent-color: var(--navy); flex: none; }
.field-check label { font-weight: 400; color: var(--ink); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 24px; }
.form-note { margin: 0; font-size: .95rem; color: var(--muted); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-actions .btn { width: 100%; justify-content: center; } }

/* ===== Intro (two columns) ===== */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.intro-grid h2 { color: var(--gold-text); }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; gap: 0; } }

/* ===== Practice cards ===== */
.practice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.practice-card {
  position: relative; background: #fff; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line);
  border-top: 4px solid var(--gold); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.practice-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.practice-icon { width: 60px; height: 60px; display: grid; place-items: center; background: var(--navy); color: var(--gold-light); margin-bottom: 20px; }
.practice-icon svg { width: 28px; height: 28px; }
.practice-card ul { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.practice-card li { display: flex; gap: .6em; align-items: baseline; font-size: 1.05rem; }
.practice-card li::before { content: ""; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg) translateY(-2px); flex: none; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; text-decoration: none; color: var(--navy); margin-top: auto; }
.link-arrow svg { color: var(--gold); transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(-4px); }
@media (max-width: 860px) { .practice-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .practice-card ul { grid-template-columns: 1fr; } }

/* ===== Why cards ===== */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-top: 3px solid var(--gold); padding: 30px 24px; }
.why-card svg { width: 34px; height: 34px; color: var(--gold-light); margin-bottom: 14px; }
.why-card h3 { font-size: 1.3rem; }
.why-card p { margin: 0; color: #c8cfdd; font-size: 1.05rem; }
@media (max-width: 1000px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ===== About teaser ===== */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.about-photo { position: relative; max-width: 420px; justify-self: center; width: 100%; }
.about-photo .arch { aspect-ratio: 3 / 4.4; }
.about-photo .arch img { object-position: center 30%; }
.signature { font-family: var(--font-head); font-size: 1.5rem; color: var(--navy); margin-top: 1.4rem; }
.signature small { display: block; font-family: var(--font-body); font-size: .95rem; color: var(--gold-text); font-weight: 600; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } .about-photo { max-width: 320px; } }

/* ===== Process steps ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { position: relative; padding: 0 20px; text-align: center; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: #fff; border: 1px solid var(--gold); color: var(--navy); font-family: var(--font-head); font-size: 1.6rem; font-weight: 700;
  position: relative; z-index: 1;
}
.step::after { content: ""; position: absolute; top: 32px; inset-inline-start: 50%; width: 100%; height: 1px; background: var(--gold); opacity: .5; }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.25rem; }
.step p { font-size: 1.02rem; color: var(--muted); margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step { display: grid; grid-template-columns: 64px 1fr; gap: 0 18px; text-align: start; padding: 0; }
  .step::before { margin: 0; grid-row: span 2; }
  .step::after { display: none; }
}

/* ===== FAQ ===== */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); background: #fff; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 4px 22px 48px; position: relative;
  font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; left: 8px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold-text);
  font-family: var(--font-body); font-size: 1.3rem; line-height: 1; transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 4px 24px 48px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

/* ===== CTA band ===== */
.cta-band { background: var(--gold); color: var(--navy-deep); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 44px; }
.cta-band h2 { color: var(--navy-deep); margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { margin: .3rem 0 0; font-size: 1.15rem; }

/* ===== Page hero (inner pages) ===== */
.page-hero {
  color: #e9ecf3; padding-block: clamp(56px, 8vw, 96px) clamp(48px, 7vw, 80px);
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px),
    radial-gradient(1000px 500px at 80% 0%, #2a3f6b 0%, var(--navy) 55%, var(--navy-deep) 100%);
}
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { max-width: 46em; font-size: 1.2rem; color: #d3d9e6; margin: 0; }
.breadcrumbs { font-size: .95rem; margin-bottom: 1rem; color: #b9c2d4; }
.breadcrumbs a { color: var(--gold-light); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; color: #fff; }

/* ===== Content pages ===== */
.content-grid { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-inline-start: 1.2em; }
.prose li { margin-bottom: .4em; }
.topic-list { display: grid; gap: 18px; margin: 1.6rem 0 2rem; }
.topic { border: 1px solid var(--line); border-inline-start: 4px solid var(--gold); padding: 22px 26px; background: #fff; }
.topic h3 { margin-bottom: .35em; font-size: 1.3rem; }
.topic p { margin: 0; color: var(--muted); }
.sidebar { position: sticky; top: 110px; display: grid; gap: 22px; }
.side-card { background: var(--navy); color: #e3e8f1; padding: 30px 26px; border-top: 4px solid var(--gold); }
.side-card h2 { color: #fff; font-size: 1.5rem; }
.side-card p { font-size: 1.02rem; }
.side-card .btn { width: 100%; justify-content: center; margin-top: 10px; }
.side-photo { border: 1px solid var(--line); }
.side-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.note { background: var(--cream); border-inline-start: 4px solid var(--gold); padding: 18px 22px; font-size: 1.02rem; color: var(--muted); }
@media (max-width: 960px) { .content-grid { grid-template-columns: 1fr; } .sidebar { position: static; } }

/* About page timeline */
.timeline { list-style: none; padding: 0; margin: 2rem 0; position: relative; }
.timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; inset-inline-start: 7px; width: 1px; background: var(--gold); }
.timeline li { position: relative; padding-inline-start: 40px; margin-bottom: 26px; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 10px; width: 12px; height: 12px; background: var(--gold); transform: rotate(45deg); }
.timeline strong { display: block; font-family: var(--font-head); color: var(--gold-text); font-size: 1.2rem; }
.photo-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; margin-top: 3rem; }
.photo-row img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
@media (max-width: 860px) { .photo-row { grid-template-columns: 1fr 1fr; margin-top: 0; } .photo-row > :last-child { display: none; } }
/* במובייל – בלי שורת התמונות (חוסך רווח ריק בסוף עמוד אודות) */
@media (max-width: 600px) { .photo-section { display: none; } }
.quote {
  font-family: var(--font-head); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.5; color: var(--navy);
  border-inline-start: 4px solid var(--gold); padding: 6px 28px; margin: 2.4rem 0;
}

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ic { width: 48px; height: 48px; display: grid; place-items: center; background: var(--navy); color: var(--gold-light); flex: none; }
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list strong { display: block; color: var(--navy); }
.contact-list a { font-size: 1.1rem; }
.office-img { margin-top: 28px; }
.office-img img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

/* Placeholder for missing info – visible during review only */
.todo { background: #fff3b0; outline: 1px dashed #c9a400; padding: 0 .3em; color: #5a4a00; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-deep); color: #c8cfdd; padding-top: 64px; font-size: 1.02rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { width: 180px; }
.footer-title { font-size: 1.25rem; color: #fff; margin-bottom: 1rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #e3e8f1; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact svg { color: var(--gold-light); width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px 28px; font-size: .92rem; color: #a9b3c6; }
.footer-bottom p { margin: .3rem 0; }
.disclaimer { max-width: 60em; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ===== WhatsApp float ===== */
.wa-float {
  position: fixed; bottom: 22px; left: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  background: #1f8f4e; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float svg { width: 32px; height: 32px; }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* Simple pages (legal, thanks, 404) */
.narrow { max-width: 820px; }
.legal h2 { font-size: 1.6rem; margin-top: 1.8em; }
.legal ul { padding-inline-start: 1.2em; }
.center-page { text-align: center; padding-block: 120px; }
.center-page .btn-row { justify-content: center; }

/* LTR number ranges inside Hebrew text (e.g. 2017–2023) */
span[dir="ltr"], strong[dir="ltr"] { unicode-bidi: isolate; white-space: nowrap; }

/* ===== תפריט נגישות ===== */
.a11y-toggle {
  position: fixed; bottom: 22px; right: 22px; z-index: 95; width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: #fff; border: 2px solid #fff; display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s;
}
.a11y-toggle:hover { transform: scale(1.07); }
.a11y-toggle svg { width: 30px; height: 30px; }
.a11y-panel {
  position: fixed; bottom: 90px; right: 22px; z-index: 96; width: min(300px, calc(100vw - 32px));
  max-height: calc(100vh - 120px); overflow-y: auto;
  background: #fff; color: var(--ink); border-top: 4px solid var(--gold); box-shadow: 0 16px 40px rgba(19,31,55,.25);
  padding: 18px 18px 16px; font-size: 1rem; line-height: 1.4;
}
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.a11y-title { font-size: 1.25rem; margin: 0; }
.a11y-close { background: none; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--navy); width: 40px; height: 40px; }
.a11y-font { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.a11y-font-label { font-weight: 600; color: var(--navy); }
.a11y-panel button[data-a11y-font] {
  width: 52px; height: 44px; font: 700 1.1rem var(--font-body); background: var(--cream); color: var(--navy);
  border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
.a11y-options { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }
.a11y-options button {
  width: 100%; min-height: 44px; text-align: start; padding: 8px 14px; font: 600 1rem var(--font-body);
  background: var(--cream); color: var(--navy); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.a11y-options button::after { content: ""; width: 18px; height: 18px; border: 2px solid var(--navy); border-radius: 3px; flex: none; }
.a11y-options button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.a11y-options button[aria-pressed="true"]::after { content: "✓"; border-color: #fff; display: grid; place-items: center; font-size: .8rem; }
.a11y-reset { width: 100%; min-height: 44px; font: 700 1rem var(--font-body); background: #fff; color: var(--navy); border: 2px solid var(--navy); border-radius: var(--radius); cursor: pointer; }
.a11y-statement { display: block; text-align: center; margin-top: 10px; font-weight: 600; }

/* גודל טקסט */
html[data-a11y-font="1"] { font-size: 112.5%; }
html[data-a11y-font="2"] { font-size: 125%; }
html[data-a11y-font="3"] { font-size: 137.5%; }
html[data-a11y-font="4"] { font-size: 150%; }

/* הדגשת קישורים */
html.a11y-links a:not(.btn):not(.wa-float):not(.brand) { text-decoration: underline !important; text-decoration-thickness: 2px !important; background: #fff3b0 !important; color: #000 !important; }
html.a11y-links .btn { outline: 3px solid #ffd400; outline-offset: 2px; }

/* גופן קריא */
html.a11y-readable body, html.a11y-readable h1, html.a11y-readable h2, html.a11y-readable h3,
html.a11y-readable .brand-name, html.a11y-readable summary, html.a11y-readable .quote, html.a11y-readable .signature { font-family: Arial, Helvetica, sans-serif !important; letter-spacing: 0 !important; }

/* ריווח טקסט */
html.a11y-spacing body { letter-spacing: .04em; word-spacing: .14em; }
html.a11y-spacing p, html.a11y-spacing li { line-height: 2 !important; }

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

/* ניגודיות גבוהה */
html.a11y-contrast body, html.a11y-contrast body *:not(svg):not(path):not(use):not(img):not(picture) {
  background-color: #000 !important; background-image: none !important; color: #fff !important; border-color: #fff !important; box-shadow: none !important;
}
html.a11y-contrast a, html.a11y-contrast a * { color: #ffeb3b !important; }
html.a11y-contrast .btn, html.a11y-contrast .btn *, html.a11y-contrast .a11y-options button[aria-pressed="true"] { background-color: #ffeb3b !important; color: #000 !important; }
html.a11y-contrast .btn { border: 2px solid #fff !important; }
html.a11y-contrast input, html.a11y-contrast select, html.a11y-contrast textarea { border: 2px solid #fff !important; }
html.a11y-contrast .arch { border: 2px solid #fff; }
html.a11y-contrast .wa-float { background-color: #1f8f4e !important; }

/* ===================== ידע מקצועי ===================== */
.h1-sub { display: block; font-size: .5em; font-weight: 500; color: var(--gold-light); margin-top: .35em; }
.kn-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 2rem; }
.kn-chip { font: inherit; font-size: 1rem; padding: .45em 1.1em; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.kn-chip:hover { border-color: var(--gold); }
.kn-chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.kn-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 22px; }
.kn-card { position: relative; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 26px 28px; display: flex; flex-direction: column; transition: transform .35s, box-shadow .35s; }
.kn-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.kn-card[hidden] { display: none; }
.kn-card h2 { font-size: 1.4rem; margin: .3em 0 .5em; }
.kn-card h2 a { color: var(--navy); text-decoration: none; }
.kn-card h2 a::after { content: ""; position: absolute; inset: 0; } /* כל הכרטיס לחיץ */
.kn-card h2 a:focus-visible { outline: none; }
.kn-card:focus-within { outline: 3px solid var(--gold); outline-offset: 3px; }
.kn-card p { color: var(--muted); margin: 0 0 1.2rem; }
.kn-card .link-arrow { margin-top: auto; }
.kn-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4em 1em; font-size: .95rem; margin: 0; color: var(--muted); }
.page-hero .kn-meta { color: #d3d9e6; margin-top: .6rem; }
.kn-cat { background: var(--cream); color: var(--gold-text); font-weight: 600; padding: .15em .7em; }
.page-hero .kn-cat { background: rgba(255,255,255,.1); color: var(--gold-light); }
.kn-empty { text-align: center; max-width: 640px; margin-inline: auto; padding: 3rem 1.5rem; border: 1px dashed var(--gold); }
.kn-empty p { color: var(--muted); margin: 0; }
.kn-article > .note { margin-top: 2.5rem; }
.topic p + p { margin-top: .6em; }
.field-note { margin: .5rem 0 0; font-size: .92rem; color: var(--muted); }
.disclaimer p { margin: 0 0 .4rem; }
.hero h1 em { white-space: nowrap; }
.form-offline { margin: 20px 0 0; padding: 14px 18px; background: #fff8e6; border-inline-start: 4px solid var(--gold); color: var(--ink, #1b2b4b); }
.contact-form button[disabled] { opacity: .55; cursor: not-allowed; }
/* בתוכנית החינמית של Netlify מופיע בתחתית המסך תג "Powered by Netlify" – מרימים מעליו את כפתורי הנגישות והוואטסאפ */
body:has(#nl-badge-frame) .a11y-toggle, body:has(#nl-badge-frame) .wa-float { bottom: 86px; }
body:has(#nl-badge-frame) .a11y-panel { bottom: 154px; max-height: calc(100vh - 190px); }
