/* =========================================================
   לימזור – עיצוב מחודש 2026
   נקי, טבעי, רגוע · נגיש (WCAG 2.2 AA) · RTL · רספונסיבי · מהיר
   ========================================================= */

:root {
  --bg: #FBFAF6;          /* לבן חמים, כמו נייר טבעי */
  --surface: #FFFFFF;
  --ink: #1F2A24;          /* כמעט-שחור בגוון ירוק – טקסט ראשי */
  --ink-soft: #4C5850;     /* טקסט משני, עדיין AA על הרקע */
  --brand: #3F6B4A;        /* ירוק יער רגוע – הצבע הראשי היחיד */
  --brand-strong: #2E5138; /* למצבי hover/focus */
  --brand-bg: #EEF3EC;     /* רקע ירוק עדין מאוד */
  --accent: #A8672B;       /* חימר/הדרים מעומעם – רק למבטאים נקודתיים */
  --line: #E4E1D6;
  --line-strong: #CFCABB;
  --warn-bg: #FBF2E4;
  --warn-line: #D9A65A;
  --danger-bg: #FBEEEC;
  --danger-line: #B4483A;
  --danger-ink: #7A2E24;
  --focus: #1D4ED8;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(31, 42, 36, .06), 0 6px 18px rgba(31, 42, 36, .05);
  --maxw: 1100px;
}

/* ---------- בסיס ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: 'Assistant', 'Heebo', 'Segoe UI', Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  direction: rtl;
  text-align: right;
  overflow-x: clip; /* מונע גלילה אופקית במקרה קצה */
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }
h1, h2, h3 { line-height: 1.25; font-weight: 800; margin: 0 0 .6em; color: var(--ink); }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.icon { width: 26px; height: 26px; stroke: var(--brand); fill: none; stroke-width: 1.7; flex-shrink: 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;
}

/* מיקוד מקלדת ברור – דרישת נגישות */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

/* דילוג לתוכן */
.skip-link {
  position: absolute; top: -60px; right: 16px;
  background: var(--ink); color: #fff;
  padding: 10px 18px; border-radius: 0 0 10px 10px;
  z-index: 200; transition: top .15s;
}
.skip-link:focus { top: 0; color: #fff; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
section { padding: 64px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-title { text-align: center; }
.section-sub { text-align: center; color: var(--ink-soft); max-width: 680px; margin: 0 auto 2.2rem; }
.section-kicker {
  display: block; text-align: center; color: var(--brand);
  font-weight: 700; font-size: .85rem; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: .5rem;
}

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: center;
  min-height: 48px;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-strong); color: #fff; }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--line-strong); }
.btn-outline:hover { background: var(--brand-bg); border-color: var(--brand); color: var(--brand-strong); }

/* ---------- כותרת עליונה ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 250, 246, .96);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 20px;
  padding: 10px 20px; max-width: var(--maxw); margin: 0 auto;
}
.brand-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo img { height: 42px; width: auto; }
.brand-name { font-size: 1.3rem; font-weight: 800; color: var(--ink); }
.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; align-items: center; }
.main-nav a {
  display: block; padding: 10px 13px; border-radius: 9px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem;
}
.main-nav a:hover { background: var(--brand-bg); color: var(--brand-strong); }
.nav-cta { background: var(--brand); color: #fff !important; padding: 10px 18px !important; }
.nav-cta:hover { background: var(--brand-strong) !important; }
.nav-toggle {
  display: none; margin-inline-start: auto;
  background: none; border: 1.5px solid var(--line-strong); border-radius: 9px;
  width: 44px; height: 44px; cursor: pointer; color: var(--ink);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 2; }

/* ---------- Hero ---------- */
.hero { padding: 60px 0 52px; background: var(--brand-bg); }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 44px; align-items: center;
}
.hero h1 { margin-bottom: .45em; }
.hero .tagline { font-size: 1.25rem; color: var(--ink-soft); font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-grid > * { min-width: 0; }
.hero-img img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* פס יתרונות */
.badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 42px; }
.badge {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 14px; text-align: center; font-weight: 700; font-size: .98rem;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.badge .icon { margin: 0 auto; }

/* ---------- כרטיסים ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 2.2rem; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px;
}
.card .icon { margin-bottom: 14px; width: 30px; height: 30px; }
.card h3 { color: var(--ink); }

/* ---------- עדויות ---------- */
.reviews-rating { text-align: center; font-size: 1.1rem; font-weight: 700; margin-bottom: 1.8rem; color: var(--ink-soft); }
.reviews-rating .stars {
  color: #FFC107; letter-spacing: 3px; font-size: 1.5rem; display: block; margin-bottom: .4rem;
  text-shadow: 0 0 1px rgba(31,42,36,.45);
}
.reviews-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.reviews-grid button {
  display: block; width: 100%; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line); background: #fff; padding: 0; cursor: zoom-in;
  position: relative;
}
.reviews-grid button::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(31,42,36,0); transition: background .15s;
}
.reviews-grid button:hover::after { background: rgba(31,42,36,.12); }
.reviews-grid img { width: 100%; height: 190px; object-fit: cover; object-position: top; }
.reviews-hint { text-align: center; color: var(--ink-soft); font-size: .92rem; margin-top: 1rem; }
.reviews-cta { text-align: center; margin-top: 2rem; }

/* ---------- Lightbox לעדויות ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(20, 26, 22, .92);
  display: flex; align-items: center; justify-content: center;
  padding: 60px 20px;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(90vw, 720px); max-height: 80vh; width: auto;
  border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,.4);
}
.lightbox-close {
  position: absolute; top: 18px; inset-inline-end: 18px;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.4);
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lightbox-close svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; }
.lightbox-close:hover { background: rgba(255,255,255,.22); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.4);
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lightbox-nav:hover { background: rgba(255,255,255,.22); }
.lightbox-nav svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 2; }
.lightbox-prev { inset-inline-start: 18px; }
.lightbox-next { inset-inline-end: 18px; }
.lightbox-counter {
  position: absolute; bottom: 20px; right: 0; left: 0; text-align: center;
  color: #fff; font-weight: 700; margin: 0;
}
@media (max-width: 640px) {
  .lightbox-nav { width: 44px; height: 44px; }
  .lightbox { padding: 90px 12px 60px; }
}

/* ---------- המלצות שימוש ---------- */
.usage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 2.2rem; }
.usage-card {
  background: var(--surface); border: 1px solid var(--line); border-right: 3px solid var(--brand);
  border-radius: var(--radius); padding: 26px;
}
.usage-card h3 { color: var(--ink); }
.note {
  background: var(--warn-bg); border-right: 3px solid var(--warn-line);
  border-radius: 8px; padding: 14px 18px; margin-top: 18px; font-weight: 600;
  display: flex; align-items: flex-start; gap: 10px;
}
.note.note-danger { background: var(--danger-bg); border-right-color: var(--danger-line); color: var(--danger-ink); }
.note .icon { flex-shrink: 0; margin-top: 2px; width: 20px; height: 20px; }
.note-danger .icon { stroke: var(--danger-line); }
.note-tip .icon { stroke: var(--accent); }

/* ---------- טבלה תזונתית ---------- */
.nutrition { display: flex; gap: 30px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 2.5rem; }
.nutrition img { max-width: 280px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }

/* ---------- שאלות נפוצות ---------- */
.faq-list { max-width: 800px; margin: 2.2rem auto 0; }
.faq-list details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; margin-bottom: 10px; overflow: hidden;
}
.faq-list details[open] { border-color: var(--line-strong); }
.faq-list summary {
  padding: 16px 20px; font-weight: 700; cursor: pointer;
  list-style: none; position: relative; padding-inline-start: 48px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before {
  content: '+'; position: absolute; inset-inline-start: 16px; top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand-bg); color: var(--brand);
  display: grid; place-items: center; font-size: 1.2rem; font-weight: 800;
}
.faq-list details[open] summary::before { content: '–'; }
.faq-list summary:hover { background: var(--brand-bg); }
.faq-list .faq-body { padding: 0 20px 18px; color: var(--ink-soft); }

/* ---------- מפת נקודות מכירה ---------- */
.map-frame { margin-top: 1.8rem; }
.map-frame iframe {
  width: 100%; height: 440px; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow);
}

/* ---------- יצירת קשר ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-top: 2.2rem; }
.contact-info ul { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.contact-info li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.contact-info li strong { color: var(--ink); }
.contact-form label { display: block; font-weight: 700; margin: 14px 0 5px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: 10px;
  font: inherit; background: #fff; color: var(--ink); min-height: 48px;
}
.contact-form textarea { min-height: 110px; }
.contact-form input:focus, .contact-form textarea:focus {
  outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus);
}
.contact-form .hint { font-size: .93rem; color: var(--ink-soft); margin-top: 6px; }
.contact-form button { margin-top: 18px; }
.required-mark { color: var(--danger-line); }

/* ---------- הבהרות ---------- */
.disclaimers {
  background: var(--brand-bg); border-top: 1px solid var(--line);
  font-size: .95rem; color: var(--ink-soft);
}
.disclaimers h2 { font-size: 1.1rem; color: var(--ink); }
.disclaimers p { margin-bottom: .7em; }

/* ---------- שבת ---------- */
.shabbat {
  text-align: center; background: var(--surface);
  border-block: 1px solid var(--line); padding: 24px 20px;
  font-weight: 700; font-size: 1.05rem; color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.shabbat .icon { stroke: var(--accent); }

/* ---------- פוטר ---------- */
.site-footer { background: #1F2A24; color: #E4E9E1; padding: 48px 0 26px; }
.site-footer a { color: #C9E3CE; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-grid h3 { color: #fff; font-size: 1.02rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: 4px 0; }
.footer-bottom {
  border-top: 1px solid #37453D; margin-top: 32px; padding-top: 18px;
  text-align: center; font-size: .88rem; color: #A9B6AD;
}

/* ---------- כפתור נגישות ---------- */
.a11y-btn {
  position: fixed; bottom: 18px; inset-inline-start: 18px; z-index: 150;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--brand-strong); color: #fff; border: 2px solid #fff;
  cursor: pointer; box-shadow: 0 3px 10px rgba(0,0,0,.25);
  display: flex; align-items: center; justify-content: center;
}
.a11y-btn svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 1.6; }
.a11y-panel {
  position: fixed; bottom: 80px; inset-inline-start: 18px; z-index: 150;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,.18); padding: 18px; width: 240px;
}
.a11y-panel[hidden] { display: none; }
.a11y-panel h2 { font-size: 1.05rem; margin-bottom: 10px; }
.a11y-panel button {
  display: block; width: 100%; margin-bottom: 8px; padding: 10px 12px;
  border: 1.5px solid var(--line); border-radius: 9px; background: #fff;
  font: inherit; font-weight: 600; cursor: pointer; text-align: right; color: var(--ink);
  min-height: 44px;
}
.a11y-panel button:hover { background: var(--brand-bg); }
.a11y-panel a { display: block; margin-top: 6px; font-size: .95rem; }

/* מצבי נגישות */
body.a11y-large { font-size: 1.3rem; }
body.a11y-xlarge { font-size: 1.45rem; }
body.a11y-contrast { --bg: #fff; --surface: #fff; --ink: #000; --ink-soft: #1a1a1a; --brand: #14532D; --brand-strong: #0F3D21; --line: #555; --line-strong: #333; }
body.a11y-nomotion * { animation: none !important; transition: none !important; }
body.a11y-links a { text-decoration: underline !important; }

/* ---------- עמודים משפטיים ---------- */
.legal-page { max-width: 800px; margin: 0 auto; padding: 44px 20px 72px; }
.legal-page h1 { margin-top: 16px; }
.legal-page h2 { font-size: 1.25rem; margin-top: 1.8em; }
.back-home { display: inline-block; margin-top: 30px; }

/* ---------- רספונסיביות ---------- */
@media (max-width: 920px) {
  .hero-grid, .contact-grid, .usage-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .badges { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-img { order: -1; }

  .nav-toggle { display: flex; }
  .main-nav {
    display: none; position: absolute; top: 100%; right: 0; left: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 16px rgba(0,0,0,.08);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 10px 16px 16px; }
  .main-nav a { padding: 13px 14px; font-size: 1.1rem; }
}
@media (max-width: 540px) {
  .cards, .reviews-grid, .badges { grid-template-columns: 1fr; }
  section { padding: 46px 0; }
  .reviews-grid img { height: auto; }
}
