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

:root {
  /* Brand Palette - Industrial Kraft & Midnight Slate */
  --kraft: #965a2d;
  --kraft-dark: #6e3d19;
  --kraft-light: #c88d58;
  --kraft-soft: #fcf7f2;
  --kraft-border: #eedecf;
  
  --slate-dark: #0a1120;
  --slate: #162033;
  --slate-light: #28354d;
  
  --sand-bg: #f8f6f0;
  --sand-card: #f2eee6;
  --line: #e6dfd5;
  --line-light: #f0ebe3;
  
  --text: #1a1e26;
  --muted: #5c6474;
  --muted-light: #8a94a6;
  
  --gold: #d97706;
  --gold-glow: rgba(217, 119, 6, 0.3);
  --success: #10b981;
  --whatsapp: #25d366;
  
  --sans-ar: "Cairo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --sans-en: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --shadow-xs: 0 1px 2px rgba(10, 17, 32, 0.04);
  --shadow-sm: 0 2px 6px rgba(10, 17, 32, 0.06);
  --shadow-md: 0 8px 20px rgba(10, 17, 32, 0.08);
  --shadow-lg: 0 16px 36px rgba(10, 17, 32, 0.12);
  --shadow-xl: 0 24px 50px rgba(0, 0, 0, 0.28);
  
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 15px; }
body {
  font-family: var(--sans-ar);
  color: var(--text);
  background: #ffffff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html[lang="en"] body { font-family: var(--sans-en); }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
button, input, select, textarea { font-family: inherit; }

.container { width: min(1300px, calc(100% - 40px)); margin-inline: auto; }

/* SVG Social Icons */
.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d1d5db;
  transition: all .2s ease;
  flex-shrink: 0;
}
.social-icon-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}
.social-icon-btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
.social-icon-btn.facebook:hover { background: #1877f2; border-color: #1877f2; }
.social-icon-btn.instagram:hover { background: #e1306c; border-color: #e1306c; }
.social-icon-btn.linkedin:hover { background: #0077b5; border-color: #0077b5; }
.social-icon-btn.whatsapp:hover, .social-icon-btn.wa:hover { background: #25d366; border-color: #25d366; }

/* Top Notice Bar */
.topbar {
  background: var(--slate-dark);
  color: #cbd5e1;
  font-size: 12px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 15px; flex-wrap: wrap; }
.topbar-info { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar-info span, .topbar-info a { display: inline-flex; align-items: center; gap: 6px; color: #cbd5e1; font-weight: 500; }
.topbar-info a:hover { color: #f59e0b; }
.topbar-socials { display: flex; align-items: center; gap: 8px; }

/* Main Site Header */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.header-inner {
  height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.brand-logo { display: flex; align-items: center; gap: 12px; }
.brand-logo img { height: 50px; width: auto; object-fit: contain; }
.brand-title { display: flex; flex-direction: column; }
.brand-title strong { font-size: 18px; font-weight: 900; color: var(--slate-dark); line-height: 1.15; letter-spacing: -0.2px; }
.brand-title span { font-size: 11px; color: var(--kraft); font-weight: 700; }

.nav-menu { display: flex; align-items: center; gap: 20px; list-style: none; }
.nav-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--slate);
  padding: 8px 4px;
  position: relative;
  transition: color .2s;
}
.nav-link:hover { color: var(--kraft); }
.nav-link.active { color: var(--kraft); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: 0; inset-inline: 0; height: 3px; background: var(--kraft); border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--sand-bg);
}
.lang-switch a {
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.lang-switch a.active {
  background: var(--kraft);
  color: #ffffff;
}
.btn-quote {
  background: var(--kraft);
  color: #ffffff;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 2px 8px rgba(150, 90, 45, 0.28);
}
.btn-quote:hover {
  background: var(--kraft-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(150, 90, 45, 0.35);
}

/* Dynamic Hero Slider */
.hero-slider-section {
  position: relative;
  background: var(--slate-dark);
  color: #ffffff;
  min-height: 540px;
  overflow: hidden;
}
.hero-slider-container {
  position: relative;
  width: 100%;
  min-height: 540px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s ease;
  display: flex;
  align-items: center;
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
  z-index: 2;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  transform: scale(1.02);
  transition: transform 6s ease-out;
}
.hero-slide.active .hero-backdrop img {
  transform: scale(1.08);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 17, 32, 0.96) 0%, rgba(10, 17, 32, 0.86) 50%, rgba(10, 17, 32, 0.45) 100%);
  z-index: 2;
}
[dir="rtl"] .hero-overlay {
  background: linear-gradient(270deg, rgba(10, 17, 32, 0.96) 0%, rgba(10, 17, 32, 0.86) 50%, rgba(10, 17, 32, 0.45) 100%);
}
.hero-slide-inner {
  position: relative;
  z-index: 3;
  width: 100%;
}
.hero-content {
  max-width: 760px;
  padding: 80px 0;
  animation: heroContentIn 0.8s ease-out;
}
@keyframes heroContentIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Slider Controls */
.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10, 17, 32, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}
.hero-nav-btn:hover {
  background: var(--kraft);
  border-color: var(--kraft);
  transform: translateY(-50%) scale(1.08);
}
.hero-nav-btn.prev { inset-inline-start: 24px; }
.hero-nav-btn.next { inset-inline-end: 24px; }

.hero-dots {
  position: absolute;
  bottom: 22px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
  align-items: center;
}
[dir="rtl"] .hero-dots {
  transform: translateX(50%);
}
.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.35);
  border: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}
.hero-dot.active {
  width: 32px;
  background: var(--kraft-light);
  box-shadow: 0 0 10px rgba(200, 141, 88, 0.6);
}

.badge-factory {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 141, 88, 0.16);
  border: 1px solid rgba(200, 141, 88, 0.35);
  color: var(--kraft-light);
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 18px;
  color: #ffffff;
}
.hero-sub {
  font-size: 16px;
  color: #e2e8f0;
  margin-bottom: 30px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--kraft);
  color: #ffffff;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 3px 12px rgba(150, 90, 45, 0.35);
}
.btn-primary:hover {
  background: var(--kraft-dark);
  color: #ffffff;
  transform: translateY(-1px);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

/* Quick Stats Bar */
.stats-bar {
  background: var(--sand-bg);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item h3 { font-size: 32px; font-weight: 900; color: var(--kraft-dark); line-height: 1.1; margin-bottom: 4px; }
.stat-item p { font-size: 13px; color: var(--muted); font-weight: 700; }

/* Common Section Layout */
.section { padding: 75px 0; }
.section-bg { background: var(--sand-bg); }
.section-header { text-align: center; max-width: 760px; margin: 0 auto 45px; }
.section-kicker {
  font-size: 12px;
  font-weight: 800;
  color: var(--kraft);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
  display: block;
}
.section-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  color: var(--slate-dark);
  margin-bottom: 12px;
  line-height: 1.35;
}
.section-desc { font-size: 15px; color: var(--muted); line-height: 1.7; }

/* Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}
.filter-btn {
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--slate);
  padding: 7px 18px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all .2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--kraft);
  color: #ffffff;
  border-color: var(--kraft);
  box-shadow: 0 2px 8px rgba(150, 90, 45, 0.25);
}

/* Products Grid & Clean Modern Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 22px;
}
.product-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--kraft-light);
}
.product-thumb {
  height: 215px;
  background: #fbf9f6;
  border-bottom: 1px solid var(--line-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  padding: 16px;
}
.product-thumb img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform .3s ease;
}
.product-card:hover .product-thumb img { transform: scale(1.08); }
.product-badge {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  background: var(--slate-dark);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  z-index: 2;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.product-zoom-hint {
  position: absolute;
  inset: 0;
  background: rgba(10, 17, 32, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s ease;
  backdrop-filter: blur(2px);
  z-index: 1;
}
.product-card:hover .product-zoom-hint { opacity: 1; }
.product-zoom-hint span.hint-pill {
  background: var(--kraft);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.product-body { padding: 18px; display: flex; flex-direction: column; flex-grow: 1; }
.product-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--slate-dark);
  margin-bottom: 10px;
  line-height: 1.4;
  min-height: 42px;
}
.product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: var(--kraft-soft);
  border: 1px solid var(--kraft-border);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  margin-bottom: 12px;
}
.product-specs div span { color: var(--muted); display: block; font-size: 10px; font-weight: 600; }
.product-specs div strong { color: var(--kraft-dark); font-weight: 800; }
.product-use {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.6;
  flex-grow: 1;
}
.product-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--line-light);
  padding-top: 12px;
}
.product-strength-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--kraft);
}
.btn-zoom-trigger {
  background: var(--sand-bg);
  border: 1px solid var(--line);
  color: var(--slate);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all .2s;
}
.btn-zoom-trigger:hover {
  background: var(--kraft);
  color: #ffffff;
  border-color: var(--kraft);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.feature-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: all .25s ease;
}
.feature-box:hover {
  border-color: var(--kraft-light);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--sand-bg);
  color: var(--kraft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 16px;
  font-weight: 900;
}
.feature-box h3 { font-size: 16px; font-weight: 800; color: var(--slate-dark); margin-bottom: 8px; }
.feature-box p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* Sectors Grid */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.sector-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  border-inline-start: 4px solid var(--kraft);
  transition: all .2s ease;
}
.sector-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.sector-card h3 { font-size: 16px; font-weight: 800; color: var(--slate-dark); margin-bottom: 6px; }
.sector-card p { font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* Factory Section */
.factory-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.factory-info h2 { font-size: 30px; font-weight: 900; color: var(--slate-dark); margin-bottom: 14px; line-height: 1.3; }
.factory-info p { font-size: 15px; color: var(--muted); margin-bottom: 22px; line-height: 1.8; }
.factory-dept-list { display: grid; gap: 10px; }
.dept-item {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
}
.dept-item strong { color: var(--kraft-dark); font-size: 13.5px; display: block; margin-bottom: 2px; }
.dept-item span { color: var(--muted); font-size: 12px; }
.factory-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; height: auto; }

/* Factory Gallery Grid */
.factory-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 25px;
}
.gallery-item {
  position: relative;
  height: 190px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  background: var(--slate-dark);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease, opacity .3s ease;
}
.gallery-item:hover img {
  transform: scale(1.08);
  opacity: 0.88;
}
.gallery-caption {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  background: linear-gradient(transparent, rgba(10, 17, 32, 0.92));
  color: #ffffff;
  padding: 20px 12px 8px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.4;
}

/* Quality & ISO Accreditations (Executive Cards) */
.cert-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
}
.cert-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: all .25s ease;
  position: relative;
}
.cert-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.cert-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.cert-badge-img {
  width: 65px;
  height: 65px;
  object-fit: contain;
  background: var(--sand-bg);
  padding: 6px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.cert-card-header h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--slate-dark);
  line-height: 1.3;
}
.cert-status-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #065f46;
  background: #d1fae5;
  padding: 2px 7px;
  border-radius: 4px;
  margin-top: 4px;
}
.cert-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 18px;
  flex-grow: 1;
}
.btn-view-cert {
  width: 100%;
  padding: 9px;
  background: var(--sand-bg);
  border: 1px solid var(--line);
  color: var(--slate-dark);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all .2s ease;
}
.btn-view-cert:hover {
  background: var(--kraft);
  color: #ffffff;
  border-color: var(--kraft);
}

/* Success Partners Section (Clean Logo Grid) */
.partners-section {
  background: #ffffff;
  padding: 65px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
  gap: 14px;
  margin-top: 30px;
}
.partner-logo-card {
  height: 85px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  transition: all .25s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.partner-logo-card:hover {
  border-color: var(--kraft-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.partner-logo-card img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform .25s ease;
}
.partner-logo-card:hover img {
  transform: scale(1.08);
}

/* RFQ Form */
.quote-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 38px 34px;
  max-width: 860px;
  margin: 0 auto;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 12.5px; font-weight: 700; color: var(--slate); }
.form-control {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fafaf9;
  font-size: 13.5px;
  color: var(--text);
  outline: none;
  transition: border .2s, background .2s;
}
.form-control:focus { border-color: var(--kraft); background: #ffffff; }
textarea.form-control { min-height: 100px; resize: vertical; }

/* Lightbox Modal System */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 17, 32, 0.86);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.modal-backdrop.active { display: flex; }
.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  position: relative;
  display: flex;
  flex-direction: column;
  animation: modalIn .25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-header {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--sand-bg);
}
.modal-header h3 { font-size: 17px; font-weight: 800; color: var(--slate-dark); }
.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--line);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--slate);
  transition: all .2s;
}
.modal-close:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
}
.modal-body { padding: 24px; }
.modal-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.modal-img-container {
  background: #fbf9f6;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  position: relative;
}
.modal-img-container img {
  max-height: 300px;
  max-width: 100%;
  object-fit: contain;
  transition: transform .25s ease;
}
.modal-zoom-controls {
  position: absolute;
  bottom: 12px;
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.modal-zoom-btn {
  background: none;
  border: 0;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--slate);
  cursor: pointer;
  padding: 2px 6px;
}
.modal-zoom-btn:hover { color: var(--kraft); }

.modal-info-col h4 {
  font-size: 19px;
  font-weight: 900;
  color: var(--slate-dark);
  margin-bottom: 6px;
  line-height: 1.35;
}
.modal-family-tag {
  display: inline-block;
  background: var(--slate-dark);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}
.modal-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
  font-size: 12.5px;
}
.modal-specs-table tr { border-bottom: 1px solid var(--line); }
.modal-specs-table th {
  padding: 8px 0;
  color: var(--muted);
  font-weight: 600;
  width: 36%;
  text-align: start;
}
.modal-specs-table td {
  padding: 8px 0;
  color: var(--slate-dark);
  font-weight: 800;
}
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
.btn-wa-quote {
  background: var(--whatsapp);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
}
.btn-wa-quote:hover {
  background: #1eb857;
  color: #ffffff;
}

/* Certificate Scanned Doc Viewer */
.modal-cert-viewer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.modal-cert-viewer img {
  max-height: 72vh;
  width: auto;
  max-width: 100%;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

/* Footer */
.site-footer {
  background: var(--slate-dark);
  color: #94a3b8;
  padding: 60px 0 28px;
  border-top: 4px solid var(--kraft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 35px;
  margin-bottom: 40px;
}
.footer-brand strong { color: #ffffff; font-size: 18px; display: block; margin-bottom: 10px; font-weight: 800; }
.footer-brand p { font-size: 13px; line-height: 1.7; margin-bottom: 16px; }
.footer-socials { display: flex; align-items: center; gap: 8px; }
.footer-col h4 { color: #ffffff; font-size: 14px; font-weight: 800; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col a { color: #94a3b8; font-size: 13px; }
.footer-col a:hover { color: #ffffff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 15px;
}

/* Active Clickable OMA Brand Badge */
.oma-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.16), rgba(150, 90, 45, 0.28));
  border: 1px solid rgba(217, 119, 6, 0.45);
  border-radius: 20px;
  color: #f8fafc;
  font-size: 12px;
  transition: all .25s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  text-decoration: none;
}
.oma-brand-badge:hover {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.35), rgba(150, 90, 45, 0.48));
  border-color: #d97706;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--gold-glow);
}
.oma-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  display: inline-block;
  animation: omaPulse 2s infinite ease-in-out;
}
@keyframes omaPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(1.3); }
}
.oma-badge-link {
  color: #f59e0b;
  font-weight: 800;
  margin-inline-start: 4px;
}

/* Floating WhatsApp Quick Action Button */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  background: var(--whatsapp);
  color: #ffffff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: all .25s ease;
}
.whatsapp-float-btn:hover {
  transform: scale(1.08) rotate(6deg);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}
.whatsapp-float-btn svg { width: 30px; height: 30px; fill: currentColor; }

/* Admin Dashboard Specifics */
.admin-header {
  background: var(--slate-dark);
  color: #ffffff;
  padding: 16px 0;
  border-bottom: 3px solid var(--kraft);
}
.admin-nav { display: flex; gap: 12px; margin-top: 15px; }
.admin-nav a { padding: 6px 14px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.08); color: #ffffff; font-size: 13px; }
.admin-nav a.active { background: var(--kraft); }
.admin-card { background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; box-shadow: var(--shadow-xs); }
.admin-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 13px; }
.admin-table th, .admin-table td { padding: 12px; border: 1px solid var(--line); text-align: start; }
.admin-table th { background: var(--sand-bg); font-weight: 700; }

/* Responsive adjustments */
@media (max-width: 992px) {
  .factory-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .nav-menu { display: none; }
  .modal-product-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 50px 0; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .topbar-info span { display: none; }
}
