/* =======================================
   أشكال الترف للحديد الصناعي
   style.css — الأنماط المشتركة
======================================= */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Tajawal:wght@300;400;500;700;800;900&display=swap');

/* الخط الأساسي للموقع */
:root {
  --font-main: "Cairo", "Tajawal", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, body, input, textarea, select, button {
  font-family: var(--font-main) !important;
}

/* قاعدة وقائية: منع letter-spacing من كسر اتصال الحروف العربية */
:lang(ar), [lang="ar"], html[dir="rtl"] *:not(.allow-spacing) {
  letter-spacing: 0 !important;
}

/* --- VARIABLES --- */
:root {
  --steel:   #1a1a2e;
  --iron:    #16213e;
  --gold:    #c9a84c;
  --gold-lt: #e8c97a;
  --silver:  #8a9bb0;
  --smoke:   #2d3561;
  --white:   #f0ece4;
  --bg:      #0d0d1a;
  --r:       8px;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Tajawal', sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ====================================================
   HERO LOGO BIG — اللوجو في الصفحة الرئيسية
   عنصر مستقل بأحجام كبيرة لا تتأثر بأي CSS آخر
==================================================== */
.hero-brand-big {
  font-family: "Cairo", "Tajawal", sans-serif !important;
  font-weight: 900 !important;
  font-size: clamp(10rem, 32vw, 20rem) !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  margin: 0 auto 1rem !important;
  padding: 0 !important;
  width: auto !important;
  max-width: none !important;
  display: block !important;

  color: #c9a84c;
  background: linear-gradient(90deg, #e8c97a 0%, #c9a84c 50%, #e8c97a 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;

  filter: drop-shadow(0 0 24px rgba(201,168,76,.35));
}
@media (max-width: 480px) {
  .hero-brand-big { font-size: clamp(8rem, 36vw, 14rem) !important; }
}

/* ====================================================
   LOGO TEXT (بديل SVG لضمان عرض الخط على iOS)
==================================================== */
.brand-logo-text {
  text-align: center;
  line-height: 1;
  direction: rtl;
}
.brand-logo-text .brand-main {
  font-family: "Cairo", "Tajawal", sans-serif !important;
  font-weight: 900;
  font-size: clamp(4rem, 13vw, 8rem);
  color: #c9a84c;
  background: linear-gradient(90deg, #e8c97a 0%, #c9a84c 50%, #e8c97a 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: 0;
  line-height: 1.15;
  display: inline-block;
}
.brand-logo-text .brand-sub {
  font-family: "Cairo", "Tajawal", sans-serif !important;
  font-weight: 400;
  font-size: clamp(.9rem, 2.2vw, 1.4rem);
  color: #a0aab8;
  letter-spacing: 0;  /* الحروف العربية يجب أن تتصل */
  margin-top: .3rem;
}
.nav-brand-text {
  font-family: "Cairo", "Tajawal", sans-serif !important;
  font-weight: 900;
  font-size: 1.15rem;
  background: linear-gradient(135deg, #f0ece4, #c9a84c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

/* --- RTL FIX: ضمان اتجاه النص العربي في جميع العناصر --- */
input, textarea, select, button {
  direction: rtl;
  text-align: right;
  font-family: 'Tajawal', sans-serif;
}
input[type="number"],
input[type="date"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"] {
  direction: ltr;
  text-align: right;
}

/* --- PAGE ENTRY --- */
.page { animation: pageIn .4s ease both; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =====================
   NAVBAR
===================== */
#navbar {
  position: fixed; top: 0; right: 0; left: 0; z-index: 1000;
  background: rgba(13,13,26,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201,168,76,.15);
  padding: .85rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: box-shadow .3s;
}
#navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,.55); }

.nav-logo {
  display: flex; align-items: center; gap: .8rem;
  text-decoration: none; color: inherit;
}
.nav-logo-text { display: none; }
.nav-logo-sub  { display: none; }

.nav-links {
  display: flex; gap: 1.8rem; list-style: none; align-items: center;
}
.nav-links a {
  color: var(--silver); text-decoration: none;
  font-size: .95rem; font-weight: 500; cursor: pointer;
  padding: .3rem 0; position: relative; transition: color .3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; right: 0; left: 0;
  height: 2px; background: var(--gold); border-radius: 2px;
  transform: scaleX(0); transition: transform .3s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: var(--steel); padding: .55rem 1.4rem;
  border-radius: 4px; font-weight: 700; font-size: .9rem;
  cursor: pointer; border: none; font-family: 'Tajawal', sans-serif;
  transition: all .3s; text-decoration: none; letter-spacing: .3px;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,168,76,.35); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 5px; background: none; border: none;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--gold); border-radius: 2px; transition: all .35s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================
   MAIN OFFSET
===================== */
#main { padding-top: 70px; min-height: calc(100vh - 70px); }

/* =====================
   HERO (index only)
===================== */
.hero {
  min-height: calc(100vh - 70px);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #0d0d1a 0%, #1a1a2e 55%, #0d1117 100%);
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(201,168,76,.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.065) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridDrift 22s linear infinite;
}
@keyframes gridDrift { to { background-position: 60px 60px; } }

.sweep-bar {
  position: absolute; height: 1.5px; width: 100%;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,.25), transparent);
  animation: sweepAnim 5s ease-in-out infinite;
}
@keyframes sweepAnim {
  0%, 100% { transform: translateX(-110%); opacity: 0; }
  50%       { transform: translateX(110%);  opacity: 1; }
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 2rem; max-width: 820px;
}
.hero-logo { width: 100%; max-width: 720px; height: auto; margin: 0 auto 1.5rem; }
.hero-logo img { width: 100%; height: auto; }
.hero-logo .brand-main,
.hero-logo.brand-logo-text .brand-main { font-size: clamp(3.5rem, 11vw, 7rem) !important; line-height: 1.2; }

.hero-title {
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  font-weight: 900; line-height: 1.08;
  background: linear-gradient(135deg, var(--white) 25%, var(--gold) 75%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: .4rem;
}
.hero-sub {
  font-size: clamp(.85rem, 2vw, 1.05rem);
  color: var(--silver); letter-spacing: 0;
}
.gold-line {
  width: 90px; height: 2.5px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.6rem auto;
}
.hero-tagline { font-size: 1rem; color: var(--gold-lt); font-weight: 300; letter-spacing: 0; margin-bottom: 2.8rem; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =====================
   BUTTONS
===================== */
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 2.2rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: var(--steel); border: none; border-radius: 4px;
  font-family: 'Tajawal', sans-serif; font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: all .3s; text-decoration: none;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(201,168,76,.4); }

.btn-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 2.2rem; background: transparent; color: var(--gold);
  border: 2px solid var(--gold); border-radius: 4px;
  font-family: 'Tajawal', sans-serif; font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: all .3s; text-decoration: none;
}
.btn-outline:hover { background: rgba(201,168,76,.1); transform: translateY(-3px); }

/* =====================
   SECTIONS & BADGES
===================== */
.section { padding: 5rem 2rem; max-width: 1200px; margin: 0 auto; }
.section-center { text-align: center; }

.sec-badge {
  display: inline-block; padding: .3rem 1.1rem;
  background: rgba(201,168,76,.1); border: 1px solid rgba(201,168,76,.3);
  border-radius: 20px; color: var(--gold);
  font-size: .78rem; letter-spacing: 0;
  margin-bottom: 1rem;
}
.sec-title { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 900; color: var(--white); margin-bottom: .7rem; }
.sec-title span { color: var(--gold); }
.sec-desc { font-size: 1rem; color: var(--silver); line-height: 1.85; max-width: 600px; margin: 0 auto 3rem; }

/* =====================
   STATS
===================== */
.stats-band {
  background: linear-gradient(135deg, var(--steel), var(--iron));
  border-top: 1px solid rgba(201,168,76,.12);
  border-bottom: 1px solid rgba(201,168,76,.12);
  padding: 3.5rem 2rem;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem; max-width: 960px; margin: 0 auto;
}
.stat-card { text-align: center; padding: 1.5rem 1rem; }
.stat-num { font-size: 3.2rem; font-weight: 900; color: var(--gold); line-height: 1; }
.stat-label { font-size: .88rem; color: var(--silver); margin-top: .6rem; }

/* =====================
   CATEGORY CARDS
===================== */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; margin-top: 1rem; }
.cat-card {
  background: linear-gradient(145deg, rgba(26,26,46,.98), rgba(13,13,26,.95));
  border: 1px solid rgba(201,168,76,.18); border-radius: var(--r);
  padding: 2rem 1.6rem; cursor: pointer; position: relative; overflow: hidden;
  transition: transform .4s, border-color .4s, box-shadow .4s;
  text-decoration: none; color: inherit; display: block;
}
.cat-card::before {
  content: ''; position: absolute; top: 0; right: 0; left: 0; height: 2.5px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity .35s;
}
.cat-card:hover { transform: translateY(-8px); border-color: rgba(201,168,76,.5); box-shadow: 0 18px 45px rgba(0,0,0,.45); }
.cat-card:hover::before { opacity: 1; }
.cat-icon { width: 56px; height: 56px; margin-bottom: 1.2rem; }
.cat-name { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: .5rem; }
.cat-desc { font-size: .88rem; color: var(--silver); line-height: 1.65; }
.cat-count { display: inline-block; margin-top: 1rem; font-size: .8rem; color: var(--gold); }

/* =====================
   WHY-US
===================== */
.why-band {
  background: linear-gradient(135deg, rgba(26,26,46,.4), rgba(13,13,26,.6));
  border-top: 1px solid rgba(201,168,76,.07);
  border-bottom: 1px solid rgba(201,168,76,.07);
  padding: 5rem 2rem;
}
/* ── header ثنائي العمود ── */
.why-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center; margin-bottom: 3rem;
}
.why-header-right { }
.why-header-left  { }
.why-link {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--gold); font-size: .92rem; font-weight: 600;
  text-decoration: none; margin-top: 1.2rem;
  transition: gap .25s;
}
.why-link:hover { gap: .7rem; }

/* ── 4 بطاقات بيضاء/شفافة ── */
.why-grid-v2 {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
}
.why-card-v2 {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,168,76,.15);
  border-radius: var(--r); padding: 2rem 1.5rem;
  transition: all .35s;
}
.why-card-v2:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(201,168,76,.4);
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,.3);
}
.why-card-icon {
  width: 48px; height: 48px;
  background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.2rem;
}
.why-card-title { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: .6rem; }
.why-card-text  { font-size: .85rem; color: var(--silver); line-height: 1.75; }

/* ── القديم (احتياطي) ── */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.4rem; max-width: 1200px; margin: 3rem auto 0; }
.why-card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(201,168,76,.14);
  border-radius: var(--r); padding: 2rem; text-align: center; transition: all .35s;
}
.why-card:hover { border-color: rgba(201,168,76,.38); background: rgba(201,168,76,.04); transform: translateY(-4px); }
.why-icon { font-size: 2.4rem; margin-bottom: .9rem; }
.why-title { font-size: 1.05rem; font-weight: 700; color: var(--gold); margin-bottom: .65rem; }
.why-text { font-size: .88rem; color: var(--silver); line-height: 1.75; }

/* =====================
   CTA BAND
===================== */
.cta-band {
  background: linear-gradient(135deg, rgba(201,168,76,.1), rgba(201,168,76,.04));
  border: 1px solid rgba(201,168,76,.22); border-radius: var(--r);
  padding: 4rem 2rem; text-align: center; margin: 0 2rem 5rem;
}
.cta-band h2 { font-size: 2rem; font-weight: 900; color: var(--white); margin-bottom: 1rem; }
.cta-band p { color: var(--silver); line-height: 1.7; margin-bottom: 2rem; }

/* =====================
   PAGE HERO (inner pages)
===================== */
.page-hero {
  background: linear-gradient(135deg, var(--steel), var(--iron));
  padding: 4.5rem 2rem 4rem; text-align: center;
  border-bottom: 1px solid rgba(201,168,76,.14);
  position: relative; overflow: hidden;
}
.page-hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(201,168,76,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.05) 1px, transparent 1px);
  background-size: 44px 44px;
}
.page-hero h1 {
  position: relative; z-index: 1;
  font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900;
  background: linear-gradient(135deg, var(--white), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero p { position: relative; z-index: 1; color: var(--silver); margin-top: .7rem; font-size: 1rem; }

/* =====================
   PRODUCTS
===================== */
.filter-bar { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 2.5rem; }
.filter-btn {
  padding: .5rem 1.3rem; background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,168,76,.2); border-radius: 25px;
  color: var(--silver); font-family: 'Tajawal', sans-serif;
  font-size: .9rem; cursor: pointer; transition: all .3s;
}
.filter-btn.active, .filter-btn:hover { background: rgba(201,168,76,.12); border-color: var(--gold); color: var(--gold); }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.5rem; }
.prod-card {
  background: linear-gradient(145deg, rgba(26,26,46,.9), rgba(13,13,26,.92));
  border: 1px solid rgba(201,168,76,.17); border-radius: var(--r);
  overflow: hidden; transition: transform .4s, border-color .4s, box-shadow .4s;
}
.prod-card:hover { transform: translateY(-6px); border-color: rgba(201,168,76,.45); box-shadow: 0 16px 42px rgba(0,0,0,.5); }
.prod-img {
  height: 200px; background: linear-gradient(135deg, var(--steel), var(--smoke));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
/* gradient overlay – subtle dark from bottom only */
.prod-img::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.08) 45%, transparent 70%);
}
/* real photo */
.prod-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s cubic-bezier(.25,.46,.45,.94);
  display: block;
}
.prod-card:hover .prod-img img { transform: scale(1.06); }
/* icon fallback */
.prod-img svg { width: 80px; height: 80px; opacity: .82; }
.prod-body { padding: 1.2rem; }
.prod-tag {
  display: inline-block; padding: .2rem .75rem;
  background: rgba(201,168,76,.1); border: 1px solid rgba(201,168,76,.25);
  border-radius: 12px; font-size: .75rem; color: var(--gold); margin-bottom: .7rem;
}
.prod-name { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: .4rem; }
.prod-spec { font-size: .84rem; color: var(--silver); margin-bottom: .8rem; }

/* ── مقاسات المنتج ── */
.prod-sizes {
  display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .9rem;
}
.size-chip {
  display: inline-block; padding: .18rem .6rem;
  background: rgba(255,255,255,.05); border: 1px solid rgba(201,168,76,.2);
  border-radius: 4px; font-size: .75rem; color: var(--silver);
  cursor: default; transition: all .2s; font-family: monospace;
  letter-spacing: .3px;
}
.size-chip:hover {
  background: rgba(201,168,76,.1); border-color: rgba(201,168,76,.5);
  color: var(--gold);
}
.prod-action {
  display: block; width: 100%; margin-top: 1rem; padding: .65rem;
  background: rgba(201,168,76,.08); border: 1px solid rgba(201,168,76,.22);
  border-radius: 4px; color: var(--gold); font-family: 'Tajawal', sans-serif;
  font-size: .88rem; cursor: pointer; transition: all .3s;
  text-decoration: none; text-align: center;
}
.prod-action:hover { background: rgba(201,168,76,.18); }

/* =====================
   ABOUT
===================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-img-box {
  background: linear-gradient(135deg, var(--steel), var(--smoke));
  border: 1px solid rgba(201,168,76,.2); border-radius: var(--r);
  height: 340px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.val-card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(201,168,76,.14);
  border-radius: var(--r); padding: 1.5rem; text-align: center; transition: all .3s;
}
.val-card:hover { border-color: rgba(201,168,76,.35); transform: translateY(-4px); }
.val-icon { font-size: 1.8rem; margin-bottom: .7rem; }
.val-title { font-size: .98rem; font-weight: 700; color: var(--gold); margin-bottom: .5rem; }
.val-text { font-size: .84rem; color: var(--silver); line-height: 1.65; }

/* =====================
   ARTICLES
===================== */
.articles-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 1.8rem; }

.article-card {
  background: linear-gradient(145deg, rgba(26,26,46,.92), rgba(13,13,26,.9));
  border: 1px solid rgba(201,168,76,.17); border-radius: var(--r);
  overflow: hidden; cursor: pointer; transition: all .4s;
  text-decoration: none; color: inherit; display: block;
}
.article-card:hover { transform: translateY(-7px); border-color: rgba(201,168,76,.46); box-shadow: 0 18px 45px rgba(0,0,0,.45); }
.article-cover {
  height: 195px; background: linear-gradient(135deg, var(--steel), var(--smoke));
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.article-card:hover .article-cover img { transform: scale(1.06); }
.article-cover-placeholder { font-size: 3rem; opacity: .45; }
.article-body { padding: 1.4rem; }
.article-tag {
  display: inline-block; padding: .22rem .75rem;
  background: rgba(201,168,76,.1); border: 1px solid rgba(201,168,76,.28);
  border-radius: 12px; font-size: .75rem; color: var(--gold); margin-bottom: .7rem;
}
.article-title { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: .55rem; line-height: 1.45; }
.article-excerpt { font-size: .87rem; color: var(--silver); line-height: 1.72; }
.article-meta {
  margin-top: 1rem; padding-top: .8rem;
  border-top: 1px solid rgba(255,255,255,.055);
  display: flex; justify-content: space-between;
  font-size: .78rem; color: rgba(138,155,176,.7);
}

/* =====================
   ARTICLE DETAIL
===================== */
.article-detail { max-width: 800px; margin: 0 auto; padding: 3rem 2rem 6rem; }
.article-detail-cover { width: 100%; height: 380px; object-fit: cover; border-radius: var(--r); margin-bottom: 2rem; border: 1px solid rgba(201,168,76,.15); }
.article-detail-cover-ph {
  width: 100%; height: 240px; background: linear-gradient(135deg, var(--steel), var(--smoke));
  border-radius: var(--r); display: flex; align-items: center; justify-content: center;
  font-size: 5rem; margin-bottom: 2rem;
}
.article-detail h1 { font-size: clamp(1.5rem, 4vw, 2.4rem); font-weight: 900; color: var(--white); margin-bottom: 1rem; line-height: 1.3; }
.article-detail-meta {
  display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap;
  margin-bottom: 2rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(201,168,76,.14);
}
.article-detail-body { font-size: 1rem; color: var(--silver); line-height: 2; white-space: pre-wrap; }

.back-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--gold); font-size: .9rem; cursor: pointer;
  margin-bottom: 2rem; background: none; border: none;
  font-family: 'Tajawal', sans-serif; padding: 0;
  text-decoration: none; transition: gap .25s;
}
.back-btn:hover { gap: .8rem; }

.delete-btn {
  background: rgba(139,69,19,.15); border: 1px solid rgba(220,80,60,.3);
  color: #e07060; padding: .3rem .9rem; border-radius: 4px;
  cursor: pointer; font-family: 'Tajawal', sans-serif; font-size: .8rem;
  margin-right: auto; transition: all .2s;
}
.delete-btn:hover { background: rgba(220,80,60,.2); }

/* =====================
   CONTACT
===================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1.3rem; }
.info-card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(201,168,76,.14);
  border-radius: var(--r); padding: 1.4rem;
  display: flex; gap: 1.2rem; align-items: flex-start; transition: border-color .3s;
}
.info-card:hover { border-color: rgba(201,168,76,.3); }
.info-icon { font-size: 1.4rem; min-width: 36px; }
.info-text strong { display: block; color: var(--gold); font-size: .85rem; font-weight: 700; margin-bottom: .3rem; }
.info-text span { color: var(--silver); font-size: .88rem; line-height: 1.6; }

.contact-form {
  background: rgba(255,255,255,.03); border: 1px solid rgba(201,168,76,.14);
  border-radius: var(--r); padding: 2.4rem;
}
.form-group { margin-bottom: 1.4rem; }
.form-group label { display: block; color: var(--gold); font-size: .82rem; letter-spacing: 1px; margin-bottom: .5rem; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; background: rgba(255,255,255,.05);
  border: 1px solid rgba(201,168,76,.2); border-radius: 4px;
  padding: .8rem 1rem; color: var(--white);
  font-family: 'Tajawal', sans-serif; font-size: .95rem;
  transition: border-color .3s, box-shadow .3s; resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(138,155,176,.45); }
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--steel); color: var(--white); }

/* =====================
   MODAL
===================== */
#modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.82); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center; padding: 1rem;
}
#modal-overlay.open { display: flex; animation: overlayIn .3s ease; }
@keyframes overlayIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
  background: var(--iron); border: 1px solid rgba(201,168,76,.28);
  border-radius: var(--r); width: 100%; max-width: 660px;
  max-height: 92vh; overflow-y: auto;
  animation: modalIn .35s cubic-bezier(.175,.885,.32,1.275);
}
@keyframes modalIn { from { opacity:0; transform:scale(.92) translateY(20px); } to { opacity:1; transform:scale(1) translateY(0); } }
.modal::-webkit-scrollbar { width: 6px; }
.modal::-webkit-scrollbar-thumb { background: rgba(201,168,76,.25); border-radius: 3px; }

.modal-header {
  padding: 1.5rem 2rem; border-bottom: 1px solid rgba(201,168,76,.14);
  display: flex; justify-content: space-between; align-items: center;
  position: sticky; top: 0; background: var(--iron); z-index: 1;
}
.modal-title { font-size: 1.15rem; font-weight: 700; color: var(--gold); }
.modal-close {
  background: none; border: none; color: var(--silver);
  font-size: 1.5rem; cursor: pointer; padding: .2rem .5rem;
  border-radius: 4px; transition: all .2s; line-height: 1;
}
.modal-close:hover { color: var(--white); background: rgba(255,255,255,.08); }
.modal-body { padding: 2rem; }

.img-upload-zone {
  border: 2px dashed rgba(201,168,76,.3); border-radius: var(--r);
  padding: 1.8rem; text-align: center; cursor: pointer;
  transition: all .3s; position: relative; overflow: hidden;
}
.img-upload-zone:hover { border-color: var(--gold); background: rgba(201,168,76,.04); }
.img-upload-zone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.img-upload-icon { font-size: 2.2rem; margin-bottom: .5rem; display: block; }
.img-upload-text { color: var(--silver); font-size: .88rem; }
.img-preview { width: 100%; height: 160px; object-fit: cover; border-radius: 4px; margin-top: 1rem; display: none; border: 1px solid rgba(201,168,76,.2); }

/* =====================
   FOOTER
===================== */
footer {
  background: var(--steel); border-top: 1px solid rgba(201,168,76,.14);
  padding: 3.5rem 2rem 2rem; text-align: center;
}
.footer-logo {
  font-size: 1.5rem; font-weight: 900;
  background: linear-gradient(135deg, var(--white), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: .4rem;
}
.footer-sub { font-size: .78rem; color: var(--silver); letter-spacing: 0; margin-bottom: 2rem; }
.footer-links { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem; list-style: none; }
.footer-links a { color: var(--silver); text-decoration: none; font-size: .9rem; transition: color .3s; }
.footer-links a:hover { color: var(--gold); }
.footer-divider { width: 60px; height: 2px; background: linear-gradient(90deg, transparent, rgba(201,168,76,.3), transparent); margin: 0 auto 1.5rem; }
.footer-bottom { font-size: .78rem; color: rgba(138,155,176,.5); }

/* =====================
   MISC
===================== */
.empty-state { text-align: center; padding: 5rem 2rem; color: var(--silver); }
.empty-state .empty-icon { font-size: 4rem; margin-bottom: 1rem; opacity: .45; }
.empty-state p { font-size: 1rem; margin-bottom: .4rem; }
.empty-state small { font-size: .88rem; color: rgba(138,155,176,.6); }

.notif {
  position: fixed; bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: var(--steel); padding: .85rem 2.2rem; border-radius: 30px;
  font-weight: 700; font-size: .92rem; z-index: 3000;
  transition: transform .45s cubic-bezier(.175,.885,.32,1.275);
  white-space: nowrap;
}
.notif.show { transform: translateX(-50%) translateY(0); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =====================
   REVIEWS SECTION
===================== */
.reviews-band {
  background: linear-gradient(135deg, rgba(26,26,46,.6), rgba(13,13,26,.8));
  border-top: 1px solid rgba(201,168,76,.1);
  border-bottom: 1px solid rgba(201,168,76,.1);
  padding: 5rem 2rem;
  overflow: hidden;
}
.reviews-summary {
  display: flex; align-items: center; gap: 1.5rem;
  justify-content: center; margin-bottom: 3rem; flex-wrap: wrap;
}
.reviews-score {
  font-size: 4rem; font-weight: 900; color: var(--gold); line-height: 1;
}
.reviews-meta { text-align: right; }
.reviews-stars { color: #fbbf24; font-size: 1.4rem; letter-spacing: 2px; }
.reviews-count { font-size: .88rem; color: var(--silver); margin-top: .3rem; }
.reviews-google { display: flex; align-items: center; gap: .5rem; margin-top: .4rem; font-size: .8rem; color: rgba(138,155,176,.7); }

.reviews-carousel {
  position: relative;
  padding: 0 2.5rem;   /* space for arrows */
}
.reviews-track-wrap { overflow: hidden; }
.reviews-track {
  display: flex; gap: 1.4rem;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

/* Arrow buttons */
.rev-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(201,168,76,.13); border: 1px solid rgba(201,168,76,.3);
  color: var(--gold); font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .3s; z-index: 10;
  backdrop-filter: blur(6px);
}
.rev-arrow:hover { background: rgba(201,168,76,.28); transform: translateY(-50%) scale(1.1); box-shadow: 0 4px 16px rgba(201,168,76,.3); }
.rev-arrow:disabled { opacity: .3; cursor: not-allowed; transform: translateY(-50%); }
.rev-arrow-prev { right: 0; }   /* RTL: prev = right side */
.rev-arrow-next { left: 0; }    /* RTL: next = left side  */

/* Dot indicators */
.rev-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.8rem; }
.rev-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(201,168,76,.22); border: none; cursor: pointer;
  transition: all .35s; padding: 0;
}
.rev-dot.active { background: var(--gold); width: 26px; border-radius: 4px; }

.review-card {
  flex: 0 0 300px; scroll-snap-align: start;
  background: linear-gradient(145deg, rgba(26,26,46,.95), rgba(13,13,26,.9));
  border: 1px solid rgba(201,168,76,.18); border-radius: var(--r);
  padding: 1.6rem; position: relative;
}
.review-card::before {
  content: '"'; position: absolute; top: .8rem; left: 1.2rem;
  font-size: 3.5rem; color: rgba(201,168,76,.15); font-family: Georgia, serif;
  line-height: 1;
}
.review-header { display: flex; align-items: center; gap: .8rem; margin-bottom: .8rem; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--smoke));
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700; color: var(--steel); flex-shrink: 0;
}
.review-name { font-size: .95rem; font-weight: 700; color: var(--white); }
.review-date { font-size: .75rem; color: var(--silver); margin-top: .15rem; }
.review-stars { color: #fbbf24; font-size: .9rem; margin-bottom: .7rem; }
.review-text { font-size: .88rem; color: var(--silver); line-height: 1.75; }
.review-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: .8rem; font-size: .72rem; color: rgba(138,155,176,.6);
}

/* MAP EMBED */
.map-embed { width: 100%; height: 340px; border-radius: var(--r); border: 1px solid rgba(201,168,76,.2); overflow: hidden; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* =====================
   FLOATING CONTACT BUTTONS
===================== */
.float-btns {
  position: fixed;
  bottom: 2rem;
  left: 2rem;          /* left = visible corner in RTL screens */
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.float-btn {
  display: flex; align-items: center; gap: .65rem;
  padding: .75rem 1.25rem .75rem 1rem;
  border-radius: 50px;
  font-family: 'Tajawal', sans-serif;
  font-size: .92rem; font-weight: 700;
  text-decoration: none; cursor: pointer;
  transition: transform .3s, box-shadow .3s;
  box-shadow: 0 4px 18px rgba(0,0,0,.45);
  white-space: nowrap; border: none;
}

/* WhatsApp — quote */
.float-btn-wa {
  background: #25D366;
  color: #fff;
}
.float-btn-wa:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 30px rgba(37,211,102,.45);
}

/* Call */
.float-btn-call {
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: var(--steel);
}
.float-btn-call:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 30px rgba(201,168,76,.45);
}

.float-btn-icon { display: flex; align-items: center; flex-shrink: 0; }

/* pulse animation on WhatsApp button */
.float-btn-wa { animation: waPulse 3s ease-in-out infinite; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(0,0,0,.45); }
  50%       { box-shadow: 0 4px 28px rgba(37,211,102,.55), 0 0 0 6px rgba(37,211,102,.12); }
}
.float-btn-wa:hover { animation: none; }

@media (max-width: 480px) {
  .float-btns { bottom: 1.2rem; left: 1rem; }
  .float-btn  { padding: .65rem 1rem .65rem .85rem; font-size: .85rem; }
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .about-img-box { height: 220px; }
}
@media (max-width: 640px) {
  .nav-links {
    display: none; position: fixed; top: 70px; right: 0; left: 0;
    background: rgba(13,13,26,.98); padding: 1.5rem 2rem;
    flex-direction: column; gap: 0;
    border-bottom: 1px solid rgba(201,168,76,.15);
  }
  .nav-links.open { display: flex; animation: menuDrop .3s ease; }
  @keyframes menuDrop { from { opacity:0; transform:translateY(-10px); } to { opacity:1; transform:translateY(0); } }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,.04); }
  .nav-links a { display: block; padding: .9rem 0; font-size: 1rem; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .values-grid, .articles-grid, .products-grid, .cat-grid { grid-template-columns: 1fr; }
  .cta-band { margin: 0 0 4rem; border-radius: 0; }
  .why-header  { grid-template-columns: 1fr; gap: 1.5rem; }
  .why-grid-v2 { grid-template-columns: 1fr 1fr; }
}

@media(max-width:480px){
  .why-grid-v2 { grid-template-columns: 1fr; }
}
