/* ==========================================================
   Q-MAX Power Partner — Core Stylesheet
   ========================================================== */

:root {
  --gold:        #B8963E;
  --gold-bright: #D4A017;
  --gold-light:  #f0c040;
  --silver:      #C0C0C0;
  --red:         #CC0000;
  --black:       #0a0a0a;
  --surface:     #111111;
  --surface-2:   #181818;
  --border:      #1e1e1e;
  --border-gold: rgba(184,150,62,0.35);
  --text:        #ffffff;
  --text-muted:  #888888;
  --nav-h:       76px;
  --nav-h-sm:    58px;
  --radius:      8px;
  --radius-lg:   14px;
  --ease:        0.28s ease;
}

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

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity .4s ease;
}
body.loaded { opacity: 1; }

body[dir="rtl"] {
  font-family: 'Segoe UI', 'Tahoma', 'Arial', system-ui, sans-serif;
}

a { text-decoration:none; color:inherit; }
ul { list-style:none; }
img { display:block; max-width:100%; }
button { cursor:pointer; border:none; background:none; font:inherit; }
input, textarea { font:inherit; }

/* ── Typography ───────────────────────────────────────────── */
h1 { font-size: clamp(2.2rem,5.5vw,4.2rem); line-height:1.1; font-weight:900; }
h2 { font-size: clamp(1.6rem,3.5vw,2.6rem); line-height:1.2; font-weight:800; }
h3 { font-size: clamp(1.1rem,2vw,1.5rem);   line-height:1.3; font-weight:700; }

/* ── Layout ───────────────────────────────────────────────── */
.container {
  width:100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 96px 0; }
.section--dark { background: var(--surface); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }

.section-header { text-align:center; margin-bottom:60px; }
.section-label {
  display:inline-block;
  font-size:.72rem; font-weight:800; letter-spacing:3.5px; text-transform:uppercase;
  color: var(--gold-bright); margin-bottom:14px;
}
.section-header h2 { margin-bottom:14px; }
.section-header p { color:var(--text-muted); font-size:1.05rem; max-width:580px; margin:0 auto; }
.gold-line {
  width:52px; height:3px;
  background: linear-gradient(90deg,transparent,var(--gold-bright),transparent);
  margin: 18px auto;
}

/* ── CSS Flag ────────────────────────────────────────────── */
.flag {
  display:inline-block;
  width:30px; height:20px;
  border-radius:2px; overflow:hidden;
  flex-shrink:0; vertical-align:middle;
}
/* Kuwait: green / white / red + black triangle on hoist */
.flag-kw {
  background: linear-gradient(to bottom, #007A3D 33.33%, #fff 33.33% 66.66%, #CE1126 66.66%);
  position:relative;
}
.flag-kw::before {
  content:'';
  position:absolute; left:0; top:0;
  width:28%; height:100%;
  background:#000;
  clip-path: polygon(0 0, 100% 25%, 100% 75%, 0 100%);
}
/* Germany: black / red / gold */
.flag-de {
  background: linear-gradient(to bottom, #000 33.33%, #DD0000 33.33% 66.66%, #FFCE00 66.66%);
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:13px 30px;
  font-size:.93rem; font-weight:700; letter-spacing:.6px;
  border-radius:4px;
  transition: all var(--ease);
  position:relative; overflow:hidden;
}
.btn::after {
  content:''; position:absolute; inset:0;
  background:rgba(255,255,255,.08);
  opacity:0; transition:opacity var(--ease);
}
.btn:hover::after { opacity:1; }

.btn-primary {
  background: linear-gradient(135deg,var(--gold),var(--gold-bright));
  color: var(--black);
}
.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(212,160,23,.45);
  transform: translateY(-2px);
}
.btn-outline {
  color:var(--text); border:1px solid var(--border);
}
.btn-outline:hover {
  border-color:var(--gold); color:var(--gold-bright);
  transform:translateY(-2px);
}

/* ── NAVBAR ──────────────────────────────────────────────── */
.navbar {
  position:fixed; top:0; left:0; right:0;
  z-index:900;
  height:var(--nav-h);
  background:rgba(10,10,10,.92);
  backdrop-filter:blur(14px) saturate(1.2);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
  transition: height var(--ease), background var(--ease), border-color var(--ease);
}
.navbar.scrolled {
  height:var(--nav-h-sm);
  background:rgba(10,10,10,.98);
  border-bottom-color:var(--border-gold);
}

.nav-inner {
  display:flex; align-items:center; justify-content:space-between;
  height:100%; gap:20px;
}

/* Logo */
.nav-logo { display:flex; align-items:center; flex-shrink:0; }
.nav-logo img {
  height:55px; width:auto;
  mix-blend-mode: screen;
  transition: transform var(--ease);
}
.nav-logo img:hover { transform:scale(1.04); }
/* If image fails, fallback text is shown */
.nav-logo .logo-fallback {
  display:none;
  font-size:1.4rem; font-weight:900; letter-spacing:2px;
  background:linear-gradient(135deg,#f0c040,var(--gold-bright),var(--gold));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.nav-logo img.broken + .logo-fallback { display:block; }

/* Links */
.nav-links {
  display:flex; align-items:center; gap:4px;
  flex:1; justify-content:center;
}
.nav-links a {
  position:relative;
  padding:10px 20px;
  font-size:1.05rem; font-weight:700;
  color:var(--text-muted);
  border-radius:4px;
  transition:color var(--ease);
}
.nav-links a::after {
  content:''; position:absolute;
  bottom:2px; left:50%; right:50%;
  height:2px; background:var(--gold-bright);
  transition:left var(--ease),right var(--ease);
}
.nav-links a:hover, .nav-links a.active { color:var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { left:14px; right:14px; }

/* Right controls */
.nav-end {
  display:flex; align-items:center; gap:14px; flex-shrink:0;
}

/* Phone pill */
.nav-phone {
  display:flex; flex-direction:row; align-items:center; gap:7px;
  padding:7px 14px;
  border:1px solid var(--border-gold);
  border-radius:24px;
  color:var(--gold-bright);
  font-size:.9rem; font-weight:700;
  transition:all var(--ease);
  unicode-bidi:plaintext;
}
html[dir="rtl"] .nav-phone {
  flex-direction: row-reverse;
}
.nav-phone:hover {
  background:rgba(212,160,23,.1);
  border-color:var(--gold);
}
.nav-phone svg { width:15px; height:15px; flex-shrink:0; }

/* Lang toggle */
.lang-toggle {
  display:flex; gap:0;
  flex-direction: row;
  direction: ltr;
  border:1px solid var(--border);
  border-radius:20px;
  overflow:hidden;
}
.lang-btn {
  padding:5px 13px;
  font-size:.78rem; font-weight:800; letter-spacing:1px;
  color:var(--text-muted);
  transition:all var(--ease);
}
.lang-btn.active {
  color:var(--black);
  background:var(--gold-bright);
}

/* Hamburger */
.hamburger {
  display:none; flex-direction:column; gap:5px;
  padding:8px; border-radius:var(--radius);
}
.hamburger span {
  display:block; width:22px; height:2px;
  background:var(--text); border-radius:2px;
  transition:all .3s ease;
}
.hamburger.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity:0; transform:scaleX(0); }
.hamburger.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

/* ── RTL navbar layout ───────────────────────────────────────
   row-reverse flips the three blocks so DOM order logo→links→end
   becomes visually end(left) → links(center) → logo(right)      */
html[dir="rtl"] .navbar .container,
html[dir="rtl"] .nav-inner {
  flex-direction: row-reverse;
}

/* Reverse link order: الرئيسية on the right, تواصل معنا on the left */
html[dir="rtl"] .nav-links { flex-direction: row; }

/* LTR: show Contact | Products | About | Home (right to left) */
html[dir="ltr"] .nav-links { flex-direction: row-reverse; }

/* Also reverse the controls cluster internally so the phone pill
   stays adjacent to the links and lang toggle sits at the edge  */
html[dir="rtl"] .nav-end { flex-direction: row-reverse; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position:relative; min-height:100vh;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden; background:var(--black);
}
#hero-canvas {
  position:absolute; inset:0;
  width:100%; height:100%; pointer-events:none;
}
.hero-overlay {
  position:absolute; inset:0;
  background:radial-gradient(ellipse at 50% 40%, rgba(10,10,10,.25) 0%, rgba(10,10,10,.75) 65%, rgba(10,10,10,.97) 100%);
  pointer-events:none; z-index:1;
}
.hero-content {
  position:relative; z-index:2;
  text-align:center; padding:140px 28px 100px;
  max-width:880px;
}
.hero-badge {
  display:inline-flex; align-items:center; gap:10px;
  background:rgba(212,160,23,.1);
  border:1px solid var(--border-gold);
  border-radius:24px; padding:7px 20px;
  font-size:.75rem; font-weight:800; letter-spacing:3px; text-transform:uppercase;
  color:var(--gold-bright); margin-bottom:28px;
}
/* Q-MAX and POWER PARTNER are brand names — always Latin font,
   never inherits the body[dir="rtl"] Arabic font-family override */
.hero-title {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: clamp(3.5rem,10vw,8rem);
  font-weight:900; letter-spacing:-3px; line-height:.95;
  margin-bottom:8px;
}
.hero-title .brand-q { font-size:1.18em; }
.hero-title .brand {
  display:block;
  background:linear-gradient(135deg,#7a7a7a 0%,#c8c8c8 20%,#f5f5f5 40%,#ffffff 50%,#d0d0d0 65%,#909090 80%,#6a6a6a 100%);
  background-size:200% auto;
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.hero-tagline {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size:clamp(1rem,2.5vw,1.6rem);
  color:var(--silver); font-weight:300; letter-spacing:7px; text-transform:uppercase;
  margin-bottom:22px;
}
.hero-desc {
  font-size:clamp(.95rem,1.8vw,1.15rem);
  color:var(--text-muted); max-width:600px; margin:0 auto 36px;
  line-height:1.7;
}
.hero-flags {
  display:flex; align-items:center; justify-content:center; gap:18px;
  margin-bottom:42px; flex-wrap:wrap;
}
.hero-flag-item {
  display:flex; align-items:center; gap:8px;
  font-size:.85rem; color:var(--text-muted); letter-spacing:.5px;
}
.hero-actions {
  display:flex; align-items:center; justify-content:center; gap:14px; flex-wrap:wrap;
}
.scroll-hint {
  position:absolute; bottom:32px; left:50%; transform:translateX(-50%);
  z-index:3; display:flex; flex-direction:column; align-items:center; gap:6px;
  opacity:.4;
}
.scroll-hint-mouse {
  width:22px; height:36px;
  border:2px solid var(--text-muted); border-radius:11px; position:relative;
}
.scroll-hint-mouse::after {
  content:''; position:absolute; top:5px; left:50%; transform:translateX(-50%);
  width:3px; height:7px; background:var(--gold-bright); border-radius:2px;
  animation:scrollDot 1.6s ease infinite;
}
@keyframes scrollDot {
  0%  { opacity:1; transform:translateX(-50%) translateY(0); }
  100%{ opacity:0; transform:translateX(-50%) translateY(12px); }
}
.scroll-hint span {
  font-size:.6rem; letter-spacing:2px; text-transform:uppercase; color:var(--text-muted);
}

/* ── STATS ────────────────────────────────────────────────── */
.stats-section { padding:72px 0; background:var(--surface); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.stats-grid {
  display:grid; grid-template-columns:repeat(3,1fr);
  background:var(--border); gap:1px;
}
.stat-item { background:var(--surface); padding:52px 28px; text-align:center; }
.stat-number {
  font-size:clamp(2.8rem,6vw,4.5rem); font-weight:900; line-height:1;
  background:linear-gradient(135deg,var(--gold-light),var(--gold-bright),var(--gold));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
  display:inline-block;
}
.stat-label { font-size:.9rem; color:var(--text-muted); margin-top:8px; letter-spacing:.5px; }

/* ── PRODUCT CARDS ────────────────────────────────────────── */
.products-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(255px,1fr));
  gap:22px;
}
.product-card {
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  overflow:hidden; cursor:pointer;
  transform-style:preserve-3d;
  transition:border-color var(--ease), box-shadow var(--ease);
  will-change:transform;
}
.product-card:hover {
  border-color:var(--gold);
  box-shadow:0 0 32px rgba(212,160,23,.22),0 20px 48px rgba(0,0,0,.5);
}
.product-card-img {
  aspect-ratio:1;
  background:#ffffff;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden; position:relative;
}
.product-card-img img {
  width:100%; height:100%; object-fit:contain;
  padding:18px; transition:transform .4s ease;
}
.product-card:hover .product-card-img img { transform:scale(1.06); }

/* SVG fallback icon */
.product-card-img .img-fallback {
  display:none; flex-direction:column; align-items:center; gap:10px;
  color:var(--gold); opacity:.35;
}
.product-card-img img.error { display:none; }
.product-card-img img.error ~ .img-fallback { display:flex; }

.product-vol {
  position:absolute; top:10px; right:10px;
  background:var(--gold); color:var(--black);
  font-size:.68rem; font-weight:800; padding:3px 9px; border-radius:12px;
  letter-spacing:.3px;
}
body[dir="rtl"] .product-vol { right:auto; left:10px; }

.product-card-body { padding:18px; }
.product-cat-tag {
  font-size:.68rem; font-weight:800; letter-spacing:2.5px; text-transform:uppercase;
  color:var(--gold-bright); display:block; margin-bottom:7px;
}
.product-card-body h3 { font-size:.97rem; margin-bottom:5px; line-height:1.3; }
.product-specs { font-size:.8rem; color:var(--text-muted); }

/* ── FEATURE CARDS ────────────────────────────────────────── */
.features-grid {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:22px;
}
.feature-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:38px 30px; text-align:center;
  transition:all var(--ease); position:relative; overflow:hidden;
}
.feature-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background:linear-gradient(90deg,transparent,var(--gold-bright),transparent);
  transform:scaleX(0); transition:transform .4s ease;
}
.feature-card:hover::before { transform:scaleX(1); }
.feature-card:hover { border-color:var(--border-gold); box-shadow:0 18px 52px rgba(0,0,0,.4); transform:translateY(-5px); }
.feature-icon {
  width:68px; height:68px; margin:0 auto 22px;
  background:rgba(212,160,23,.08); border:1px solid var(--border-gold);
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  transition:transform .3s ease;
}
.feature-card:hover .feature-icon { transform:scale(1.1) rotate(5deg); }
.feature-icon svg { width:28px; height:28px; color:var(--gold-bright); }
.feature-card h3 { margin-bottom:10px; }
.feature-card p { font-size:.88rem; color:var(--text-muted); line-height:1.7; }

/* ── FILTER BAR ────────────────────────────────────────────── */
.filter-bar { display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin-bottom:44px; }
.filter-btn {
  padding:8px 22px; font-size:.83rem; font-weight:700; letter-spacing:.8px;
  color:var(--text-muted); background:var(--surface);
  border:1px solid var(--border); border-radius:22px;
  transition:all var(--ease);
}
.filter-btn:hover, .filter-btn.active {
  background:var(--gold-bright); color:var(--black); border-color:var(--gold-bright);
}

/* ── PAGE HERO BANNER ─────────────────────────────────────── */
.page-hero {
  padding:150px 0 72px; background:var(--surface);
  border-bottom:1px solid var(--border); text-align:center;
  position:relative; overflow:hidden;
}
.page-hero::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(ellipse at 50% -10%, rgba(212,160,23,.07) 0%, transparent 65%);
  pointer-events:none;
}
.page-hero h1 { margin-bottom:14px; position:relative; }
.page-hero p { color:var(--text-muted); font-size:1.05rem; max-width:580px; margin:0 auto; position:relative; }
.breadcrumb {
  display:flex; align-items:center; justify-content:center; gap:8px;
  font-size:.82rem; color:var(--text-muted); margin-bottom:20px; position:relative;
}
.breadcrumb a { color:var(--text-muted); transition:color var(--ease); }
.breadcrumb a:hover { color:var(--gold-bright); }
.breadcrumb-sep { color:var(--border); }

/* ── ABOUT PAGE ───────────────────────────────────────────── */
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:72px; align-items:center; }
.about-visual {
  background:var(--surface-2); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:48px;
  display:flex; flex-direction:column; align-items:center; gap:28px;
}
.about-visual img { height:110px; width:auto; mix-blend-mode:screen; margin:0 auto; }
.about-flags { display:flex; align-items:center; gap:20px; }
.about-flags-sep { font-size:1.2rem; color:var(--border); font-weight:300; }
.about-text h2 { margin-bottom:22px; }
.about-text p { color:var(--text-muted); line-height:1.85; margin-bottom:18px; font-size:.97rem; }
.about-list { display:flex; flex-direction:column; gap:10px; margin-top:18px; }
.about-list li {
  display:flex; align-items:center; gap:10px;
  font-size:.92rem; color:var(--text-muted);
}
.about-list li::before {
  content:''; width:6px; height:6px; border-radius:50%;
  background:var(--gold-bright); flex-shrink:0;
}

html[dir="rtl"] .about-list,
html[dir="rtl"] .features-list,
html[dir="rtl"] ul {
  padding-right: 0;
  padding-left: 0;
  list-style-position: inside;
  text-align: right;
  direction: rtl;
}

html[dir="rtl"] ul li {
  text-align: right;
  direction: rtl;
}

.mission-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.mission-card {
  background:var(--surface-2); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:38px;
  position:relative; overflow:hidden;
  transition:all var(--ease);
}
.mission-card:hover { border-color:var(--border-gold); box-shadow:0 16px 44px rgba(0,0,0,.4); }
.mission-num {
  position:absolute; top:20px; right:22px;
  font-size:4.5rem; font-weight:900; line-height:1;
  color:rgba(212,160,23,.07);
}
body[dir="rtl"] .mission-num { right:auto; left:22px; }
.mission-card h3 { color:var(--gold-bright); margin-bottom:14px; font-size:1.2rem; }
.mission-card p { color:var(--text-muted); line-height:1.8; font-size:.93rem; }

.quality-grid {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(195px,1fr)); gap:16px;
}
.quality-card {
  background:var(--surface-2); border:1px solid var(--border-gold);
  border-radius:var(--radius-lg); padding:30px 24px; text-align:center;
  transition:all var(--ease);
}
.quality-card:hover { background:rgba(212,160,23,.05); transform:translateY(-4px); box-shadow:0 14px 36px rgba(0,0,0,.35); }
.quality-card .q-icon { margin:0 auto 14px; width:48px; height:48px; display:flex; align-items:center; justify-content:center; }
.quality-card .q-icon svg { width:40px; height:40px; color:var(--gold-bright); }
.quality-card h4 { color:var(--gold-bright); font-size:.9rem; margin-bottom:5px; }
.quality-card p { font-size:.78rem; color:var(--text-muted); }

/* ── CONTACT PAGE ─────────────────────────────────────────── */
.contact-layout { display:grid; grid-template-columns:1fr 1.6fr; gap:44px; align-items:start; }
.contact-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:38px;
}
.contact-card h3 { margin-bottom:30px; font-size:1.25rem; }
.c-item { display:flex; gap:14px; margin-bottom:26px; }
.c-item:last-of-type { margin-bottom:0; }
.c-icon {
  width:42px; height:42px; flex-shrink:0;
  background:rgba(212,160,23,.08); border:1px solid var(--border-gold);
  border-radius:10px; display:flex; align-items:center; justify-content:center;
}
.c-icon svg { width:18px; height:18px; color:var(--gold-bright); }
.c-text h4 { font-size:.75rem; letter-spacing:1.5px; text-transform:uppercase; color:var(--gold-bright); margin-bottom:5px; }
.c-text p, .c-text a { font-size:.9rem; color:var(--text-muted); line-height:1.7; }
.c-text a:hover { color:var(--gold-bright); }
.hours-tag {
  display:inline-flex; align-items:center; gap:6px;
  background:rgba(212,160,23,.07); border:1px solid var(--border-gold);
  border-radius:16px; padding:4px 12px;
  font-size:.8rem; color:var(--gold-bright); margin-top:5px;
}
.hours-dot { width:7px; height:7px; background:#22c55e; border-radius:50%; }

.social-row { display:flex; flex-wrap:wrap; gap:10px; margin-top:26px; padding-top:26px; border-top:1px solid var(--border); }
.social-btn {
  display:flex; align-items:center; gap:7px;
  padding:7px 14px;
  background:var(--surface-2); border:1px solid var(--border);
  border-radius:20px; font-size:.82rem; color:var(--text-muted);
  transition:all var(--ease);
}
.social-btn:hover { border-color:var(--gold); color:var(--gold-bright); transform:translateY(-2px); }
.social-btn svg { width:16px; height:16px; }

.form-wrapper {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:38px;
}
.form-wrapper h3 { margin-bottom:28px; font-size:1.25rem; }
.form-group { margin-bottom:18px; }
.form-group label { display:block; font-size:.8rem; color:var(--text-muted); margin-bottom:7px; letter-spacing:.3px; }
.form-group input, .form-group textarea {
  width:100%; padding:11px 15px;
  background:var(--surface-2); border:1px solid var(--border);
  border-radius:var(--radius); color:var(--text); font-size:.93rem;
  transition:border-color var(--ease), box-shadow var(--ease); outline:none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color:var(--gold); box-shadow:0 0 0 3px rgba(212,160,23,.1);
}
.form-group textarea { min-height:130px; resize:vertical; }
.form-group input::placeholder, .form-group textarea::placeholder { color:var(--text-muted); opacity:.6; }
.form-success {
  display:none; margin-top:14px; padding:13px 18px;
  background:rgba(34,197,94,.1); border:1px solid rgba(34,197,94,.3);
  border-radius:var(--radius); color:#4ade80; font-size:.9rem;
}

.map-section { margin-top:52px; }
.map-section h3 { margin-bottom:16px; font-size:1.1rem; }
.map-wrap {
  border-radius:var(--radius-lg); overflow:hidden;
  border:1px solid var(--border); position:relative;
}
.map-wrap iframe { width:100%; height:100%; min-height:300px; display:block; filter:invert(.9) hue-rotate(180deg); border:0; }
.map-link {
  display:block; text-align:center; margin-top:10px;
  font-size:.82rem; color:var(--text-muted); transition:color var(--ease);
}
.map-link:hover { color:var(--gold-bright); }

/* ── WHATSAPP FAB ─────────────────────────────────────────── */
.wa-fab {
  position:fixed; bottom:26px; right:26px; z-index:9999;
  width:54px; height:54px; border-radius:50%;
  background:#25D366;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 18px rgba(37,211,102,.45);
  transition:transform var(--ease), box-shadow var(--ease);
}
body[dir="rtl"] .wa-fab { right:auto; left:26px; }
.wa-fab:hover { transform:scale(1.1); box-shadow:0 8px 30px rgba(37,211,102,.55); }
.wa-fab svg { width:28px; height:28px; color:#fff; }
.wa-fab::before {
  content:''; position:absolute; inset:-4px;
  border-radius:50%; border:2px solid rgba(37,211,102,.5);
  animation:wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform:scale(1); opacity:.7; }
  100% { transform:scale(1.55); opacity:0; }
}

/* ── MODAL ────────────────────────────────────────────────── */
.modal-overlay {
  display:none; position:fixed; inset:0;
  background:rgba(0,0,0,.88); z-index:1000;
  align-items:center; justify-content:center;
  padding:20px;
  overflow-y:auto;
}
.modal-overlay.open { display:flex; }
.modal-box {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-lg); max-width:760px; width:100%;
  position:relative; overflow:hidden;
}
.modal-close {
  position:absolute; top:14px; right:16px;
  width:34px; height:34px; border-radius:50%;
  background:var(--surface-2); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  font-size:1.2rem; color:var(--text-muted);
  cursor:pointer; transition:all var(--ease); z-index:5;
}
body[dir="rtl"] .modal-close { right:auto; left:16px; }
.modal-close:hover { background:var(--border); color:var(--text); }
.modal-grid { display:grid; grid-template-columns:280px 1fr; }
.modal-img-side {
  background:#ffffff;
  display:flex; align-items:center; justify-content:center; padding:32px;
  border-right:1px solid var(--border);
  border-radius:8px 0 0 8px;
}
body[dir="rtl"] .modal-img-side { border-right:none; border-left:1px solid var(--border); border-radius:0 8px 8px 0; }
.modal-img-side img { max-width:180px; max-height:220px; object-fit:contain; background:#ffffff; border-radius:8px; padding:10px; }
.modal-body { padding:32px; overflow-y:auto; max-height:80vh; }
.modal-cat { font-size:.68rem; font-weight:800; letter-spacing:2.5px; text-transform:uppercase; color:var(--gold-bright); margin-bottom:8px; display:block; }
.modal-title { font-size:1.3rem; margin-bottom:7px; }
.modal-spec { font-size:.82rem; color:var(--text-muted); margin-bottom:20px; }
.modal-desc { font-size:.9rem; color:var(--text-muted); line-height:1.8; margin-bottom:20px; }
.modal-section h4 {
  font-size:.75rem; letter-spacing:2px; text-transform:uppercase;
  color:var(--gold-bright); margin-bottom:10px;
}
.modal-list { display:flex; flex-direction:column; gap:6px; margin-bottom:18px; }
.modal-list li {
  display:flex; align-items:flex-start; gap:8px;
  font-size:.87rem; color:var(--text-muted); line-height:1.5;
}
.modal-list li::before {
  content:''; width:5px; height:5px; border-radius:50%;
  background:var(--gold); flex-shrink:0; margin-top:6px;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer { background:var(--surface); border-top:1px solid var(--border); padding:72px 0 0; }
.footer-grid {
  display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:44px;
  margin-bottom:56px;
}
.footer-brand img { height:58px; width:auto; mix-blend-mode: screen; margin-bottom:18px; }
.footer-brand p { font-size:.88rem; color:var(--text-muted); line-height:1.8; max-width:270px; margin-bottom:22px; }
.footer-social { display:flex; gap:10px; flex-wrap:wrap; }
.footer-soc-btn {
  width:36px; height:36px; border-radius:50%;
  background:var(--surface-2); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  color:var(--text-muted); transition:all var(--ease);
}
.footer-soc-btn:hover { border-color:var(--gold); color:var(--gold-bright); transform:translateY(-2px); }
.footer-soc-btn svg { width:16px; height:16px; }
.footer-col h4 { font-size:.75rem; letter-spacing:2.5px; text-transform:uppercase; color:var(--gold-bright); margin-bottom:18px; }
.footer-col ul { display:flex; flex-direction:column; gap:9px; }
.footer-col ul a { font-size:.88rem; color:var(--text-muted); transition:color var(--ease); }
.footer-col ul a:hover { color:var(--text); }
.footer-c-item { font-size:.86rem; color:var(--text-muted); margin-bottom:8px; display:flex; gap:7px; align-items:flex-start; }
.footer-bottom {
  border-top:1px solid var(--border);
  padding:22px 0;
  font-size:.82rem; color:var(--text-muted);
}
.footer-bottom .inner { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; }

/* ── SCROLL REVEAL ─────────────────────────────────────────── */
.reveal { opacity:0; transform:translateY(32px); transition:opacity .7s ease,transform .7s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ── UTILS ────────────────────────────────────────────────── */
.text-center { text-align:center; }
.mt-44 { margin-top:44px; }
.mb-44 { margin-bottom:44px; }

/* ── Products page hero — RTL overrides ───────────────────── */
html[dir="rtl"] .products-hero-image {
  right: 0;
  left: auto;
}
html[dir="rtl"] .products-hero-content {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
