/* ============================================================
   AL-BISSANT ADVANCED ACTIVITIES & INVESTMENT CO. LTD.
   Main Stylesheet v1.0
   Colors: Black #1a1a1a | Gold #C9A84C | White #FFFFFF
   Fonts: Cairo (AR) | Inter (EN)
   ============================================================ */

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

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  /* Brand Colors */
  --gold:          #C9A84C;
  --gold-light:    #E2C47A;
  --gold-dark:     #A8872E;
  --gold-subtle:   rgba(201,168,76,0.12);
  --gold-border:   rgba(201,168,76,0.3);

  /* Light Mode */
  --bg-primary:    #FFFFFF;
  --bg-secondary:  #F8F6F1;
  --bg-card:       #FFFFFF;
  --bg-elevated:   #F2EDE4;
  --text-primary:  #1A1A1A;
  --text-secondary:#4A4A4A;
  --text-muted:    #7A7A7A;
  --border:        rgba(0,0,0,0.08);
  --border-strong: rgba(0,0,0,0.15);
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:     0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:     0 20px 60px rgba(0,0,0,0.14);
  --shadow-gold:   0 8px 32px rgba(201,168,76,0.25);
  --nav-bg:        rgba(255,255,255,0.96);
  --nav-border:    rgba(0,0,0,0.08);
  --footer-bg:     #0F0F0F;
  --overlay-dark:  rgba(15,15,15,0.72);

  /* Typography */
  --font-ar:       'Cairo', sans-serif;
  --font-en:       'Inter', sans-serif;

  /* Spacing */
  --section-pt:    100px;
  --section-pb:    100px;
  --container-max: 1280px;
  --container-px:  clamp(20px, 4vw, 60px);

  /* Radius */
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     32px;
  --radius-pill:   100px;

  /* Transitions */
  --transition:    0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: 0.2s ease;
  --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ── Dark Mode Variables ───────────────────────────────────── */
[data-theme="dark"] {
  --bg-primary:    #0D0D0D;
  --bg-secondary:  #141414;
  --bg-card:       #1A1A1A;
  --bg-elevated:   #212121;
  --text-primary:  #F0EDE6;
  --text-secondary:#C0BAB0;
  --text-muted:    #7A7570;
  --border:        rgba(255,255,255,0.06);
  --border-strong: rgba(255,255,255,0.12);
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.30);
  --shadow-md:     0 8px 32px rgba(0,0,0,0.50);
  --shadow-lg:     0 20px 60px rgba(0,0,0,0.70);
  --nav-bg:        rgba(13,13,13,0.96);
  --nav-border:    rgba(255,255,255,0.06);
  --overlay-dark:  rgba(0,0,0,0.80);
}

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

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

body {
  font-family: var(--font-en);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  transition: background-color var(--transition), color var(--transition);
  overflow-x: hidden;
}

body[dir="rtl"],
body.lang-ar {
  font-family: var(--font-ar);
}

/* ── Typography Scale ─────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.3rem); }
h5 { font-size: 1.05rem; }
h6 { font-size: 0.9rem; }

p { color: var(--text-secondary); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}

/* ── RTL Support ──────────────────────────────────────────── */
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6,
[dir="rtl"] p,
[dir="rtl"] li,
[dir="rtl"] a,
[dir="rtl"] span,
[dir="rtl"] label,
[dir="rtl"] button {
  font-family: var(--font-ar);
  letter-spacing: 0;
}

/* ── Layout Utilities ─────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section {
  padding: var(--section-pt) 0 var(--section-pb);
}

.section-sm {
  padding: 60px 0;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ── Section Headers ──────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

[dir="rtl"] .section-label {
  letter-spacing: 0;
  font-size: 0.85rem;
}

.section-title {
  margin-bottom: 20px;
}

.section-title span {
  color: var(--gold);
}

.section-desc {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ── Gold Divider ─────────────────────────────────────────── */
.gold-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px auto 0;
  width: fit-content;
}

.gold-divider span {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.gold-divider span:last-child {
  background: linear-gradient(270deg, transparent, var(--gold));
}

.gold-divider i {
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  display: block;
  flex-shrink: 0;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: #0D0D0D !important;
  box-shadow: 0 4px 20px rgba(201,168,76,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.60);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
  background: rgba(255,255,255,0.1);
}

.btn-ghost {
  background: var(--gold-subtle);
  color: var(--gold);
  border: 1px solid var(--gold-border);
}

.btn-ghost:hover {
  background: var(--gold);
  color: #0D0D0D;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.btn:hover svg {
  transform: translateX(3px);
}

[dir="rtl"] .btn:hover svg {
  transform: translateX(-3px);
}

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-border);
}

.card-body {
  padding: 28px;
}

/* ── Badge ────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.badge-gold {
  background: var(--gold-subtle);
  color: var(--gold);
  border: 1px solid var(--gold-border);
}

/* ── Typographic List ─────────────────────────────────────── */
.typographic-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.typographic-item {
  display: flex;
  flex-direction: column;
  padding: 36px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .typographic-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (min-width: 1100px) {
  .typographic-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.typographic-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--gold-subtle), transparent 40%);
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition);
}

.typographic-item:hover {
  transform: translateY(-4px);
  border-color: var(--gold-border);
  box-shadow: var(--shadow-lg);
}

.typographic-item:hover::before {
  opacity: 1;
}

.typographic-item h4 {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.typographic-item h4 .num {
  font-family: var(--font-en);
  font-size: 2.8rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-border);
  line-height: 1;
  transition: all var(--transition);
}

.typographic-item:hover h4 .num {
  color: var(--gold);
  -webkit-text-stroke: 0;
}

.typographic-item p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  flex: 1;
}

/* ── Navigation ───────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all var(--transition);
}

.navbar.scrolled {
  height: 62px;
  box-shadow: var(--shadow-md);
}

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

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-logo img {
  height: 44px;
  width: auto;
  transition: transform var(--transition);
}

.navbar-logo:hover img {
  transform: scale(1.04);
}

.navbar-logo-text {
  display: flex;
  flex-direction: column;
}

.navbar-logo-text .name-en {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: 0.02em;
  font-family: var(--font-en);
}

.navbar-logo-text .name-ar {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1.3;
  font-family: var(--font-ar);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 1.5px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  letter-spacing: 0.04em;
}

.lang-btn.active {
  background: var(--gold);
  color: #0D0D0D;
  box-shadow: 0 2px 8px rgba(201,168,76,0.35);
}

/* Theme Toggle */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all var(--transition);
}

.theme-toggle:hover {
  border-color: var(--gold-border);
  color: var(--gold);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

/* Quote Cart button */
.cart-btn {
  position: relative;
  padding: 8px 16px;
  background: rgba(13, 13, 13, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--gold);
  border-radius: var(--radius-pill);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(201,168,76,0.15);
}

[data-theme="light"] .cart-btn {
  background: rgba(255, 255, 255, 0.8);
  color: #0D0D0D;
}
[data-theme="light"] .cart-btn svg {
  stroke: var(--gold);
}

.cart-btn:hover {
  background: var(--gold);
  color: #0D0D0D;
  box-shadow: 0 6px 16px rgba(201,168,76,0.25);
  transform: translateY(-1px);
}
[data-theme="light"] .cart-btn:hover svg {
  stroke: #0D0D0D;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 20px;
  height: 20px;
  background: var(--gold);
  color: #0D0D0D;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all var(--transition);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

[dir="rtl"] .cart-count {
  right: auto;
  left: -8px;
}

.cart-count.visible {
  opacity: 1;
  transform: scale(1);
}

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── Mobile Menu ──────────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: 999;
  padding: 28px var(--container-px);
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  transform: translateY(-10px);
  opacity: 0;
  transition: all var(--transition);
}

.mobile-menu.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu .nav-link {
  font-size: 1.1rem;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  width: 100%;
}

.mobile-menu .nav-link::after { display: none; }

/* ── Hero Section ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,10,10,0.85) 0%,
    rgba(10,10,10,0.60) 50%,
    rgba(10,10,10,0.40) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 80px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: var(--radius-pill);
  padding: 6px 18px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero-badge span {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
  color: #FFFFFF;
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero h1 .gold-text {
  color: var(--gold);
  display: block;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.80);
  margin-bottom: 36px;
  line-height: 1.8;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats-bar {
  position: absolute;
  bottom: 48px;
  right: 0;
  z-index: 1;
  display: flex;
  gap: 0;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

[dir="rtl"] .hero-stats-bar {
  right: auto;
  left: 0;
}

.hero-stat {
  padding: 20px 32px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.10);
  background: transparent;
}

.hero-stat:last-child { border-right: none; }
[dir="rtl"] .hero-stat { border-right: none; border-left: 1px solid rgba(255,255,255,0.10); }
[dir="rtl"] .hero-stat:last-child { border-left: none; }

.hero-stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  font-family: var(--font-en);
}

.hero-stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
  white-space: nowrap;
}

/* ── Marquee Ticker ───────────────────────────────────────── */
.ticker {
  background: var(--gold);
  overflow: hidden;
  height: 40px;
  display: flex;
  align-items: center;
}

.ticker-inner {
  display: flex;
  animation: ticker-scroll 30s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 0 32px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0D0D0D;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ticker-sep {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: rgba(0,0,0,0.4);
  border-radius: 50%;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Features / Why Us ────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.feature-card {
  padding: 36px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-border);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--gold-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--gold);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card h4 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── Products Grid ────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-border);
}

.product-card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-secondary);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card-image img {
  transform: scale(1.06);
}

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.product-card:hover .product-card-overlay {
  opacity: 1;
}

.product-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.product-card h4 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.product-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  flex: 1;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.add-quote-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  padding: 8px 16px;
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-pill);
  transition: all var(--transition);
}

.add-quote-btn:hover {
  background: var(--gold);
  color: #0D0D0D;
}

.add-quote-btn svg {
  width: 15px;
  height: 15px;
}

/* ── Category Filter ──────────────────────────────────────── */
.category-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  color: #0D0D0D;
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(201,168,76,0.30);
}

/* ── Brands Section ───────────────────────────────────────── */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.brand-card {
  aspect-ratio: 2/1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.brand-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-subtle), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.brand-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.brand-card:hover::before {
  opacity: 1;
}

.brand-name {
  position: relative;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-align: center;
  transition: color var(--transition);
  font-family: var(--font-en);
  text-transform: uppercase;
}

.brand-card:hover .brand-name {
  color: var(--gold);
}

.brand-origin {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

[dir="rtl"] .brand-origin {
  right: auto;
  left: 12px;
}

/* ── Stats Counter ────────────────────────────────────────── */
.stats-section {
  background: linear-gradient(135deg, #0D0D0D 0%, #1A1A1A 100%);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 60px 32px;
  border-right: 1px solid rgba(255,255,255,0.07);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
  font-family: var(--font-en);
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

/* ── Quote Cart ───────────────────────────────────────────── */
.quote-sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  height: 100vh;
  background: var(--bg-primary);
  border-left: 1px solid var(--border);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transition: right var(--transition-slow);
  box-shadow: var(--shadow-lg);
}

[dir="rtl"] .quote-sidebar {
  right: auto;
  left: -420px;
  border-left: none;
  border-right: 1px solid var(--border);
  transition: left var(--transition-slow);
}

.quote-sidebar.open {
  right: 0;
}

[dir="rtl"] .quote-sidebar.open {
  left: 0;
  right: auto;
}

.quote-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  backdrop-filter: blur(4px);
}

.quote-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.quote-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.quote-header h3 {
  font-size: 1.1rem;
}

.quote-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.quote-close:hover {
  background: var(--gold-subtle);
  border-color: var(--gold-border);
  color: var(--gold);
}

.quote-close svg {
  width: 18px;
  height: 18px;
}

.quote-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 28px;
}

.quote-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--text-muted);
  gap: 16px;
  padding: 40px;
}

.quote-empty svg {
  width: 56px;
  height: 56px;
  opacity: 0.3;
}

.quote-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.quote-item-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-secondary);
}

.quote-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-item-info {
  flex: 1;
  min-width: 0;
}

.quote-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quote-item-cat {
  font-size: 0.72rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.qty-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.qty-val {
  font-size: 0.9rem;
  font-weight: 700;
  min-width: 28px;
  text-align: center;
  color: var(--text-primary);
}

.remove-item {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.remove-item:hover {
  background: rgba(239,68,68,0.1);
  border-color: rgba(239,68,68,0.3);
  color: #ef4444;
}

.remove-item svg {
  width: 15px;
  height: 15px;
}

.quote-footer {
  padding: 24px 28px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quote-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  background: #25D366;
  color: #FFFFFF;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.45);
  background: #20BD5A;
}

.whatsapp-btn svg {
  width: 22px;
  height: 22px;
}

/* ── Contact Section ──────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info-card {
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.contact-item {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.contact-item:last-child { border-bottom: none; }

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--gold-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
}

.contact-value a {
  color: inherit;
  transition: color var(--transition-fast);
}

.contact-value a:hover { color: var(--gold); }

/* ── Form Styles ──────────────────────────────────────────── */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.form-control {
  width: 100%;
  padding: 13px 18px;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition);
}

.form-control:focus {
  border-color: var(--gold);
  background: var(--bg-primary);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}

.form-control::placeholder { color: var(--text-muted); }

textarea.form-control {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

select.form-control {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23C9A84C' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
}

[dir="rtl"] select.form-control {
  background-position: left 14px center;
  padding-right: 18px;
  padding-left: 44px;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: #0A0A0A;
  color: rgba(255,255,255,0.65);
}

.footer-top {
  padding: 80px 0 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .logo {
  height: 50px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  max-width: 300px;
  color: rgba(255,255,255,0.50);
}

.footer-col h5 {
  color: #FFFFFF;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(201,168,76,0.3);
  position: relative;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

[dir="rtl"] .footer-col h5::after {
  left: auto;
  right: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.50);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.5;
  transition: opacity var(--transition-fast);
  flex-shrink: 0;
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 6px;
}

[dir="rtl"] .footer-links a:hover {
  padding-left: 0;
  padding-right: 6px;
}

.footer-links a:hover::before {
  opacity: 1;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.50);
  line-height: 1.6;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.50);
  transition: color var(--transition-fast);
}

.footer-contact-item a:hover { color: var(--gold); }

.footer-bottom {
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

.footer-copy span { color: var(--gold); }

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition-fast);
}

.footer-legal a:hover { color: var(--gold); }

/* ── Gallery Grid ─────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item.wide { grid-column: span 2; aspect-ratio: 16/9; }
.gallery-item.tall { grid-row: span 2; aspect-ratio: 3/4; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ── Blog ─────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-border);
}

.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-secondary);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-image img { transform: scale(1.05); }

.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.blog-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-subtle);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.blog-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.blog-card h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.45;
}

.blog-card p {
  font-size: 0.86rem;
  line-height: 1.7;
  flex: 1;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  margin-top: 16px;
  transition: gap var(--transition);
}

.read-more svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.blog-card:hover .read-more {
  gap: 10px;
}

.blog-card:hover .read-more svg {
  transform: translateX(4px);
}

[dir="rtl"] .blog-card:hover .read-more svg {
  transform: translateX(-4px);
}

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}

[dir="rtl"] .page-hero::before {
  right: auto;
  left: -100px;
}

.page-hero-content {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.breadcrumb a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover { color: var(--gold); }

.breadcrumb span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.breadcrumb .current {
  color: var(--gold);
  font-weight: 500;
}

/* ── Quote Request Form Page ──────────────────────────────── */
.rfq-form-section {
  max-width: 900px;
  margin: 0 auto;
}

/* ── Projects ─────────────────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover img { transform: scale(1.05); }

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: all var(--transition);
}

.project-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.project-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.project-location {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
}

/* ── Tabs ─────────────────────────────────────────────────── */
.tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 4px;
  border-radius: var(--radius-pill);
  width: fit-content;
  margin: 0 auto 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
  white-space: nowrap;
}

.tab-btn.active {
  background: var(--bg-primary);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}

/* ── Scroll to Top ────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: #0D0D0D;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(201,168,76,0.4);
  z-index: 900;
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--transition);
  pointer-events: none;
}

[dir="rtl"] .scroll-top {
  right: auto;
  left: 32px;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(201,168,76,0.55);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
}

/* ── WhatsApp Float ───────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 900;
  transition: all var(--transition);
}

[dir="rtl"] .whatsapp-float {
  left: auto;
  right: 32px;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.6);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #FFFFFF;
}

/* ── Animations ───────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* ── 404 Page ─────────────────────────────────────────────── */
.not-found {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px;
}

.not-found-num {
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 900;
  color: var(--gold-border);
  line-height: 1;
  margin-bottom: 16px;
  font-family: var(--font-en);
}

/* ── Product Detail ───────────────────────────────────────── */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.product-gallery-main {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-secondary);
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--border);
}

.specs-table tr:last-child { border-bottom: none; }

.specs-table td {
  padding: 12px 0;
  font-size: 0.9rem;
  vertical-align: top;
}

.specs-table td:first-child {
  color: var(--text-muted);
  font-weight: 500;
  width: 40%;
  padding-right: 16px;
}

[dir="rtl"] .specs-table td:first-child {
  padding-right: 0;
  padding-left: 16px;
}

.specs-table td:last-child {
  color: var(--text-primary);
  font-weight: 500;
}

/* ── Lightbox ─────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all var(--transition);
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
}

/* ── Notification Toast ───────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

[dir="rtl"] .toast-container {
  right: auto;
  left: 24px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
  transform: translateX(120%);
  transition: transform var(--transition);
  max-width: 320px;
}

[dir="rtl"] .toast {
  transform: translateX(-120%);
}

.toast.show {
  transform: translateX(0);
}

.toast-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-success .toast-icon {
  background: rgba(34,197,94,0.15);
  color: #22c55e;
}

.toast-success {
  border-color: rgba(34,197,94,0.2);
}

.toast-icon svg { width: 16px; height: 16px; }

/* ── Privacy / Terms ──────────────────────────────────────── */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin: 40px 0 16px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.legal-content h2:first-child {
  border-top: none;
  padding-top: 0;
}

.legal-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.legal-content ul {
  margin: 16px 0 16px 24px;
}

[dir="rtl"] .legal-content ul {
  margin-left: 0;
  margin-right: 24px;
}

.legal-content ul li {
  list-style: disc;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ── Map embed ────────────────────────────────────────────── */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 400px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid .footer-col:last-child { grid-column: span 3; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .stat-item:nth-child(2n-1) { border-right: 1px solid rgba(255,255,255,0.07); }
}

@media (max-width: 900px) {
  :root { --section-pt: 70px; --section-pb: 70px; }
  .navbar-nav { display: none; }
  .navbar-actions .lang-toggle, .navbar-actions .theme-toggle { display: none; }
  .mobile-toggle { display: flex; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats-bar { 
    position: relative;
    bottom: auto;
    right: auto;
    left: auto;
    margin-top: 40px;
    flex-wrap: wrap;
    border-radius: var(--radius-md);
  }
  .hero-stat {
    flex: 1 1 50%;
    border-bottom: 1px solid rgba(255,255,255,0.10);
  }
  .hero-stat:nth-child(2n) {
    border-right: none;
  }
  [dir="rtl"] .hero-stat:nth-child(2n) {
    border-left: none;
  }
  .hero-stat:nth-last-child(-n+2) {
    border-bottom: none;
  }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 2; }
  .gallery-item.tall { grid-row: span 1; aspect-ratio: 4/3; }
  .projects-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --section-pt: 56px; --section-pb: 56px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid .footer-col:last-child { grid-column: 1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2n-1) { border-right: 1px solid rgba(255,255,255,0.07); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .quote-sidebar { width: 100%; right: -100%; }
  [dir="rtl"] .quote-sidebar { left: -100%; right: auto; }
  .blog-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; aspect-ratio: 4/3; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .form-card { padding: 28px 20px; }
  .contact-info-card { padding: 24px 20px; }
}

/* ── Utility Classes ──────────────────────────────────────── */
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

@media (max-width: 414px) {
  .navbar-inner { gap: 12px; }
  .cart-btn { padding: 6px 12px; font-size: 0.8rem; }
  .cart-btn svg { width: 18px; height: 18px; }
  .navbar-logo-text .name-en { font-size: 0.75rem; }
  .navbar-logo-text .name-ar { font-size: 0.7rem; }
}

