/* =====================================================================
   MADINA — Café & Pizzeria
   Bright, minimal, food-forward. One committed ember accent.
   Type: Young Serif (display) + Hanken Grotesk (body); El Messiri +
   Tajawal for Arabic. Colors in OKLCH.
   ===================================================================== */

:root {
  /* Palette */
  --bg:        oklch(0.976 0.005 80);
  --bg-2:      oklch(0.953 0.008 78);
  --surface:   oklch(1 0 0);
  --ink:       oklch(0.255 0.014 55);
  --ink-2:     oklch(0.435 0.013 55);
  --ink-3:     oklch(0.495 0.013 55);
  --accent:    oklch(0.625 0.172 42);
  --accent-2:  oklch(0.525 0.158 38);
  --accent-cta:   oklch(0.55 0.162 40);   /* darker ember for filled buttons: white text ≥4.5:1 */
  --accent-cta-2: oklch(0.485 0.15 38);   /* button hover */
  --olive:     oklch(0.475 0.068 120);
  --line:      oklch(0.255 0.014 55 / 0.14);
  --line-2:    oklch(0.255 0.014 55 / 0.26);
  --on-accent: oklch(0.99 0.01 80);

  /* Dark hero surface */
  --night:     oklch(0.205 0.018 50);

  /* Type */
  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-body:    "Hanken Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-ar-display: "El Messiri", "Hanken Grotesk", system-ui, serif;
  --font-ar-body:    "Tajawal", "Hanken Grotesk", system-ui, sans-serif;

  /* Fluid scale */
  --step--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2:  clamp(1.5rem, 1.36rem + 0.7vw, 2rem);
  --step-3:  clamp(2rem, 1.7rem + 1.5vw, 3rem);
  --step-4:  clamp(2.6rem, 2rem + 3vw, 4.5rem);
  --step-5:  clamp(3.4rem, 2.4rem + 5vw, 6rem);

  /* Space */
  --gap: clamp(1rem, 0.8rem + 1vw, 1.6rem);
  --section-y: clamp(4rem, 3rem + 6vw, 8rem);
  --pad-x: clamp(1.15rem, 0.6rem + 3vw, 4rem);
  --maxw: 1200px;
  --radius: 14px;
  --radius-lg: 22px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* z-index scale */
  --z-header: 100;
  --z-mobilenav: 200;
  --z-dialog: 300;
  --z-toast: 400;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h, 80px) + 14px); }
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
.lang-ar h1, .lang-ar h2, .lang-ar h3 { font-family: var(--font-ar-display); letter-spacing: 0; line-height: 1.25; }
.lang-ar body, .lang-ar { font-family: var(--font-ar-body); }
p { text-wrap: pretty; }

.eyebrow { /* used once, deliberately, as a brand kicker — not on every section */
  font-family: var(--font-body);
  font-size: var(--step--1);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 600;
}
.lang-ar .eyebrow { letter-spacing: 0; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--bg-2); }

.section-head { max-width: 56ch; margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.section-head h2 { font-size: var(--step-3); }
.section-head p { margin-top: 0.7rem; color: var(--ink-2); font-size: var(--step-1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  padding: 0.82em 1.4em; border-radius: 999px;
  font-weight: 600; font-size: var(--step-0); line-height: 1;
  transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent-cta); color: var(--on-accent); box-shadow: 0 1px 0 oklch(0.4 0.16 40 / .4); }
.btn--primary:hover { background: var(--accent-cta-2); transform: translateY(-2px); box-shadow: 0 10px 24px oklch(0.5 0.16 40 / .28); }
.btn--ghost { border: 1.5px solid var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--light { background: oklch(1 0 0 / .12); color: #fff; border: 1.5px solid oklch(1 0 0 / .5); backdrop-filter: blur(4px); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn svg { width: 1.1em; height: 1.1em; }

/* contact chip */
.chip {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.6em 1em; border-radius: 999px; font-weight: 600; font-size: var(--step--1);
  border: 1.5px solid var(--line-2); transition: background-color .25s, color .25s, border-color .25s, transform .25s;
}
.chip:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); transform: translateY(-2px); }
.chip svg { width: 1.05em; height: 1.05em; }

/* ====================================================================
   HEADER
   ==================================================================== */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: var(--z-header);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: clamp(0.7rem, 0.4rem + 1vw, 1.1rem) var(--pad-x);
  transition: background-color .4s var(--ease), box-shadow .4s, color .4s;
  color: #fff;
}
.site-header.solid {
  background: oklch(0.976 0.005 80 / 0.86);
  backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); letter-spacing: -0.01em; }
.brand .mark { width: 1.85em; height: 1.85em; flex: none; border-radius: 8px; object-fit: cover; box-shadow: 0 0 0 1px oklch(1 0 0 / .14), 0 1px 4px oklch(0.18 0.02 50 / .3); }
.brand small { display: block; font-family: var(--font-body); font-size: 0.5em; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; opacity: .8; margin-top: 2px; }
.lang-ar .brand small { letter-spacing: 0.05em; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 0.5rem + 1.5vw, 2.2rem); }
.nav a { font-weight: 500; font-size: var(--step-0); position: relative; padding-block: 4px; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: -2px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: inline-start; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 0.8rem; }

/* Language switch */
.lang-switch { display: inline-flex; align-items: center; border: 1.5px solid currentColor; border-radius: 999px; padding: 3px; opacity: .9; }
.lang-switch button { min-height: 32px; padding: 0.4em 0.85em; border-radius: 999px; font-size: var(--step--1); font-weight: 600; line-height: 1; transition: background-color .25s, color .25s; }
.mobile-nav .lang-switch button { min-height: 44px; padding-inline: 1.1em; }
.lang-switch button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }

.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.menu-toggle svg { width: 26px; height: 26px; }

/* ====================================================================
   HERO
   ==================================================================== */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; isolation: isolate; color: #fff; overflow: hidden; padding-block-start: clamp(6rem, 4rem + 5vw, 8.5rem); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s var(--ease) infinite alternate; }
@keyframes kenburns { from { transform: scale(1.06) translateY(0); } to { transform: scale(1.16) translateY(-2%); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, oklch(0.18 0.02 50 / 0.86) 0%, oklch(0.18 0.02 50 / 0.3) 42%, oklch(0.18 0.02 50 / 0.55) 100%);
}
.hero__inner { padding-block-end: clamp(3rem, 2rem + 5vw, 6rem); max-width: min(34rem, 90vw); }
.hero__inner .eyebrow { color: oklch(0.86 0.09 60); line-height: 1.5; letter-spacing: 0.14em; }
.lang-ar .hero__inner .eyebrow { letter-spacing: 0; }
.hero h1 { font-size: var(--step-5); margin-block: 0.15em 0.25em; }
.hero__sub { font-size: var(--step-2); font-family: var(--font-display); font-weight: 400; max-width: min(30rem, 86vw); color: oklch(0.95 0.01 80); }
.lang-ar .hero__sub { font-family: var(--font-ar-display); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero__scroll { position: absolute; inset-block-end: 1.2rem; inset-inline-start: 50%; translate: -50% 0; display: grid; place-items: center; gap: 6px; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: .8; }
.hero__scroll span { width: 1px; height: 34px; background: linear-gradient(#fff, transparent); animation: scrolldrop 2s ease-in-out infinite; }
@keyframes scrolldrop { 0%,100% { transform: scaleY(0.4); opacity: .4; transform-origin: top; } 50% { transform: scaleY(1); opacity: 1; transform-origin: top; } }

/* sticky mobile contact bar */
.mobilebar { position: fixed; inset-block-end: 0; inset-inline: 0; z-index: var(--z-header); display: none; gap: 1px; background: var(--line-2); box-shadow: 0 -6px 24px oklch(0.2 0.02 50 / .18); }
.mobilebar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 0.6rem 0.2rem; background: var(--surface); font-size: 0.66rem; font-weight: 600; letter-spacing: .02em; }
.mobilebar a svg { width: 20px; height: 20px; color: var(--accent-2); }

/* ====================================================================
   ABOUT
   ==================================================================== */
.about { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 1rem + 5vw, 5rem); align-items: center; }
.about__text h2 { font-size: var(--step-4); }
.about__text p { margin-top: 1.2rem; color: var(--ink-2); font-size: var(--step-1); max-width: 46ch; }
.about__text p.lead { color: var(--ink); }
.about__facts { display: flex; flex-wrap: wrap; gap: 0.6rem 0.9rem; margin-top: 2rem; }
.about__facts span { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600; font-size: var(--step--1); color: var(--ink); }
.about__facts span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); }
.about__media::after { content: ""; position: absolute; inset-block-end: -16px; inset-inline-end: -16px; width: 55%; height: 55%; border: 2px solid var(--accent); border-radius: var(--radius-lg); z-index: -1; }

/* ====================================================================
   MENU
   ==================================================================== */
.menu-toolbar { position: sticky; inset-block-start: var(--header-h, 80px); z-index: 40; background: oklch(0.976 0.005 80 / 0.9); backdrop-filter: blur(10px); padding-block: 0.7rem; margin-bottom: 2.4rem; border-block-end: 1px solid var(--line); }
.menu-search { position: relative; max-width: 420px; margin-bottom: 0.7rem; }
.menu-search input { width: 100%; padding: 0.7em 1em 0.7em 2.6em; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--surface); }
.lang-ar .menu-search input { padding: 0.7em 2.6em 0.7em 1em; }
.menu-search svg { position: absolute; inset-block-start: 50%; inset-inline-start: 0.9em; translate: 0 -50%; width: 1.1em; height: 1.1em; color: var(--ink-3); }
.cat-nav { display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none; padding-block: 2px; scroll-snap-type: x proximity; }
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav button { flex: none; padding: 0.5em 1em; border-radius: 999px; font-size: var(--step--1); font-weight: 600; color: var(--ink-2); border: 1.5px solid transparent; transition: background-color .2s, color .2s, border-color .2s; scroll-snap-align: start; }
.cat-nav button:hover { color: var(--ink); }
.cat-nav button[aria-current="true"] { background: var(--ink); color: var(--bg); }

.menu-cat { scroll-margin-top: calc(var(--header-h, 80px) + 84px); padding-block: clamp(1.6rem, 1rem + 2vw, 2.8rem); border-block-start: 1px solid var(--line); }
.menu-cat:first-of-type { border-block-start: none; }
.menu-cat__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; }
.menu-cat__head h3 { font-size: var(--step-2); }
.menu-cat__head .count { font-size: var(--step--1); color: var(--ink-3); font-weight: 600; }

.menu-cat__body { display: grid; grid-template-columns: 280px 1fr; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: start; }
.menu-cat__body--full { grid-template-columns: 1fr; }
.menu-cat__photo { position: sticky; inset-block-start: calc(var(--header-h, 80px) + 84px); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.menu-cat__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.menu-cat__photo:hover img { transform: scale(1.05); }

.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 0.4rem 2.8rem; }
.item { padding-block: 0.85rem; border-block-end: 1px solid var(--line); }
.item__top { display: flex; align-items: baseline; gap: 0.4rem; }
.item__name { font-weight: 700; font-size: var(--step-0); letter-spacing: 0.005em; }
.item__leader { flex: 1; border-block-end: 1.5px dotted var(--line-2); transform: translateY(-0.25em); min-width: 1.5rem; }
.item__price { font-weight: 700; color: var(--accent-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.item__price .cur { font-size: 0.7em; font-weight: 600; color: var(--ink-3); margin-inline-start: 2px; }
.item__desc { margin-top: 0.3rem; color: var(--ink-2); font-size: var(--step--1); line-height: 1.5; max-width: 52ch; }
.item__variants { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.item__variants span { display: inline-flex; align-items: center; gap: 0.4em; font-size: var(--step--1); font-weight: 600; padding: 0.25em 0.7em; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.item__variants b { color: var(--accent-2); }
.menu-note { margin-top: 1.2rem; font-size: var(--step--1); color: var(--ink-3); font-style: italic; }
.menu-empty { padding: 3rem 0; text-align: center; color: var(--ink-2); display: none; }

/* ====================================================================
   GALLERY
   ==================================================================== */
.gallery { columns: 4 220px; column-gap: 14px; }
.gallery button { display: block; width: 100%; margin-bottom: 14px; border-radius: var(--radius); overflow: hidden; position: relative; break-inside: avoid; }
.gallery img { width: 100%; transition: transform .7s var(--ease), filter .4s; }
.gallery button::after { content: ""; position: absolute; inset: 0; background: oklch(0.2 0.02 50 / 0); transition: background-color .35s; }
.gallery button:hover img { transform: scale(1.07); }
.gallery button:hover::after { background: oklch(0.2 0.02 50 / 0.12); }

/* Lightbox dialog */
.lightbox { position: fixed; inset: auto; top: 50%; left: 50%; transform: translate(-50%, -50%); margin: 0; border: none; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
.lightbox::backdrop { background: oklch(0.16 0.015 50 / 0.92); backdrop-filter: blur(3px); }
.lightbox img { max-width: 96vw; max-height: 92vh; width: auto; border-radius: 10px; box-shadow: 0 30px 80px oklch(0 0 0 / .5); }
.lightbox__close { position: fixed; inset-block-start: 18px; inset-inline-end: 22px; z-index: 1; width: 46px; height: 46px; border-radius: 50%; background: oklch(1 0 0 / .15); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); }
.lightbox__close:hover { background: oklch(1 0 0 / .28); }
.lightbox__nav { position: fixed; inset-block-start: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; background: oklch(1 0 0 / .14); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); }
.lightbox__nav:hover { background: oklch(1 0 0 / .28); }
.lightbox__nav.prev { inset-inline-start: 18px; }
.lightbox__nav.next { inset-inline-end: 18px; }
.lightbox__nav svg, .lightbox__close svg { width: 22px; height: 22px; }

/* ====================================================================
   FOLLOW / SOCIAL
   ==================================================================== */
.follow-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.4rem; margin-bottom: 2.4rem; }
.follow-head h2 { font-size: var(--step-3); }
.follow-head p { color: var(--ink-2); margin-top: 0.6rem; font-size: var(--step-1); max-width: 40ch; }
.follow-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.reels { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.reel { position: relative; aspect-ratio: 9/16; border-radius: var(--radius); overflow: hidden; display: block; }
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, oklch(0.18 0.02 50 / 0.5), transparent 55%); }
.reel:hover img { transform: scale(1.06); }
.reel__play { position: absolute; inset-block-start: 50%; inset-inline-start: 50%; translate: -50% -50%; z-index: 1; width: 46px; height: 46px; border-radius: 50%; background: oklch(1 0 0 / .82); display: grid; place-items: center; color: var(--ink); transition: transform .3s var(--ease); }
.reel:hover .reel__play { transform: translate(-50%,-50%) scale(1.12); }
.reel__play svg { width: 18px; height: 18px; margin-inline-start: 2px; }

/* ====================================================================
   VISIT
   ==================================================================== */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
.visit__col h3 { font-size: var(--step-2); margin-bottom: 1.2rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: start; padding: 0.6em 0; border-block-end: 1px solid var(--line); font-weight: 500; }
.hours td { color: var(--ink-2); font-variant-numeric: tabular-nums; text-align: end; }
.hours tr.today th, .hours tr.today td { color: var(--accent-2); font-weight: 700; }
.hours-note { margin-top: 0.9rem; font-size: var(--step--1); color: var(--ink-3); font-style: italic; }
.address { font-size: var(--step-1); color: var(--ink); margin-bottom: 1.2rem; }
.address span { display: block; }
.contact-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.6rem; }
.map { margin-top: 1.4rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 16/10; background: var(--bg-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.2) contrast(1.02); }

.order { margin-top: 2rem; padding: 1.4rem 1.5rem; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.order h4 { font-family: var(--font-display); font-weight: 400; font-size: var(--step-1); margin-bottom: 0.3rem; }
.order p { color: var(--ink-2); font-size: var(--step--1); margin-bottom: 1rem; }
.order__links { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* Reservation form */
.reserve { background: var(--night); color: oklch(0.95 0.01 80); border-radius: var(--radius-lg); padding: clamp(1.6rem, 1rem + 3vw, 3rem); }
.reserve h3 { color: #fff; font-size: var(--step-2); }
.reserve p.sub { color: oklch(0.82 0.02 70); margin-top: 0.5rem; margin-bottom: 1.6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--step--1); font-weight: 600; color: oklch(0.8 0.02 70); }
.field input, .field select, .field textarea {
  padding: 0.7em 0.9em; border-radius: 10px; background: oklch(1 0 0 / 0.07);
  border: 1.5px solid oklch(1 0 0 / 0.16); color: #fff; transition: border-color .25s, background-color .25s;
}
.field input::placeholder, .field textarea::placeholder { color: oklch(0.78 0.02 70 / 0.7); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); background: oklch(1 0 0 / 0.11); outline: none; }
.field select option { color: var(--ink); }
.reserve .btn--primary { margin-top: 0.4rem; }
.form-note { font-size: var(--step--1); color: oklch(0.75 0.02 70); margin-top: 0.9rem; display: flex; align-items: center; gap: 0.5em; }
.form-note svg { width: 1.1em; height: 1.1em; flex: none; }

/* ====================================================================
   FOOTER
   ==================================================================== */
.site-footer { background: var(--ink); color: oklch(0.86 0.01 80); padding-block: clamp(3rem, 2rem + 4vw, 5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer p { color: oklch(0.76 0.01 80); max-width: 36ch; font-size: var(--step--1); }
.footer-col h5 { font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase; color: oklch(0.66 0.01 80); margin-bottom: 1rem; font-weight: 700; }
.lang-ar .footer-col h5 { letter-spacing: 0; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.55rem; }
.footer-col a:hover { color: #fff; }
.footer-socials { display: flex; gap: 0.7rem; margin-top: 1.2rem; }
.footer-socials a { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid oklch(1 0 0 / .2); display: grid; place-items: center; transition: background-color .25s, border-color .25s, transform .25s; }
.footer-socials a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.footer-socials svg { width: 19px; height: 19px; }
.footer-bottom { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid oklch(1 0 0 / .12); display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; justify-content: space-between; font-size: var(--step--1); color: oklch(0.72 0.01 80); }

/* ====================================================================
   MOBILE NAV
   ==================================================================== */
.mobile-nav { position: fixed; inset: 0; z-index: var(--z-mobilenav); background: var(--bg); padding: 5rem var(--pad-x) 2rem; display: flex; flex-direction: column; gap: 0.4rem; transform: translateX(100%); transition: transform .45s var(--ease-out); visibility: hidden; }
.lang-ar .mobile-nav { transform: translateX(-100%); }
.mobile-nav.open { transform: translateX(0); visibility: visible; }
.mobile-nav a { font-family: var(--font-display); font-size: var(--step-3); padding-block: 0.4rem; border-block-end: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 1.4rem; justify-content: center; }
.mobile-nav__close { position: absolute; inset-block-start: 1.2rem; inset-inline-end: var(--pad-x); width: 46px; height: 46px; display: grid; place-items: center; }
.mobile-nav__close svg { width: 28px; height: 28px; }

/* ====================================================================
   MOTION / REVEALS
   ==================================================================== */
/* Scroll-driven reveals: pure CSS, computed from scroll position (works
   even in headless renderers), and content stays fully visible where
   animation-timeline is unsupported or motion is reduced. */
@keyframes reveal-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    [data-reveal] {
      animation: reveal-rise both linear;
      animation-timeline: view();
      animation-range: entry 0% entry 38%;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__media img { animation: none; transform: scale(1.06); }
}

/* ====================================================================
   RESPONSIVE
   ==================================================================== */
@media (max-width: 1000px) {
  .menu-cat__body { grid-template-columns: 1fr; }
  .menu-cat__photo { position: relative; inset-block-start: auto; aspect-ratio: 16/9; max-height: 320px; }
  .gallery { columns: 3 180px; }
}
@media (max-width: 860px) {
  .nav, .header-actions .lang-switch, .header-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .about { grid-template-columns: 1fr; }
  .about__media { order: -1; }
  .about__media img { aspect-ratio: 16/11; }
  .visit { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mobilebar { display: flex; }
  body { padding-bottom: 64px; }
  .hero__inner { padding-block-end: 5.5rem; }
  .reserve { order: -1; }
}
@media (max-width: 540px) {
  .form-grid { grid-template-columns: 1fr; }
  .gallery { columns: 2 140px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .reels { grid-template-columns: repeat(2, 1fr); }
  .section-head p { font-size: var(--step-0); }
}

/* RTL fine-tuning */
[dir="rtl"] .item__leader { transform: translateY(-0.25em); }
[dir="rtl"] .hero__scroll { letter-spacing: 0; }
