/* ==========================================================================
   ניב תיקון מקררים — עיצוב בהשראת lior-fix.com
   ========================================================================== */

:root {
  /* מותג — פטרול כהה */
  --brand-950: #083344;
  --brand-900: #164e63;
  --brand-800: #155e75;
  --brand-700: #0e7490;
  --brand-100: #cffafe;

  /* פעולה */
  --blue:      #2563eb;
  --blue-700:  #1d4ed8;
  --accent:    #56e38c;    /* צבע ההדגשה — "ניב.", סימני וי, כוכבים */
  --hero-panel: #0e465f;   /* רקע פאנל הטקסט בהירו */
  /* ירוק כהה מספיק כדי שטקסט לבן עליו יעבור תקן נגישות AA */
  --green:     #15803d;
  --green-600: #166534;

  /* ניטרלי */
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-900: #0f172a;

  --r-card:  16px;
  --r-hero:  24px;
  --sh-sm:   0 1px 2px rgba(15, 23, 42, .06);
  --sh-card: 0 4px 6px -1px rgba(15, 23, 42, .08), 0 2px 4px -2px rgba(15, 23, 42, .06);
  --sh-xl:   0 20px 25px -5px rgba(15, 23, 42, .13), 0 8px 10px -6px rgba(15, 23, 42, .08);

  --wrap:    1280px;
  --gutter:  clamp(1rem, 4vw, 2rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* --a11y-scale מאפשר לתפריט הנגישות להגדיל את כל הטקסט באתר */
html { font-size: calc(100% * var(--a11y-scale, 1)); }

body {
  font-family: "Heebo", ui-sans-serif, system-ui, sans-serif;
  background: var(--slate-50);
  color: var(--slate-900);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }

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

.wrap { width: min(100% - (var(--gutter) * 2), var(--wrap)); margin-inline: auto; }

h1, h2, h3 { font-weight: 800; line-height: 1.15; color: var(--brand-950); letter-spacing: -.01em; }

.section-title { font-size: clamp(1.6rem, 1.2rem + 1.7vw, 36px); text-align: center; }
.section-sub {
  text-align: center;
  color: var(--slate-500);
  font-size: 1.05rem;
  max-width: 58ch;
  margin: .85rem auto 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: 999px;
  font-weight: 700;
  padding: 14px 32px;
  font-size: 1.125rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .18s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn-blue  { background: var(--blue); color: #fff; box-shadow: var(--sh-card); }
.btn-blue:hover { background: var(--blue-700); }

.btn-white { background: #fff; color: var(--blue-700); box-shadow: var(--sh-card); }
.btn-white:hover { background: var(--slate-100); }

.btn-wa { background: var(--green); color: #fff; box-shadow: var(--sh-card); }
.btn-wa:hover { background: var(--green-600); }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.btn-sm { padding: 10px 20px; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: var(--sh-card); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 81px;
}

.logo { display: inline-flex; align-items: center; gap: .6rem; }
/* הסמל מגיע עם רקע לבן — עיגול לבן מאחוריו כדי שיעבוד גם על רקע כהה */
.logo-mark {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
  display: grid; place-items: center;
  flex: none;
}
.logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.logo-text { font-weight: 800; font-size: 1.05rem; color: var(--brand-950); line-height: 1.25; }
.logo-text small { display: block; font-size: .78rem; font-weight: 500; color: var(--slate-500); }

.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a {
  font-size: .875rem;
  font-weight: 600;
  color: var(--slate-600);
  padding: 8px 16px;
  border-radius: 6px;
  transition: background-color .18s ease, color .18s ease;
}
.nav-links a:hover { color: var(--brand-950); background: var(--slate-100); }

.nav-cta { display: flex; align-items: center; gap: .6rem; }

.nav-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  padding: .45rem .55rem;
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--slate-900); }

@media (max-width: 1050px) {
  .nav-links {
    position: fixed;
    inset: 81px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: .5rem var(--gutter) 1.25rem;
    transform: translateY(-130%);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
    box-shadow: var(--sh-xl);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: .9rem .5rem; border-bottom: 1px solid var(--slate-100); font-size: 1.05rem; border-radius: 0; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) { .nav-cta .btn { display: none; } }

/* ---------- Hero ---------- */
.hero-shell { background: #fff; padding: 12px; }

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  max-width: 1600px;
  margin-inline: auto;
  min-height: 32rem;
  border-radius: var(--r-hero);
  overflow: hidden;
  box-shadow: var(--sh-xl);
}
@media (max-width: 1023px) { .hero-card { grid-template-columns: 1fr; } }

.hero-copy {
  position: relative;
  overflow: hidden;
  background: var(--hero-panel);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 112px) clamp(1.5rem, 4vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-copy::after {
  content: "";
  position: absolute;
  inset-block-start: -30%;
  inset-inline-start: -20%;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 255, 255, .09), transparent 65%);
  pointer-events: none;
}
.hero-copy > * { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  align-self: flex-start;
  padding: .35rem .9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  font-size: .85rem;
  font-weight: 600;
}
.hero-eyebrow svg { width: 16px; height: 16px; color: var(--accent); }

/* align-self מכווץ את הכותרת לרוחב התוכן, ואז text-align ממרכז
   את "ניב" בדיוק מתחת לאמצע השורה שמעליו */
.hero-card h1 {
  align-self: flex-start;
  text-align: center;
  margin-top: 1.25rem;
  line-height: 1;
  color: #fff;
  font-weight: 800;
}
.hero-card h1 span {
  display: block;
  font-size: clamp(2rem, 1.2rem + 3.6vw, 60px);
}
.hero-card h1 .accent { color: var(--accent); }

.hero-features {
  display: grid;
  gap: .6rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}
.hero-features li { display: flex; align-items: flex-start; gap: .6rem; font-size: 1rem; }
.hero-features svg { width: 19px; height: 19px; color: var(--accent); flex: none; margin-top: .35rem; }
.hero-features b { font-weight: 700; }
.hero-features span { color: rgba(255, 255, 255, .78); }

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: clamp(1.75rem, 3vw, 2.25rem); }
.hero-note { margin-top: 1.1rem; font-size: .9rem; color: rgba(255, 255, 255, .72); }

/* עמודת התמונה — רקע בהיר, כי תמונת המוצר מגיעה על רקע לבן */
.hero-visual {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: linear-gradient(150deg, #ffffff, #eaf1f6 60%, #dce8f0);
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 55% at 50% 45%, rgba(255, 255, 255, .9), transparent 70%);
}
/* --- החלפת תמונות מקררים --- */
.fridge-slides {
  position: relative;
  width: 100%;
  height: min(430px, 52vh);
  min-height: 300px;
}
/* multiply מבטל את הרקע הלבן של התמונות, כך שאין מלבן לבן על הרקע */
.fridge-slides img {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  opacity: 0;
  animation: fridge-fade 15s infinite;
}
/* תמונה עם רקע שקוף כבר "חתוכה" — לא צריך multiply, שרק היה מכהה אותה */
.fridge-slides img.is-cutout { mix-blend-mode: normal; }

.fridge-slides img:nth-child(1) { animation-delay: 0s; }
.fridge-slides img:nth-child(2) { animation-delay: 5s; }
.fridge-slides img:nth-child(3) { animation-delay: 10s; }

/* כל תמונה גלויה שליש מהמחזור, עם מעבר רך בקצוות */
@keyframes fridge-fade {
  0%     { opacity: 0; }
  3%     { opacity: 1; }
  30%    { opacity: 1; }
  36%    { opacity: 0; }
  100%   { opacity: 0; }
}

@media (max-width: 1023px) {
  .fridge-slides { height: 320px; min-height: 0; }
}

/* בלי אנימציה — מציג רק את הראשונה */
@media (prefers-reduced-motion: reduce) {
  .fridge-slides img { animation: none; opacity: 0; }
  .fridge-slides img:nth-child(1) { opacity: 1; }
}

/* ---------- Brands marquee ---------- */
.brands { background: #fff; padding-block: 56px; overflow: hidden; }

.brands-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .brands-inner { grid-template-columns: minmax(0, 340px) 1fr; gap: 48px; }
}

.brands-copy h2 { font-size: clamp(1.4rem, 1.15rem + 1.2vw, 30px); text-align: start; }
.brands-copy p { margin-top: .8rem; color: var(--slate-600); font-size: 1rem; text-align: start; }

/* חלון התצוגה — הלוגואים נחתכים בקצה שלו */
.logo-viewport { overflow: hidden; }

.logo-track {
  display: flex;
  width: max-content;
  animation: logo-slide 40s linear infinite;
}
.logo-viewport:hover .logo-track { animation-play-state: paused; }

/* RTL: הפס נע ימינה, כך שפריטים חדשים נכנסים משמאל */
@keyframes logo-slide {
  from { transform: translateX(0); }
  to   { transform: translateX(50%); }
}

.logo-set { display: flex; flex: none; }
.logo-set li {
  flex: none;
  width: 176px;
  height: 112px;
  margin-inline-end: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--sh-sm);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--slate-600);
  white-space: nowrap;
  overflow: hidden;
}
/* תיבה אחידה לכל הלוגואים — contain מונע מתיחה ומשווה גדלים */
.logo-set li img { width: 100%; height: 88px; object-fit: contain; }

@media (max-width: 640px) {
  .logo-set li { width: 140px; height: 88px; padding: 0 16px; font-size: .95rem; }
  .logo-set li img { height: 66px; }
}

/* ---------- Card grids ---------- */
.section-pad { padding-block: 64px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--r-card);
  padding: 20px;
  box-shadow: var(--sh-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-card); border-color: #cbd5e1; }

.card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: #ecfeff;
  color: var(--brand-800);
  margin-bottom: .9rem;
}
.card-icon svg { width: 22px; height: 22px; }

.card h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.card p { color: var(--slate-500); font-size: .95rem; }
.card .cause {
  display: block;
  margin-top: .85rem;
  padding-top: .75rem;
  border-top: 1px solid var(--slate-100);
  font-size: .87rem;
  color: var(--slate-400);
}
.card .cause b { color: var(--brand-800); font-weight: 700; }

/* ---------- Dark band ---------- */
.band {
  background: var(--brand-950);
  color: #fff;
  padding-block: 56px;
  text-align: center;
}
.band h2 { color: #fff; font-size: clamp(1.4rem, 1.2rem + 1vw, 26px); }
.band .stars { display: flex; justify-content: center; gap: .15rem; margin-bottom: .9rem; }
.band .stars svg { width: 22px; height: 22px; color: var(--accent); }
.band p { color: var(--brand-100); max-width: 56ch; margin: .9rem auto 0; }

.band-lead {
  font-size: clamp(1.05rem, 1rem + .5vw, 20px);
  font-weight: 700;
  color: #fff !important;
}
.band-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.75rem; }

.pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
  margin-top: 2rem;
}
.pill-row li {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  font-size: .95rem;
  font-weight: 600;
}
.pill-row svg { width: 17px; height: 17px; color: var(--accent); flex: none; }

/* ---------- Testimonials ---------- */
.testimonials { background: #fff; padding-block: 64px; }

.test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.test-card {
  position: relative;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--r-card);
  padding: 1.6rem 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.test-card:hover { transform: translateY(-4px); box-shadow: var(--sh-card); border-color: #cbd5e1; }

.test-card .quote {
  position: absolute;
  inset-block-start: .35rem;
  inset-inline-start: 1.1rem;
  font-size: 4rem;
  line-height: 1;
  color: var(--brand-800);
  opacity: .32;
  pointer-events: none;
}

.test-card p {
  position: relative;
  color: var(--slate-600);
  font-size: .98rem;
  line-height: 1.75;
  flex: 1;
}

.test-card h3 {
  margin-top: 1.15rem;
  padding-top: .9rem;
  border-top: 1px solid var(--slate-200);
  font-size: 1.05rem;
  color: var(--brand-950);
}

/* ---------- Certificates ---------- */
.certs {
  background: var(--brand-950);
  color: #fff;
  padding-block: 64px;
  text-align: center;
}
.certs h2 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.5vw, 32px); }
.certs > .wrap > p { color: var(--brand-100); max-width: 56ch; margin: .9rem auto 0; }

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  max-width: 720px;
  margin: clamp(2rem, 4vw, 2.75rem) auto 0;
}

.cert-card {
  display: block;
  background: #fff;
  border-radius: var(--r-card);
  padding: 12px 12px 4px;
  box-shadow: var(--sh-xl);
  transition: transform .22s ease, box-shadow .22s ease;
}
.cert-card:hover { transform: translateY(-5px); }
.cert-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--slate-200);
}
.cert-card span {
  display: block;
  padding: .85rem .4rem .7rem;
  color: var(--brand-950);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.4;
}
.cert-card small {
  display: block;
  margin-top: .25rem;
  font-weight: 500;
  font-size: .85rem;
  color: var(--slate-500);
}

.cert-note { margin-top: 1.5rem; font-size: .9rem; color: rgba(207, 250, 254, .75); }

/* ---------- Areas ---------- */
.areas { background: var(--slate-50); padding-block: 56px; }
.areas h2 { font-size: clamp(1.3rem, 1.15rem + .9vw, 24px); text-align: center; }

.areas-sub { text-align: center; color: var(--slate-500); margin-top: .8rem; }

.city-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem;
  max-width: 940px;
  margin: 2rem auto 0;
}
.city-list li {
  padding: .45rem 1.05rem;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--slate-600);
  box-shadow: var(--sh-sm);
  transition: border-color .18s ease, color .18s ease;
}
.city-list li:hover { border-color: var(--brand-700); color: var(--brand-950); }

/* מסמן שהרשימה חלקית */
.city-list li.city-more {
  background: var(--brand-950);
  border-color: var(--brand-950);
  color: #fff;
  font-weight: 700;
}

@media (max-width: 640px) {
  .city-list { gap: .4rem; }
  .city-list li { padding: .38rem .85rem; font-size: .88rem; }
}

.area-note {
  margin-top: 1.75rem;
  text-align: center;
  color: var(--slate-500);
  font-size: .95rem;
}

.area-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: 1.25rem;
}
.area-actions .btn { font-size: 1rem; padding: 12px 26px; }

/* ---------- FAQ ---------- */
.faq { background: #fff; padding-block: 64px; }
.faq-list { display: grid; gap: .7rem; max-width: 840px; margin: clamp(2rem, 4vw, 3rem) auto 0; }

.faq-item {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--r-card);
  overflow: hidden;
}
.faq-item[open] { background: #fff; border-color: #cbd5e1; box-shadow: var(--sh-card); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--brand-950);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 10px; height: 10px;
  border-inline-end: 2px solid var(--brand-700);
  border-block-end: 2px solid var(--brand-700);
  transform: rotate(45deg);
  transition: transform .25s ease;
  flex: none;
  margin-block-start: -4px;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-block-start: 4px; }
.faq-item p { padding: 0 1.25rem 1.2rem; color: var(--slate-500); font-size: .96rem; }

/* ---------- Placeholder note ---------- */
.placeholder-note {
  max-width: 640px;
  margin: 2rem auto 0;
  padding: 1rem 1.3rem;
  border: 2px dashed rgba(255, 255, 255, .3);
  border-radius: var(--r-card);
  color: var(--brand-100);
  font-size: .93rem;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-950); color: var(--brand-100); margin-top: 0; }

.footer-cta {
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  padding-block: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.footer-cta strong { display: block; color: #fff; font-size: clamp(1.15rem, 1rem + .8vw, 1.5rem); font-weight: 800; }
.footer-cta span { font-size: .95rem; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding-block: 2.5rem;
}
.footer-grid h3 { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: .8rem; }
.footer-grid p { font-size: .95rem; }
.footer-grid li + li { margin-top: .45rem; }
.footer-grid a { font-size: .95rem; }
.footer-grid a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-block: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  font-size: .87rem;
  color: rgba(207, 250, 254, .7);
}

/* ---------- Mobile call bar ---------- */
.mobile-bar {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 60;
  display: none;
}
.mobile-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 16px 0 calc(16px + env(safe-area-inset-bottom));
  font-weight: 700;
  color: #fff;
}
.mobile-bar svg { width: 20px; height: 20px; }
.mobile-bar .call { background: var(--blue); }
.mobile-bar .wa { background: var(--green); }

@media (max-width: 639px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 60px; }
}

/* ---------- Reveal ---------- */
.reveal { transition: opacity .55s ease, transform .55s ease; }
.js-reveal .reveal { opacity: 0; transform: translateY(18px); }
.js-reveal .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js-reveal .reveal { opacity: 1; transform: none; } }

/* ---------- עמוד משפטי (מדיניות פרטיות) ---------- */
.legal { background: #fff; padding-block: clamp(2.5rem, 6vw, 4rem); }
.legal h1 { font-size: clamp(1.7rem, 1.3rem + 1.8vw, 34px); text-align: center; }
.legal-updated { text-align: center; color: var(--slate-500); font-size: .92rem; margin-top: .6rem; }

.legal-doc { max-width: 820px; margin: clamp(2rem, 4vw, 3rem) auto 0; }
.legal-doc h2 {
  font-size: clamp(1.12rem, 1rem + .6vw, 21px);
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--slate-200);
  margin-bottom: .75rem;
}
.legal-doc h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-doc p { color: var(--slate-600); line-height: 1.85; margin-bottom: 1rem; }
.legal-doc ul { display: grid; gap: .6rem; margin-bottom: 1.1rem; }
.legal-doc li {
  position: relative;
  padding-inline-start: 1.4rem;
  color: var(--slate-600);
  line-height: 1.8;
}
.legal-doc li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: .72em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-700);
}
.legal-doc strong { color: var(--brand-950); font-weight: 700; }
.legal-doc a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }
.legal-doc a:hover { color: var(--blue); }

.legal-back {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--slate-200);
  font-weight: 700;
}

/* ---------- הצהרת נגישות — חלון ---------- */
.a11y-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  place-items: center;
  padding: clamp(.75rem, 3vw, 2rem);
}
/* :target פותח את החלון גם בלי JavaScript.
   is-closed נדרש כי דפדפנים לא מנקים :target אחרי history.replaceState. */
.a11y-modal:target,
.a11y-modal.is-open { display: grid; }
.a11y-modal.is-closed { display: none !important; }

.a11y-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 51, 68, .62);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.a11y-modal-box {
  position: relative;
  width: min(100%, 720px);
  max-height: min(86vh, 900px);
  overflow-y: auto;
  background: #fff;
  border-radius: var(--r-card);
  box-shadow: var(--sh-xl);
  padding: 0 clamp(1.25rem, 4vw, 2.25rem) clamp(1.5rem, 4vw, 2.25rem);
}

.a11y-modal-head {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: clamp(1.1rem, 3vw, 1.5rem) .9rem;
  border-bottom: 1px solid var(--slate-200);
  margin-bottom: 1.25rem;
}
.a11y-modal-head h2 { font-size: clamp(1.25rem, 1.1rem + .8vw, 24px); }

.a11y-modal-close {
  flex: none;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--slate-200);
  color: var(--slate-600);
  transition: background-color .18s ease, color .18s ease;
}
.a11y-modal-close:hover { background: var(--slate-100); color: var(--brand-950); }
.a11y-modal-close svg { width: 18px; height: 18px; }

body.a11y-modal-open { overflow: hidden; }

.a11y-doc { max-width: 760px; margin-inline: auto; }
.a11y-doc p { color: var(--slate-600); margin-bottom: 1rem; line-height: 1.75; }
.a11y-doc h3 { font-size: 1.1rem; margin: 1.75rem 0 .7rem; }
.a11y-doc ul { display: grid; gap: .5rem; margin-bottom: 1rem; }
.a11y-doc li {
  position: relative;
  padding-inline-start: 1.4rem;
  color: var(--slate-600);
  line-height: 1.7;
}
.a11y-doc li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: .65em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-700);
}
.a11y-doc a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }
.a11y-contact li::before { display: none; }
.a11y-contact li { padding-inline-start: 0; }
.a11y-date { font-size: .9rem; color: var(--slate-500); margin-top: 1.5rem; }

/* ---------- תפריט נגישות ---------- */
.a11y-widget {
  position: fixed;
  inset-inline-start: 18px;
  inset-block-end: 18px;
  z-index: 80;
}

.a11y-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--brand-950);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--sh-card);
  transition: transform .2s ease, background-color .2s ease;
}
.a11y-btn:hover { transform: scale(1.07); background: var(--brand-800); }
.a11y-btn svg { width: 28px; height: 28px; }

.a11y-panel {
  position: absolute;
  inset-block-end: calc(100% + 10px);
  inset-inline-start: 0;
  width: min(320px, calc(100vw - 28px));
  max-height: min(72vh, 560px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--r-card);
  box-shadow: var(--sh-xl);
  padding: .6rem;
  display: grid;
  gap: .3rem;
  align-content: start;
}
.a11y-panel[hidden] { display: none; }

.a11y-panel-head {
  position: sticky;
  top: -.6rem;
  z-index: 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .35rem .3rem .5rem .1rem;
  margin: -.6rem -.6rem .2rem;
  padding-inline: .9rem;
  padding-top: .9rem;
  border-bottom: 1px solid var(--slate-200);
}
.a11y-panel-title { font-weight: 800; color: var(--brand-950); font-size: 1rem; }

.a11y-panel-close {
  flex: none;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border: 0;
  background: transparent;
  border-radius: 50%;
  color: var(--slate-500);
  cursor: pointer;
}
.a11y-panel-close:hover { background: var(--slate-100); color: var(--brand-950); }
.a11y-panel-close svg { width: 15px; height: 15px; }

.a11y-group-title {
  font-size: .82rem;
  font-weight: 700;
  color: var(--slate-400);
  padding: .7rem .7rem .25rem;
}

/* --- מחוון אחוזים --- */
.a11y-slider { padding: .45rem .7rem .7rem; }
.a11y-slider-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .5rem;
}
.a11y-slider label { font-size: .95rem; font-weight: 600; color: var(--brand-950); cursor: pointer; }
.a11y-slider output {
  flex: none;
  min-width: 52px;
  text-align: center;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: #e7f1fb;
  color: var(--blue-700);
  font-size: .82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.a11y-slider input[type="range"] {
  direction: ltr;
  width: 100%;
  height: 6px;
  margin: 0;
  border-radius: 999px;
  background: var(--slate-200);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.a11y-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--blue);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .25);
}
.a11y-slider input[type="range"]::-moz-range-thumb {
  width: 19px; height: 19px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--blue);
  cursor: pointer;
}
.a11y-slider input[type="range"]:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

/* --- רשת כלים --- */
.a11y-tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .4rem;
  padding: .2rem .5rem .3rem;
}
.a11y-tools button {
  display: grid !important;
  justify-items: center;
  align-content: start;
  gap: .4rem;
  text-align: center !important;
  padding: .6rem .25rem !important;
  border: 1px solid var(--slate-200) !important;
  border-radius: 12px !important;
  background: #fff !important;
  font-size: .72rem !important;
  font-weight: 600 !important;
  line-height: 1.25;
  color: var(--brand-950) !important;
}
.a11y-tools button:hover { background: var(--slate-50) !important; border-color: #cbd5e1 !important; }
.a11y-tool-ico {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: #e7f1fb;
  color: var(--blue-700);
}
.a11y-tool-ico svg { width: 19px; height: 19px; }
.a11y-tools button[aria-pressed="true"] {
  background: var(--brand-950) !important;
  border-color: var(--brand-950) !important;
  color: #fff !important;
}
.a11y-tools button[aria-pressed="true"] .a11y-tool-ico { background: rgba(255, 255, 255, .16); color: #fff; }

.a11y-panel button,
.a11y-panel a {
  display: block;
  width: 100%;
  text-align: start;
  padding: .6rem .7rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  font-size: .95rem;
  font-weight: 600;
  color: var(--slate-600);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.a11y-panel button:hover,
.a11y-panel a:hover { background: var(--slate-100); color: var(--brand-950); }
.a11y-panel button[aria-pressed="true"] {
  background: var(--brand-950);
  border-color: var(--brand-950);
  color: #fff;
}
.a11y-panel .a11y-reset { border-top: 1px solid var(--slate-200); border-radius: 0 0 8px 8px; margin-top: .2rem; padding-top: .7rem; }
.a11y-panel a { text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }

@media (max-width: 639px) {
  .a11y-widget { inset-block-end: 74px; }
  .a11y-btn { width: 46px; height: 46px; }
  .a11y-btn svg { width: 24px; height: 24px; }
}

/* --- מצב ניגודיות גבוהה --- */
html.a11y-contrast body,
html.a11y-contrast section,
html.a11y-contrast .site-header,
html.a11y-contrast .hero-shell,
html.a11y-contrast .hero-copy,
html.a11y-contrast .hero-visual,
html.a11y-contrast .card,
html.a11y-contrast .test-card,
html.a11y-contrast .faq-item,
html.a11y-contrast .cert-card,
html.a11y-contrast .site-footer,
html.a11y-contrast .strip,
html.a11y-contrast .band,
html.a11y-contrast .certs,
html.a11y-contrast .logo-set li,
html.a11y-contrast .city-list li,
html.a11y-contrast .pill-row li,
html.a11y-contrast .hero-eyebrow,
html.a11y-contrast .mobile-bar,
html.a11y-contrast .nav-links,
html.a11y-contrast .a11y-panel,
html.a11y-contrast .a11y-modal-box,
html.a11y-contrast .a11y-modal-head {
  background: #000 !important;
}
html.a11y-contrast *:not(svg):not(path):not(circle):not(rect):not(line):not(ellipse) { color: #fff !important; border-color: #fff !important; }
html.a11y-contrast a,
html.a11y-contrast .accent,
html.a11y-contrast strong,
html.a11y-contrast b { color: #ff0 !important; }
html.a11y-contrast svg { color: #ff0 !important; }
html.a11y-contrast .btn,
html.a11y-contrast .a11y-btn,
html.a11y-contrast .mobile-bar a {
  background: #000 !important;
  color: #ff0 !important;
  border: 2px solid #ff0 !important;
  box-shadow: none !important;
}
html.a11y-contrast img { filter: grayscale(1) contrast(1.15); }
html.a11y-contrast .card,
html.a11y-contrast .test-card,
html.a11y-contrast .faq-item,
html.a11y-contrast .cert-card,
html.a11y-contrast .logo-set li,
html.a11y-contrast .city-list li { border: 1px solid #fff !important; }

/* --- מרווחי טקסט (מופעלים רק כשהמשתמש הזיז מחוון) --- */
html.a11y-typo body *:not(script):not(style) {
  word-spacing: var(--a11y-word, normal) !important;
  letter-spacing: var(--a11y-letter, normal) !important;
}
html.a11y-line body p,
html.a11y-line body li,
html.a11y-line body summary,
html.a11y-line body td,
html.a11y-line body .lead,
html.a11y-line body .section-sub,
html.a11y-line body .hero-note,
html.a11y-line body .brands-copy p {
  line-height: var(--a11y-line, inherit) !important;
}

/* --- הדגשת קישורים --- */
html.a11y-links a:not(.btn) {
  text-decoration: underline !important;
  text-underline-offset: 3px;
  outline: 2px dashed currentColor;
  outline-offset: 2px;
}

/* --- צבעים הפוכים ---
   המסנן חל על page-shell בלבד. אילו הוחל על body, כל רכיב position:fixed
   היה מאבד את העיגון שלו לחלון ובורח עם הגלילה. */
html.a11y-invert body { background: #0f1419; }
html.a11y-invert .page-shell { filter: invert(1) hue-rotate(180deg); }
html.a11y-invert .page-shell img,
html.a11y-invert .page-shell video { filter: invert(1) hue-rotate(180deg); }

/* --- הדגשת כותרות --- */
html.a11y-headings h1,
html.a11y-headings h2,
html.a11y-headings h3 {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
  background: rgba(37, 99, 235, .1);
  border-radius: 4px;
}

/* --- מצב קריאה --- */
html.a11y-reading body,
html.a11y-reading section,
html.a11y-reading .hero-copy,
html.a11y-reading .hero-visual,
html.a11y-reading .hero-shell,
html.a11y-reading .card,
html.a11y-reading .test-card,
html.a11y-reading .faq-item,
html.a11y-reading .site-header,
html.a11y-reading .site-footer,
html.a11y-reading .band,
html.a11y-reading .certs,
html.a11y-reading .strip {
  background: #fff !important;
  color: #14181d !important;
  box-shadow: none !important;
}
html.a11y-reading *:not(.btn):not(.btn *):not(.a11y-panel *):not(.a11y-widget *) { color: #14181d !important; }
html.a11y-reading .hero-visual,
html.a11y-reading .logo-viewport,
html.a11y-reading .cert-card img,
html.a11y-reading .hero-eyebrow,
html.a11y-reading .card-icon,
html.a11y-reading .quote { display: none !important; }
html.a11y-reading .wrap { width: min(100% - 2rem, 760px); }
html.a11y-reading .hero-card { grid-template-columns: 1fr !important; box-shadow: none !important; }
html.a11y-reading .card,
html.a11y-reading .test-card,
html.a11y-reading .faq-item { border-color: #c9d2dc !important; }

/* --- מדריך קריאה --- */
.a11y-guide-bar {
  position: fixed;
  inset-inline: 0;
  height: 44px;
  transform: translateY(-50%);
  background: rgba(8, 51, 68, .14);
  border-block: 2px solid var(--brand-950);
  pointer-events: none;
  z-index: 95;
}

/* --- פונט קריא --- */
html.a11y-font body,
html.a11y-font body * { font-family: Tahoma, Verdana, Arial, sans-serif !important; }

/* --- הסתרת תמונות --- */
html.a11y-noimg img,
html.a11y-noimg .fridge-slides,
html.a11y-noimg .logo-viewport { visibility: hidden !important; }
html.a11y-noimg .cert-card img { display: none !important; }

/* --- סמנים --- */
html.a11y-cursor-big,
html.a11y-cursor-big * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24'%3E%3Cpath d='M6 2l13 8.5-5.6 1.4 3.2 6.1-2.7 1.5-3.2-6.1L6.6 17z' fill='%23000' stroke='%23fff' stroke-width='1.3'/%3E%3C/svg%3E") 5 2, auto !important;
}
html.a11y-cursor-white,
html.a11y-cursor-white * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24'%3E%3Cpath d='M6 2l13 8.5-5.6 1.4 3.2 6.1-2.7 1.5-3.2-6.1L6.6 17z' fill='%23fff' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E") 5 2, auto !important;
}

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

/* ---------- A11y ---------- */
.skip-link {
  position: absolute;
  inset-inline-start: 50%;
  transform: translate(50%, -150%);
  z-index: 100;
  background: var(--brand-950);
  color: #fff;
  padding: .7rem 1.4rem;
  border-radius: 0 0 10px 10px;
  font-weight: 700;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translate(50%, 0); }

.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;
}
