/* ============================================================
   LIV Life Zone — Shared chrome (header / footer / global)
   Used by sub-pages. Requires tokens.css.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-primary);
  font-weight: var(--weight-regular);
  color: var(--color-text);
  background: var(--color-white);
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-normal);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.anchor { position: relative; top: -80px; display: block; height: 0; visibility: hidden; }

/* ── Sticky Header ─────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--color-white);
  border-bottom: 3px solid var(--color-secondary);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 30px; max-width: 100%;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1315px; margin: 0 auto;
}
.site-logo img { width: 100px; height: auto; }

.main-nav { display: flex; align-items: center; gap: 0; flex: 1; justify-content: flex-start; padding-inline-start: 72px; }
.main-nav a {
  font-family: var(--font-hebrew-noto);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  color: var(--color-text);
  padding: 20px 14px; display: inline-block; position: relative;
  transition: color 0.3s;
}
.main-nav a::after {
  content: ''; position: absolute; bottom: 0; right: 0;
  width: 0; height: 2px; background: var(--color-primary); transition: width 0.3s;
}
.main-nav a:hover, .main-nav a:focus { color: var(--color-primary); }
.main-nav a:hover::after, .main-nav a:focus::after { width: 100%; }

.header-whatsapp { display: flex; align-items: center; }
.header-whatsapp a { color: var(--color-secondary); display: flex; align-items: center; }
.header-whatsapp svg { width: 25px; height: 25px; fill: var(--color-secondary); transition: fill 0.3s; display: block; }
.header-whatsapp a:hover svg { fill: var(--color-primary); }
.header-phone { display: flex; align-items: center; gap: 8px; margin-inline-start: 18px; margin-inline-end: 26px; color: var(--color-secondary); transition: color 0.3s; white-space: nowrap; }
.header-phone:hover { color: var(--color-primary); }
.header-phone svg { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; display: block; }
.header-phone .hp-label { font-family: var(--font-hebrew-noto); font-size: var(--text-base); font-weight: var(--weight-regular); color: var(--color-text); }
.header-phone .hp-num { font-family: var(--font-hebrew-noto); font-size: 22px; font-weight: var(--weight-black); color: currentColor; letter-spacing: 0.5px; }

.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  cursor: pointer; padding: 10px; background: none; border: none;
}
.hamburger span { display: block; width: 24px; height: 3px; background: var(--color-primary); border-radius: 2px; transition: all 0.3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

.mobile-nav {
  display: none; position: absolute; top: 100%; right: 0; left: 0;
  background: var(--color-white); border-bottom: 3px solid var(--color-secondary);
  flex-direction: column; padding: 10px 0; z-index: 999;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-family: var(--font-hebrew-noto); font-size: var(--text-base); padding: 12px 30px; display: block; transition: background 0.3s, color 0.3s; }
.mobile-nav a:hover { background: var(--color-primary); color: var(--color-white); }

/* ── Buttons ───────────────────────────────────────────── */
.btn-hero {
  display: inline-block; font-family: var(--font-hebrew-noto);
  font-size: var(--text-base); font-weight: var(--weight-semibold);
  color: var(--color-secondary); background: var(--color-white);
  border: 1px solid var(--color-secondary); border-radius: 0;
  padding: 12px 30px; text-align: center; cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.btn-hero:hover, .btn-hero:focus { background: var(--color-secondary); color: var(--color-white); }

/* ── Floating WhatsApp ─────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 30px; left: 30px; z-index: 9999;
  background: #25D366; width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3); transition: transform 0.3s, box-shadow 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 16px rgba(0,0,0,0.4); }
.whatsapp-float svg { width: 32px; height: 32px; fill: #fff; }

/* ── Fixed vertical "פרטים נוספים" side tab ───────────── */
.side-cta {
  position: fixed; left: 0; top: 50%;
  transform: translateY(-50%) rotate(180deg);
  z-index: 9998;
  background: var(--color-secondary); color: var(--color-white);
  font-family: var(--font-hebrew-noto); font-weight: var(--weight-semibold);
  font-size: var(--text-base); letter-spacing: 0.5px;
  padding: 20px 12px; writing-mode: vertical-rl; cursor: pointer;
  border-radius: 6px 0 0 6px; box-shadow: 2px 0 10px rgba(0,0,0,0.25);
  transition: background 0.3s, padding 0.3s;
}
.side-cta:hover, .side-cta:focus { background: var(--color-primary); padding-left: 16px; }
@media (max-width: 767px) { .side-cta { font-size: 15px; padding: 14px 9px; } }

/* ── Lightbox ──────────────────────────────────────────── */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 20000; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 36px; background: none; border: none; cursor: pointer; z-index: 20001; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 48px; background: none; border: none; cursor: pointer; padding: 10px; z-index: 20001; }
.lightbox-prev { right: 20px; }
.lightbox-next { left: 20px; }

/* ── Scroll Reveal ─────────────────────────────────────── */
.reveal { opacity: 0; transition: opacity 0.1s; }
.reveal.active { animation-duration: 1s; animation-fill-mode: both; }
.reveal-up.active { animation-name: fadeInUp; }
.reveal-right.active { animation-name: fadeInRight; }
.reveal-left.active { animation-name: fadeInLeft; }
.reveal-fade.active { animation-name: fadeIn; }
.reveal-zoom.active { animation-name: zoomIn; }

/* ── Sub-page hero strip (title band) ──────────────────── */
.page-hero {
  background: var(--color-light-gray);
  padding: 70px 20px 50px;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-primary);
  font-size: var(--text-8xl);
  font-weight: var(--weight-black);
  color: var(--color-text);
  line-height: 1.15;
}
.page-hero p {
  font-family: var(--font-primary);
  font-size: var(--text-4xl);
  font-weight: var(--weight-black);
  color: var(--color-secondary);
  margin-top: 8px;
}

/* ── Footer ────────────────────────────────────────────── */
.site-footer {
  background: var(--color-white); color: var(--color-text);
  padding: 40px 20px; text-align: center;
  border-top: 1px solid rgba(0,0,0,0.1);
}
.footer-logo img { width: 120px; height: auto; margin: 0 auto 18px; }
.footer-credit { font-family: var(--font-hebrew-noto); font-size: var(--text-sm); color: var(--color-text); margin-bottom: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin-bottom: 16px; }
.footer-links a { font-family: var(--font-hebrew-noto); font-size: var(--text-sm); color: var(--color-secondary); transition: color 0.3s; }
.footer-links a:hover { color: var(--color-primary); }
.footer-disclaimer, .footer-copy { font-family: var(--font-hebrew-noto); font-size: var(--text-xs); color: rgba(0,0,0,0.55); margin-bottom: 6px; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .header-phone { margin-inline-start: 10px; }
  .page-hero h1 { font-size: 50px; }
  .page-hero p { font-size: 28px; }
}
@media (max-width: 767px) {
  .site-logo img { width: 74px; }
  .header-phone .hp-label { display: none; }
  .header-phone .hp-num { font-size: 19px; }
  .header-phone svg { width: 20px; height: 20px; }
  .page-hero h1 { font-size: 40px; }
  .page-hero p { font-size: 24px; }
}
