/* ============================================================
   בד בבד – fabric boutique, RTL, Hebrew
   ------------------------------------------------------------
   Contents:
   1.  Tokens (:root)
   2.  Base + utilities
   3.  Topbar / Header / Nav
   4.  Hero + carousel
   5.  Marquee / Trust / Stats
   6.  Sections (departments, about)
   7.  Gallery (grid, page, modal, lightbox)
   8.  Contact / Footer / Follow us
   9.  Floating WhatsApp (FAB)
   10. Scroll-reveal animations
   ============================================================ */
:root {
  --red: #c41e2a;
  --red-dark: #9a1822;
  --red-bright: #e32d3a;
  --red-soft: rgba(196, 30, 42, 0.09);
  --gold: #8b6914;
  --gold-mid: #b8892a;
  --gold-light: #e8d48b;
  --gold-ribbon: linear-gradient(180deg, #faf2d4 0%, #e6cf7a 45%, #d4b45a 100%);
  --cream: #f7f0e4;
  --cream-deep: #efe6d4;
  --paper: #fffcf7;
  --ink: #1c1917;
  --ink-soft: #292524;
  --muted: #5c534a;
  --line: #e4dfd6;
  --shadow: 0 20px 50px rgba(28, 25, 23, 0.1);
  --shadow-lg: 0 28px 64px rgba(20, 15, 10, 0.14);
  --radius: 14px;
  --radius-sm: 10px;
  --font: "Heebo", system-ui, sans-serif;
  --header-h: 76px;
  --focus: 0 0 0 3px var(--red-soft), 0 0 0 5px var(--red);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  background-image: radial-gradient(ellipse 120% 80% at 100% 0%, rgba(230, 207, 122, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 100% 60% at 0% 100%, rgba(196, 30, 42, 0.04) 0%, transparent 45%),
    linear-gradient(180deg, var(--paper) 0%, #faf6ef 100%);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--red);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:focus-visible {
  outline: none;
  border-radius: 2px;
  box-shadow: var(--focus);
}

a:hover {
  color: var(--red-dark);
}

.container {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

.narrow {
  max-width: 720px;
}

.skip-link {
  position: absolute;
  inset-block-start: -100px;
  inset-inline-start: 1rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 1rem;
  z-index: 200;
  border-radius: 6px;
  font-weight: 600;
}

.skip-link:focus {
  inset-block-start: 1rem;
}

.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;
}

.nobreak {
  white-space: nowrap;
}

/* Top bar – בהיר, לא פס שחור */
.topbar {
  position: relative;
  z-index: 101;
  background: linear-gradient(180deg, #fffbf5 0%, #f3ebe0 100%);
  color: var(--ink);
  font-size: 0.86rem;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.topbar a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
}

.topbar a:hover,
.topbar a:focus-visible {
  color: var(--red);
}

.topbar-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  min-height: 2.55rem;
  padding: 0.3rem 0;
}

.topbar-pipe {
  opacity: 0.4;
  color: var(--muted);
}

.topbar-whatsapp {
  color: #118c4a !important;
  font-size: 0.84rem;
  font-weight: 700;
}

.topbar-whatsapp:hover,
.topbar-whatsapp:focus-visible {
  color: #0d6e3a !important;
}

/* Header: רשתות בכותרת (לא בפס כהה) */
.header-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem 0.4rem 0.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: none;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  box-shadow: 0 2px 12px rgba(28, 25, 23, 0.07);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s, background 0.2s;
}

.social-pill-txt {
  line-height: 1;
  margin-top: 1px;
}

.social-pill-ic {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  display: block;
}

.social-pill-ic--sm {
  width: 1.05rem;
  height: 1.05rem;
}

.social-pill:hover,
.social-pill:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(28, 25, 23, 0.12);
  outline: none;
}

.social-pill--waze:hover,
.social-pill--waze:focus-visible {
  background: linear-gradient(180deg, #4af 0%, #1da7f0 100%);
  border-color: #1a9ce3;
  color: #fff;
}

.social-pill--ig:hover,
.social-pill--ig:focus-visible {
  background: linear-gradient(145deg, #f58529 0%, #dd2a7b 45%, #8134af 100%);
  border-color: transparent;
  color: #fff;
}

.social-pill--fb:hover,
.social-pill--fb:focus-visible {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff;
}

.social-pill--tt:hover,
.social-pill--tt:focus-visible {
  background: #0f0f0f;
  border-color: #0f0f0f;
  color: #fff;
}

@media (min-width: 821px) {
  .site-nav {
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 0;
  }

  .header-social {
    flex-shrink: 0;
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 52px;
  }

  .header-inner {
    flex-wrap: nowrap;
    gap: 0.35rem 0.45rem;
    padding-block: 0.35rem;
  }

  .logo {
    order: 1;
    flex: 0 1 auto;
    min-width: 0;
    padding: 0;
  }

  .logo-sub {
    display: none;
  }

  .logo-img {
    height: 44px;
    max-width: min(160px, 38vw);
  }

  .logo-mark {
    font-size: 1.15rem;
  }

  .header-social {
    order: 2;
    margin-inline-start: auto;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 0.28rem;
  }

  .social-pill-txt {
    display: none;
  }

  .social-pill {
    padding: 0.38rem 0.42rem;
  }

  .social-pill-ic {
    width: 1.05rem;
    height: 1.05rem;
  }

  .nav-toggle {
    order: 3;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 4px 24px rgba(28, 25, 23, 0.04);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 0.65rem 1rem;
  row-gap: 0.6rem;
}

.logo {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding: 0.25rem 0;
  border-radius: 6px;
}

.logo:hover {
  color: var(--red);
}

.logo--brand {
  flex-direction: row;
  align-items: center;
  gap: 0;
}

.logo-img {
  display: block;
  height: 58px;
  width: auto;
  max-width: min(200px, 42vw);
  object-fit: contain;
  object-position: center;
}

.logo:hover .logo-img,
.logo:focus-visible .logo-img {
  filter: brightness(1.02) saturate(1.05);
}

.logo-mark {
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.logo:hover .logo-mark,
.logo:focus-visible .logo-mark {
  color: var(--red);
}

.logo-sub {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 0.35rem 0.1rem;
  border-radius: 4px;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
  border-radius: 1px;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--red);
  outline: none;
}

.nav-cta {
  background: linear-gradient(145deg, var(--red) 0%, var(--red-dark) 100%) !important;
  color: var(--paper) !important;
  padding: 0.5rem 1.1rem !important;
  border-radius: 999px !important;
  box-shadow: 0 4px 16px rgba(196, 30, 42, 0.28);
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: linear-gradient(145deg, var(--red-bright) 0%, var(--red) 100%) !important;
  color: var(--paper) !important;
  box-shadow: 0 6px 22px rgba(196, 30, 42, 0.35);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
  transform: scale(0.5);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1.1rem 1.5rem 1.35rem;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius) var(--radius);
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav .nav-cta {
    text-align: center;
  }

  .site-nav.is-open {
    display: flex;
  }
}

/* Desktop: hide tel: links – calling works on mobile only (breakpoint matches mobile nav) */
@media (min-width: 821px) {
  .topbar-phone,
  .topbar-pipe,
  .contact-phone,
  .site-nav .nav-cta,
  .footer-links li:has(a[href^="tel:"]) {
    display: none;
  }
}

.nav-ribbon {
  height: 6px;
  background: var(--gold-ribbon);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset;
  position: relative;
}

.nav-ribbon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.06) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.06) 100%);
  pointer-events: none;
}

/* Hero + carousel */
.hero {
  position: relative;
  min-height: min(92vh, 800px);
  display: flex;
  align-items: flex-end;
  padding-block: 5rem 4.25rem;
  color: var(--paper);
  overflow: hidden;
}

.hero--carousel {
  min-height: min(72vh, 620px);
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #14110e;
}

.hero-slides::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: overlay;
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.85s ease;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: opacity 0.45s ease;
  }
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    200deg,
    rgba(20, 16, 12, 0.25) 0%,
    rgba(28, 25, 23, 0.35) 35%,
    rgba(8, 6, 5, 0.72) 55%,
    rgba(5, 3, 2, 0.92) 100%
  );
  pointer-events: none;
}

.hero-vignette::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(196, 30, 42, 0.12) 0%, transparent 40%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
}

.hero-content-inner {
  background: linear-gradient(145deg, rgba(255, 252, 247, 0.1) 0%, rgba(20, 15, 10, 0.45) 100%);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.35rem;
  padding: clamp(1.5rem, 4.5vw, 2.65rem);
  box-shadow: 0 28px 56px -12px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.15) inset;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0.95;
  margin: 0 0 0.5rem;
  color: var(--gold-light);
}

.hero h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(2.05rem, 4.8vw, 2.9rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.hero-lead {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
  line-height: 1.55;
  opacity: 0.98;
  font-weight: 600;
  color: #faf6ef;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-sub {
  margin: 0 0 1.65rem;
  font-size: 0.98rem;
  line-height: 1.65;
  opacity: 0.9;
  max-width: 40rem;
  font-weight: 400;
  color: rgba(255, 250, 242, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
}

.hero-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  background: rgba(0, 0, 0, 0.32);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.hero-dot.is-active {
  background: var(--red-bright);
  transform: scale(1.2);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.hero-nav {
  position: absolute;
  z-index: 4;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  backdrop-filter: blur(6px);
}

.hero-nav:hover,
.hero-nav:focus-visible {
  background: var(--red);
  border-color: var(--red-bright);
  outline: none;
  transform: translateY(-50%) scale(1.05);
}

.hero-nav--prev {
  inset-inline-start: 0.75rem;
}

.hero-nav--next {
  inset-inline-end: 0.75rem;
}

@media (max-width: 600px) {
  .hero-nav {
    top: auto;
    bottom: 3.5rem;
    transform: none;
  }

  .hero-nav:hover,
  .hero-nav:focus-visible {
    transform: scale(1.05);
  }

  .hero-nav--prev {
    inset-inline-start: 0.5rem;
  }

  .hero-nav--next {
    inset-inline-end: 0.5rem;
  }
}

.hero-nav-ic {
  display: block;
  font-size: 1.65rem;
  line-height: 1;
  margin-top: -2px;
  font-weight: 300;
}

/* Marquee */
.keyword-marquee {
  overflow: hidden;
  background: var(--gold-ribbon);
  border-top: 1px solid color-mix(in srgb, var(--gold) 20%, #fff);
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 25%, #a08030);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.keyword-track {
  display: flex;
  width: max-content;
  direction: ltr;
  animation: marq 52s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .keyword-track {
    animation: none;
    flex-wrap: wrap;
    width: 100% !important;
    justify-content: center;
  }
}

@keyframes marq {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.keyword-inner {
  display: inline-block;
  padding: 0.7rem 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #3d2f0f;
  white-space: nowrap;
  direction: rtl;
}

/* Section headers */
.section-header {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: 0.25rem;
}

.section-header--left {
  text-align: start;
  margin-inline: 0;
  max-width: none;
}

.section h2,
.section-header h2 {
  font-size: clamp(1.65rem, 2.6vw, 2.1rem);
  margin: 0 0 0.65rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--ink);
}

.section-header h2 {
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-header:not(.section-header--left) h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 4px;
  margin: 0.85rem auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--red) 0%, var(--gold-mid) 100%);
  box-shadow: 0 2px 8px rgba(196, 30, 42, 0.25);
}

.section-header--left h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 4px;
  margin: 0.75rem 0 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--red) 0%, var(--gold-mid) 100%);
}

.section-intro,
.lead {
  color: var(--muted);
  margin-top: 0;
}

.lead {
  font-size: 1.12rem;
  line-height: 1.75;
  margin: 0 0 1rem;
}

.narrow p {
  margin: 0 0 1.1rem;
}

.narrow .section-header + p.lead,
.narrow .section-header ~ p {
  margin-top: 0.5rem;
}

.section-intro--left {
  text-align: start;
  margin-inline: 0;
  max-width: 36rem;
}

.faq-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.35rem;
  box-shadow: 0 2px 12px rgba(28, 25, 23, 0.04);
}

.faq-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.98rem;
}

.faq-item a {
  color: var(--red);
  font-weight: 600;
}

.local-edge-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.local-edge-list li {
  padding: 1.1rem 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  line-height: 1.65;
  color: var(--muted);
  box-shadow: 0 2px 12px rgba(28, 25, 23, 0.04);
}

.local-edge-list strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--ink);
  font-size: 1.02rem;
}

.seo-topic-grid {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}

.seo-topic-grid a {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.seo-topic-grid a:hover,
.seo-topic-grid a:focus-visible {
  border-color: color-mix(in srgb, var(--red) 35%, var(--line));
  color: var(--red);
  box-shadow: 0 4px 14px rgba(196, 30, 42, 0.08);
  outline: none;
}

.page-topic .site-header--compact {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-nav--compact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.site-nav--compact a {
  color: var(--ink);
  text-decoration: none;
}

.site-nav--compact a:hover {
  color: var(--red);
}

.seo-page-main {
  padding-block: 2rem 3rem;
}

.seo-article h1 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.25;
}

.seo-article p {
  margin: 0 0 1rem;
  line-height: 1.7;
  color: var(--muted);
}

.seo-breadcrumb {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
}

.seo-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.seo-breadcrumb a:hover {
  color: var(--red);
}

.seo-article-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.5rem 0 1rem;
}

.seo-article-meta {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.site-footer--minimal {
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
}

.site-footer--minimal .footer-seo {
  max-width: none;
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.45rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  cursor: pointer;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(145deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--paper);
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(196, 30, 42, 0.3);
}

button.btn {
  font-family: inherit;
  cursor: pointer;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(145deg, var(--red-bright) 0%, var(--red) 100%);
  color: var(--paper);
  box-shadow: 0 8px 28px rgba(196, 30, 42, 0.4);
  outline: none;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
  outline: none;
}

.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--red);
  color: var(--red);
  box-shadow: 0 4px 16px rgba(196, 30, 42, 0.12);
  outline: none;
}

/* Sections */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-tint {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  position: relative;
}

.section-tint::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(196, 30, 42, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.dept-grid {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.35rem;
}

.dept-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: 0 2px 14px rgba(28, 25, 23, 0.05);
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.2s;
  border-inline-end: 3px solid color-mix(in srgb, var(--gold-mid) 50%, var(--line));
  overflow: hidden;
  cursor: pointer;
}

.dept-card-media {
  flex: 0 0 auto;
  width: 100%;
  height: 128px;
  background-color: color-mix(in srgb, var(--cream-deep) 80%, var(--line));
  background-image: var(--dept-img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.dept-card-body {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  padding-block: 1.15rem;
  padding-inline: 1.25rem 1.35rem;
  background: var(--paper);
}

.dept-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  z-index: 2;
  background: linear-gradient(to left, var(--red) 0%, var(--gold-mid) 50%, transparent 100%);
  opacity: 0.85;
}

.dept-card:hover,
.dept-card:focus-within {
  border-color: color-mix(in srgb, var(--red) 28%, var(--line));
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.dept-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.dept-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

.dept-expand-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.35rem;
}

.dept-expand-btn {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.65rem 1.5rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(28, 25, 23, 0.06);
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.dept-expand-btn:hover,
.dept-expand-btn:focus-visible {
  border-color: color-mix(in srgb, var(--red) 35%, var(--line));
  color: var(--red);
  box-shadow: 0 4px 16px rgba(196, 30, 42, 0.1);
  outline: none;
}

@media (max-width: 767px) {
  .dept-grid--collapsible:not(.is-expanded) .dept-card:nth-child(n + 5) {
    display: none;
  }

  .dept-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .dept-card-media {
    height: 140px;
  }

  .dept-card:hover,
  .dept-card:focus-within {
    transform: none;
  }
}

/* Gallery grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.85rem;
  margin-top: 1.5rem;
}

@media (min-width: 600px) {
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 1.05rem;
  }
}

.gallery button {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  background: #e8e4dc;
  transition: transform 0.3s cubic-bezier(0.25, 0.6, 0.35, 1), box-shadow 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  /* 83 תמונות: מדלגים על רינדור מחוץ למסך בלי קפיצות פריסה */
  content-visibility: auto;
  contain-intrinsic-size: 210px 210px;
}

.gallery button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(196, 30, 42, 0.06) 0%, transparent 35%, rgba(0, 0, 0, 0.42) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery button::before {
  content: "+";
  position: absolute;
  inset-inline-end: 0.6rem;
  bottom: 0.55rem;
  z-index: 1;
  width: 1.8rem;
  height: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 252, 247, 0.92);
  color: var(--red);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.gallery button:hover,
.gallery button:focus-visible {
  transform: translateY(-4px);
  z-index: 1;
  outline: none;
  box-shadow: var(--shadow-lg), 0 0 0 2px var(--red);
}

.gallery button:hover::after,
.gallery button:focus-visible::after {
  opacity: 1;
}

.gallery button:hover::before,
.gallery button:focus-visible::before {
  opacity: 1;
  transform: translateY(0);
}

.gallery button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.25, 0.6, 0.35, 1);
}

.gallery button:hover img,
.gallery button:focus-visible img {
  transform: scale(1.07);
}

@media (prefers-reduced-motion: reduce) {
  .gallery button,
  .gallery button img,
  .gallery button::before {
    transition: none;
  }

  .gallery button:hover img,
  .gallery button:focus-visible img {
    transform: none;
  }
}

.gallery-hint {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 1.5rem;
  line-height: 1.5;
}

/* Gallery category filters */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
  justify-content: center;
  margin-top: 1.25rem;
  margin-bottom: 0.25rem;
}

.gallery-filters--modal {
  margin-top: 0;
  margin-bottom: 0.85rem;
  justify-content: flex-start;
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 0.35rem 0 0.65rem;
  background: linear-gradient(180deg, #fffcf7 92%, transparent);
}

.gallery-filter {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.gallery-filter:hover,
.gallery-filter:focus-visible {
  border-color: rgba(196, 30, 42, 0.35);
  background: #fff9f5;
  outline: none;
}

.gallery-filter.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 2px 10px rgba(196, 30, 42, 0.28);
}

.gallery-tile-badge {
  position: absolute;
  inset-inline-start: 0.45rem;
  top: 0.45rem;
  z-index: 1;
  max-width: calc(100% - 0.9rem);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: rgba(8, 6, 5, 0.72);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}

.gallery button:hover .gallery-tile-badge,
.gallery button:focus-visible .gallery-tile-badge {
  opacity: 1;
  transform: translateY(0);
}

.gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 2.5rem 1rem;
  font-size: 1rem;
}

.gallery-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem 1rem;
  margin-top: 1.5rem;
  max-width: 36rem;
  margin-inline: auto;
}

.gallery-cta-note {
  font-size: 0.95rem;
  color: var(--muted);
}

/* Gallery page */
body.page-gallery {
  background: var(--paper);
  background-image: radial-gradient(ellipse 100% 50% at 50% 0%, rgba(230, 207, 122, 0.14) 0%, transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
}

.gallery-page-header {
  padding: 3.25rem 0 1.75rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #fffcf7 0%, var(--cream) 50%, #f0e8db 100%);
  border-bottom: 1px solid var(--line);
}

.gallery-page-header::before {
  content: "";
  position: absolute;
  inset: -30% 40% 30% -20%;
  background: radial-gradient(ellipse, rgba(196, 30, 42, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.gallery-page-header .container {
  position: relative;
  z-index: 1;
}

.gallery-page-kicker {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 0.4rem;
}

.gallery-page-title {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-weight: 900;
  margin: 0 0 0.65rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}

.gallery-page-lead {
  max-width: 50rem;
  margin: 0 0 1.35rem;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

.gallery-back {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  padding: 0.4rem 0;
  border-radius: 6px;
}

.section-gallery-only {
  padding-top: 2.25rem;
  padding-bottom: 4.5rem;
}

.section-gallery-only .gallery {
  margin-top: 0;
}

.gallery--full {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.55rem;
}

@media (min-width: 500px) {
  .gallery--full {
    grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
    gap: 0.7rem;
  }
}

@media (min-width: 900px) {
  .gallery--full {
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    gap: 0.85rem;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(8, 6, 5, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-img {
  max-width: min(100%, 1200px);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: var(--paper);
  font-size: 1.85rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  z-index: 2;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: var(--red);
  border-color: var(--red-bright);
  outline: none;
  transform: scale(1.05);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  backdrop-filter: blur(6px);
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  background: var(--red);
  border-color: var(--red);
  outline: none;
  transform: translateY(-50%) scale(1.06);
}

.lightbox-nav--next {
  inset-inline-end: 0.5rem;
}

.lightbox-nav--prev {
  inset-inline-start: 0.5rem;
}

@media (max-width: 500px) {
  .lightbox-nav {
    top: auto;
    bottom: 0.75rem;
    transform: none;
  }

  .lightbox-nav--next {
    inset-inline-end: 33%;
  }

  .lightbox-nav--prev {
    inset-inline-start: 33%;
  }

  .lightbox-nav:hover,
  .lightbox-nav:focus-visible {
    transform: scale(1.06);
  }
}

.lightbox-nav-ic {
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 300;
  display: block;
  margin-top: -2px;
}

/* Contact */
.contact-wrap {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0 0.25rem;
}

.contact-card {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #fffcf5 100%);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 2.5rem 2.5rem 2.25rem;
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow);
  text-align: center;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 4px;
  background: var(--gold-ribbon);
}

.contact-card h2#contact-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.65rem, 2.4vw, 2rem);
}

.contact-address,
.contact-phone,
.contact-hours {
  margin: 0 0 1.35rem;
  font-style: normal;
  line-height: 1.65;
  color: var(--ink-soft);
}

.contact-phone a {
  font-weight: 800;
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--red);
  letter-spacing: 0.02em;
  border-radius: 4px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 1.75rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.75rem 0 3rem;
  background: linear-gradient(180deg, var(--cream) 0%, #e8e0d4 100%);
}

.footer-inner {
  display: grid;
  gap: 2rem 2.5rem;
  align-items: start;
  text-align: start;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-col--note {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .footer-inner {
    grid-template-columns: 1.1fr 0.9fr 1.3fr 1fr;
  }

  .footer-col--note {
    grid-column: auto;
    text-align: end;
  }
}

.footer-col--brand {
  text-align: start;
}

.footer-brand {
  margin: 0 0 0.35rem;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.footer-tagline {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

.footer-seo {
  margin: 0.65rem 0 0;
  max-width: 22rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
}

.footer-label {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-links a {
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-soft);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--red);
}

.footer-col--note .footer-note {
  margin: 0;
  text-align: inherit;
  max-width: 24rem;
}

@media (min-width: 900px) {
  .footer-col--note .footer-note {
    margin-inline-start: auto;
  }
}

.footer-note {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Trust strip (כמו "יתרונות" באתרי חנויות) */
.trust-strip {
  background: linear-gradient(180deg, var(--paper) 0%, #f5efe5 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.75rem 0;
  position: relative;
}

.trust-strip-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem 1.5rem;
}

@media (min-width: 600px) {
  .trust-strip-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .trust-strip-inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  padding: 0.5rem 0.5rem 0;
}

.trust-item strong {
  font-size: 1rem;
  color: var(--ink);
  font-weight: 800;
}

.trust-item span:last-child {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.45;
  max-width: 14rem;
}

.trust-ic {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: var(--red-soft);
  border: 1px solid color-mix(in srgb, var(--red) 20%, var(--line));
  margin-bottom: 0.15rem;
  position: relative;
}

.trust-ic--1 {
  background: linear-gradient(135deg, #fde8a8 0%, #e6cf7a 100%);
  box-shadow: 0 4px 12px rgba(184, 137, 42, 0.2);
}

.trust-ic--1::after {
  content: "◆";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold);
}

.trust-ic--2 {
  background: linear-gradient(135deg, #e8f4fc 0%, #c9e0f0 100%);
}
.trust-ic--2::after {
  content: "◈";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #3d6b8a;
}

.trust-ic--3 {
  background: linear-gradient(135deg, #fdf0f0 0%, #e8c9c9 100%);
}
.trust-ic--3::after {
  content: "✦";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: var(--red);
}

.trust-ic--4 {
  background: linear-gradient(135deg, #f0efe8 0%, #d8d2c4 100%);
}
.trust-ic--4::after {
  content: "◉";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--muted);
}

/* Stats */
.stats-bar {
  background: linear-gradient(90deg, #1a1512 0%, #2c2418 50%, #1a1512 100%);
  color: #faf6ef;
  padding: 1.5rem 0;
  border-bottom: 3px solid color-mix(in srgb, var(--gold) 50%, #000);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1rem;
  text-align: center;
}

@media (min-width: 720px) {
  .stats-bar-inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-block {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.25rem;
}

.stat-num {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 900;
  color: var(--gold-light);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.8rem;
  color: #c4b8a8;
  font-weight: 500;
  line-height: 1.35;
}

/* Gallery: preview + CTA block */
.section--gallery-cta {
  background: linear-gradient(180deg, var(--paper) 0%, #faf5ec 100%);
  border-block: 1px solid var(--line);
}

.gallery-preview {
  margin: 0 0 1.5rem;
  overflow: hidden;
}

.gallery-preview-strip {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.65rem;
  overflow-x: auto;
  padding: 0.5rem 0.15rem 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.gallery-preview-tile {
  flex: 0 0 120px;
  width: 120px;
  height: 120px;
  border: 0;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
  background: #e0dcd4;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

@media (min-width: 500px) {
  .gallery-preview-tile {
    flex-basis: 140px;
    width: 140px;
    height: 140px;
  }
}

.gallery-preview-tile:hover,
.gallery-preview-tile:focus-visible {
  transform: scale(1.04);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  outline: 2px solid var(--red);
  outline-offset: 2px;
  z-index: 1;
}

.gallery-preview-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-page-link {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed color-mix(in srgb, var(--red) 40%, var(--line));
  padding-bottom: 0.1em;
  align-self: center;
  margin-top: 0.25rem;
}

.gallery-page-link:hover,
.gallery-page-link:focus-visible {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* Gallery modal (pop-up) */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 350;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 6, 0.62);
  backdrop-filter: blur(5px);
}

.gallery-modal-panel {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  border: 1px solid var(--line);
  overflow: hidden;
}

.gallery-modal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 3.25rem 1rem;
  background: linear-gradient(180deg, #fff9f0 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
  flex-shrink: 0;
}

.gallery-modal-header h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 900;
  color: var(--ink);
}

.gallery-modal-sub {
  margin: 0.4rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}

.gallery-modal-x {
  position: absolute;
  top: 0.65rem;
  inset-inline-end: 0.65rem;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.gallery-modal-x:hover,
.gallery-modal-x:focus-visible {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  outline: none;
}

.gallery-modal-body {
  overflow: auto;
  padding: 1rem 1.15rem 1.35rem;
  flex: 1;
  min-height: 0;
}

.gallery-modal .gallery--full {
  margin-top: 0;
}

/* Contact: WhatsApp + note */
.contact-whatsapp {
  margin: 0 0 1rem;
  text-align: center;
}

.btn-whatsapp {
  display: inline-flex;
  background: #25d366;
  color: #fff !important;
  border: none;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  text-decoration: none;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  background: #1ebe57;
  color: #fff !important;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
  outline: none;
}

.contact-note-small {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
  line-height: 1.45;
}

/* ============================================================
   8b. Follow us (footer social)
   ============================================================ */
.footer-social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 2px 10px rgba(28, 25, 23, 0.06);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.footer-social-link svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(28, 25, 23, 0.14);
  outline: none;
  color: #fff;
}

.footer-social-link--ig:hover,
.footer-social-link--ig:focus-visible {
  background: linear-gradient(145deg, #f58529 0%, #dd2a7b 45%, #8134af 100%);
  border-color: transparent;
}

.footer-social-link--fb:hover,
.footer-social-link--fb:focus-visible {
  background: #1877f2;
  border-color: #1877f2;
}

.footer-social-link--tt:hover,
.footer-social-link--tt:focus-visible {
  background: #0f0f0f;
  border-color: #0f0f0f;
}

/* ============================================================
   9. Floating WhatsApp (FAB) – inline-end = שמאל ב-RTL
   ============================================================ */
.fab-whatsapp {
  position: fixed;
  z-index: 400;
  inset-inline-end: 1.15rem;
  bottom: 1.15rem;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #2ee06f 0%, #1ebe57 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 26px rgba(30, 190, 87, 0.45), 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s, box-shadow 0.2s;
}

.fab-whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.55);
  z-index: -1;
  animation: fab-pulse 2.6s ease-out infinite;
}

@keyframes fab-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70%,
  100% {
    transform: scale(1.65);
    opacity: 0;
  }
}

.fab-whatsapp svg {
  width: 30px;
  height: 30px;
  display: block;
}

.fab-whatsapp:hover,
.fab-whatsapp:focus-visible {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 34px rgba(30, 190, 87, 0.55), 0 4px 12px rgba(0, 0, 0, 0.22);
  color: #fff;
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .fab-whatsapp::before {
    animation: none;
    display: none;
  }
}

/* מסתירים את הכפתור הצף כשמודאל/לייטבוקס פתוחים */
body:has(.gallery-modal:not([hidden])) .fab-whatsapp,
body:has(.lightbox:not([hidden])) .fab-whatsapp {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 500px) {
  .fab-whatsapp {
    width: 52px;
    height: 52px;
    inset-inline-end: 0.9rem;
    bottom: 0.9rem;
  }

  .fab-whatsapp svg {
    width: 27px;
    height: 27px;
  }
}

/* ============================================================
   10. Scroll-reveal – מופעל רק כש-JS זמין (html.js)
   ============================================================ */
html.js [data-reveal] {
  opacity: 0;
  translate: 0 26px;
  transition: opacity 0.7s ease, translate 0.7s cubic-bezier(0.22, 0.9, 0.35, 1);
  transition-delay: var(--reveal-delay, 0s);
}

html.js [data-reveal].is-revealed {
  opacity: 1;
  translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] {
    opacity: 1;
    translate: none;
    transition: none;
  }
}
