/* ===================== פתיחה: גחלים, עשן ושלט ===================== *
   קצרה בכוונה (עד ~62vh במובייל) — התפריט מתחיל כבר במסך הראשון.
   צילום מממשק הניהול (hero.photo) נכנס ל-#heroArt ומקבל שכבת כהות. */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 62vh; min-height: 62svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--topbar-h) + var(--safe-t));
  background: var(--coal); color: var(--text-on-dark);
}
@media (min-width: 760px) { .hero { min-height: 70vh; min-height: 70svh; } }

/* ---- רקע ---- */
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__bg::before {
  /* חום הגחלים מלמטה + אור מדברי חם מלמעלה */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(85% 60% at 50% 115%, rgba(232, 87, 42, .55) 0%, rgba(217, 130, 43, .22) 38%, rgba(28, 23, 20, 0) 70%),
    radial-gradient(60% 50% at 85% -5%, rgba(242, 180, 106, .14), rgba(28, 23, 20, 0) 65%);
  animation: heat 6s ease-in-out infinite alternate;
}
.hero__bg::after { content: ""; position: absolute; inset: 0; z-index: 3; background-image: var(--grain); opacity: .9; mix-blend-mode: overlay; }
@keyframes heat { from { opacity: .8; } to { opacity: 1; } }

/* צילום */
.hero__art { position: absolute; inset: 0; z-index: 0; }
.hero__photo { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.hero.has-photo .hero__photo { opacity: 1; }
.hero.has-photo .hero__art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28, 23, 20, .7) 0%, rgba(28, 23, 20, .62) 40%, rgba(28, 23, 20, .94) 100%), radial-gradient(90% 70% at 100% 50%, rgba(28, 23, 20, .5), transparent 70%);
}

/* עשן: שלוש שכבות רכות שעולות לאט */
.hero__smoke { position: absolute; inset: 0; z-index: 2; overflow: hidden; }
.hero__smoke i {
  position: absolute; bottom: -30%; width: 70vw; max-width: 720px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(244, 237, 226, .10) 0%, rgba(244, 237, 226, .04) 40%, rgba(244, 237, 226, 0) 68%);
  filter: blur(18px); animation: smoke 22s linear infinite;
}
.hero__smoke i:nth-child(1) { left: -10%; animation-delay: -4s; }
.hero__smoke i:nth-child(2) { left: 30%; animation-duration: 28s; animation-delay: -14s; }
.hero__smoke i:nth-child(3) { right: -15%; animation-duration: 25s; animation-delay: -9s; }
@keyframes smoke {
  0% { transform: translate3d(0, 0, 0) scale(.8); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translate3d(-6vw, -75vh, 0) scale(1.35); opacity: 0; }
}
.hero__embers { position: absolute; inset: 0; z-index: 2; }
.hero__embers i {
  position: absolute; bottom: -12px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%;
  background: radial-gradient(circle, #ffe2b0 0%, var(--ember) 55%, rgba(232, 87, 42, 0) 72%);
  box-shadow: 0 0 8px 2px rgba(232, 87, 42, .5);
  opacity: 0; animation: rise var(--d) linear var(--delay) infinite;
}
.hero__embers i:nth-child(n+11) { display: none; }
@keyframes rise {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0; }
  12% { opacity: .9; }
  100% { transform: translate3d(var(--drift), -60vh, 0) scale(.4); opacity: 0; }
}

/* ---- תוכן ---- */
.hero__inner { display: grid; gap: 14px; padding-block: 20px 52px; }
.hero__copy { display: grid; justify-items: start; gap: 6px; max-width: 40rem; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; color: var(--text-on-dark-2); }
.hero__eyebrow img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(242, 180, 106, .5); }
.hero__title { display: flex; flex-direction: column; align-items: flex-start; margin-top: 8px; font-family: var(--f-display); font-weight: 400; line-height: .95; }
.hero__of { font-size: clamp(1.25rem, 4.6vw, 1.9rem); color: var(--text-on-dark); }
.hero__name {
  font-size: var(--fs-display); letter-spacing: -.01em; color: var(--saffron-glow);
  text-shadow: 0 4px 0 rgba(142, 42, 30, .55), 0 18px 48px rgba(232, 87, 42, .35);
}
.hero__line { margin-top: 10px; font-size: var(--fs-xl); font-weight: 800; color: var(--text-on-dark); }
.hero__sub { font-size: var(--fs-m); color: var(--text-on-dark-2); }
/* כפתורים: אחד מתחת לשני, באותו רוחב, בדיוק על קו האמצע */
.hero__ctas { display: grid; grid-template-columns: 1fr; justify-items: stretch; gap: 10px; margin-top: 18px; width: min(100%, 320px); margin-inline: auto; }
.hero__ctas .btn { width: 100%; padding-inline: 18px; }


/* שורת אמון אחת: כשרות · משלוחים · מינימום · זמן */
.facts { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: var(--fs-s); }
.facts:empty { display: none; }
.facts li { display: inline-flex; align-items: center; gap: 6px; }
.facts .ic { width: 18px; height: 18px; }
.facts--hero { color: var(--text-on-dark-2); padding-top: 14px; border-top: 1px solid rgba(244, 237, 226, .14); }
.facts--hero .ic { color: var(--saffron-glow); }

/* הודעת מנהל (סגור בחג / מבצע) — פס בולט מעל הכותרת */
.hero .site-notice {
  justify-self: start; max-width: 40rem; padding: 10px 14px; border-radius: var(--r-m);
  background: var(--action); color: var(--on-action); font-weight: 800; font-size: var(--fs-s); box-shadow: var(--sh-2);
}

/* ---- מצב פתוח/סגור על הפתיחה ---- */
.hero .status--hero { margin-top: 12px; background: rgba(244, 237, 226, .08); color: var(--text-on-dark); box-shadow: inset 0 0 0 1px rgba(244, 237, 226, .18); }
.hero .status--hero.is-open { background: rgba(79, 107, 58, .35); color: #e6efd9; }
.hero .status--hero.is-open::before { background: #8fc46a; box-shadow: 0 0 0 3px rgba(143, 196, 106, .25); }
.hero .status--hero.is-soon { background: rgba(217, 130, 43, .25); color: #fbe3c3; }
.hero .status--hero.is-closed { background: rgba(142, 42, 30, .45); color: #ffdcd3; }
.hero .status--hero.is-closed::before { background: var(--ember); }

@media (min-width: 760px) {
  .hero__inner { padding-block: 40px 88px; }
  .hero__line { font-size: clamp(1.4rem, 2vw, 1.75rem); }
}
@media (max-height: 640px) and (max-width: 759px) {
  .hero__sub { display: none; }
  .hero__inner { padding-block: 16px 52px; }
}

/* ---- חיסכון: עצירה מחוץ למסך / הפחתת תנועה ---- */
.hero.is-paused *, .hero.is-paused *::before, .hero.is-paused *::after, .hero.is-paused .hero__bg::before { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .hero__embers, .hero__smoke { display: none; }
  .hero__bg::before { animation: none !important; }
}

/* הכול במרכז: לוגו, כותרת, סטטוס, כפתורים ושורת האמון */
.hero__inner { justify-items: center; text-align: center; }
.hero__copy { justify-items: center; text-align: center; margin-inline: auto; }
.hero__title { align-items: center; }
.hero__ctas { margin-inline: auto; }
.facts--hero { justify-content: center; width: 100%; }
.hero .site-notice { justify-self: center; }
.hero__eyebrow img { display: none; }
.hero__badge {
  order: -1; width: 120px; height: auto; border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(242, 180, 106, .5), 0 0 0 10px rgba(28, 23, 20, .55), 0 18px 48px rgba(0, 0, 0, .5), 0 0 60px rgba(232, 87, 42, .3);
}
@media (min-width: 900px) { .hero__badge { width: 170px; } }
@media (max-height: 640px) and (max-width: 899px) { .hero__badge { width: 84px; } }
