/* ==========================================
   Luming Projects - Main Stylesheet
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;500;600;700;800&family=Heebo:wght@300;400;500;600;700;800;900&display=swap');

/* ── Accessibility ── */
.skip-to-content {
  position: fixed;
  top: -60px;
  right: 50%;
  transform: translateX(50%);
  background: var(--lime, #c8f000);
  color: var(--black, #0a0a0a);
  padding: 10px 24px;
  font-weight: 700;
  font-size: 1rem;
  z-index: 99999;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s ease;
  white-space: nowrap;
}
.skip-to-content:focus {
  top: 0;
  outline: 3px solid var(--black, #0a0a0a);
  outline-offset: 2px;
}

/* ── Nagish Li Widget Override ── */

/* מיקום הבר כולו */
nagishli#NagishLiTag {
  bottom: 24px !important;
  left: 24px !important;
  right: auto !important;
  top: auto !important;
  position: fixed !important;
  z-index: 9990 !important;
}

/* מסתיר את הטקסט "נגישות" ואת האייקון הפיקסלי */
#NagishLiTitle {
  display: none !important;
}
#NagishLiLogo {
  display: none !important;
}

/* הכפתור — עיגול כחול נקי */
#NagishLiBarStrip {
  background-color: #1565c0 !important;
  border: none !important;
  border-radius: 50% !important;
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  box-shadow: 0 4px 18px rgba(21,101,192,0.45) !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  cursor: pointer !important;
  padding: 0 !important;
}
#NagishLiBarStrip:hover,
#NagishLiBarStrip:focus {
  transform: scale(1.1) !important;
  box-shadow: 0 6px 28px rgba(21,101,192,0.6) !important;
  background-color: #1976d2 !important;
}
/* אייקון נגישות לבן */
#NagishLiBarStrip::after {
  content: "\f368";
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "FontAwesome" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  font-size: 1.5rem !important;
  color: #ffffff !important;
  display: block !important;
  line-height: 1 !important;
  pointer-events: none !important;
}
/* מסתיר את כפתור expand/collapse שלא צריך */
#NagishLiToggleMenus {
  display: none !important;
}
/* מניעת overflow */
#NagishLiBar {
  overflow: visible !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
/* תפריט */
#NagishLiMenus {
  bottom: 68px !important;
  left: 0 !important;
  right: auto !important;
  top: auto !important;
}

/* ── Variables ── */
:root {
  --black: #0a0a0a;
  --dark: #111111;
  --dark-2: #1a1a1a;
  --dark-3: #222222;
  --gray-dark: #333333;
  --gray: #666666;
  --gray-light: #999999;
  --gray-lighter: #cccccc;
  --gray-bg: #f5f5f5;
  --white: #ffffff;
  --lime: #c8f000;
  --lime-dark: #a8cc00;
  --lime-light: #d4f533;
  --lime-subtle: rgba(200, 240, 0, 0.08);
  --border: #e0e0e0;
  --border-dark: #2a2a2a;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
  --shadow-xl: 0 24px 80px rgba(0,0,0,0.16);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Heebo', 'Assistant', sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  direction: rtl;
  text-align: right;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.2rem; }
p { color: var(--gray); }

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }

/* ── Section spacing ── */
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.section-lg { padding: 140px 0; }

/* ── Section header ── */
.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lime-dark);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}
.section-title span { color: var(--lime-dark); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 600px;
}
.section-header.center .section-subtitle { margin: 0 auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  font-family: var(--font);
}
.btn-primary {
  background: var(--lime);
  color: var(--black);
  border-color: var(--lime);
}
.btn-primary:hover {
  background: var(--lime-dark);
  border-color: var(--lime-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,240,0,0.3);
}
.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn-dark:hover {
  background: var(--dark-3);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--border);
}
.btn-outline:hover {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,1);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
/* When hero slider is present, keep navbar transparent at top */
.navbar.hero-top {
  background: rgba(0,0,0,0.15);
  border-bottom-color: rgba(255,255,255,0.1);
}
.navbar.hero-top.scrolled {
  background: rgba(255,255,255,1);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
}
.navbar.hero-top:not(.scrolled) .navbar-logo { color: var(--white); }
.navbar-logo span { color: var(--lime-dark); }
.navbar.hero-top:not(.scrolled) .navbar-logo span { color: var(--lime); }
.navbar-logo img { height: 40px; width: auto; }

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.navbar-nav a {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-dark);
  border-radius: var(--radius);
  transition: var(--transition);
}
.navbar.hero-top:not(.scrolled) .navbar-nav a { color: rgba(255,255,255,0.85); }
.navbar-nav a:hover {
  color: var(--dark);
  background: var(--gray-bg);
}
.navbar.hero-top:not(.scrolled) .navbar-nav a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.15);
}
.navbar-nav a.active {
  color: var(--lime-dark);
  background: rgba(200,240,0,0.1);
}
.navbar.hero-top:not(.scrolled) .navbar-nav a.active {
  color: var(--lime);
  background: rgba(200,240,0,0.15);
}

/* ── Mega Menu ── */
.nav-has-mega { position: relative; }
.nav-mega-trigger { display: flex; align-items: center; gap: 5px; cursor: pointer; }
.nav-chevron {
  font-size: 0.65rem;
  transition: transform .25s ease;
  opacity: .6;
}
.nav-has-mega:hover .nav-chevron { transform: rotate(180deg); }

.mega-menu {
  position: fixed;
  top: 72px;
  right: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 48px rgba(0,0,0,0.13);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 2000;
  pointer-events: none;
}
.nav-has-mega:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.mega-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 32px 20px;
}
.mega-cats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 24px 24px;
  margin-bottom: 20px;
}
.mega-col { display: flex; flex-direction: column; gap: 6px; }
.mega-cat-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--dark) !important;
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
  text-decoration: none;
}
.mega-cat-title i { color: var(--lime-dark); font-size: 0.85rem; }
.mega-cat-title:hover { color: var(--lime-dark) !important; }
.mega-sub-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 3px; }
.mega-sub-list a {
  font-size: 0.82rem;
  color: var(--gray) !important;
  background: none !important;
  padding: 3px 0 !important;
  border-radius: 0 !important;
  text-decoration: none;
  transition: color .2s;
  display: block;
}
.mega-sub-list a:hover { color: var(--lime-dark) !important; padding-right: 4px !important; }
.mega-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--lime-dark) !important;
  background: rgba(200,240,0,0.12) !important;
  padding: 7px 16px !important;
  border-radius: 100px !important;
  border-top: 1px solid var(--border);
  margin-top: 4px;
  text-decoration: none;
  transition: background .2s;
}
.mega-view-all:hover { background: rgba(200,240,0,0.22) !important; }

/* Hide mega on hero-top transparent state */
.navbar.hero-top:not(.scrolled) .nav-chevron { opacity: .7; }

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.navbar-phone {
  color: var(--lime-dark);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(200,240,0,0.1);
  padding: 7px 14px;
  border-radius: 100px;
  border: 1.5px solid rgba(168,204,0,0.3);
  transition: var(--transition);
}
.navbar-phone:hover {
  background: var(--lime);
  color: var(--black);
  border-color: var(--lime);
}
.navbar.hero-top:not(.scrolled) .navbar-phone {
  color: var(--lime);
  background: rgba(200,240,0,0.12);
  border-color: rgba(200,240,0,0.3);
}
.navbar.hero-top:not(.scrolled) .navbar-phone:hover {
  background: var(--lime);
  color: var(--black);
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.hero-top:not(.scrolled) .navbar-toggle span { background: var(--white); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #1a1a1a;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }

/* Header */
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.mobile-nav-logo { color: #fff; font-weight: 900; font-size: 1.05rem; letter-spacing: -0.01em; }
.mobile-nav-logo span { color: #c8f000; }
.mobile-nav-close {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: 0.2s;
}
.mobile-nav-close:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* Regular link */
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: 0.2s;
  text-decoration: none;
}
.mobile-nav-link:hover { color: #fff; background: rgba(255,255,255,0.04); }
.mobile-nav-link .mn-icon { width: 18px; text-align: center; color: rgba(255,255,255,0.28); font-size: 0.82rem; flex-shrink: 0; }

/* Accordion row */
.mobile-nav-acc { border-bottom: 1px solid rgba(255,255,255,0.05); }
.mobile-nav-acc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: 0.2s;
}
.mobile-nav-acc-row:hover { color: #fff; }
.mobile-nav-acc.open .mobile-nav-acc-row { color: #fff; }
.mobile-nav-acc-row .mn-icon { width: 18px; text-align: center; color: rgba(255,255,255,0.28); font-size: 0.82rem; flex-shrink: 0; }
.mn-chevron {
  margin-right: auto;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.22);
  transition: transform 0.25s ease, color 0.2s;
}
.mobile-nav-acc.open .mn-chevron { transform: rotate(180deg); color: #c8f000; }

/* Sub panel */
.mobile-nav-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: rgba(0,0,0,0.3);
}
.mobile-nav-acc.open .mobile-nav-sub { max-height: 800px; }

.mobile-nav-sub-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 20px;
  color: rgba(255,255,255,0.45);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: 0.2s;
}
.mobile-nav-sub-all:hover { color: rgba(255,255,255,0.75); }
.mobile-nav-sub-all span { color: #c8f000; font-size: 0.7rem; }

.mobile-nav-cat-group { padding: 8px 0 4px; }
.mobile-nav-cat-title {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 20px 5px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.mobile-nav-cat-title a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: 0.2s;
}
.mobile-nav-cat-title a:hover { color: #c8f000; }
.mobile-nav-sub-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 26px;
  color: rgba(255,255,255,0.62);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: 0.2s;
  border-right: 2px solid transparent;
}
.mobile-nav-sub-item:hover { color: #fff; border-right-color: #c8f000; background: rgba(255,255,255,0.03); }
.mobile-nav-sub-item::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.2); flex-shrink: 0; }

/* Footer CTA */
.mobile-nav-footer { padding: 16px 20px 24px; flex-shrink: 0; }
.mobile-nav-phone-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: #c8f000;
  color: #1a1a1a;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 12px;
  text-decoration: none;
  transition: 0.2s;
}
.mobile-nav-phone-btn:hover { background: #b8e000; }

/* ══════════════════════════════════════
   HERO SLIDER — Elegant / Steinitz Style
   ══════════════════════════════════════ */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #0a1628;
}

/* ── Slide ── */
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* ── Background image ── */
.hero-slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hero-slide.active .hero-slide-bg img { transform: scale(1); }

/* Placeholder when no bg image */
.hero-slide-placeholder {
  position: absolute;
  inset: 0;
  background: var(--slide-bg, #0a1628);
}
.hero-slide-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(200,240,0,0.06) 0%, transparent 65%);
}

/* Overlay — right side darker for RTL text readability */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.08) 0%,
    rgba(0,0,0,0.50) 50%,
    rgba(0,0,0,0.72) 100%
  );
}

/* ── Content ── */
.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding-top: 72px;
}

/* Accent label */
.hero-slide-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-slide-label::before {
  content: '';
  width: 36px;
  height: 1.5px;
  background: var(--lime);
  flex-shrink: 0;
}

/* Title — light + bold combo */
.hero-slide-content h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.hero-slide-content h1 strong {
  font-weight: 700;
  display: block;
}
.hero-slide-content h1 span { color: var(--lime); }

/* Subtitle */
.hero-slide-content p {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
  max-width: 500px;
  line-height: 1.75;
  font-weight: 300;
}

/* CTA buttons */
.hero-slide-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--lime);
  color: var(--black);
  font-size: 0.9rem;
  font-weight: 700;
  border: 2px solid var(--lime);
  transition: var(--transition);
  letter-spacing: 0.04em;
}
.btn-hero-primary:hover {
  background: transparent;
  color: var(--lime);
}
.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1.5px solid rgba(255,255,255,0.35);
  transition: var(--transition);
}
.btn-hero-outline:hover {
  border-color: var(--lime);
  color: var(--lime);
}

/* Dark text variant */
.hero-slide.text-dark .hero-slide-content h1 { color: var(--dark); }
.hero-slide.text-dark .hero-slide-content p { color: var(--gray); }
.hero-slide.text-dark .hero-slide-content .hero-slide-label { color: var(--lime-dark); }

/* ── Bottom footer bar ── */
.hero-slider-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 0 0 28px;
}
.hero-slider-footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

/* Slide counter */
.slider-counter {
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 60px;
}
.slider-counter b { color: rgba(255,255,255,0.9); font-weight: 500; }

/* Progress lines */
.slider-lines {
  display: flex;
  gap: 6px;
  align-items: center;
}
.slider-line {
  width: 48px;
  height: 2px;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background 0.4s ease, width 0.4s ease;
  border: none;
  padding: 0;
  flex-shrink: 0;
}
.slider-line.active {
  background: var(--lime);
  width: 72px;
}
.slider-line:hover { background: rgba(255,255,255,0.5); }

/* Square arrows */
.slider-arrows {
  display: flex;
  gap: 0;
}
.slider-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.2);
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.85rem;
  backdrop-filter: blur(6px);
}
.slider-arrow:first-child { border-left: none; }
.slider-arrow:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--black);
}

/* Scroll cue */
.slider-scroll-cue {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: default;
}
.scroll-line-anim {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5) 0%, transparent 100%);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  80% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ── Stats bar ── */
.hero-stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.hero-stats-inner { display: flex; }
.hero-stat {
  flex: 1;
  padding: 22px 0;
  text-align: center;
  border-left: 1px solid var(--border);
  transition: background var(--transition);
}
.hero-stat:last-child { border-left: none; }
.hero-stat:hover { background: #f9ffe0; }
.hero-stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--lime-dark);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label { font-size: 0.8rem; color: var(--gray); font-weight: 500; }

/* ── Fallback hero (no slides) ── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: #0a1628;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,18,40,0.92) 0%, rgba(10,18,40,0.5) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 720px; padding-top: 72px; }
.hero h1 { color: var(--white); font-size: clamp(2rem,5vw,3.4rem); font-weight: 300; line-height: 1.15; margin-bottom: 20px; }
.hero h1 strong { font-weight: 700; display: block; }
.hero h1 span { color: var(--lime); }
.hero-subtitle { font-size: 1rem; color: rgba(255,255,255,0.65); margin-bottom: 36px; max-width: 520px; line-height: 1.75; font-weight: 300; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Categories Bento Grid ── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 280px 240px;
  gap: 14px;
}
.categories-grid .category-card:nth-child(1) { grid-column: 1 / 3; }
.categories-grid .category-card:nth-child(6) { grid-column: 3 / 5; }

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease;
  background: var(--dark);
}
.category-card:hover {
  transform: translateY(-5px) scale(1.012);
  box-shadow: 0 20px 50px rgba(0,0,0,.22);
}
/* Background image */
.cat-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .5s ease;
}
.category-card:hover .cat-bg { transform: scale(1.06); }
/* Gradient overlay */
.cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.25) 55%, transparent 100%);
  opacity: .7;
  transition: opacity .3s ease;
}
.category-card:hover .cat-overlay { opacity: .55; }
/* Text content */
.cat-content {
  position: relative;
  z-index: 2;
  padding: 24px 22px;
  color: #fff;
}
.category-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 10px;
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  transition: background .3s ease, color .3s ease;
}
.category-card:hover .category-icon { background: var(--lime); color: var(--dark); }
.category-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
}
.categories-grid .category-card:nth-child(1) h3,
.categories-grid .category-card:nth-child(6) h3 { font-size: 1.5rem; }
.category-card p {
  font-size: 0.8rem;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
  margin-bottom: 14px;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.categories-grid .category-card:nth-child(1) p,
.categories-grid .category-card:nth-child(6) p { -webkit-line-clamp: 3; font-size: 0.85rem; }
.cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 100px;
  transition: background .3s ease, color .3s ease;
  font-family: inherit;
}
.category-card:hover .cat-btn { background: var(--lime); color: var(--dark); border-color: var(--lime); }

/* ── Products Grid ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.product-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}
.product-card:hover {
  border-color: var(--lime);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.product-card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #fff;
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--lime);
  color: var(--black);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
}
.product-card-new {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--dark);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
}
.product-card-body { padding: 20px; }
.product-card-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--lime-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.product-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-desc {
  font-size: 0.85rem;
  color: var(--gray);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.product-card-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.9rem;
  transition: var(--transition);
}
.product-card:hover .product-card-arrow {
  background: var(--lime);
  color: var(--black);
}

/* ── Product Detail ── */
.product-hero {
  padding-top: 120px;
  padding-bottom: 80px;
  background: var(--gray-bg);
}
.product-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.product-main-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--white);
  box-shadow: var(--shadow-xl);
}
.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.product-thumbnail {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}
.product-thumbnail.active,
.product-thumbnail:hover { border-color: var(--lime); }
.product-thumbnail img { width: 100%; height: 100%; object-fit: cover; }

.product-info { }
.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: 20px;
}
.product-breadcrumb a:hover { color: var(--lime-dark); }
.product-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--lime-subtle);
  border: 1px solid rgba(200,240,0,0.3);
  color: var(--lime-dark);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.product-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.15;
}
.product-short-desc {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 28px;
}
.product-spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.spec-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 16px;
  min-width: 80px;
  text-align: center;
}
.spec-pill-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 4px;
}
.spec-pill-label {
  font-size: 0.68rem;
  color: var(--gray-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.product-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

/* ── Spec Table ── */
.spec-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  -webkit-overflow-scrolling: touch;
}
.spec-table {
  width: auto;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.spec-table th {
  background: #c8f000;
  color: #1a1a1a;
  padding: 14px 20px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  border-bottom: 2px solid #a8d000;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.spec-table th:first-child { border-radius: 0 var(--radius) 0 0; }
.spec-table th:last-child { border-radius: var(--radius) 0 0 0; }
.spec-table td {
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--gray-dark);
  text-align: center;
}
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:nth-child(even) td { background: var(--gray-bg); }
.spec-table tr:hover td { background: var(--lime-subtle); }

/* ── Tab nav ── */
.tabs-nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 40px;
}
.tab-btn {
  padding: 12px 24px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  transition: var(--transition);
}
.tab-btn.active, .tab-btn:hover {
  color: var(--dark);
  border-bottom-color: var(--lime);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Advantages ── */
.advantages-section { background: var(--dark); }
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.advantage-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--dark-2);
  border: 1px solid var(--border-dark);
  transition: var(--transition);
}
.advantage-card:hover {
  border-color: var(--lime);
  transform: translateY(-4px);
}
.advantage-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--lime-subtle);
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  border: 1px solid rgba(200,240,0,0.2);
}
.advantage-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.advantage-card p { color: rgba(255,255,255,0.55); font-size: 0.9rem; line-height: 1.6; }

/* ── Projects Grid ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}
.project-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--dark);
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  opacity: 0.8;
}
.project-card:hover img { transform: scale(1.08); opacity: 0.6; }
.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}
.project-card-type {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.project-card h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 6px; }
.project-card-location { color: rgba(255,255,255,0.6); font-size: 0.85rem; display: flex; align-items: center; gap: 6px; }

/* ── Blog Grid ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.article-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.article-card:hover {
  border-color: var(--lime);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.article-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--gray-bg);
}
.article-card-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.article-card:hover .article-card-image img { transform: scale(1.05); }
.article-card-body { padding: 24px; }
.article-card-category {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--lime-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.article-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; line-height: 1.4; }
.article-card p { font-size: 0.85rem; color: var(--gray); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-card-meta { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 0.8rem; color: var(--gray-light); }

/* ── Contact section ── */
.contact-section { background: var(--gray-bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { margin-bottom: 32px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-item-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius);
  background: var(--dark);
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.contact-item-text h4 { font-size: 0.85rem; color: var(--gray); margin-bottom: 4px; }
.contact-item-text p, .contact-item-text a { font-size: 1rem; font-weight: 600; color: var(--dark); }

/* ── Form styles ── */
.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  direction: rtl;
}
.form-control:focus {
  outline: none;
  border-color: var(--lime-dark);
  box-shadow: 0 0 0 3px rgba(200,240,0,0.15);
}
.form-control::placeholder { color: var(--gray-light); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Filter bar ── */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding: 20px;
  background: var(--gray-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--gray);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.search-bar {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  max-width: 400px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  overflow: hidden;
}
.search-bar input {
  flex: 1;
  padding: 10px 18px;
  border: none;
  outline: none;
  font-size: 0.9rem;
  font-family: var(--font);
  direction: rtl;
  color: var(--dark);
}
.search-bar button {
  padding: 10px 18px;
  background: var(--dark);
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 0.9rem;
}

/* ── Page header ── */
.page-header {
  background: var(--dark);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,240,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-header h1 { color: var(--white); margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,0.6); font-size: 1.05rem; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }

/* ── Footer ── */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
  border-top: 1px solid var(--border-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand { }
.footer-logo-link { display: inline-block; margin-bottom: 16px; }
.footer-logo-img { max-height: 48px; width: auto; display: block; }
.footer-logo {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  display: block;
}
.footer-logo span { color: var(--lime); }
.footer-tagline { font-size: 0.9rem; line-height: 1.6; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--dark-2);
  border: 1px solid var(--border-dark);
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition);
}
.social-btn:hover { background: var(--lime); color: var(--black); border-color: var(--lime); }
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--lime); }
.footer-contact-item { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 0.9rem; }
.footer-contact-item i { color: var(--lime); min-width: 16px; }
.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* ── Back to top ── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: none;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(200,240,0,0.4);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); }

/* ── Search Navbar Button ── */
.navbar-search-btn {
  background: none;
  border: none;
  color: var(--lime-dark);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
}
.navbar-search-btn:hover { color: var(--dark); background: rgba(200,240,0,0.12); }
.navbar.hero-top:not(.scrolled) .navbar-search-btn { color: rgba(255,255,255,0.75); }
.navbar.hero-top:not(.scrolled) .navbar-search-btn:hover { color: var(--lime); background: rgba(255,255,255,0.06); }

/* ── Search Overlay ── */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.96);
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.search-overlay.open { opacity: 1; visibility: visible; }

.search-overlay-inner { width: 100%; max-width: 680px; padding: 0 20px; }

.search-overlay-form {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--dark-2);
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 12px 20px;
  transition: border-color 0.2s;
}
.search-overlay-form:focus-within { border-color: var(--lime); }

.search-overlay-icon { color: var(--gray-light); font-size: 1.1rem; flex-shrink: 0; }

.search-overlay-form input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 1.2rem;
  font-family: var(--font-main);
  direction: rtl;
}
.search-overlay-form input::placeholder { color: var(--gray); }

.search-overlay-close {
  position: absolute;
  top: 28px;
  left: 28px;
  background: var(--dark-3);
  border: 1px solid var(--border-dark);
  color: var(--gray-light);
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  transition: color 0.2s, background 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.search-overlay-close:hover { color: var(--white); background: var(--dark); }

/* תוצאות חיות */
.search-live-results {
  margin-top: 12px;
  background: var(--dark-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: none;
}
.search-live-results.has-results { display: block; }

.search-live-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  text-decoration: none;
  color: var(--white);
  transition: background 0.15s;
  border-bottom: 1px solid var(--border-dark);
}
.search-live-item:last-child { border-bottom: none; }
.search-live-item:hover { background: var(--dark-3); }

.search-live-thumb {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--dark-3);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray);
}
.search-live-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }

.search-live-info { flex: 1; min-width: 0; }
.search-live-name { font-weight: 600; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-live-meta { font-size: 0.8rem; color: var(--gray-light); margin-top: 2px; }

.search-live-all {
  display: block;
  text-align: center;
  padding: 12px;
  color: var(--lime-dark);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  background: rgba(200,240,0,0.04);
}
.search-live-all:hover { background: rgba(200,240,0,0.08); }

/* ── Search live — category label ── */
.search-live-cat-label {
  padding: 6px 16px 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  opacity: 0.8;
  border-bottom: 1px solid var(--border-dark);
}

/* ── Pagination ── */
.pagination-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 0 8px;
}
.pagination {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.page-btn {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--dark);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0 12px;
  transition: 0.2s ease;
}
.page-btn:hover { border-color: var(--lime-dark); background: var(--gray-bg); }
.page-active { background: var(--lime) !important; border-color: var(--lime) !important; font-weight: 700; cursor: default; }
.page-btn-nav { font-size: 0.8rem; color: var(--gray); }
.page-btn-disabled { opacity: 0.35; pointer-events: none; }
.page-ellipsis { color: var(--gray-light); font-size: 0.95rem; padding: 0 4px; display: flex; align-items: center; height: 40px; }
.pagination-info { font-size: 0.82rem; color: var(--gray-light); }
@media (max-width: 480px) { .page-btn { min-width: 36px; height: 36px; font-size: 0.85rem; } }

/* Search Results Page */
.search-page-form { max-width: 640px; margin: 0 auto 48px; }
.search-page-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--gray-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 10px 20px;
}
.search-page-input-wrap:focus-within { border-color: var(--lime-dark); }
.search-page-input-wrap i { color: var(--gray-light); font-size: 1.1rem; }
.search-page-input-wrap input {
  flex: 1; border: none; background: none; outline: none;
  font-size: 1.05rem; font-family: var(--font-main);
}

/* ── WhatsApp Float ── */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 12px 20px 12px 16px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.55);
  color: #fff;
  text-decoration: none;
}
.whatsapp-float svg { flex-shrink: 0; }
.whatsapp-float-label { font-family: var(--font-main); }

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    padding: 12px;
    border-radius: 50%;
  }
  .whatsapp-float-label { display: none; }
}

/* ── Utilities ── */
.text-lime { color: var(--lime-dark); }
.text-gray { color: var(--gray); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.bg-dark { background: var(--dark); }
.bg-gray { background: var(--gray-bg); }
.divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.divider-dark { border-top-color: var(--border-dark); }
.mt-auto { margin-top: auto; }
.no-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-bg);
  color: var(--gray-lighter);
  font-size: 2rem;
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeUp 0.6s ease forwards; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

[data-aos] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }

/* ── Alert/messages ── */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}
.alert-success { background: rgba(200,240,0,0.15); border: 1px solid rgba(200,240,0,0.4); color: #5a6e00; }
.alert-error { background: #fff5f5; border: 1px solid #fca5a5; color: #dc2626; }

/* ── No results ── */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--gray-light);
}
.empty-state i { font-size: 3rem; margin-bottom: 20px; opacity: 0.4; }
.empty-state p { font-size: 1.05rem; }

/* ── Rich text content ── */
.rich-content h2, .rich-content h3 { margin: 28px 0 12px; color: var(--dark); }
.rich-content p { margin-bottom: 16px; color: var(--gray); }
.rich-content ul, .rich-content ol { padding-right: 24px; margin-bottom: 16px; }
.rich-content li { margin-bottom: 8px; color: var(--gray); }
.rich-content img { border-radius: var(--radius-lg); margin: 24px 0; }
.rich-content blockquote {
  border-right: 4px solid var(--lime);
  padding: 16px 20px;
  background: var(--gray-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--gray-dark);
}

/* ── Legal pages (privacy / terms) ── */
.legal-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--lime-bg);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 20px 0 8px;
}
.legal-content p { color: var(--gray-dark); line-height: 1.85; }
.legal-content ul { list-style: none; padding: 0; margin-bottom: 16px; }
.legal-content ul li {
  padding: 6px 0 6px 0;
  padding-right: 22px;
  position: relative;
  color: var(--gray-dark);
  border-bottom: 1px solid var(--border);
}
.legal-content ul li:last-child { border-bottom: none; }
.legal-content ul li::before {
  content: '◈';
  color: var(--lime-dark);
  position: absolute;
  right: 0;
  top: 7px;
  font-size: 0.7rem;
}
.legal-content a { color: var(--lime-dark); font-weight: 600; }
.legal-content a:hover { text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .product-hero-grid { gap: 40px; }
}

@media (max-width: 900px) {
  .navbar-nav { display: none; }
  .navbar-toggle { display: flex; }
  .hero h1 { font-size: 2.4rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .product-hero-grid { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .projects-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero-stats-inner { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero-actions { flex-direction: column; }
  .product-thumbnails { grid-template-columns: repeat(3, 1fr); }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .categories-grid .category-card:nth-child(1),
  .categories-grid .category-card:nth-child(2),
  .categories-grid .category-card:nth-child(3),
  .categories-grid .category-card:nth-child(4),
  .categories-grid .category-card:nth-child(5),
  .categories-grid .category-card:nth-child(6) { grid-column: auto; min-height: 200px; }
  .categories-grid .category-card:nth-child(1) { grid-column: 1 / 3; min-height: 240px; }
  .categories-grid .category-card:nth-child(6) { grid-column: 1 / 3; min-height: 200px; }
  .form-card { padding: 24px; }
}

/* ==========================================
   Certification Icons — Style A
   ========================================== */
.cert-icons-section {
  background: #f8f8f6;
  border-top: 1px solid #e8e8e4;
  border-bottom: 1px solid #e8e8e4;
  padding: 20px 0;
}
.cert-icons-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: flex-start;
  justify-content: center;
}
.cert-ic {
  width: 72px;
  min-height: 72px;
  background: #fff;
  border: 1px solid #bbb;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 4px 5px;
  color: #1a1a1a;
  transition: border-color .15s, box-shadow .15s;
}
.cert-ic:hover { border-color: #1a1a1a; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.cert-ic svg { width: 34px; height: 34px; display: block; }
.cert-ic.wide      { width: 90px; }
.cert-ic.wide svg  { width: 54px; height: 42px; }
.cert-ic.dali-box      { width: 96px; }
.cert-ic.dali-box svg  { width: 68px; height: 34px; }
.cert-ic-text {
  font-size: 0.62rem;
  font-weight: 800;
  color: #1a1a1a;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.02em;
  font-family: 'Roboto Condensed', 'Heebo', sans-serif;
}

