/* =========================================================
   פסגת הבטיחות | עיצוב ראשי
   פלטה: כחול עומק + צהוב בטיחות | RTL | ת"י 5568
   ========================================================= */

:root {
  --navy: #0a2e52;
  --navy-800: #0d3a67;
  --blue: #11529e;
  --blue-soft: #e7f0fa;
  --yellow: #f08020;   /* כתום המותג מהלוגו */
  --yellow-dark: #c9660d;
  --yellow-soft: #fdecd9;
  --ink: #14212e;
  --muted: #51606f;
  --paper: #ffffff;
  --bg: #f4f7fa;
  --line: #d9e2ec;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 46, 82, 0.10);
  --shadow-sm: 0 3px 10px rgba(10, 46, 82, 0.08);
  --stripe: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, var(--navy) 14px 28px);
  --font-body: "Heebo", "Segoe UI", Arial, sans-serif;
  --font-display: "Secular One", "Heebo", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; }

a { color: var(--blue); }
a:hover { color: var(--navy); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.25;
  color: var(--navy);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.22rem; }

p { margin: 0 0 1em; }

.container {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

/* ---------- נגישות: skip link + פוקוס ---------- */
.visually-hidden {
  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: -60px;
  right: 12px;
  z-index: 3000;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  transition: top .2s;
}
.skip-link:focus { top: 0; color: #fff; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- פס חתימה: סרט סימון ---------- */
.stripe { height: 8px; background: var(--stripe); }
.stripe--thin { height: 5px; }

/* ---------- כותרת עליונה ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.7rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.15;
}
.logo-img {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 10px;
}
.logo small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--muted);
}

.main-nav { margin-inline-start: auto; }
.main-nav ul {
  display: flex;
  gap: 0.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.main-nav a {
  display: block;
  padding: 0.55rem 0.85rem;
  border-radius: 9px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.main-nav a:hover { background: var(--blue-soft); color: var(--navy); }
.main-nav a[aria-current="page"] {
  background: var(--navy);
  color: #fff;
}

.nav-cta { margin-inline-start: 0.5rem; }

.nav-toggle {
  display: none;
  margin-inline-start: auto;
  background: none;
  border: 2px solid var(--navy);
  border-radius: 9px;
  padding: 0.45rem 0.6rem;
  color: var(--navy);
  cursor: pointer;
}

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.7rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); transition-duration: .05s; }
.btn svg { flex: 0 0 auto; }

.btn-yellow {
  background: linear-gradient(180deg, #f6a04e 0%, var(--yellow) 55%, #e07314 100%);
  color: var(--navy);
  border-color: #c8650e;
  box-shadow: 0 2px 0 #a55408, 0 10px 20px rgba(240, 128, 32, 0.30);
}
.btn-yellow:hover {
  background: linear-gradient(180deg, #f8b06a 0%, #f28c2e 55%, #e57a18 100%);
  color: var(--navy);
  box-shadow: 0 3px 0 #a55408, 0 14px 26px rgba(240, 128, 32, 0.42);
}

.btn-navy {
  background: linear-gradient(180deg, #17599f 0%, var(--navy-800) 60%, var(--navy) 100%);
  color: #fff;
  border-color: #082645;
  box-shadow: 0 2px 0 #05192e, 0 10px 20px rgba(10, 46, 82, 0.28);
}
.btn-navy:hover {
  background: linear-gradient(180deg, #1d67b6 0%, #10457c 60%, #0c3560 100%);
  color: #fff;
  box-shadow: 0 3px 0 #05192e, 0 14px 26px rgba(10, 46, 82, 0.36);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--blue-soft); color: var(--navy); }

.btn-whatsapp {
  background: linear-gradient(180deg, #4ce38a 0%, #25d366 55%, #1cbb58 100%);
  color: #05351b;
  border-color: #16994a;
  box-shadow: 0 2px 0 #107a3a, 0 10px 20px rgba(37, 211, 102, 0.30);
}
.btn-whatsapp:hover {
  background: linear-gradient(180deg, #63e99a 0%, #31da70 55%, #1ec75e 100%);
  color: #05351b;
  box-shadow: 0 3px 0 #107a3a, 0 14px 26px rgba(37, 211, 102, 0.42);
}

/* כפתור הטלפון בתפריט: קומפקטי יותר */
.nav-cta .btn {
  padding: 0.55rem 1.15rem;
  font-size: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 0 #a55408, 0 6px 14px rgba(240, 128, 32, 0.22);
}

/* כפתורי ההירו: מודגשים יותר */
.hero-actions .btn { padding: 0.95rem 1.9rem; font-size: 1.08rem; }

/* כפתור מתאר על רקע כהה (רצועות CTA) */
.cta-band .btn-outline { border-color: #fff; color: #fff; }
.cta-band .btn-outline:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }

/* ---------- הירו ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(240, 128, 32, 0.16), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-800) 55%, var(--blue) 100%);
  color: #fff;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  padding: 4rem 0 4.2rem;
}
.hero h1 { color: #fff; margin-bottom: 0.4em; }
.hero h1 .hl {
  color: var(--yellow);
}
.hero .lead {
  font-size: 1.18rem;
  color: #dbe7f5;
  max-width: 34rem;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(240, 128, 32, 0.14);
  border: 1px solid rgba(240, 128, 32, 0.5);
  color: var(--yellow);
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1.1rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #cfdef0;
  font-size: 0.95rem;
}
.hero-trust b { display: block; color: #fff; font-size: 1.05rem; }

.hero-figure {
  display: flex;
  justify-content: center;
}

/* ---------- פס אמון ---------- */
.trustbar {
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  padding: 0.7rem 0;
}
.trustbar ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 2.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.98rem;
}
.trustbar li { display: flex; align-items: center; gap: 0.45rem; }

/* ---------- מקטעים ---------- */
.section { padding: 4.2rem 0; }
.section--gray { background: var(--bg); }
.section--navy { background: var(--navy); color: #e8f0f9; }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 46rem; margin-bottom: 2.4rem; }
.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 100px;
  padding: 0.25rem 0.9rem;
  margin-bottom: 0.8rem;
}
.section--navy .eyebrow { background: rgba(255,255,255,0.12); color: var(--yellow); }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section--navy .section-head p { color: #c6d6e8; }

/* ---------- כרטיסים ---------- */
.grid {
  display: grid;
  gap: 1.3rem;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-top: 0.7rem; }
.card p { color: var(--muted); margin-bottom: 0; }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
}
.card--service { border-top: 4px solid var(--yellow); }

/* ---------- תהליך ---------- */
.steps { counter-reset: step; }
.step {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.5rem;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}
.step h3 { margin: 0 0 0.4rem; }
.step p { color: var(--muted); margin: 0; }

/* ---------- המלצות ---------- */
.quote {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.quote p { font-size: 1.02rem; }
.quote footer, .quote-author { color: var(--muted); font-size: 0.92rem; font-weight: 600; margin: 0; }
.quote .stars { color: var(--yellow-dark); letter-spacing: 2px; }

/* ---------- שאלות נפוצות ---------- */
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 0.8rem;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 1.3rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--blue);
  line-height: 1;
  flex: 0 0 auto;
}
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { border-bottom: 1px dashed var(--line); }
.faq .faq-body { padding: 1rem 1.3rem 1.2rem; color: var(--muted); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- רצועת קריאה לפעולה ---------- */
.cta-band {
  position: relative;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 2.6rem 2.2rem;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 10px;
  background: var(--stripe);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #cddcee; max-width: 38rem; }

/* ---------- טפסים ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.35rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-weight: 700; color: var(--navy); font-size: 0.98rem; }
.form-field .req { color: #b3261e; }
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(17, 82, 158, 0.25);
}
.form-hint { font-size: 0.86rem; color: var(--muted); }
.form-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.94rem;
  color: var(--muted);
}
.form-consent input { margin-top: 0.3rem; width: 18px; height: 18px; }
.form-status { font-weight: 700; margin-top: 0.8rem; }
.form-status.ok { color: #1c7a3d; }
.form-status.err { color: #b3261e; }

/* ---------- דף פנימי / מאמר ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy), var(--blue));
  color: #fff;
  padding: 2.8rem 0;
}
.page-hero h1 { color: #fff; margin-bottom: 0.2em; }
.page-hero p { color: #d4e2f2; max-width: 42rem; margin: 0; }
.breadcrumbs {
  font-size: 0.88rem;
  margin-bottom: 0.9rem;
  color: #b9cde3;
}
.breadcrumbs a { color: var(--yellow); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2.6rem;
  padding: 3.4rem 0;
}
.article-body h2 {
  font-size: 1.55rem;
  margin-top: 1.8em;
  padding-top: 0.4em;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin-top: 1.4em; }
.article-body ul, .article-body ol { padding-inline-start: 1.4rem; }
.article-body li { margin-bottom: 0.45em; }
.article-meta {
  display: flex;
  gap: 1.2rem;
  color: var(--muted);
  font-size: 0.92rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.1rem;
  margin-bottom: 1.6rem;
}
.callout {
  background: var(--yellow-soft);
  border-inline-start: 5px solid var(--yellow);
  border-radius: 10px;
  padding: 1.1rem 1.3rem;
  margin: 1.4rem 0;
}
.callout--blue {
  background: var(--blue-soft);
  border-inline-start-color: var(--blue);
}
.callout p:last-child { margin-bottom: 0; }

.sidebar .card { margin-bottom: 1.2rem; }
.sidebar .card ul { list-style: none; margin: 0; padding: 0; }
.sidebar .card li { border-bottom: 1px dashed var(--line); }
.sidebar .card li:last-child { border-bottom: 0; }
.sidebar .card li a {
  display: block;
  padding: 0.55rem 0;
  text-decoration: none;
  font-weight: 600;
}

table.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0;
  font-size: 0.98rem;
}
.info-table th, .info-table td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.85rem;
  text-align: start;
}
.info-table th { background: var(--blue-soft); color: var(--navy); }
.info-table tr:nth-child(even) td { background: var(--bg); }

/* ---------- בלוג ---------- */
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card-top {
  height: 10px;
  background: var(--stripe);
}
.post-card-body { padding: 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.post-tag {
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 100px;
  padding: 0.15rem 0.7rem;
}
.post-card h3 a { color: var(--navy); text-decoration: none; }
.post-card h3 a:hover { color: var(--blue); }
.post-card p { color: var(--muted); margin: 0; flex: 1; }
.post-more { font-weight: 700; text-decoration: none; }

/* ---------- פוטר ---------- */
.site-footer {
  background: var(--navy);
  color: #c9d8e9;
  padding: 3rem 0 0;
  font-size: 0.97rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}
.site-footer h3 {
  color: var(--yellow);
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: #e3edf8; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.1rem 0;
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

/* ---------- כפתורים צפים ---------- */
.float-actions {
  position: fixed;
  bottom: 20px;
  inset-inline-end: 20px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 22px rgba(10, 46, 82, 0.32);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.float-btn:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 12px 28px rgba(10, 46, 82, 0.4); }
.float-btn--wa { background: #25d366; }
.float-btn--tel { background: var(--navy); color: var(--yellow); }
.float-btn--tel:hover { color: var(--yellow); }

/* ---------- מובייל ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding: 3rem 0; }
  .hero-figure { display: none; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    padding: 0.8rem 1.2rem 1.2rem;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .main-nav a { padding: 0.8rem 0.9rem; }
  .nav-cta { margin: 0.4rem 0 0; }

  /* הירו: כפתורים ברוחב מלא, אחיד ונקי */
  .hero-inner { padding: 2.6rem 0 2.8rem; gap: 1.6rem; }
  .hero .lead { font-size: 1.08rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .hero-actions .btn { width: 100%; padding: 0.95rem 1.2rem; font-size: 1.05rem; }

  /* נתוני אמון: שורה אחת לכל נתון, המספר והתיאור ביחד */
  .hero-trust { flex-direction: column; gap: 0.65rem; margin-top: 1.6rem; padding-top: 1.2rem; }
  .hero-trust div { display: flex; align-items: baseline; gap: 0.45rem; flex-wrap: wrap; }
  .hero-trust b { display: inline; font-size: 1.08rem; }

  /* פס הבדיקות הצהוב: רשימה מיושרת לימין במקום שורות קופצות */
  .trustbar { padding: 1rem 0; }
  .trustbar ul { flex-direction: column; align-items: flex-start; gap: 0.55rem; font-size: 1rem; }

  /* נשימה נכונה למקטעים ולרצועות במסך צר */
  .section { padding: 3rem 0; }
  .cta-band { padding: 2rem 1.4rem; }
  .cta-band .hero-actions .btn { width: 100%; }
}

/* =========================================================
   מצבי תוסף נגישות (ת"י 5568) — מוחלים על תגית html
   ========================================================= */
.a11y-fs-1 { font-size: 108%; }
.a11y-fs-2 { font-size: 118%; }
.a11y-fs-3 { font-size: 130%; }
.a11y-fs-4 { font-size: 145%; }

html.a11y-readable body,
html.a11y-readable body * {
  font-family: Arial, "Segoe UI", sans-serif !important;
  letter-spacing: 0.02em;
}

html.a11y-contrast body,
html.a11y-contrast body * {
  background-color: #000 !important;
  color: #ffe066 !important;
  border-color: #ffe066 !important;
  box-shadow: none !important;
  background-image: none !important;
}
html.a11y-contrast a,
html.a11y-contrast a * { color: #7fd4ff !important; text-decoration: underline !important; }

html.a11y-grayscale { filter: grayscale(1); }
html.a11y-invert { filter: invert(1) hue-rotate(180deg); }
html.a11y-invert img, html.a11y-invert svg, html.a11y-invert video { filter: invert(1) hue-rotate(180deg); }

html.a11y-links a {
  text-decoration: underline !important;
  background: #fff4cc !important;
  color: #0a2e52 !important;
  outline: 1px solid #0a2e52;
}

html.a11y-no-motion *,
html.a11y-no-motion *::before,
html.a11y-no-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

html.a11y-cursor, html.a11y-cursor * {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24'><path fill='black' stroke='white' stroke-width='1.4' d='M4 2l16 10-7 1.5L16.5 21l-3.5 1.4-3.5-7.6L4 18z'/></svg>") 4 2, auto !important;
}

html.a11y-focus-strong :focus,
html.a11y-focus-strong :focus-visible {
  outline: 4px solid #ff6d00 !important;
  outline-offset: 3px !important;
}

/* כבוד להעדפת מערכת להפחתת תנועה */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}

@media print {
  .site-header, .site-footer, .float-actions, #a11y-widget, .cta-band, .hero-actions { display: none !important; }
}

/* SEO upgrade: footer now has four columns on desktop */
@media (min-width: 981px) {
  .footer-grid { grid-template-columns: 1.35fr 1fr 1fr 1fr; }
}


/* =========================================================
   תיקון פריסה לאחר הרחבת SEO - 15/07/2026
   מטרות: תפריט דסקטופ נקי, כל עמודי SEO בתוך המבורגר במובייל,
   ודפי תוכן פנימיים ללא שטח ריק גדול בצד.
   ========================================================= */
.site-header .container {
  width: min(1320px, 100% - 2rem);
}
.site-header .header-inner {
  gap: 0.75rem;
  min-height: 74px;
}
.site-header .logo {
  flex: 0 0 auto;
  font-size: 1.05rem;
  max-width: 230px;
}
.site-header .logo small { font-size: 0.72rem; }
.site-header .logo-img { width: 48px; height: 48px; }
.main-nav {
  flex: 1 1 auto;
  min-width: 0;
}
.main-nav > ul {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.18rem;
}
.main-nav a,
.main-nav summary {
  white-space: nowrap;
}
.main-nav a {
  padding: 0.5rem 0.62rem;
  font-size: 0.96rem;
}
.main-nav .nav-extra { display: none; }
.nav-more { position: relative; }
.nav-more details { position: relative; }
.nav-more summary {
  display: block;
  padding: 0.5rem 0.62rem;
  border-radius: 9px;
  color: var(--ink);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more summary::after {
  content: " ▾";
  font-size: 0.82em;
}
.nav-more summary:hover,
.nav-more details[open] summary {
  background: var(--blue-soft);
  color: var(--navy);
}
.main-nav .submenu {
  display: none;
  position: absolute;
  top: calc(100% + 0.45rem);
  inset-inline-start: 0;
  z-index: 1200;
  min-width: 265px;
  max-height: min(70vh, 560px);
  overflow: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 0.45rem;
}
.nav-more details[open] .submenu {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.main-nav .submenu a {
  padding: 0.65rem 0.75rem;
  font-size: 0.95rem;
}
.nav-cta .btn {
  white-space: nowrap;
  padding: 0.5rem 0.95rem;
}

/* דפי תוכן פנימיים: לא להשאיר עמוד צר עם שטח ריק גדול בצד */
.article-layout {
  grid-template-columns: minmax(0, 980px);
  justify-content: center;
  gap: 1.6rem;
}
.article-body {
  width: 100%;
}
.sidebar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  align-items: start;
  margin-top: 1rem;
}
.sidebar .card { margin-bottom: 0; }
.article-body > .faq,
.article-body .faq[style] {
  max-width: none !important;
}

@media (max-width: 1200px) {
  .nav-toggle { display: inline-flex; }
  .site-header .header-inner { position: relative; }
  .main-nav {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    z-index: 1100;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    padding: 0.8rem 1.2rem 1.2rem;
    max-height: calc(100vh - 82px);
    overflow: auto;
  }
  .main-nav.open { display: block; }
  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }
  .main-nav a,
  .main-nav summary {
    padding: 0.82rem 0.9rem;
    font-size: 1rem;
    border-radius: 9px;
  }
  .main-nav .nav-extra { display: block; }
  .nav-more { display: none; }
  .nav-cta { margin: 0.4rem 0 0; }
  .nav-cta .btn { width: 100%; }
}

@media (max-width: 960px) {
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header .container { width: min(100% - 1.2rem, 1320px); }
  .site-header .logo { font-size: 0.98rem; max-width: 210px; }
  .site-header .logo small { font-size: 0.68rem; }
  .site-header .logo-img { width: 44px; height: 44px; }
}

/* =========================================================
   מכונת לידים: רצועת CTA דביקה במובייל + טופס ליד מהיר
   ========================================================= */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 1600;
  box-shadow: 0 -6px 18px rgba(10, 46, 82, 0.18);
}
.sticky-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.95rem 0.6rem;
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  line-height: 1.2;
}
.sticky-cta-call { background: var(--navy); color: var(--yellow); }
.sticky-cta-call:hover { color: var(--yellow); }
.sticky-cta-wa { background: #25d366; color: #05351b; }
.sticky-cta-wa:hover { color: #05351b; }

.quick-lead .card { border-top: 4px solid var(--yellow); }

@media (max-width: 680px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 58px; }
  /* הכפתורים הצפים מיותרים כשהרצועה מוצגת */
  .float-actions { display: none; }
  /* מרימים את כפתור הנגישות מעל הרצועה */
  #a11y-open { bottom: 74px !important; }
  #a11y-panel { bottom: 138px !important; }
}