/* =========================================================
   ניר זיגלבוים | תהליכים, מערכות, צמיחה
   צבעים לקוחים מהלוגו. כל הניגודיות נבדקה מול WCAG AA.
   ========================================================= */

:root {
  --navy: #2E3E56;        /* כחול הלוגו: רקע כהה, טקסט ראשי */
  --teal: #446C76;        /* תכלת הלוגו */
  --gold: #A99380;        /* זהב הלוגו: קישוט בלבד (קווים, נקודות) */
  --gold-text: #7A6652;   /* זהב לטקסט על רקע בהיר (5.4:1) */
  --gold-light: #C9B49E;  /* זהב לטקסט על רקע כהה (5.4:1) */
  --ink: #1F2933;
  --muted: #4B5563;       /* טקסט משני (7.5:1) */
  --bg: #FFFFFF;
  --bg-page: #FAF8F5;
  --bg-tint: #F2EDE6;
  --line: #E4E0DA;
  --on-dark: #FFFFFF;
  --on-dark-muted: #D9DEE6;
  --card-dark: rgba(255, 255, 255, 0.06);
  --focus: #1B66C9;
  --wa: #1E7E45;          /* ירוק כהה מספיק לטקסט לבן (5.1:1) */

  --radius: 1.25rem;
  --radius-sm: 0.75rem;
  --shadow: 0 10px 30px rgba(46, 62, 86, 0.08);
  --header-h: 4.5rem;
}

/* מצב ניגודיות גבוהה */
html.hc {
  --navy: #000; --teal: #000; --gold: #FFE600; --gold-text: #FFE600; --gold-light: #FFE600;
  --ink: #FFF; --muted: #FFF; --bg: #000; --bg-page: #000; --bg-tint: #000; --line: #FFF;
  --on-dark: #FFF; --on-dark-muted: #FFF; --card-dark: #000; --focus: #FFE600; --wa: #000;
  --shadow: none;
}
html.hc a { color: #FFE600; }
html.hc .btn, html.hc .card, html.hc .step, html.hc .quote, html.hc .callout,
html.hc .timeline-item, html.hc .faq details, html.hc input, html.hc textarea,
html.hc .site-header, html.hc .wa-float, html.hc .a11y-toggle, html.hc .a11y-panel { border: 2px solid #FFF !important; }
html.hc .brand img { background: #FFF; border-radius: 0.25rem; }

/* ---------- בסיס ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: 'Assistant', 'Segoe UI', Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg-page);
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 1rem; color: var(--navy); font-weight: 800; overflow-wrap: break-word; }
.card-grid > *, .steps > *, .timeline > *, .contact-grid > *, .faq > *, .callout > *, .about-intro > * { min-width: 0; max-width: 100%; }
p, summary, .btn { overflow-wrap: break-word; }
.btn { white-space: normal; text-align: center; }
html.hc h1, html.hc h2, html.hc h3 { color: #FFF; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 4rem); }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--teal); text-underline-offset: 0.2em; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.section-dark :focus-visible { outline-color: #FFE600; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 100;
  background: var(--bg); color: var(--navy); padding: 0.75rem 1.25rem; border-radius: var(--radius-sm);
  font-weight: 700; box-shadow: var(--shadow);
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: 1.25rem; }
.container-narrow { max-width: 48rem; }
@media (min-width: 768px) { .container { padding-inline: 2rem; } }

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.75rem 1.75rem; border-radius: 999px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background-color .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 2.5rem; padding: 0.4rem 1.25rem; }
.btn-primary { background: var(--navy); color: var(--on-dark); }
.btn-primary:hover { background: var(--teal); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--bg-tint); }
.btn-light { background: var(--bg); color: var(--navy); }
.btn-light:hover { background: var(--bg-tint); }
.btn-gold { background: var(--gold-light); color: var(--navy); }
.btn-gold:hover { background: #D8C6B2; }
html.hc .btn { background: #000; color: #FFE600; }

/* ---------- כותרת עליונה ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 245, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(8px);
}
html.hc .site-header { background: #000; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; min-width: 0; flex: 0 1 auto; }
.brand img { height: 2.6rem; width: auto; max-width: 100%; object-fit: contain; object-position: right center; }
.menu-btn { flex-shrink: 0; }
@media (min-width: 768px) { .brand img { height: 3.6rem; } }

.nav-desktop { display: none; }
@media (min-width: 1024px) {
  .nav-desktop { display: flex; align-items: center; gap: 1.75rem; }
  .nav-desktop ul { display: flex; gap: 1.5rem; list-style: none; }
  .nav-desktop ul a { color: var(--navy); font-weight: 600; text-decoration: none; padding-block: 0.5rem; }
  .nav-desktop ul a:hover { text-decoration: underline; }
  html.hc .nav-desktop ul a { color: #FFE600; }
}
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border: 0; border-radius: var(--radius-sm);
  background: transparent; color: var(--navy); cursor: pointer;
}
html.hc .menu-btn { color: #FFF; }
@media (min-width: 1024px) { .menu-btn { display: none; } }

/* ---------- תפריט מובייל ---------- */
dialog { color: var(--ink); }
.mobile-menu {
  width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0;
  border: 0; padding: 5rem 1.5rem 2rem; background: var(--navy); color: var(--on-dark);
}
.mobile-menu::backdrop { background: rgba(0, 0, 0, 0.5); }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.mobile-menu ul a { color: var(--on-dark); font-size: 1.5rem; font-weight: 700; text-decoration: none; }
.mobile-menu ul a:hover { text-decoration: underline; }
.mobile-menu :focus-visible { outline-color: #FFE600; }
.dialog-close {
  position: absolute; top: 1rem; inset-inline-end: 1rem;
  width: 3rem; height: 3rem; display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer;
}

/* ---------- פתיח ---------- */
.hero { padding-block: 3.5rem 4rem; background: linear-gradient(180deg, var(--bg-page) 0%, var(--bg-tint) 100%); }
@media (min-width: 1024px) { .hero { padding-block: 7rem 7rem; } }
.eyebrow { font-weight: 700; color: var(--gold-text); letter-spacing: 0.02em; margin-bottom: 1rem; }
.hero h1 { text-wrap: balance; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.6rem); }
.hero h1 .accent { text-wrap: balance; }
.hero h1 .accent { display: block; color: var(--gold-text); margin-top: 0.35rem; }
.lead { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); color: var(--muted); max-width: 46rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-block: 2rem 1.75rem; }
@media (max-width: 479px) { .hero-actions .btn { width: 100%; } }
.trust { color: var(--muted); font-size: 1rem; border-inline-start: 4px solid var(--gold); padding-inline-start: 0.85rem; margin: 0; }
.trust strong { color: var(--navy); }
html.hc .trust strong { color: #FFF; }

/* ---------- מקטעים ---------- */
.section { padding-block: 4rem; }
@media (min-width: 1024px) { .section { padding-block: 6rem; } }
.section-tint { background: var(--bg-tint); }
.section-dark { background: var(--navy); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: var(--on-dark); }
.section-dark .section-intro, .section-dark .lead { color: var(--on-dark-muted); }
.section-intro { color: var(--muted); font-size: 1.125rem; max-width: 46rem; margin-bottom: 2.5rem; }
.sub-title { margin-top: 3rem; }

/* כרטיסים */
.card-grid { list-style: none; display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .cards-2, .cards-3 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); margin: 0; }
.card-accent { border-inline-start: 5px solid var(--gold); }

/* שלבים */
.steps { list-style: none; counter-reset: step; display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
.step {
  counter-increment: step; position: relative;
  background: var(--card-dark); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius); padding: 1.5rem 1.5rem 1.5rem;
}
.step h3 { display: flex; align-items: center; gap: 0.75rem; color: var(--gold-light); }
.step h3::before {
  content: counter(step); flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--gold-light); color: var(--navy); font-size: 1.1rem;
}
html.hc .step h3::before { background: #FFE600; color: #000; }
.step p { color: var(--on-dark-muted); margin: 0; }
.callout {
  margin-top: 2.5rem; padding: 1.75rem; border-radius: var(--radius);
  background: var(--teal); display: grid; gap: 0.25rem; justify-items: start;
}
.callout h3 { margin-bottom: 0.25rem; }
.callout p { color: var(--on-dark); font-size: 1.125rem; margin-bottom: 1rem; }
@media (min-width: 768px) {
  .callout { grid-template-columns: 1fr auto; align-items: center; column-gap: 2rem; }
  .callout h3, .callout p { grid-column: 1; }
  .callout p { margin: 0; }
  .callout .btn { grid-column: 2; grid-row: 1 / span 2; }
}

/* המלצות */
.quote {
  margin: 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.quote-org { font-weight: 700; color: var(--gold-text); margin-bottom: 0.75rem; }
.quote blockquote { margin: 0 0 1.5rem; flex-grow: 1; }
.quote blockquote p { font-size: 1.2rem; margin: 0; color: var(--ink); }
.quote figcaption { border-top: 1px solid var(--line); padding-top: 1rem; display: flex; flex-direction: column; }
.quote-name { font-weight: 700; color: var(--navy); }
html.hc .quote-name { color: #FFF; }
.quote-role { color: var(--muted); font-size: 0.95rem; }
.quote-link { margin-top: 0.75rem; font-weight: 700; color: var(--teal); }

/* קצת עליי */
.about-intro { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 768px) { .about-intro { grid-template-columns: auto 1fr; gap: 2.5rem; } }
.about-photo { width: 10rem; height: 10rem; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
@media (min-width: 768px) { .about-photo { width: 12rem; height: 12rem; } }
.timeline { display: grid; gap: 1rem; }
@media (min-width: 768px) { .timeline { grid-template-columns: repeat(2, 1fr); align-items: start; } }
.timeline-item, .faq details {
  background: var(--bg-tint); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.timeline-item summary, .faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 1.25rem; padding-inline-end: 3rem; position: relative;
  border-radius: var(--radius-sm);
}
.timeline-item summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.timeline-item summary::after, .faq summary::after {
  content: ""; position: absolute; inset-inline-end: 1.25rem; top: 1.4rem;
  width: 0.6rem; height: 0.6rem; border-inline-end: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform .2s;
}
details[open] > summary::after { transform: rotate(-135deg); top: 1.65rem; }
.tl-title { display: block; font-weight: 700; font-size: 1.15rem; color: var(--gold-text); }
.tl-summary { display: block; color: var(--muted); font-weight: 600; }
.timeline-item p, .faq details p { padding: 0 1.25rem 1.25rem; margin: 0; color: var(--ink); }

/* שאלות נפוצות */
.faq { display: grid; gap: 0.75rem; }
.faq details { background: var(--bg); }
.faq summary { font-weight: 700; font-size: 1.1rem; color: var(--navy); }
html.hc .faq summary { color: #FFF; }

/* יצירת קשר */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } }
.contact-links { list-style: none; display: grid; gap: 0.75rem; margin-top: 1.5rem; }
.contact-links li { min-width: 0; }
.contact-links a { overflow-wrap: anywhere; }
.contact-links a {
  display: inline-flex; align-items: center; min-height: 3rem;
  color: var(--on-dark); font-size: 1.25rem; font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold-light);
}
html.hc .contact-links a { color: #FFE600; }
.contact-form { background: var(--bg); color: var(--ink); border-radius: var(--radius); padding: 1.5rem; }
@media (min-width: 768px) { .contact-form { padding: 2rem; } }
.field { display: grid; gap: 0.35rem; margin-bottom: 1rem; }
.field label { font-weight: 700; color: var(--navy); }
html.hc .field label { color: #FFF; }
.req { color: #B42318; }
html.hc .req { color: #FFE600; }
.field input, .field textarea {
  font: inherit; color: var(--ink); background: var(--bg);
  border: 1.5px solid #8A94A3; border-radius: var(--radius-sm); padding: 0.7rem 0.9rem; width: 100%;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--focus); }
.form-note { font-size: 0.95rem; color: var(--muted); }
.contact-form .btn { width: 100%; }
html.hc .contact-form { border: 2px solid #FFF; }

/* תחתית */
.site-footer { background: var(--navy); color: var(--on-dark-muted); border-top: 1px solid rgba(255,255,255,0.12); padding-block: 1.5rem 6rem; text-align: center; }
@media (min-width: 768px) { .site-footer { padding-bottom: 1.5rem; } }
.site-footer p { margin: 0; }
.site-footer a { color: inherit; text-decoration: underline; padding: 0.25rem; }
.link-btn { font: inherit; color: inherit; background: none; border: 0; padding: 0.25rem; text-decoration: underline; cursor: pointer; }

/* ---------- כפתורים צפים ---------- */
.wa-float, .a11y-toggle {
  position: fixed; bottom: 1rem; z-index: 40;
  width: 3.25rem; height: 3.25rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22); cursor: pointer;
}
.wa-float { inset-inline-end: 1rem; background: var(--wa); color: #FFF; }
.a11y { position: fixed; bottom: 1rem; inset-inline-start: 1rem; z-index: 45; }
.a11y-toggle { position: static; background: var(--navy); color: #FFF; border: 2px solid #FFF; }
.a11y-panel {
  position: absolute; bottom: 4rem; inset-inline-start: 0; width: 15rem;
  background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2); padding: 0.75rem;
}
.a11y-heading { font-weight: 800; color: var(--navy); margin: 0 0 0.5rem; padding-inline: 0.5rem; }
html.hc .a11y-heading { color: #FFF; }
.a11y-panel ul { list-style: none; display: grid; gap: 0.25rem; }
.a11y-panel button {
  width: 100%; text-align: start; font: inherit; color: var(--ink); background: transparent;
  border: 0; border-radius: 0.5rem; padding: 0.6rem 0.5rem; cursor: pointer; min-height: 2.75rem;
}
.a11y-panel button:hover { background: var(--bg-tint); }
.a11y-panel button[aria-pressed="true"] { font-weight: 800; }
.a11y-panel button[aria-pressed="true"]::after { content: " ✓"; }

/* ---------- חלון הצהרה ---------- */
.modal {
  width: min(44rem, calc(100% - 2rem)); max-height: calc(100% - 2rem);
  border: 0; border-radius: var(--radius); padding: 2.5rem 1.5rem 1.5rem; background: var(--bg);
}
@media (min-width: 768px) { .modal { padding: 3rem; } }
.modal::backdrop { background: rgba(0, 0, 0, 0.6); }
.modal h2 { font-size: 1.75rem; }
.modal h3 { font-size: 1.15rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.modal ul { padding-inline-start: 1.25rem; }
.modal li { margin-bottom: 0.35rem; }
.muted { color: var(--muted); font-size: 0.95rem; }
html.hc .modal { border: 2px solid #FFF; }

/* =========================================================
   רכיבים אינטראקטיביים (פוטנציאל, אתגרים, "קרא עוד")
   ========================================================= */

/* לשוניות "מצב קיים / היעד שלנו" */
.tabs {
  display: inline-flex; flex-wrap: wrap; max-width: 100%; padding: 0.3rem; gap: 0.25rem; margin-bottom: 1.5rem;
  background: #ECE8E2; border-radius: 999px;
}
.tab {
  font: inherit; font-weight: 700; color: var(--muted); background: transparent;
  border: 0; border-radius: 999px; padding: 0.6rem 1.25rem; min-height: 2.75rem; cursor: pointer;
}
.tab[aria-selected="true"] { background: var(--bg); color: var(--navy); box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
html.hc .tabs { background: #000; border: 2px solid #FFF; }
html.hc .tab { color: #FFF; }
html.hc .tab[aria-selected="true"] { background: #FFE600; color: #000; }
.potential-card {
  background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.75rem; border-inline-start: 8px solid #748494; max-width: 62rem;
}
.potential-card.is-after { border-inline-start-color: var(--gold); }
.potential-list { list-style: none; display: grid; gap: 1rem 2.5rem; font-size: 1.1rem; }
.potential-list li { position: relative; padding-inline-start: 1.25rem; }
.potential-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.65em; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #748494; }
.potential-list.after li::before { background: var(--gold); }
.potential-list strong { color: var(--navy); }
html.hc .potential-list strong { color: #FFF; }
@media (min-width: 768px) { .potential-list { grid-template-columns: repeat(2, 1fr); } }

/* כפתור "הצג עוד" (מובייל בלבד) */
.show-more {
  font: inherit; font-weight: 700; color: var(--gold-text); background: none; border: 0;
  text-decoration: underline; cursor: pointer; padding: 0.5rem 0; margin-top: 1rem; min-height: 2.75rem;
}
.show-more::after { content: " +"; }
.show-more[aria-expanded="true"]::after { content: " −"; }
.show-more-outline {
  display: block; margin: 1.25rem auto 0; text-decoration: none;
  border: 2px solid var(--gold-text); border-radius: 999px; padding: 0.5rem 1.75rem;
}
@media (min-width: 768px) { .show-more { display: none; } }
@media (max-width: 767px) {
  html.js [data-collapsed="true"] .more-item { display: none; }
}
html.no-js .show-more { display: none; }

/* אתגרים */
.challenge-grid li { display: flex; }
.challenge {
  width: 100%; text-align: start; font: inherit; cursor: pointer;
  background: var(--bg); color: var(--ink); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 1.35rem 1.5rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 0.35rem;
  transition: border-color .2s;
}
.challenge:hover { border-color: var(--gold); }
.challenge[aria-pressed="true"] { border-color: var(--gold-text); background: #FFFDF9; }
html.hc .challenge { background: #000; border-color: #FFF; }
html.hc .challenge[aria-pressed="true"] { border-color: #FFE600; border-width: 4px; }
.ch-title { font-weight: 700; font-size: 1.2rem; color: var(--navy); }
.ch-sub { color: var(--muted); }
html.hc .ch-title { color: #FFE600; }
.challenge-detail {
  margin-top: 1.5rem; background: var(--navy); color: var(--on-dark); border-radius: var(--radius);
  padding: 1.75rem; min-height: 7rem; box-shadow: var(--shadow);
}
.challenge-detail p { margin: 0; font-size: 1.2rem; }
html.hc .challenge-detail { border: 2px solid #FFF; }

/* כרטיסים כהים ("למה לבחור בי") */
.card-dark {
  background: var(--card-dark); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius);
  padding: 1.5rem; border-inline-start: 5px solid var(--gold-light);
}
.card-dark h3 { color: var(--on-dark); margin-bottom: 0.5rem; }
.card-dark p { color: var(--on-dark-muted); margin: 0; }

/* "קרא עוד" במובייל */
.read-more {
  font: inherit; font-weight: 700; color: var(--gold-light); background: none; border: 0;
  padding: 0.5rem 0; min-height: 2.75rem; cursor: pointer; text-decoration: underline;
}
@media (min-width: 768px) { .read-more { display: none; } }
html.no-js .read-more { display: none; }
@media (max-width: 767px) {
  html.js .collapsible:not(.is-open) .collapsible-body { display: none; }
  .collapsible .read-more { margin-top: 0.25rem; }
  .step h3, .card-dark h3 { margin-bottom: 0.25rem; }
  .collapsible.is-open .collapsible-body { margin-bottom: 0.5rem; }
}
@media (max-width: 479px) {
  .tabs { display: flex; }
  .tab { flex: 1 1 0; min-width: 0; padding-inline: 0.75rem; overflow-wrap: anywhere; }
}
.step h3 { overflow-wrap: anywhere; }

/* עם מי אני עובד */
.audience { border-top: 5px solid var(--gold); }
.audience h3 { font-size: 1.35rem; }

/* =========================================================
   עמודי קהלים
   ========================================================= */
.audience { display: flex; flex-direction: column; }
.audience p { flex-grow: 1; margin-bottom: 1rem; }
.text-link { font-weight: 700; color: var(--teal); }
.text-link::after { content: " ←"; }
html.hc .text-link { color: #FFE600; }

.hero-sub { padding-block: 2.5rem 3rem; }
@media (min-width: 1024px) { .hero-sub { padding-block: 4.5rem 4.5rem; } }
.hero-sub h1 { max-width: 24ch; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.25rem); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; font-size: 0.95rem; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin-inline-end: 0.4rem; }
.breadcrumb a { color: var(--teal); }
html.hc .breadcrumb a { color: #FFE600; }

.check-list { list-style: none; display: grid; gap: 0.9rem 2.5rem; font-size: 1.125rem; }
@media (min-width: 768px) { .check-list { grid-template-columns: repeat(2, 1fr); } }
.check-list li { position: relative; padding-inline-start: 2rem; color: var(--on-dark); min-width: 0; }
.check-list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0.3em;
  width: 1.1rem; height: 0.6rem; border-inline-start: 3px solid var(--gold-light); border-bottom: 3px solid var(--gold-light);
  transform: rotate(-45deg);
}
@media (min-width: 1024px) { .steps-3 { grid-template-columns: repeat(3, 1fr); } }

.talk-direct { color: var(--on-dark-muted); margin-top: 1rem; }
.talk-direct a { color: var(--on-dark); overflow-wrap: anywhere; }
html.hc .talk-direct a { color: #FFE600; }
.other-pages { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.18); }
.other-pages p { margin-bottom: 0.5rem; color: var(--on-dark-muted); }
.other-pages ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.other-pages a { color: var(--on-dark); font-weight: 700; }
html.hc .other-pages a { color: #FFE600; }

/* עם מי אני עובד: שורה בפתיח */
.audience-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.9rem; margin-top: 1.5rem; }
.audience-strip p { margin: 0; font-weight: 700; color: var(--navy); }
html.hc .audience-strip p { color: #FFF; }
.audience-strip ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.audience-strip a {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.4rem 1.1rem;
  border-radius: 999px; background: var(--bg); border: 1.5px solid var(--gold);
  color: var(--navy); font-weight: 700; text-decoration: none;
}
.audience-strip a:hover { background: var(--bg-tint); border-color: var(--gold-text); }
html.hc .audience-strip a { background: #000; color: #FFE600; border: 2px solid #FFE600; }

@media (max-width: 767px) {
  .hero:not(.hero-sub) { padding-block: 1.75rem 2.5rem; }
  .hero .eyebrow { margin-bottom: 0.5rem; }
  .audience-strip { margin-top: 1.25rem; }
  .audience-strip ul { gap: 0.4rem; }
  .audience-strip a { padding-inline: 0.85rem; font-size: 0.98rem; }
  .hero-actions { margin-block: 1.5rem 0; }
}
@media (max-width: 479px) {
  .hero-actions .btn { width: auto; flex: 1 1 auto; padding-inline: 1.1rem; }
}

/* =========================================================
   סיפורים מהשטח
   ========================================================= */
.story-grid { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .story-grid { grid-template-columns: repeat(2, 1fr); align-items: start; } }
.story {
  min-width: 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow); border-top: 5px solid var(--gold);
}
@media (min-width: 768px) { .story { padding: 2.25rem; } }
.story-org { font-weight: 700; color: var(--gold-text); margin-bottom: 0.4rem; }
.story h3 { font-size: 1.45rem; margin-bottom: 1rem; }
.story > p { max-width: 62ch; }
.story-quote { margin: 1.5rem 0 0; padding: 1.25rem 1.25rem 1rem; background: var(--bg-tint); border-radius: var(--radius-sm); border-inline-start: 4px solid var(--teal); }
.story-quote blockquote { margin: 0 0 0.75rem; }
.story-quote blockquote p { margin: 0; font-size: 1.08rem; color: var(--ink); }
.story-quote figcaption { display: flex; flex-direction: column; }
html.hc .story-quote { border: 2px solid #FFF; }

/* האם זה מוכר לכם: מצב + מה משתנה */
.ch-card { display: flex; flex-direction: column; gap: 0.6rem; }
.ch-card h3 { margin: 0; }
.ch-card p { margin: 0; }
.ch-card .ch-change { margin-top: auto; padding-top: 0.75rem; border-top: 1px solid var(--line); color: var(--ink); }
.ch-card .ch-change strong { color: var(--teal); }
html.hc .ch-card .ch-change strong { color: #FFE600; }

/* =========================================================
   מעבר מסך-מסך במחשב
   הגלילה "ננעלת" על תחילת כל מקטע, אבל מקטע ארוך ממסך
   נגלל בחופשיות, כך ששום תוכן לא נחתך.
   ========================================================= */
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  html.js.snap { scroll-snap-type: y mandatory; scroll-padding-top: var(--header-h); }
  html.js.snap main > section {
    scroll-snap-align: start;
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
    display: flex; flex-direction: column; justify-content: center;
  }
  html.js.snap main > section > .container { width: 100%; }
  html.js.snap .site-footer { scroll-snap-align: end; }
}

/* נקודות ניווט */
.section-dots { display: none; }
@media (min-width: 1024px) {
  .section-dots {
    display: block; position: fixed; z-index: 30; top: 50%; transform: translateY(-50%);
    inset-inline-end: 1.25rem;
    background: rgba(46, 62, 86, 0.55); border-radius: 999px; padding: 0.6rem 0.35rem;
  }
  .section-dots ul { list-style: none; display: grid; gap: 0.15rem; }
  .section-dots a {
    position: relative; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%;
  }
  .section-dots a::before {
    content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%;
    background: rgba(255, 255, 255, 0.55); transition: transform .2s, background-color .2s;
  }
  .section-dots a[aria-current="true"]::before { background: var(--gold-light); transform: scale(1.5); }
  .section-dots a:hover::before { background: #FFF; }
  .dot-label {
    position: absolute; inset-inline-end: calc(100% + 0.6rem); top: 50%; transform: translateY(-50%);
    white-space: nowrap; background: var(--navy); color: #FFF; font-size: 0.9rem; font-weight: 700;
    padding: 0.25rem 0.7rem; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .15s;
    clip: auto;
  }
  .section-dots a:hover .dot-label, .section-dots a:focus-visible .dot-label { opacity: 1; }
  html.hc .section-dots { background: #000; border: 2px solid #FFF; }
  html.hc .section-dots a[aria-current="true"]::before { background: #FFE600; }
}

/* כניסה עדינה של מקטעים */
@media (prefers-reduced-motion: no-preference) {
  html.js.reveal main > section:not(.in-view) > .container { opacity: 0; transform: translateY(18px); }
  html.js.reveal main > section > .container { transition: opacity .6s ease-out, transform .6s ease-out; }
}

/* סיפורים: "קרא עוד" על רקע בהיר */
.story .read-more { color: var(--gold-text); margin-bottom: 0.25rem; }
@media (min-width: 768px) { .story .collapsible-body { display: block; } }
.story .collapsible-body > p { max-width: 62ch; margin: 0 0 1rem; }

/* =========================================================
   מובייל: מבינים בכמה שניות
   בכל מקטע רואים כותרות, והפירוט נפתח בלחיצה. במחשב הכול פתוח.
   ========================================================= */
.section:not(.section-dark) .read-more { color: var(--gold-text); }
.ch-card > .collapsible-body { display: flex; flex-direction: column; gap: 0.6rem; flex-grow: 1; }
.ch-card > .collapsible-body .ch-change { margin-top: auto; }
.form-toggle { display: none; }

@media (max-width: 767px) {
  .section { padding-block: 2.75rem; }
  .section h2 { margin-bottom: 0.75rem; }
  .section-intro { margin-bottom: 1.5rem; }
  .card-grid { gap: 0.75rem; }
  .card, .card-dark { padding: 1.1rem 1.25rem; }
  .audience h3, .ch-card h3 { margin-bottom: 0; }
  .audience p { margin-bottom: 0.5rem; }
  .audience .text-link { margin-top: 0.25rem; }
  .story { padding: 1.25rem; }
  .story h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
  .about-photo { width: 7rem; height: 7rem; }
  .sub-title { margin-top: 2rem; }

  html.js .form-toggle { display: inline-flex; width: 100%; }
  html.js .contact-grid:not(.form-open) .contact-form { display: none; }
  html.js .contact-grid.form-open .form-toggle { display: none; }
  .contact-grid { gap: 1.5rem; }
}
.collapsible > .read-more { align-self: flex-start; }
.audience > .collapsible-body { display: flex; flex-direction: column; flex-grow: 1; }
.audience > .collapsible-body p { flex-grow: 1; margin-bottom: 1rem; }
@media (max-width: 767px) {
  .step { padding: 1.1rem 1.25rem; }
  .audience > .collapsible-body p { margin-bottom: 0.5rem; }
}
.story-body > p { max-width: 62ch; margin: 0 0 1rem; }
/* סיפור שלישי: לרוחב שתי העמודות במחשב */
@media (min-width: 1024px) {
  .story-grid > .story:nth-child(3) { grid-column: 1 / -1; }
  .story-grid-single { grid-template-columns: 1fr; max-width: 48rem; }
}
/* חמישה שלבים: 3 למעלה, 2 למטה במחשב */
@media (min-width: 768px) and (max-width: 1023px) { .steps-5 > li:last-child { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .steps-5 { grid-template-columns: repeat(6, 1fr); }
  .steps-5 > li { grid-column: span 2; }
  .steps-5 > li:nth-child(n+4) { grid-column: span 3; }
}

/* =========================================================
   דף בית בחמישה מקטעים
   ========================================================= */
/* כפתורי הקהלים בפתיח: הדרך העיקרית להמשיך */
.audience-strip { margin-top: 1.75rem; }
.audience-strip a { border: 2px solid var(--navy); min-height: 3rem; font-size: 1.05rem; padding-inline: 1.2rem; }
.audience-strip a::after { content: "←"; margin-inline-start: 0.5rem; transition: transform .2s; }
.audience-strip a:hover { background: var(--navy); color: var(--on-dark); }
.audience-strip a:hover::after { transform: translateX(-3px); }
html.hc .audience-strip a:hover { background: #000; color: #FFE600; }

/* איך אני עובד: תחנות על קו */
.stations { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 1.5rem; }
.stations::before {
  content: ""; position: absolute; top: 1.5rem; bottom: 1.5rem; inset-inline-start: calc(1.5rem - 1px);
  width: 2px; background: var(--gold-light); opacity: .7;
}
.station { position: relative; display: flex; gap: 1rem; align-items: flex-start; min-width: 0; }
.st-num {
  flex-shrink: 0; position: relative; z-index: 1; display: grid; place-items: center;
  width: 3rem; height: 3rem; border-radius: 50%; background: var(--navy);
  border: 2px solid var(--gold-light); color: var(--gold-light); font-weight: 800; font-size: 1.25rem;
}
.station.optional .st-num { border-style: dashed; }
.station.final .st-num { background: var(--gold-light); color: var(--navy); }
.st-body { min-width: 0; }
.st-body h3 { color: var(--on-dark); margin: 0.65rem 0 0.35rem; font-size: 1.2rem; }
.st-body p { color: var(--on-dark-muted); margin: 0; }
.st-body .st-tag {
  display: inline-block; margin: 0 0 0.4rem; padding: 0.05rem 0.55rem; border-radius: 3px;
  background: var(--gold-light); color: var(--navy); font-size: 0.82rem; font-weight: 800;
}
html.hc .st-num { background: #000; border-color: #FFE600; color: #FFE600; }
html.hc .station.final .st-num { background: #FFE600; color: #000; }
html.hc .st-body .st-tag { background: #FFE600; color: #000; }
@media (min-width: 1024px) {
  .stations { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.75rem; }
  .stations::before {
    top: calc(1.5rem - 1px); bottom: auto; height: 2px; width: auto;
    inset-inline-start: 1.5rem; inset-inline-end: calc((100% - 4 * 1.75rem) / 5 - 1.5rem);
  }
  .station { flex-direction: column; gap: 0; }
  .st-body h3 { margin-top: 1rem; }
}

/* נעים מאוד: קו זמן גלוי */
.timeline-line { position: relative; gap: 0; }
.timeline-line .timeline-item { background: transparent; border: 0; border-radius: 0; position: relative; }
.timeline-line .timeline-item::before {
  content: ""; position: absolute; width: 0.85rem; height: 0.85rem; border-radius: 50%; background: var(--navy);
}
.timeline-line .timeline-item:last-child::before { background: var(--gold); box-shadow: 0 0 0 4px #EFE7DD; }
html.hc .timeline-line .timeline-item::before { background: #FFE600; box-shadow: none; }
@media (max-width: 1023px) {
  .timeline-line { grid-template-columns: 1fr; border-inline-start: 2px solid var(--navy); margin-inline-start: 0.4rem; }
  .timeline-line .timeline-item::before { top: 1.25rem; inset-inline-start: calc(-0.425rem - 1px); }
  .timeline-line .timeline-item summary { padding-inline-start: 1.5rem; }
  .timeline-line .timeline-item p { padding-inline-start: 1.5rem; }
}
@media (min-width: 1024px) {
  .timeline-line { grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--navy); align-items: start; column-gap: 1.25rem; }
  .timeline-line .timeline-item::before { top: calc(-0.425rem - 1px); inset-inline-start: 0; }
  .timeline-line .timeline-item summary { padding: 1.4rem 0 0.75rem; padding-inline-end: 2rem; }
  .timeline-line .timeline-item summary::after { top: 1.75rem; inset-inline-end: 0.25rem; }
  .timeline-line .timeline-item p { padding: 0 0 1rem; font-size: 0.98rem; color: var(--muted); }
}
.nav-desktop ul a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
.mobile-menu ul a[aria-current="page"] { text-decoration: underline; }

/* נעים מאוד: הדרך, עם שנים */
.path { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; border-inline-start: 2px solid var(--navy); margin-inline-start: 0.4rem; }
.path-item { position: relative; padding: 0 1.5rem 1.5rem; min-width: 0; }
.path-item::before {
  content: ""; position: absolute; top: 0.35rem; inset-inline-start: calc(-0.45rem - 1px);
  width: 0.9rem; height: 0.9rem; border-radius: 50%; background: var(--navy);
}
.path-item.now::before { background: var(--gold); box-shadow: 0 0 0 4px #EFE7DD; }
.path-years { margin: 0; font-size: 0.9rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.path-item h4 { margin: 0.1rem 0 0; font-size: 1.15rem; color: var(--gold-text); }
.path-org { margin: 0 0 0.4rem; font-weight: 600; color: var(--navy); }
.path-item .collapsible-body { margin: 0; color: var(--ink); }
.path-item .read-more { color: var(--gold-text); }
html.hc .path { border-color: #FFF; }
html.hc .path-item::before { background: #FFE600; box-shadow: none; }
html.hc .path-item h4, html.hc .path-org { color: #FFF; }
@media (min-width: 1100px) {
  .path { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 1.25rem; border-inline-start: 0; border-top: 2px solid var(--navy); margin-inline-start: 0; }
  .path-item { padding: 1.4rem 0 0; }
  .path-item::before { top: calc(-0.45rem - 1px); inset-inline-start: 0; }
  .path-item .collapsible-body { font-size: 0.98rem; }
}
.story-tag {
  display: inline-block; margin: 0 0 0.6rem; padding: 0.1rem 0.6rem; border-radius: 999px;
  border: 1px solid var(--teal); color: var(--teal); font-size: 0.85rem; font-weight: 700;
}
html.hc .story-tag { border-color: #FFE600; color: #FFE600; }
/* פתיח: שאלה אחת ושלוש תשובות ברוחב שווה */
.hero .audience-strip { display: grid; gap: 0.75rem; max-width: 46rem; margin-top: 2rem; }
.hero .audience-strip p { font-size: 1.1rem; }
.hero .audience-strip ul { display: grid; grid-template-columns: 1fr; gap: 0.6rem; }
.hero .audience-strip a { justify-content: space-between; width: 100%; min-height: 3.25rem; background: var(--bg); }
@media (min-width: 640px) { .hero .audience-strip ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hero .audience-strip a { justify-content: center; } }
/* כפתורי הקהלים בפתיח: מצב ריחוף (גובר על רקע הבסיס הלבן) */
.hero .audience-strip a:hover, .hero .audience-strip a:focus-visible { background: var(--navy); color: var(--on-dark); }
html.hc .hero .audience-strip a:hover, html.hc .hero .audience-strip a:focus-visible { background: #000; color: #FFE600; }
/* פתיח: שורת תחומי העבודה */
.hero .hero-services { margin: 1.25rem 0 0; max-width: 46rem; font-size: 1rem; font-weight: 600; color: var(--gold-text); line-height: 1.7; }
html.hc .hero .hero-services { color: #FFF; }
.hero .hero-services { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.15rem 0; }
.hero .hero-services li { white-space: nowrap; }
.hero .hero-services li + li::before { content: "·"; margin-inline: 0.55rem; }
@media (max-width: 380px) { .hero .hero-services li { white-space: normal; } }
.hero .hero-services { max-width: none; gap: 0.2rem 1.4rem; }
.hero .hero-services li::before, .hero .hero-services li + li::before { content: ""; display: inline-block; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--gold); margin-inline: 0 0.5rem; vertical-align: middle; }
html.hc .hero .hero-services li::before { background: #FFE600; }
/* פתיח: שני מסלולים ראשיים וקישור משני לעסקים קטנים */
@media (min-width: 640px) { .hero .audience-strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hero .audience-strip .audience-more { margin: 0.25rem 0 0; font-size: 1rem; }
.hero .audience-strip .audience-more a { display: inline; width: auto; min-height: 0; padding: 0.25rem 0; border: 0; border-radius: 0; background: none; font-size: 1rem; font-weight: 600; color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.hero .audience-strip .audience-more a:hover, .hero .audience-strip .audience-more a:focus-visible { background: none; color: var(--navy); }
html.hc .hero .audience-strip .audience-more a { background: none; border: 0; color: #FFE600; }

/* מעבר מסך-מסך: מקטע "מהעבודה בשטח" נדחס כדי שייכנס במסך אחד */
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  html.js.snap main > section:has(.story-grid) { padding-block: 1.5rem; }
  html.js.snap main > section:has(.story-grid) h2 { margin-bottom: 1rem; }
  html.js.snap .story { padding: 1.4rem 1.6rem; }
  html.js.snap .story h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
  html.js.snap .story p, html.js.snap .story .collapsible-body > p, html.js.snap .story-body > p { font-size: 0.97rem; line-height: 1.5; margin-bottom: 0.6rem; }
  html.js.snap .story-quote { margin-top: 0.8rem; padding: 0.8rem 1rem 0.7rem; }
  html.js.snap .story-quote blockquote p { font-size: 0.98rem; }
}

/* מעבר מסך-מסך מותאם לגובה המסך:
   כל הגדלים באתר מבוססים על rem, ולכן הקטנת גודל הבסיס לפי גובה המסך
   מקטינה טקסט וריווחים יחד, כך שכל מקטע נכנס במסך אחד. */
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  html.js.snap { font-size: clamp(12.5px, calc(100vh / 60), 16px); }
}
/* מסך נמוך מאוד, או טקסט שהוגדל בתפריט הנגישות: גלילה רגילה במקום מעבר מסך-מסך */
@media (min-width: 1024px) and (max-height: 649px) {
  html.js.snap { scroll-snap-type: none; }
  html.js.snap main > section { min-height: 0; }
}
html.js.snap[style*="font-size"] { scroll-snap-type: none; }
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  html.js.snap .site-header { border-bottom: 0; box-shadow: 0 1px 0 var(--line); }
}
