/* =========================================================
   خليج الامتياز S.M.K — صفحة الهبوط
   الهوية مستوحاة من الشعار: أخضر عميق + ذهبي كهرماني + عاجي
   ========================================================= */
:root {
  --ink: #0d2318;
  --green-950: #082a19;
  --green-900: #0b3d24;
  --green-700: #0d5a31;
  --green-600: #00672f;      /* أخضر الشعار */
  --green-100: #e3eee5;
  --gold-500: #e3a21a;       /* ذهبي الشعار */
  --gold-400: #f0b73a;
  --gold-700: #845a00;       /* ذهبي للنصوص على العاجي (تباين AA) */
  --ivory: #fbf8f1;
  --paper: #f3ede0;
  --sand: #e9e0cd;
  --line: #ded3bc;
  --muted: #55625a;
  --white: #fff;

  --radius-s: 10px;
  --radius: 18px;
  --radius-l: 28px;
  --shadow-s: 0 1px 2px rgba(13, 35, 24, .06), 0 4px 14px rgba(13, 35, 24, .06);
  --shadow-m: 0 2px 6px rgba(13, 35, 24, .07), 0 18px 40px -12px rgba(13, 35, 24, .22);

  --font-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --font-head: "Readex Pro", "IBM Plex Sans Arabic", "Segoe UI", sans-serif;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--ivory);
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
html[lang="en"] body { line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.25; margin: 0; letter-spacing: -.01em; }
html[lang="en"] h1, html[lang="en"] h2 { letter-spacing: -.025em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button, input, textarea { font: inherit; color: inherit; }
svg { width: 1.2em; height: 1.2em; flex: none; }
[hidden] { display: none !important; }

.wrap { width: min(1240px, 100% - 2.5rem); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 1rem; top: -60px; z-index: 100; background: var(--gold-500); color: var(--ink); padding: .6rem 1rem; border-radius: var(--radius-s); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }
.ltr-num, [dir="ltr"] { unicode-bidi: isolate; }

/* ---------- الأزرار ---------- */
.btn {
  --bg: var(--paper); --fg: var(--ink); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 46px; padding: .6em 1.3em;
  border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-family: var(--font-head); font-weight: 500; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 54px; padding: .75em 1.6em; font-size: 1.05rem; }
.btn-primary { --bg: var(--green-600); --fg: #fff; box-shadow: 0 8px 22px -10px rgba(0, 103, 47, .7); }
.btn-primary:hover { --bg: var(--green-700); box-shadow: 0 14px 28px -12px rgba(0, 103, 47, .8); }
.btn-gold { --bg: var(--gold-500); --fg: var(--ink); }
.btn-gold:hover { --bg: var(--gold-400); box-shadow: 0 10px 24px -12px rgba(227, 162, 26, .9); }
.btn-ghost { --bg: transparent; --fg: var(--green-700); --bd: var(--line); }
.btn-ghost:hover { --bd: var(--green-600); --bg: var(--white); }
.btn-outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .35); }
.btn-outline-light:hover { --bd: var(--gold-500); --fg: var(--gold-400); }
.w-full { width: 100%; }
.btn-wa { --bg: #1b7f45; --fg: #fff; }
.btn-wa:hover { --bg: #156b39; box-shadow: 0 10px 24px -12px rgba(27, 127, 69, .9); }
.btn-wa .wa-num { opacity: .9; font-weight: 400; }
.btn .dir-arrow { transition: transform .25s var(--ease); }
.btn:hover .dir-arrow { transform: translateX(-4px); }
[dir="ltr"] .dir-arrow { transform: scaleX(-1); }
[dir="ltr"] .btn:hover .dir-arrow { transform: scaleX(-1) translateX(-4px); }

/* ---------- الشريط العلوي ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  background: rgba(251, 248, 241, .82);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(13, 35, 24, .5); background: rgba(251, 248, 241, .94); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand img { width: auto; height: 50px; }
.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: .25rem; }
.main-nav a:not(.btn) {
  display: block; padding: .5rem .9rem; border-radius: 999px;
  text-decoration: none; font-family: var(--font-head); font-weight: 500; font-size: .98rem; color: var(--ink);
  position: relative; transition: color .2s, background-color .2s;
}
.main-nav a:not(.btn):hover { background: var(--paper); }
.main-nav a.active { color: var(--green-600); }
.main-nav a.active::after { content: ""; position: absolute; inset-inline: 40%; bottom: 2px; height: 3px; border-radius: 3px; background: var(--gold-500); }
.nav-call-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.lang-toggle {
  min-width: 46px; height: 42px; padding: 0 .7rem; border-radius: 999px;
  background: transparent; border: 1.5px solid var(--line); cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--green-700);
  transition: border-color .2s, background-color .2s;
}
.lang-toggle:hover { border-color: var(--green-600); background: var(--white); }
.header-call { min-height: 42px; padding-block: .4em; }
.menu-toggle { display: none; width: 46px; height: 42px; border: 0; background: var(--green-900); border-radius: 12px; cursor: pointer; padding: 0 12px; flex-direction: column; justify-content: center; gap: 5px; }
.menu-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- الواجهة الافتتاحية: عرض منتجات بإضاءة استوديو ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--ivory); background: #061a10;
  padding-top: var(--header-h);
}
/* خلفية لكل منتج: إضاءة موجّهة خلف المنتج + تدرج نحو الأطراف (تتبدّل بانسياب) */
.hero-bgs { position: absolute; inset: 0; z-index: -2; }
.hbg {
  --sx: 28%;
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease);
  background:
    radial-gradient(34% 46% at var(--sx) 44%, rgba(255, 255, 255, .17), transparent 72%),
    radial-gradient(80% 95% at var(--sx) 46%, var(--c1) 0%, var(--c2) 80%),
    var(--c2);
}
[dir="ltr"] .hbg { --sx: 72%; }
.hbg.is-active { opacity: 1; }
.hbg::after { /* أرضية الاستوديو: خط أفق ناعم وانعكاس */
  content: ""; position: absolute; inset: auto 0 0 0; height: 30%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(0, 0, 0, .28));
  border-top: 1px solid rgba(255, 255, 255, .07);
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.showcase-slides { display: grid; }
.slide {
  grid-area: 1 / 1;
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); align-items: center; gap: clamp(1rem, 4vw, 4rem);
  min-height: clamp(520px, calc(100svh - var(--header-h) - 96px - 54px), 760px);
  padding-block: clamp(1.5rem, 4vh, 3rem) 0;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s .3s;
}
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .5s var(--ease) .28s, visibility 0s; }

.slide-copy { max-width: 34rem; }
.slide-kicker { font-family: var(--font-head); font-weight: 500; font-size: 1rem; color: var(--gold-400); margin-bottom: 1rem; }
.slide-title {
  font-family: var(--font-head); font-weight: 700; color: #fff;
  font-size: clamp(2.3rem, 1.3rem + 3.2vw, 4.25rem); line-height: 1.35; margin: 0 0 1.1rem; text-wrap: balance;
}
html[lang="en"] .slide-title { line-height: 1.08; letter-spacing: -.025em; }
.slide-text { font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem); line-height: 1.85; color: rgba(251, 248, 241, .78); max-width: 32em; margin-bottom: 2rem; }
html[lang="en"] .slide-text { line-height: 1.65; }
.slide-ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero .btn-gold { box-shadow: 0 16px 34px -16px rgba(227, 162, 26, .85); }

.slide-visual { position: relative; height: 100%; min-height: 420px; display: grid; place-items: end center; padding-bottom: 9%; }
.slide-big {
  position: absolute; inset-inline: -10%; top: 46%; transform: translateY(-50%);
  text-align: center; white-space: nowrap; pointer-events: none;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(6rem, 15vw, 15rem); line-height: 1; letter-spacing: -.04em;
  color: rgba(255, 255, 255, .055);
}
.slide-halo {
  position: absolute; left: 50%; top: 44%; width: min(78%, 520px); aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .13) 0%, rgba(255, 255, 255, .03) 58%, transparent 70%);
  box-shadow: inset 0 0 0 1px rgba(240, 183, 58, .22);
}
.slide-visual img {
  position: relative; z-index: 1;
  width: auto; height: auto; max-width: min(100%, 600px); max-height: min(50vh, 470px);
  object-fit: contain;
  filter: drop-shadow(0 34px 34px rgba(0, 0, 0, .42)) drop-shadow(0 6px 10px rgba(0, 0, 0, .25));
  -webkit-box-reflect: below 3px linear-gradient(transparent 76%, rgba(255, 255, 255, .16));
}
.slide-visual::after { /* ظل ملامس للأرضية */
  content: ""; position: absolute; left: 50%; bottom: 7.5%; width: min(70%, 460px); height: 34px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0, 0, 0, .5), transparent); z-index: 0;
}

/* التنقل بين المنتجات */
.showcase-nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.1rem 1.6rem; position: relative; }
.sc-tabs { display: flex; gap: 1rem; flex: 1; min-width: 0; max-width: 1040px; }
.sc-tabs .sc-tab { flex: 1 1 0; min-width: 0; }
/* ثمانية أقسام: يلتف اسم القسم على سطرين عند ضيق المساحة بدل قصّه */
@media (min-width: 641px) { .sc-tabs .sc-tab { white-space: normal; text-overflow: clip; line-height: 1.35; font-size: .84rem; } }
.sc-tab { font-size: .84rem; }
.sc-tab {
  all: unset; box-sizing: border-box; cursor: pointer; display: block; padding-top: 1rem; position: relative;
  font-family: var(--font-head); font-size: .92rem; font-weight: 500; color: rgba(251, 248, 241, .55);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s;
}
.sc-tab:hover, .sc-tab[aria-current="true"] { color: #fff; }
.sc-tab:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 4px; border-radius: 4px; }
.sc-tab::before, .sc-tab .bar { content: ""; position: absolute; top: 0; inset-inline: 0; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .18); }
.sc-tab .bar { background: var(--gold-400); transform: scaleX(0); transform-origin: right; }
[dir="ltr"] .sc-tab .bar { transform-origin: left; }
.sc-tab[aria-current="true"] .bar { transform: scaleX(1); }
.motion-ok .showcase.autoplay .sc-tab[aria-current="true"] .bar { transform: scaleX(0); animation: sc-progress var(--sc-dur, 7s) linear forwards; }
.motion-ok .showcase.is-paused .sc-tab .bar { animation-play-state: paused !important; }
@keyframes sc-progress { to { transform: scaleX(1); } }
.sc-controls { display: flex; gap: .5rem; }
.sc-btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .2); color: #fff;
  transition: background-color .25s, border-color .25s, transform .25s var(--ease);
}
.sc-btn:hover { background: rgba(255, 255, 255, .14); border-color: var(--gold-400); }
.sc-btn:active { transform: scale(.96); }
.sc-btn .i-play { display: none; }
.showcase.user-paused .sc-btn .i-play { display: block; }
.showcase.user-paused .sc-btn .i-pause { display: none; }
.dir-flip.next { transform: scaleX(-1); }
[dir="ltr"] .dir-flip { transform: scaleX(-1); }
[dir="ltr"] .dir-flip.next { transform: none; }

/* حركة دخول المنتج والنص (تتبع اتجاه القراءة) */
.motion-ok .slide .slide-copy > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.motion-ok .slide.is-active .slide-copy > * { opacity: 1; transform: none; transition-delay: .3s; }
.motion-ok .slide.is-active .slide-copy > :nth-child(2) { transition-delay: .38s; }
.motion-ok .slide.is-active .slide-copy > :nth-child(3) { transition-delay: .46s; }
.motion-ok .slide.is-active .slide-copy > :nth-child(4) { transition-delay: .54s; }
.motion-ok .slide .slide-visual img { opacity: 0; transform: translateY(26px) scale(.95); transition: opacity .9s var(--ease) .1s, transform 1.1s var(--ease) .1s; }
.motion-ok .slide.is-active .slide-visual img { opacity: 1; transform: none; transition-delay: .3s; }
.motion-ok .slide .slide-big { opacity: 0; transition: opacity 1.2s var(--ease) .2s; }
.motion-ok .slide.is-active .slide-big { opacity: 1; }
.motion-ok .slide .slide-halo { transform: translate(-50%, -50%) scale(.9); transition: transform 1.4s var(--ease); }
.motion-ok .slide.is-active .slide-halo { transform: translate(-50%, -50%) scale(1); }

/* شريط العلامات */
.brand-strip { background: var(--green-950); color: var(--ivory); overflow: hidden; border-block: 1px solid rgba(255, 255, 255, .06); }
.brand-track { display: flex; width: max-content; direction: ltr; }
.brand-track ul { display: flex; align-items: center; flex: none; }
.brand-track li { font-family: var(--font-head); font-weight: 500; font-size: .95rem; letter-spacing: .14em; padding: 1rem 2.2rem; opacity: .85; position: relative; white-space: nowrap; }
.brand-track li::after { content: "✦"; position: absolute; right: -.35rem; color: var(--gold-500); font-size: .7rem; top: 50%; transform: translateY(-50%); letter-spacing: 0; }
.brand-track sup { font-size: .6em; color: var(--gold-400); }

/* ---------- عناوين الأقسام ---------- */
section { position: relative; }
.section-kicker { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--gold-700); margin-bottom: .7rem; letter-spacing: .02em; }
.section-kicker::before { content: ""; width: 28px; height: 2px; background: var(--gold-500); border-radius: 2px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 2rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.section-head h2 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.7rem); font-weight: 600; color: var(--green-950); }
.section-note { color: var(--muted); margin: 0; max-width: 26rem; }
.on-dark h2 { color: var(--ivory); }
.on-dark .section-kicker { color: var(--gold-400); }

/* ---------- عن المؤسسة ---------- */
.about { padding-block: clamp(4rem, 9vw, 7.5rem); }
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.about-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.about-intro h2 { font-size: clamp(1.7rem, 1.1rem + 2vw, 2.6rem); font-weight: 600; color: var(--green-950); margin-bottom: 1.4rem; text-wrap: balance; }
.about-intro p { color: var(--muted); font-size: 1.08rem; }
.about-logo { margin: 2rem 0 0; display: inline-block; padding: 1rem 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.about-logo img { width: 170px; }
.pillars { counter-reset: p; display: grid; gap: 0; border-top: 1px solid var(--line); }
.pillar { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1.4rem; padding: 1.8rem .4rem; border-bottom: 1px solid var(--line); transition: background-color .3s; }
.pillar:hover { background: linear-gradient(90deg, transparent, rgba(227, 162, 26, .07), transparent); }
.pillar-num { grid-row: span 2; font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--gold-700); width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--gold-500); direction: ltr; }
.pillar h3 { font-size: 1.25rem; font-weight: 600; color: var(--green-900); align-self: end; }
.pillar p { margin: 0; color: var(--muted); }
.pillar a { color: var(--green-600); font-weight: 600; text-decoration-color: var(--gold-500); text-underline-offset: 4px; white-space: nowrap; }

/* ---------- الأقسام (bento) ---------- */
.aisles { padding-block: clamp(3.5rem, 7vw, 6rem); background: var(--paper); border-block: 1px solid var(--line); }
.aisle-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 1rem; }
.aisle-grid li:first-child { grid-column: span 2; grid-row: span 2; }
.aisle-grid li:nth-child(4) { grid-column: span 2; }
.aisle {
  position: relative; width: 100%; height: 100%; padding: 1.3rem 1.4rem; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; text-align: start;
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.aisle:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: transparent; }
.aisle-num { font: 600 .78rem/1 ui-monospace, Consolas, monospace; color: var(--gold-700); letter-spacing: .08em; direction: ltr; }
.aisle-name { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; line-height: 1.3; color: var(--green-950); max-width: 60%; }
.aisle-count { font-size: .88rem; color: var(--muted); }
.aisle img { position: absolute; z-index: -1; inset-inline-end: -4%; bottom: -6%; width: 58%; height: 86%; object-fit: contain; object-position: bottom; transition: transform .5s var(--ease); filter: drop-shadow(0 14px 16px rgba(13, 35, 24, .18)); }
.aisle:hover img { transform: scale(1.06) translateY(-4px); }
.aisle-grid li:first-child .aisle { background: linear-gradient(160deg, var(--green-700), var(--green-950)); border: 0; }
.aisle-grid li:first-child .aisle-name { color: var(--ivory); font-size: clamp(1.5rem, 1rem + 1.4vw, 2.2rem); }
.aisle-grid li:first-child .aisle-num { color: var(--gold-400); }
.aisle-grid li:first-child .aisle-count { color: rgba(251, 248, 241, .75); }
.aisle-grid li:first-child .aisle { justify-content: flex-end; gap: .5rem; }
.aisle-grid li:first-child .aisle-num { position: absolute; top: 1.3rem; inset-inline-start: 1.4rem; }
.aisle-grid li:first-child img { width: 88%; height: 62%; inset-inline-end: 6%; top: 8%; bottom: auto; object-position: center bottom; }
.aisle-grid li:nth-child(4) img { width: 46%; }
.aisle-go { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-size: .88rem; font-weight: 500; color: var(--green-600); }
.aisle-grid li:first-child .aisle-go { color: var(--gold-400); }

/* ---------- المنتجات ---------- */
.products { padding-block: clamp(4rem, 8vw, 6.5rem); }
.search { position: relative; flex: 0 1 380px; min-width: min(100%, 280px); }
.search svg { position: absolute; inset-inline-start: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; height: 52px; padding-inline: 2.9rem 1rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--white); font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.search input:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(0, 103, 47, .12); }
.filters { display: flex; gap: .5rem; overflow-x: auto; padding: .2rem .1rem 1rem; margin-bottom: .5rem; scrollbar-width: thin; scroll-snap-type: x proximity; }
.chip {
  flex: none; scroll-snap-align: start;
  display: inline-flex; align-items: center; gap: .5rem; min-height: 42px; padding: .4rem 1rem;
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); cursor: pointer;
  font-family: var(--font-head); font-size: .92rem; font-weight: 500; color: var(--ink);
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--green-600); }
.chip[aria-pressed="true"] { background: var(--green-900); border-color: var(--green-900); color: var(--ivory); }
.chip .n { font-size: .78rem; min-width: 1.6em; padding: 0 .4em; border-radius: 99px; background: var(--paper); color: var(--green-900); text-align: center; line-height: 1.6; }
.chip[aria-pressed="true"] .n { background: var(--gold-500); color: var(--ink); }
.result-count { font-size: .92rem; color: var(--muted); margin-bottom: 1.2rem; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.4rem; }
.p-card { height: 100%; }
.p-card button {
  all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; height: 100%; width: 100%;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.p-card button:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); border-color: transparent; }
.p-card button:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; }
.p-media { position: relative; aspect-ratio: 5 / 4; background: var(--paper); overflow: hidden; }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.p-card button:hover .p-media img { transform: scale(1.05); }
.p-code { position: absolute; top: .8rem; inset-inline-start: .8rem; font: 600 .7rem/1 ui-monospace, Consolas, monospace; letter-spacing: .05em; background: rgba(255, 255, 255, .92); color: var(--green-900); padding: .4rem .55rem; border-radius: 6px; direction: ltr; }
.p-variants { position: absolute; bottom: .8rem; inset-inline-end: .8rem; font-size: .75rem; font-weight: 600; background: var(--green-900); color: var(--ivory); padding: .25rem .6rem; border-radius: 99px; }
.p-body { display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem 1.2rem 1.25rem; flex: 1; }
.p-cat { font-size: .8rem; font-weight: 600; color: var(--gold-700); }
.p-name { font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; line-height: 1.4; color: var(--green-950); }
.p-desc { font-size: .92rem; color: var(--muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.p-meta { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: auto; padding-top: .7rem; }
.p-meta span { font-size: .78rem; padding: .2rem .6rem; border-radius: 6px; background: var(--paper); color: var(--green-900); unicode-bidi: plaintext; }
.p-more { display: inline-flex; align-items: center; gap: .35rem; margin-top: .8rem; font-family: var(--font-head); font-size: .9rem; font-weight: 500; color: var(--green-600); }
.p-more svg { transition: transform .3s var(--ease); }
.p-card button:hover .p-more svg { transform: rotate(90deg); }
.empty-state { text-align: center; padding: 3rem 1rem; border: 1.5px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* ---------- نافذة المنتج ---------- */
.product-modal {
  width: min(1100px, 100% - 2rem); max-height: min(92vh, 900px); padding: 0; border: 0; border-radius: var(--radius-l);
  background: var(--ivory); color: var(--ink); box-shadow: 0 40px 120px -20px rgba(8, 42, 25, .55); overflow: hidden;
}
.product-modal::backdrop { background: rgba(8, 30, 19, .62); backdrop-filter: blur(4px); }
.product-modal[open] { animation: pm-in .35s var(--ease); }
.product-modal[open]::backdrop { animation: fade-in .3s ease; }
@keyframes pm-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }
.pm-inner { display: grid; grid-template-columns: 1.1fr 1fr; max-height: inherit; overflow: auto; overscroll-behavior: contain; }
.pm-close { position: absolute; top: 1rem; inset-inline-end: 1rem; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--white); box-shadow: var(--shadow-s); cursor: pointer; display: grid; place-items: center; transition: transform .25s var(--ease), background-color .2s; }
.pm-close:hover { transform: rotate(90deg); background: var(--gold-500); }
.pm-gallery { background: var(--paper); padding: 1.2rem; display: flex; flex-direction: column; gap: .8rem; }
.pm-main { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; background: var(--paper); }
.pm-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.pm-main img.swap { opacity: 0; }
.pm-main { position: relative; }
.pm-cap { position: absolute; inset-block-end: .7rem; inset-inline-start: .7rem; padding: .3rem .75rem; border-radius: 999px; background: rgba(8, 42, 25, .82); color: #fff; font-size: .85rem; font-weight: 500; pointer-events: none; }
.pm-cap[hidden] { display: none; }
.pm-thumbs { display: flex; gap: .5rem; flex-wrap: wrap; }
.pm-thumbs button { width: 74px; aspect-ratio: 5 / 4; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: var(--ivory); cursor: pointer; transition: border-color .2s, transform .2s; }
.pm-thumbs button:hover { transform: translateY(-2px); }
.pm-thumbs button[aria-current="true"] { border-color: var(--green-600); }
.pm-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pm-info { padding: clamp(1.5rem, 3vw, 2.6rem); padding-top: clamp(3.4rem, 4vw, 3rem); display: flex; flex-direction: column; }
.pm-cat { font-size: .88rem; font-weight: 600; color: var(--gold-700); margin-bottom: .6rem; }
.pm-cat .code { font-family: ui-monospace, Consolas, monospace; color: var(--green-700); letter-spacing: .04em; }
.pm-info h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 600; color: var(--green-950); margin-bottom: .3rem; }
.pm-alt { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.pm-desc { font-size: 1.05rem; }
.pm-spec-h { font-size: 1rem; font-weight: 600; margin: .5rem 0 .7rem; color: var(--green-900); }
.pm-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; }
.pm-specs > div { background: var(--white); padding: .7rem .9rem; }
.pm-specs dt { font-size: .8rem; color: var(--muted); }
.pm-specs dd { margin: 0; font-weight: 600; color: var(--green-950); unicode-bidi: plaintext; }
.pm-specs > div:last-child:nth-child(odd) { grid-column: span 2; }
.pm-src { font-size: .8rem; color: var(--muted); margin: .8rem 0 1.4rem; }
.pm-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: auto; }

/* ---------- التواصل ---------- */
.contact { padding-block: clamp(4rem, 8vw, 6.5rem); background: var(--green-950); color: var(--ivory); overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%; border: 2px solid rgba(227, 162, 26, .22); inset-inline-end: -260px; top: -260px; pointer-events: none; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.5rem; position: relative; }
.contact-card { background: linear-gradient(170deg, var(--green-700), var(--green-900)); border-radius: var(--radius-l); padding: clamp(1.5rem, 3vw, 2.4rem); display: flex; flex-direction: column; gap: 1.2rem; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.cc-label { margin: 0; font-family: var(--font-head); font-size: .95rem; color: var(--gold-400); }
.cc-phone { font-family: var(--font-head); font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); font-weight: 600; letter-spacing: .02em; line-height: 1.1; text-decoration: none; color: #fff; width: fit-content; }
.cc-phone:hover { color: var(--gold-400); }
.cc-list { display: grid; gap: 1rem; padding: .4rem 0; border-block: 1px solid rgba(255, 255, 255, .12); padding-block: 1.2rem; }
.cc-list li { display: flex; gap: .9rem; align-items: flex-start; }
.cc-list svg { color: var(--gold-400); margin-top: .3rem; width: 1.3em; height: 1.3em; }
.cc-list span { display: block; font-size: .82rem; color: rgba(251, 248, 241, .7); }
.cc-list a, .cc-list address { color: #fff; text-decoration: none; font-weight: 500; }
.cc-list a:hover { color: var(--gold-400); text-decoration: underline; }

.inquiry { background: var(--ivory); color: var(--ink); border-radius: var(--radius-l); padding: clamp(1.5rem, 3vw, 2.4rem); display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.inquiry h3 { grid-column: 1 / -1; font-size: 1.4rem; font-weight: 600; color: var(--green-950); margin-bottom: .4rem; }
.form-note { grid-column: 1 / -1; font-size: .92rem; color: var(--muted); background: var(--paper); border-inline-start: 3px solid var(--gold-500); padding: .7rem .9rem; border-radius: 8px; margin-bottom: 1.2rem; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field:nth-of-type(n+3) { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; color: var(--green-900); }
.field input, .field textarea { width: 100%; padding: .75rem .95rem; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white); font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
html[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(0, 103, 47, .12); }
.field textarea { resize: vertical; min-height: 110px; }
/* الأصناف المطلوبة: صفوف تُضاف تحت بعضها داخل مربع بارتفاع ثابت (صفّان) يظهر فيه شريط تمرير عند الزيادة،
   فيبقى مربع النموذج بنفس حجمه */
.items-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.items-label { font-weight: 600; font-size: .92rem; color: var(--green-900); }
.add-item { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .75rem; border-radius: 999px; border: 1.5px solid var(--green-600); background: transparent; color: var(--green-700); font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s; }
.add-item svg { width: 16px; height: 16px; }
.add-item:hover { background: var(--green-600); color: #fff; }
.add-item:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; }
.items-list { list-style: none; margin: 0 -4px; padding: 4px; padding-inline-end: 8px; display: flex; flex-direction: column; gap: .5rem; height: calc(2 * 42px + .5rem + 8px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--green-600) transparent; }
.items-list::-webkit-scrollbar { width: 6px; }
.items-list::-webkit-scrollbar-thumb { background: var(--green-600); border-radius: 6px; }
.item-row { display: grid; grid-template-columns: minmax(0, 1fr) 7.5rem 42px; gap: .5rem; align-items: center; }
.item-row input { height: 42px; padding: .5rem .85rem; }
.it-del { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white); color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s; }
.it-del svg { width: 18px; height: 18px; }
.it-del:hover { color: #b42318; border-color: #b42318; }
.it-del:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; }
#f-msg { min-height: 81px; height: 81px; }
@media (max-width: 480px) { .item-row { grid-template-columns: minmax(0, 1fr) 5.2rem 42px; } }
.field-error { display: none; margin: 0; font-size: .85rem; color: #b42318; font-weight: 500; }
.field.invalid input { border-color: #b42318; }
.field.invalid .field-error { display: block; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .3rem; }
.form-status { grid-column: 1 / -1; font-size: .95rem; margin-top: .9rem; min-height: 1.5em; }
.form-status.ok { color: var(--green-700); font-weight: 600; }
.form-status.err { color: #b42318; font-weight: 600; }
.copy-fallback { grid-column: 1 / -1; width: 100%; margin-top: .6rem; padding: .8rem; border-radius: 12px; border: 1.5px solid var(--gold-500); background: var(--white); font-size: .9rem; }

.map-wrap { margin-top: 1.5rem; border-radius: var(--radius-l); overflow: hidden; height: clamp(280px, 38vw, 420px); background: var(--green-900); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85); }

/* ---------- التذييل ---------- */
.site-footer { background: var(--ink); color: rgba(251, 248, 241, .78); padding-top: 3.5rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-logo { display: inline-block; background: var(--ivory); padding: .7rem 1rem; border-radius: 14px; margin-bottom: 1rem; }
.footer-logo img { width: 120px; }
.footer-name { color: var(--ivory); font-family: var(--font-head); font-weight: 500; margin-bottom: .4rem; }
.footer-reg { font-size: .85rem; opacity: .75; }
.footer-h { font-size: .95rem; color: var(--gold-400); margin-bottom: .9rem; font-weight: 500; }
.site-footer ul { display: grid; gap: .45rem; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--gold-400); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 1.3rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- حركات الظهور ---------- */
.motion-ok .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.motion-ok .reveal.in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; translate: 0 40px; } }
.motion-ok .brand-track { animation: marquee 38s linear infinite; }
.brand-strip:hover .brand-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.motion-ok .p-card { animation: card-in .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .brand-track ul[aria-hidden] { display: none; }
  .brand-track { width: 100%; justify-content: center; flex-wrap: wrap; }
  .brand-track ul { flex-wrap: wrap; justify-content: center; }
}

/* ---------- الاستجابة ---------- */
@media (max-width: 1080px) {
  .header-call span { display: none; }
  .header-call { width: 44px; padding: 0; }
  .aisle-grid { grid-template-columns: repeat(3, 1fr); }
  .aisle-grid li:nth-child(4) { grid-column: span 1; }
  .aisle-grid li:nth-child(4) img { width: 58%; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .slide { grid-template-columns: 1fr; gap: .5rem; min-height: 0; align-content: start; padding-top: 1rem; }
  .slide-visual { order: -1; min-height: 0; height: clamp(250px, 40svh, 380px); padding-bottom: 6%; }
  .slide-visual img { max-height: 100%; max-width: 88%; }
  .slide-copy { max-width: 40rem; padding-bottom: .5rem; }
  .slide-big { font-size: clamp(5rem, 26vw, 10rem); }
  .hbg { --sx: 50% !important; }
  .hbg { background:
    radial-gradient(60% 34% at 50% 26%, rgba(255, 255, 255, .17), transparent 72%),
    radial-gradient(120% 70% at 50% 26%, var(--c1) 0%, var(--c2) 80%), var(--c2); }
  .hbg::after { display: none; }
  .brand img { height: 42px; }
  .menu-toggle { display: flex; }
  .header-actions { gap: .45rem; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    background: var(--ivory); border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(13, 35, 24, .4);
    padding: 1rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: 1rem;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s var(--ease); }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a:not(.btn) { padding: .85rem .5rem; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.08rem; }
  .main-nav a.active::after { display: none; }
  .nav-call-mobile { display: inline-flex; min-height: 52px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-intro { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .pm-inner { grid-template-columns: 1fr; }
  .product-modal { max-height: 94vh; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .slide-title { font-size: clamp(2rem, 1.2rem + 4.6vw, 2.6rem); margin-bottom: .8rem; }
  .slide-text { font-size: 1rem; line-height: 1.8; margin-bottom: 1.4rem; }
  .slide-ctas .btn { flex: 1 1 0; padding-inline: 1rem; }
  .sc-tabs { gap: .5rem; }
  .sc-tab { font-size: 0; padding-top: .4rem; }
  .sc-controls .sc-btn { width: 42px; height: 42px; }
  .wrap { width: min(1240px, 100% - 2rem); }
  .aisle-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; gap: .7rem; }
  .aisle-grid li:first-child { grid-column: span 2; grid-row: span 1; }
  .aisle-grid li:first-child .aisle { justify-content: space-between; }
  .aisle-grid li:first-child .aisle-num { position: static; }
  .aisle-grid li:first-child img { width: 58%; height: 90%; inset-inline-end: -2%; top: auto; bottom: -4%; }
  .aisle-grid li:last-child { grid-column: span 2; }
  .aisle { padding: 1rem; }
  .aisle-name { font-size: 1.02rem; max-width: 70%; }
  .aisle-grid li:not(:first-child) .aisle { justify-content: flex-end; }
  .aisle-grid li:not(:first-child) .aisle-num { position: absolute; top: 1rem; inset-inline-start: 1rem; }
  .aisle-grid li:not(:first-child) .aisle-name { max-width: 100%; }
  .aisle-grid li:not(:first-child) img { top: .7rem; bottom: auto; height: 50%; width: 54%; inset-inline-end: .4rem; object-position: center; }
  .aisle-grid li:last-child img { width: 40%; height: 80%; top: 10%; }
  .aisle-grid li:last-child .aisle-name { max-width: 55%; }
  .aisle-go { display: none; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .p-body { padding: .8rem .85rem 1rem; }
  .p-name { font-size: .95rem; }
  .p-desc { font-size: .84rem; }
  .p-meta span:nth-child(n+2) { display: none; }
  .p-more { font-size: .82rem; }
  .p-code { font-size: .6rem; top: .5rem; inset-inline-start: .5rem; padding: .3rem .4rem; }
  .inquiry { grid-template-columns: 1fr; }
  .form-actions .btn { flex: 1 1 100%; }
  .product-modal { width: 100%; max-width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .pm-inner { max-height: 100dvh; }
  .pm-gallery { padding: .8rem; }
  .pm-specs { grid-template-columns: 1fr; }
  .pm-specs > div:last-child:nth-child(odd) { grid-column: auto; }
  .pm-actions .btn { flex: 1 1 100%; }
  .pm-actions { position: sticky; bottom: 0; background: var(--ivory); padding-block: .8rem; margin-inline: -.2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .cc-phone { font-size: 2.1rem; }
}
@media (max-width: 360px) {
  .product-grid { grid-template-columns: 1fr; }
}
.sprite { position: absolute; width: 0 !important; height: 0 !important; overflow: hidden; }

/* ---------- الشريط العلوي فوق الواجهة الافتتاحية ---------- */
.logo-light { display: none; }
.site-header.on-hero:not(.menu-open) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: transparent; box-shadow: none; }
.site-header.on-hero:not(.menu-open) .logo-dark { display: none; }
.site-header.on-hero:not(.menu-open) .logo-light { display: block; }
.site-header.on-hero:not(.menu-open) .main-nav a:not(.btn) { color: rgba(255, 255, 255, .86); }
.site-header.on-hero:not(.menu-open) .main-nav a:not(.btn):hover { background: rgba(255, 255, 255, .08); }
.site-header.on-hero:not(.menu-open) .main-nav a.active { color: #fff; }
.site-header.on-hero:not(.menu-open) .lang-toggle { color: #fff; border-color: rgba(255, 255, 255, .3); }
.site-header.on-hero:not(.menu-open) .lang-toggle:hover { background: rgba(255, 255, 255, .1); }
.site-header.on-hero:not(.menu-open) .menu-toggle { background: rgba(255, 255, 255, .12); }
.hero .brand-strip { background: rgba(3, 12, 7, .45); backdrop-filter: blur(6px); border-color: rgba(255, 255, 255, .08); }

/* ---------- الكتالوج الموسّع ---------- */
.p-soon, .pm-soon { font-size: .72rem; font-weight: 600; padding: .3rem .6rem; border-radius: 99px; background: var(--gold-500); color: var(--ink); line-height: 1; }
.p-soon { position: absolute; top: .8rem; inset-inline-end: .8rem; }
.pm-soon { display: inline-block; margin-inline-start: .4rem; vertical-align: middle; }
.pm-soon[hidden], #pm-code[hidden], #pm-code-sep[hidden] { display: none; }
.load-more-wrap { display: flex; justify-content: center; margin-top: 2.2rem; }
.load-more-wrap .btn[hidden] { display: none; }
.pm-main img { object-fit: contain; }
.pm-thumbs { max-height: 176px; overflow-y: auto; padding: 2px; }
@media (max-width: 640px) { .p-soon { font-size: .62rem; top: .5rem; inset-inline-end: .5rem; padding: .25rem .45rem; } }

.about-facts { display: flex; gap: 0; margin: 1.8rem 0 0; border-block: 1px solid var(--line); }
.about-facts > div { flex: 1; padding: 1rem 0; display: flex; flex-direction: column-reverse; }
.about-facts > div + div { padding-inline-start: 1.2rem; border-inline-start: 1px solid var(--line); }
.about-facts dt { font-size: .85rem; color: var(--muted); }
.about-facts dd { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 1.7rem; color: var(--green-700); line-height: 1.2; }

.services-title { font-size: 1.15rem; font-weight: 600; color: var(--gold-700); margin-bottom: .8rem; }

/* ---------- زياراتنا للموردين ---------- */
/* ---------- عملاؤنا ---------- */
.clients { padding-block: clamp(4rem, 8vw, 6.5rem); background: var(--ivory); border-top: 1px solid var(--line); }
.client-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 1rem; }
.client { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.client.is-dark { background: #000; border-color: #000; }
.client img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: contain; }
@media (hover: hover) { .client:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); } }
@media (max-width: 480px) { .client-grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; } .client { border-radius: var(--radius-s); } }
@media (prefers-reduced-motion: reduce) { .client { transition: none; } .client:hover { transform: none; } }

.visits { padding-block: clamp(4rem, 8vw, 6.5rem); background: var(--paper); border-top: 1px solid var(--line); }
.visits-head { max-width: 46rem; margin-bottom: 2rem; }
.visits-head h2 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.7rem); font-weight: 600; color: var(--green-950); margin-bottom: .8rem; }
.visits-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.visit-desc { color: var(--green-900); font-weight: 500; min-height: 1.6em; margin: .2rem 0 1.4rem; max-width: 52rem; }
.visit-grid { columns: 3 300px; column-gap: 1.1rem; }
.v-item { break-inside: avoid; margin-bottom: 1.1rem; }
.v-item button { all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.v-item button:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.v-item button:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; }
.v-media { position: relative; display: block; overflow: hidden; background: var(--sand); }
.v-media img { width: 100%; height: auto; display: block; transition: transform .6s var(--ease); }
.v-item button:hover .v-media img { transform: scale(1.04); }
.is-video .v-media img { aspect-ratio: 4 / 5; object-fit: cover; }
.v-play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(8, 42, 25, .72); color: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .25); transition: transform .3s var(--ease), background-color .3s; }
.v-play svg { width: 28px; height: 28px; margin-inline-start: 3px; }
[dir="rtl"] .v-play svg { margin-inline-start: 0; margin-inline-end: 3px; }
.v-item button:hover .v-play { transform: scale(1.08); background: var(--gold-500); color: var(--ink); }
.v-cap { display: block; padding: .8rem 1rem .95rem; font-size: .95rem; font-weight: 500; color: var(--ink); line-height: 1.6; }
.v-album { display: block; font-size: .78rem; font-weight: 600; color: var(--gold-700); margin-bottom: .15rem; }

.media-modal { width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: transparent; overflow: hidden; }
.media-modal::backdrop { background: rgba(4, 16, 10, .92); }
.media-modal[open] { display: grid; place-items: center; animation: fade-in .25s ease; }
.mm-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: .9rem; max-width: min(1100px, 92vw); }
.mm-stage img, .mm-stage video { display: block; max-width: min(1100px, 92vw); max-height: 78vh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); background: #000; }
.mm-cap { color: #fff; text-align: center; font-size: 1rem; line-height: 1.6; }
.mm-album { display: block; color: var(--gold-400); font-size: .85rem; font-weight: 600; }
.mm-btn { position: fixed; z-index: 2; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.mm-btn:hover { background: rgba(255, 255, 255, .18); border-color: var(--gold-400); }
.mm-btn[hidden] { display: none; }
.mm-close { top: 1.2rem; inset-inline-end: 1.2rem; }
.mm-prev { top: 50%; inset-inline-start: 1.2rem; transform: translateY(-50%); }
.mm-next { top: 50%; inset-inline-end: 1.2rem; transform: translateY(-50%); }
@media (max-width: 640px) {
  .visit-grid { columns: 2 150px; column-gap: .7rem; }
  .v-item { margin-bottom: .7rem; }
  .v-cap { padding: .6rem .7rem .7rem; font-size: .84rem; }
  .v-play { width: 48px; height: 48px; }
  .mm-prev, .mm-next { top: auto; bottom: 1.2rem; transform: none; }
  .mm-stage img, .mm-stage video { max-height: 70vh; }
}
