/* ══════════════════════════════════════════════════════════
   ترّف — نظام التصميم
   الدارك مود هو الأساس. الجولد هو لون الخط الرئيسي،
   والأحمر (لون اللوجو) يُستخدم للشد فقط — مش أكتر.
   ══════════════════════════════════════════════════════════ */

:root {
  /* الأرضية — أخضر زيتوني غامق، محايد مائل للدفء مش رمادي */
  --ink:        #050F0C;
  --ink-2:      #0A1712;
  --card:       #0F1F18;
  --card-hi:    #14291F;

  /* الجولد — اللون الأساسي للخط */
  --gold:       #E4CFA0;
  --gold-hi:    #F5E8CC;
  --gold-70:    rgba(228,207,160,.70);
  --gold-45:    rgba(228,207,160,.45);
  --gold-22:    rgba(228,207,160,.22);
  --gold-10:    rgba(228,207,160,.10);
  --line:       rgba(228,207,160,.14);
  --line-hi:    rgba(228,207,160,.38);

  /* الأحمر — للشد فقط */
  --red:        #A33636;
  --red-hi:     #C24747;
  --red-soft:   rgba(163,54,54,.14);

  --shadow:     0 22px 44px -20px rgba(0,0,0,.85);
  /* الدارك مود بس: النقطة حمراء والموجة بيضاء — نجربها */
  --rail:       url("../images/pattern-dark.svg");
  --map-filter: invert(.92) hue-rotate(170deg) saturate(.35) brightness(.92);

  --sp:   clamp(1.15rem, 5vw, 4rem);
  --r:    16px;
  --r-lg: 22px;
  --hdr:  66px;
}

/* اللايت مود — نفس البنية، ألوان معكوسة بعناية */
body.light {
  --ink:        #F7EFE3;
  --ink-2:      #EFE4D3;
  --card:       #FFFFFF;
  --card-hi:    #F4EADB;

  --gold:       #1E3D35;
  --gold-hi:    #142B25;
  --gold-70:    rgba(26,40,32,.74);
  --gold-45:    rgba(26,40,32,.50);
  --gold-22:    rgba(30,61,53,.22);
  --gold-10:    rgba(30,61,53,.06);
  --line:       rgba(30,61,53,.16);
  --line-hi:    rgba(30,61,53,.42);

  --red:        #A33636;
  --red-hi:     #8E2B2B;
  --red-soft:   rgba(163,54,54,.10);

  --shadow:     0 18px 38px -20px rgba(30,61,53,.34);
  --rail:       url("../images/pattern.svg");
  --map-filter: none;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }

body {
  font-family: 'Noto Kufi Arabic', 'Segoe UI', Tahoma, system-ui, sans-serif;
  font-weight: 400;
  direction: rtl;
  background: var(--ink);
  color: var(--gold);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
  transition: background .3s, color .3s;
}
img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--ink-2); }
::-webkit-scrollbar-thumb { background: var(--gold-22); border-radius: 6px; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--sp); }

/* الأيقونات — رسم يدوي، بدون إيموجي */
.ico {
  width: 1.15em; height: 1.15em; flex: none;
  stroke: currentColor; fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

/* ══════════════════════════════════════════
   القضيب النقشي — فاصل بنيوي بين الأقسام
   نفس منطق طابع المعمول: كل قطعة عليها نفس النقش
   ══════════════════════════════════════════ */
.rail {
  height: 26px; width: 100%;
  background-image: var(--rail);
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 100%;
  opacity: .5;
}
.rail-sm { height: 17px; opacity: .72; }

/* ══════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════ */
header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background .3s, border-color .3s;
}
header.scrolled {
  background: color-mix(in srgb, var(--ink) 94%, transparent);
  border-bottom-color: var(--line-hi);
}
nav {
  max-width: 1240px; margin-inline: auto;
  padding-inline: var(--sp);
  height: var(--hdr);
  display: flex; align-items: center; gap: .8rem;
}

.logo { display: flex; align-items: center; gap: .6rem; margin-inline-end: auto; }
.logo img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.logo-text { font-size: 1.12rem; font-weight: 800; color: var(--gold-hi); letter-spacing: -.01em; }

.nav-links { display: none; gap: 1.9rem; }
.nav-links a {
  font-size: .9rem; font-weight: 500; color: var(--gold-70);
  position: relative; padding-block: .35rem; transition: color .2s;
}
.nav-links a::after {
  content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 1.5px;
  background: var(--gold); transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform .28s;
}
.nav-links a:hover { color: var(--gold-hi); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-socials { display: none; align-items: center; gap: .5rem; }
.nav-socials a {
  display: grid; place-items: center; width: 34px; height: 34px;
  border: 1px solid var(--line); border-radius: 10px;
  color: var(--gold-70); transition: all .2s;
}
.nav-socials a svg { width: 15px; height: 15px; }
.nav-socials a:hover { color: var(--gold-hi); border-color: var(--gold); background: var(--gold-10); }

.theme-toggle, .nav-toggle {
  display: grid; place-items: center;
  width: 38px; height: 38px; flex: none;
  border: 1px solid var(--line); border-radius: 11px;
  color: var(--gold); font-size: .95rem; transition: border-color .2s;
}
.theme-toggle:hover, .nav-toggle:hover { border-color: var(--line-hi); }
.nav-toggle .ico { width: 19px; height: 19px; }

/* قائمة الموبايل */
.nav-links.open {
  display: flex; flex-direction: column; gap: 0;
  position: absolute; inset-inline: 0; top: var(--hdr);
  background: var(--ink-2);
  border-block: 1px solid var(--line);
  padding: .5rem var(--sp) 1rem;
  box-shadow: var(--shadow);
}
.nav-links.open a { padding-block: .85rem; border-bottom: 1px solid var(--line); font-size: .98rem; }
.nav-links.open a:last-child { border-bottom: none; }
.nav-links.open a::after { display: none; }

/* ══════════════════════════════════════════
   HERO — الشيف والنقش عنصران أساسيان،
   ظاهران في كل المقاسات بلا استثناء
   ══════════════════════════════════════════ */
#hero { position: relative; overflow: hidden; background: var(--ink); }

.hero-ambient { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-glow-floor {
  position: absolute; inset-inline-start: -15%; bottom: -25%;
  width: 75%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(163,54,54,.20), transparent 66%);
  filter: blur(70px);
}
.hero-glow-mid {
  position: absolute; inset-inline-end: -10%; top: -12%;
  width: 62%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--gold-10), transparent 68%);
  filter: blur(80px);
}
body.light .hero-glow-floor { background: radial-gradient(circle, rgba(163,54,54,.12), transparent 66%); }

/* موبايل: الشيف طبقة خلفية كبيرة، والمحتوى فوقه —
   الكبسولات تحت بعض والشيف يفضل مكانه حتى لو جه من وراها */
.hero-inner {
  position: relative; z-index: 1;
  max-width: 1240px; margin-inline: auto; padding-inline: var(--sp);
  display: flex; flex-direction: column;
  min-height: calc(100svh - var(--hdr));
}

.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start;
  padding-block: clamp(1.5rem, 5vh, 3.2rem) 2rem;
  flex: 1; justify-content: center;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .76rem; font-weight: 700; letter-spacing: .26em;
  color: var(--gold); margin-bottom: 1.1rem;
}
.hero-eyebrow-line { display: inline-block; width: 30px; height: 1px; background: var(--gold-45); }

/* اللوجو — الوردمارك الأصلي من هوية البراند، بلونه وخطه */
.hero-wordmark { margin: 0; line-height: 0; }
.hero-wordmark img {
  width: clamp(158px, 40vw, 290px); height: auto;
  filter: drop-shadow(0 14px 34px rgba(0,0,0,.55));
}
body.light .hero-wordmark img { filter: drop-shadow(0 10px 22px rgba(30,61,53,.22)); }

/* النقش — تحت الوردمارك، منزّل شوية */
.hero-pattern-accent {
  width: min(100%, 340px); height: 19px;
  margin-top: 1.35rem; margin-bottom: 1.5rem;
  background-image: var(--rail);
  background-repeat: repeat-x;
  background-position: right center;
  background-size: auto 100%;
}

.hero-content p {
  font-size: clamp(1rem, 3.6vw, 1.2rem); font-weight: 300;
  color: var(--gold-70); max-width: 34ch; line-height: 1.85;
  margin-bottom: 1.7rem;
}
.hero-content p b { font-weight: 700; color: var(--gold-hi); }

.hero-cta { display: flex; gap: .65rem; flex-wrap: wrap; margin-bottom: 1.5rem; }

.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: 100px;
  font-size: .94rem; font-weight: 700; white-space: nowrap;
  transition: transform .2s, background .22s, border-color .22s, box-shadow .22s, color .22s;
}
.btn-primary:active, .btn-secondary:active { transform: scale(.97); }
.btn-primary {
  background: var(--gold); color: var(--ink);
  box-shadow: 0 10px 34px -12px rgba(228,207,160,.55);
}
.btn-primary:hover { background: var(--gold-hi); box-shadow: 0 16px 42px -12px rgba(228,207,160,.7); }
body.light .btn-primary { color: #F7EFE3; box-shadow: 0 10px 30px -12px rgba(30,61,53,.5); }
.btn-secondary { border: 1px solid var(--line-hi); color: var(--gold); }
.btn-secondary:hover { border-color: var(--gold); background: var(--gold-10); }

/* الكبسولات — تحت بعض على الموبايل، مفيش سكرول أفقي */
.hero-badges {
  display: flex; flex-direction: column; align-items: flex-start; gap: .45rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .42rem; flex: none;
  border: 1px solid var(--line); border-radius: 100px;
  padding: .42rem .95rem; font-size: .78rem; color: var(--gold-70);
  background: color-mix(in srgb, var(--ink) 72%, transparent);
  backdrop-filter: blur(6px);
  transition: all .2s;
}
.hero-badge .ico { color: var(--gold-45); }
.hero-badge.hot { border-color: rgba(163,54,54,.5); color: var(--gold-hi); background: var(--red-soft); }
.hero-badge.hot .ico { color: var(--red-hi); }
.hero-location:hover { border-color: var(--line-hi); color: var(--gold-hi); transform: translateY(-2px); }

/* الشيف — عنصر أساسي وكبير، ظاهر في كل المقاسات */
/* الشيف على الشمال دايماً، والكتابة على اليمين — نستخدم left/right الفيزيائية
   لأن النية هنا فيزيائية، و inset-inline-start بتتقلب في الـ RTL */
.hero-visual {
  position: absolute; z-index: 0;
  left: -16%; right: auto; bottom: 0;
  display: flex; align-items: flex-end; pointer-events: none;
}
.hero-visual::before {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 150%; height: 60%;
  background: radial-gradient(ellipse at 50% 100%, var(--gold-10), transparent 70%);
  filter: blur(34px);
}
.hero-chef-img {
  position: relative; z-index: 1;
  height: min(66svh, 560px); width: auto; max-width: none;
  object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,.6));
  animation: chefFloat 8s ease-in-out infinite;
}
/* اللايت مود — الشيف يرجع للرسمة الغامقة، ميفضلش دهبي */
body.light .hero-chef-img {
  content: url('../images/chef-new.svg');
  filter: drop-shadow(0 18px 26px rgba(30,61,53,.2));
}
@keyframes chefFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }

.hero-scroll {
  position: absolute; bottom: .8rem; left: 50%; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: 2px;
  color: var(--gold-45); font-size: .7rem; letter-spacing: .1em;
  animation: bounce 2.5s 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(7px); }
}

/* ══════════════════════════════════════════
   الشريط المتحرك
   ══════════════════════════════════════════ */
.ticker {
  border-block: 1px solid var(--line); background: var(--ink-2);
  overflow: hidden; white-space: nowrap; padding-block: .85rem;
}
.ticker-track { display: inline-flex; animation: march 34s linear infinite; }
.ticker-track > span {
  display: inline-flex; align-items: center; gap: 2.2rem; padding-inline-end: 2.2rem;
  font-size: .86rem; font-weight: 600; letter-spacing: .07em; color: var(--gold-70);
}
.ticker i { font-style: normal; color: var(--red-hi); }
@keyframes march { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ══════════════════════════════════════════
   الأقسام
   ══════════════════════════════════════════ */
section:not(#hero) { padding-block: clamp(3.4rem, 9vw, 6rem); }
.sec-ink2 { background: var(--ink-2); }

.section-header { margin-bottom: clamp(1.8rem, 5vw, 3rem); }
.section-tag {
  display: block; font-size: .72rem; font-weight: 700; letter-spacing: .28em;
  color: var(--gold); margin-bottom: .7rem;
}
.section-header h2 {
  font-size: clamp(1.7rem, 5.6vw, 2.7rem); font-weight: 800; line-height: 1.22;
  color: var(--gold-hi); letter-spacing: -.02em; text-wrap: balance; margin-bottom: .55rem;
}
.section-header h2 em { font-style: normal; color: var(--red-hi); }
.section-header > p { font-size: .96rem; font-weight: 300; color: var(--gold-70); max-width: 52ch; }
.divider {
  width: 60px; height: 1px; margin-top: 1.1rem;
  background: linear-gradient(90deg, var(--line-hi), transparent);
}

/* ── لماذا ترّف ── */
.pillars { display: grid; gap: .9rem; }
.pillar {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.5rem 1.35rem; background: var(--card);
  display: flex; flex-direction: column; gap: .55rem;
  transition: border-color .25s, transform .25s;
}
.pillar:hover { border-color: var(--line-hi); transform: translateY(-3px); }
.pillar .ico { width: 26px; height: 26px; color: var(--gold); margin-bottom: .35rem; }
.pillar h3 { font-size: 1.05rem; font-weight: 700; color: var(--gold-hi); }
.pillar p  { font-size: .9rem; font-weight: 300; color: var(--gold-70); line-height: 1.8; }

/* ══════════════════════════════════════════
   العروض
   ══════════════════════════════════════════ */
.offers-grid { display: grid; gap: 1rem; }
.offer-card {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--card); overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.offer-card:hover { border-color: var(--line-hi); transform: translateY(-4px); box-shadow: var(--shadow); }
.offer-card-img {
  aspect-ratio: 16/9; position: relative;
  background-size: cover; background-position: center;
  border-bottom: 1px solid var(--line);
}
.offer-card-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--card) 92%, transparent), transparent 58%);
}
.offer-card-body { padding: 1.2rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.offer-badge {
  align-self: flex-start;
  background: var(--red); color: #F5E8CC;
  font-size: .62rem; font-weight: 800; letter-spacing: .14em;
  padding: .25rem .7rem; border-radius: 100px;
}
.offer-card-body h3 { font-size: 1.15rem; font-weight: 700; color: var(--gold-hi); line-height: 1.4; }
.offer-card-body p  { font-size: .9rem; font-weight: 300; color: var(--gold-70); }
.offer-card-body .pickup-btn { margin-top: auto; }

/* ══════════════════════════════════════════
   المنيو
   ══════════════════════════════════════════ */
.tabs {
  display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none;
  margin-inline: calc(var(--sp) * -1); padding: 0 var(--sp) .3rem;
  margin-bottom: 1.6rem;
}
.tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  flex: none; display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem 1.15rem; border-radius: 100px;
  border: 1px solid var(--line); font-size: .85rem; font-weight: 600;
  color: var(--gold-70); white-space: nowrap; transition: all .22s;
}
.tab-btn:hover { border-color: var(--line-hi); color: var(--gold-hi); }
.tab-btn.active {
  background: var(--red); border-color: var(--red); color: #F5E8CC; font-weight: 700;
}

.menu-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }

.menu-card {
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--card); overflow: hidden;
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s, transform .5s, border-color .25s, box-shadow .25s;
}
.menu-card.visible { opacity: 1; transform: translateY(0); }
.menu-card:hover {
  border-color: var(--line-hi);
  box-shadow: var(--shadow);
}
.menu-card.visible:hover { transform: translateY(-4px); }

/* الكارت مبني على مقاس الصورة الفعلي 640×480 (٤:٣) — الصورة تملا الكارت */
.card-img-wrap {
  aspect-ratio: 4 / 3; position: relative; overflow: hidden;
  background:
    var(--rail) center 82% / auto 13px repeat-x,
    linear-gradient(155deg, var(--card-hi), var(--ink-2));
  border-bottom: 1px solid var(--line);
}
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.card-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--card) 78%, transparent), transparent 52%);
}
.item-badge {
  position: absolute; top: .55rem; inset-inline-start: .55rem; z-index: 2;
  background: var(--red); color: #F5E8CC;
  font-size: .58rem; font-weight: 800; letter-spacing: .14em;
  padding: .2rem .55rem; border-radius: 100px;
}

.card-body { padding: 1rem 1.05rem 1.15rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.card-names { display: flex; flex-direction: column; gap: .1rem; }
.name-ar { font-size: 1.06rem; font-weight: 700; color: var(--gold-hi); line-height: 1.35; }
.name-en { font-size: .63rem; letter-spacing: .16em; color: var(--gold-45); text-transform: uppercase; }

/* وصف المنتج — كامل دايماً، من غير قص. الكروت في نفس الصف بتتساوى
   طولها لوحدها لأن كل صف في الـ grid بياخد ارتفاع أطول عنصر فيه،
   وزرار الطلب فاضل ثابت تحت بفضل margin-top:auto في .sizes-row */
.card-desc {
  font-size: .82rem; font-weight: 300; line-height: 1.7;
  color: var(--gold-70);
}

.sizes-row { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: auto; }
/* كل مقاس دلوقتي زرار طلب مستقل — نفس منطق .pickup-btn (يقلب دهبي وقت الهوفر) */
.size-item {
  flex: 1 1 60px; text-align: center; border: 1px solid var(--line);
  border-radius: 10px; padding: .35rem .1rem; background: var(--gold-10);
  text-decoration: none; cursor: pointer; transition: all .22s;
}
.size-item:hover, .size-item:focus-visible { background: var(--gold); border-color: var(--gold); }
.size-item:hover .size-label, .size-item:hover .size-price,
.size-item:focus-visible .size-label, .size-item:focus-visible .size-price { color: var(--ink); }
.size-label { display: block; font-size: .6rem; color: var(--gold-45); transition: color .22s; }
.size-price { display: block; font-size: .95rem; font-weight: 800; color: var(--gold-hi); transition: color .22s; }

.card-meta { margin-top: auto; }
.price-badge {
  display: inline-flex; align-items: center; gap: .25rem;
  font-size: 1.3rem; font-weight: 800; color: var(--gold-hi);
}
.price-num { line-height: 1; }
.sar-icon { width: .68em; height: .68em; fill: currentColor; opacity: .8; }

.pickup-btn {
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  border: 1px solid var(--line-hi); border-radius: 11px; padding: .68rem;
  font-size: .84rem; font-weight: 700; color: var(--gold);
  text-align: center; transition: all .22s;
}
.pickup-btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
body.light .pickup-btn:hover { color: #F7EFE3; }

/* أصناف بدون سعر (منوّعات) — نفس مقاس الصورة */
.card-variety .card-img-wrap { aspect-ratio: 4 / 3; }

/* ══════════════════════════════════════════
   صفحة منتج فردي (product.php) — لينكات كتالوج ميتا
   ══════════════════════════════════════════ */
.product-back {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--gold-70); font-size: .9rem; font-weight: 600;
  margin-block: 1.5rem 1rem; transition: color .2s;
}
.product-back:hover { color: var(--gold-hi); }
.product-detail { display: grid; gap: 1.8rem; padding-bottom: 3rem; }
.product-detail-img {
  aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--card);
}
.product-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-info h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); color: var(--gold-hi); font-weight: 800; margin-block: .4rem .2rem; }
.product-detail-info .name-en { display: block; margin-bottom: 1rem; }
.product-detail-info .card-desc { font-size: .95rem; margin-bottom: 1.5rem; -webkit-line-clamp: unset; }

@media (min-width: 760px) {
  .product-detail { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* ══════════════════════════════════════════
   شركاء التوصيل — الهوية الرسمية ثابتة
   ══════════════════════════════════════════ */
.delivery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.delivery-app {
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--card); padding: 1.1rem .9rem;
  display: grid; place-items: center; gap: .5rem;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.delivery-app:hover { border-color: var(--line-hi); transform: translateY(-3px); box-shadow: var(--shadow); }
.delivery-icon { width: 100%; max-width: 92px; }
.delivery-icon img { width: 100%; height: auto; border-radius: 12px; }
/* لوجو نينجا بس — خلفية سودة في الدارك مود، بيضة في اللايت، نفس أسلوب
   تبديل صورة الشيف بين الوضعين */
body.light .delivery-icon img[data-app="ninja"] { content: url('../images/partners/ninja-light.svg'); }
.delivery-name { font-size: .85rem; font-weight: 700; color: var(--gold-hi); }
.delivery-sub  { font-size: .7rem; color: var(--gold-45); }

.delivery-whatsapp { margin-top: 1.2rem; display: flex; justify-content: center; }
.whatsapp-order-btn {
  display: inline-flex; align-items: center; gap: .55rem;
  border: 1px solid var(--line-hi); border-radius: 100px;
  padding: .8rem 1.7rem; font-size: .92rem; font-weight: 700; color: var(--gold);
  transition: all .22s;
}
.whatsapp-order-btn svg { width: 18px; height: 18px; fill: currentColor; }
.whatsapp-order-btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
body.light .whatsapp-order-btn:hover { color: #F7EFE3; }

/* ══════════════════════════════════════════
   قصتنا
   ══════════════════════════════════════════ */
.about-inner { max-width: 1240px; margin-inline: auto; padding-inline: var(--sp); display: grid; gap: 2rem; align-items: center; }
.about-chef-col { position: relative; display: flex; justify-content: center; }
.about-pattern-field {
  position: absolute; inset: 12% 8% 0;
  background: radial-gradient(ellipse at 50% 65%, rgba(163,54,54,.2), transparent 66%);
  filter: blur(38px);
}
.chef-portrait {
  position: relative; z-index: 1;
  height: clamp(240px, 40vh, 390px); width: auto;
  filter: drop-shadow(0 20px 38px rgba(0,0,0,.65));
}
body.light .chef-portrait {
  content: url('../images/chef-new.svg');
  filter: drop-shadow(0 16px 26px rgba(30,61,53,.2));
}
.about-text > p { font-size: .95rem; font-weight: 300; color: var(--gold-70); line-height: 1.95; margin-bottom: .9rem; }

.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin-top: 1.4rem; }
.stat-card {
  border: 1px solid var(--line); border-radius: var(--r);
  padding: .95rem .6rem; text-align: center; background: var(--card);
}
.stat-num { display: block; font-size: 1.55rem; font-weight: 800; color: var(--gold-hi); line-height: 1.2; }
.stat-card.accent .stat-num { color: var(--red-hi); }
.stat-card.made-with-love .stat-num { display: grid; place-items: center; }
.stat-card.made-with-love .ico {
  width: 26px; height: 26px; color: var(--red-hi);
  stroke-width: 1.5; fill: rgba(163,54,54,.16);
}
.stat-label { display: block; font-size: .7rem; color: var(--gold-45); margin-top: .15rem; }

/* ══════════════════════════════════════════
   تواصل
   ══════════════════════════════════════════ */
.contact-inner { max-width: 1240px; margin-inline: auto; padding-inline: var(--sp); display: grid; gap: .9rem; }
.contact-block {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--card); padding: 1.4rem 1.25rem;
}
.contact-block h3 { font-size: 1rem; font-weight: 700; color: var(--gold-hi); margin-bottom: 1rem; }
.contact-item { display: flex; gap: .85rem; align-items: flex-start; padding-block: .6rem; }
.contact-item + .contact-item { border-top: 1px solid var(--line); }
.c-icon { display: grid; place-items: center; width: 20px; flex: none; margin-top: .3rem; color: var(--gold-45); }
.c-icon .ico { width: 20px; height: 20px; }
.c-info strong { display: block; font-size: .85rem; font-weight: 700; color: var(--gold-hi); }
.c-info span, .c-info a { display: block; font-size: .82rem; font-weight: 300; color: var(--gold-70); transition: color .2s; }
.c-info a:hover { color: var(--gold-hi); }

.hours-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding-block: .45rem; font-size: .83rem; color: var(--gold-70);
}
.hours-list li + li { border-top: 1px solid var(--line); }
.hours-list li span:last-child { font-weight: 600; color: var(--gold-hi); }

.map-wrap {
  margin-top: 1rem; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.map-wrap iframe { width: 100%; height: 300px; border: none; display: block; filter: var(--map-filter); }

/* ══════════════════════════════════════════
   الفوتر
   ══════════════════════════════════════════ */
footer { background: var(--ink); border-top: 1px solid var(--line); padding-block: 2.2rem 2.6rem; text-align: center; }
.footer-brand { font-size: 1.5rem; font-weight: 900; color: var(--red-hi); margin-bottom: .5rem; }
.footer-socials { display: flex; justify-content: center; gap: .55rem; margin-block: 1.1rem; }
.footer-socials a {
  display: grid; place-items: center; width: 38px; height: 38px;
  border: 1px solid var(--line); border-radius: 11px; color: var(--gold-70); transition: all .22s;
}
.footer-socials a svg { width: 16px; height: 16px; fill: currentColor; }
.footer-socials a:hover { color: var(--gold-hi); border-color: var(--gold); background: var(--gold-10); }
footer p { font-size: .78rem; color: var(--gold-45); }
footer .credit { margin-top: .4rem; font-size: .74rem; }
footer .credit a { color: var(--gold-70); font-weight: 600; transition: color .2s; }
footer .credit a:hover { color: var(--gold-hi); }

/* واتساب عائم — أساسي على الموبايل */
.wa-fab {
  position: fixed; inset-inline-end: 1rem; bottom: 1rem; z-index: 90;
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--gold); color: var(--ink);
  padding: .8rem 1.2rem; border-radius: 100px;
  font-size: .87rem; font-weight: 800;
  box-shadow: 0 14px 36px -10px rgba(0,0,0,.9);
  transition: transform .2s;
}
body.light .wa-fab { color: #F7EFE3; box-shadow: 0 14px 30px -12px rgba(30,61,53,.5); }
.wa-fab:hover { transform: translateY(-2px); }
.wa-fab .ico { width: 17px; height: 17px; stroke-width: 1.9; }

/* ══════════════════════════════════════════
   ظهور تدريجي
   ══════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════
   ≥ 720px
   ══════════════════════════════════════════ */
@media (min-width: 720px) {
  .menu-grid    { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.2rem; }
  .delivery-grid{ grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .pillars      { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .stats-grid   { grid-template-columns: repeat(4, 1fr); }
  .offers-grid  { grid-template-columns: repeat(2, 1fr); }
  .contact-inner{ grid-template-columns: 1fr 1fr; gap: 1.1rem; }
  .map-wrap     { grid-column: 1 / -1; }
  .hero-chef-img{ height: min(74svh, 640px); }
  .hero-visual  { left: -8%; }
  .hero-badges  { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .nav-socials  { display: flex; }
}

/* ══════════════════════════════════════════
   ≥ 1000px — الهيرو ينقسم عمودين
   ══════════════════════════════════════════ */
@media (min-width: 1000px) {
  .nav-links  { display: flex; }
  .nav-toggle { display: none; }
  /* الشيف يملا الجهة الشمال قدام الكتابة الكبيرة، والمحتوى على اليمين */
  .hero-content { justify-content: center; padding-block: 3.5rem 4rem; width: min(58%, 620px); }
  .hero-visual  { left: 0; right: 48%; justify-content: center; }
  .hero-chef-img{ height: min(88svh, 760px); }
  .hero-scroll  { display: flex; }
  .menu-grid    { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.4rem; }
  .about-inner  { grid-template-columns: .8fr 1.2fr; gap: 3rem; }
  .wa-fab       { inset-inline-end: 1.6rem; bottom: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .menu-card { opacity: 1 !important; transform: none !important; }
}
