/* =========================================================================
   Bestoon Samad — Stylesheet
   Warm, traditional, heritage-driven, ornamental. Mobile-first, responsive.

   Brand system:
   • Colors  — cream / teal / gold / charcoal / white / whatsapp (see :root)
   • Fonts   — Great Vibes (script kickers), Playfair Display (headings),
               Montserrat (body + nav)
   • Sections alternate full-width cream and teal backgrounds.
   • Section intro pattern: gold script kicker → bold Playfair heading →
     gold "✕ ✕ ✕" cross divider.
   ========================================================================= */

/* ---- Design tokens --------------------------------------------------- */
:root {
  /* Brand palette */
  --cream:        #F4EFE3;   /* primary page background */
  --cream-soft:   #FBF8F1;   /* cards on cream */
  --teal:         #3D7D8A;   /* alternating section background */
  --teal-d:       #336873;   /* darker teal (hover on teal) */
  --gold:         #BE9E54;   /* accent ONLY — never a full background */
  --gold-d:       #A8893F;   /* gold hover */
  --charcoal:     #1E1E1E;   /* headings + body text on light bg */
  --charcoal-2:   #3A3A3A;   /* muted text on light bg */
  --white:        #FFFFFF;   /* text on teal */
  --whatsapp:     #25D366;   /* floating WhatsApp button only */
  --line-light:   #E4DCCB;   /* hairline dividers on cream */

  /* Type — Latin */
  --font-script: "Great Vibes", cursive;
  --font-head:   "Playfair Display", Georgia, serif;
  --font-body:   "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  /* Type — Arabic (applied automatically on RTL) */
  --font-script-ar: "Aref Ruqaa", "Amiri", serif;
  --font-head-ar:   "Amiri", "Playfair Display", serif;
  --font-body-ar:   "Cairo", "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --maxw: 1140px;
  --shadow:    0 10px 34px rgba(30, 30, 30, 0.12);
  --shadow-sm: 0 4px 14px rgba(30, 30, 30, 0.08);
  --header-h: 92px;
}
@media (max-width: 600px) { :root { --header-h: 74px; } }

/* ---- Reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background-color: var(--cream);
  line-height: 1.7;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--gold-d); text-decoration: none; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--charcoal);
  line-height: 1.18;
  font-weight: 700;
}

/* ---- Layout helpers -------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding-block: clamp(56px, 9vw, 104px); }
.text-center { text-align: center; }

/* Alternating full-width backgrounds */
.section--cream { background: var(--cream); }
.section--teal,
.section--alt {                       /* legacy alias → teal */
  background-color: var(--teal);
  /* very faint Islamic 8-point star geometric texture */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.11' stroke-width='1.1'%3E%3Crect x='22' y='22' width='36' height='36'/%3E%3Crect x='22' y='22' width='36' height='36' transform='rotate(45 40 40)'/%3E%3Crect x='-18' y='-18' width='36' height='36'/%3E%3Crect x='-18' y='-18' width='36' height='36' transform='rotate(45 0 0)'/%3E%3Crect x='62' y='-18' width='36' height='36'/%3E%3Crect x='62' y='-18' width='36' height='36' transform='rotate(45 80 0)'/%3E%3Crect x='-18' y='62' width='36' height='36'/%3E%3Crect x='-18' y='62' width='36' height='36' transform='rotate(45 0 80)'/%3E%3Crect x='62' y='62' width='36' height='36'/%3E%3Crect x='62' y='62' width='36' height='36' transform='rotate(45 80 80)'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 150px 150px;
  color: var(--white);
}
.section--teal h1, .section--teal h2, .section--teal h3, .section--teal h4,
.section--alt h1, .section--alt h2, .section--alt h3, .section--alt h4 { color: var(--white); }
.section--teal p, .section--alt p { color: rgba(255, 255, 255, 0.92); }

/* ---- Section intro pattern (kicker → title → divider) ---------------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(30px, 5vw, 52px); }
.section-head--left { text-align: left; margin-inline: 0; }

.section-kicker {
  display: block;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  line-height: 1;
  color: var(--gold);
  margin-bottom: 4px;
  text-transform: none;
  letter-spacing: 0;
}
.section-title {
  font-family: var(--font-head);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  font-size: clamp(1.8rem, 5vw, 2.9rem);
}
.section--teal .section-title, .section--alt .section-title { color: var(--white); }
.section-lead { color: var(--charcoal-2); max-width: 60ch; margin-inline: auto; margin-top: 14px; }
.section--teal .section-lead, .section--alt .section-lead { color: rgba(255,255,255,0.9); }

/* Decorative cross divider: ─── ✕ ✕ ✕ ─── (always gold) */
.divider {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  max-width: 300px; margin: 18px auto 0;
}
.divider--left { margin-inline: 0; justify-content: flex-start; max-width: 240px; }
.divider::before, .divider::after {
  content: ""; flex: 1; height: 1px; background: var(--gold); opacity: 0.75;
}
.divider--left::before { display: none; }
.divider__mark {
  font-size: 0.78rem; letter-spacing: 0.45em; color: var(--gold);
  white-space: nowrap; padding-left: 0.45em;
}
/* Legacy ornament → simple gold line */
.ornament { width: 80px; height: 2px; margin: 16px auto 0; background: var(--gold); }

/* ---- Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 14px 30px;
  border-radius: 0;                       /* sharp corners */
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--gold); color: var(--charcoal); border-color: var(--gold); }
.btn--primary:hover { background: var(--gold-d); border-color: var(--gold-d); color: var(--charcoal); }
.btn--ghost { background: transparent; border-color: var(--gold); color: var(--gold-d); }
.btn--ghost:hover { background: var(--gold); color: var(--charcoal); }
.btn--wa { background: var(--whatsapp); color: #fff; border-color: var(--whatsapp); }
.btn--wa:hover { background: #1eb858; border-color: #1eb858; color: #fff; }
/* Buttons over dark/teal backgrounds */
.hero .btn--ghost, .section--teal .btn--ghost, .section--alt .btn--ghost, .page-banner .btn--ghost {
  border-color: var(--white); color: var(--white);
}
.hero .btn--ghost:hover, .section--teal .btn--ghost:hover, .section--alt .btn--ghost:hover {
  background: var(--white); color: var(--charcoal);
}

/* ---- Logo badge (placeholder circular badge) ------------------------- */
/* Always sits on a cream/white background. Do not recolor a real logo —    */
/* drop assets/images/logo.png and it fills the badge.                      */
.logo-badge {
  position: relative;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold);
  overflow: hidden;
  flex-shrink: 0;
}
.logo-badge img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.logo-badge__txt {
  font-family: var(--font-head); font-weight: 900; color: var(--gold);
  letter-spacing: 0.04em; line-height: 1;
}
.logo-badge--sm { width: 46px; height: 46px; }
.logo-badge--sm .logo-badge__txt { font-size: 1.05rem; }
.logo-badge--lg { width: 118px; height: 118px; box-shadow: 0 6px 20px rgba(0,0,0,0.25); }
.logo-badge--lg .logo-badge__txt { font-size: 2.4rem; }

/* ---- Real logo lockup ------------------------------------------------- */
/* Header: logo sits directly on the cream bar. */
.nav__logo { height: 78px; width: auto; display: block; }
@media (max-width: 600px) { .nav__logo { height: 60px; } }

/* "Plate": a white rounded panel so the dark-lettered logo stays legible
   on dark backgrounds (hero photo, footer). Matches the brand rule that the
   logo always sits on cream/white. */
.logo-plate {
  display: inline-block; background: var(--white);
  border-radius: 16px; padding: 14px 20px; box-shadow: var(--shadow-sm);
}
.logo-plate img { display: block; width: auto; }
.hero .logo-plate { margin: 0 auto 22px; }
.hero .logo-plate img { height: 132px; }
.footer-logo.logo-plate { padding: 12px 16px; border-radius: 12px; }
.footer-logo img { height: 76px; }

/* ---- Header / Nav ---------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line-light);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand-text { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--charcoal); line-height: 1.1; }
.nav__brand-text .sub {
  display: block; font-family: var(--font-body); font-weight: 500;
  font-size: 0.58rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-d);
}
[dir="rtl"] .nav__brand-text .sub { font-family: var(--font-body-ar); letter-spacing: 0; font-size: 0.65rem; }

.nav__toggle { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: 0.25s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__menu {
  list-style: none; padding: 0; display: none;
  position: absolute; left: 0; right: 0; top: var(--header-h);
  background: var(--cream-soft); border-bottom: 1px solid var(--line-light);
  flex-direction: column; box-shadow: var(--shadow-sm);
}
.nav__menu.is-open { display: flex; }
.nav__menu a {
  display: block; padding: 15px 22px;
  font-family: var(--font-body); font-weight: 300;
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem;
  color: var(--charcoal); border-bottom: 1px solid var(--line-light);
}
.nav__menu a:hover, .nav__menu a.is-active { color: var(--gold-d); }

@media (min-width: 880px) {
  .nav__toggle { display: none; }
  .nav__menu {
    display: flex; position: static; flex-direction: row; gap: 6px;
    background: none; border: 0; box-shadow: none; width: auto;
  }
  .nav__menu a { border: 0; padding: 8px 14px; border-bottom: 2px solid transparent; }
  .nav__menu a.is-active { color: var(--gold-d); border-bottom-color: var(--gold); }
}

/* ---- Hero ------------------------------------------------------------ */
.hero {
  position: relative; min-height: min(86vh, 700px);
  display: grid; place-items: center; text-align: center; color: #fff;
  padding: 84px 20px;
  background: linear-gradient(rgba(20, 12, 8, 0.55), rgba(20, 12, 8, 0.7)),
              var(--hero-img, #2c4d54);
  background-size: cover; background-position: center;
}
.hero__inner { max-width: 740px; }
.hero__logo { margin: 0 auto 22px; }
.hero__tagline {
  font-family: var(--font-script); font-size: clamp(1.8rem, 5vw, 2.6rem);
  color: var(--gold); line-height: 1; margin-bottom: 6px;
}
.hero h1 {
  color: #fff; font-weight: 900; text-transform: uppercase; letter-spacing: 0.05em;
  font-size: clamp(2.4rem, 7vw, 4.2rem); text-shadow: 0 2px 18px rgba(0,0,0,0.4);
}
.hero__sub { font-size: 1.05rem; color: rgba(255,255,255,0.9); margin: 16px auto 30px; max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---- Inner page banner ----------------------------------------------- */
.page-banner {
  text-align: center; padding: clamp(54px, 10vw, 96px) 20px; color: #fff;
  background: linear-gradient(rgba(20, 12, 8, 0.55), rgba(20, 12, 8, 0.72)),
              var(--banner-img, var(--teal-d));
  background-size: cover; background-position: center;
}
.page-banner .section-kicker { color: var(--gold); }
.page-banner h1 { color: #fff; font-weight: 900; text-transform: uppercase; letter-spacing: 0.05em; font-size: clamp(2.1rem, 6vw, 3.2rem); }
.page-banner p { color: rgba(255,255,255,0.9); margin-top: 8px; }

/* ---- Grids / cards --------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 720px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--cream-soft); border: 1px solid var(--line-light);
  box-shadow: var(--shadow-sm); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.card__body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__body h3 { font-size: 1.4rem; text-transform: uppercase; letter-spacing: 0.02em; }
.card__body p { color: var(--charcoal-2); font-size: 0.95rem; }
.card__body .btn { margin-top: auto; align-self: flex-start; }

/* ---- Split (feature / about blocks) ---------------------------------- */
.split { display: grid; gap: 38px; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } }
.prose p { margin-bottom: 1em; }
.prose p:last-child { margin-bottom: 0; }

/* ---- Ornate gold double-line frame (vintage) ------------------------- */
.frame { position: relative; padding: 16px; }
.frame::before { content: ""; position: absolute; inset: 6px; border: 2px solid var(--gold); pointer-events: none; }
.frame::after  { content: ""; position: absolute; inset: 11px; border: 1px solid var(--gold); opacity: 0.55; pointer-events: none; }
.frame > img, .frame > .photo-ph { position: relative; z-index: 1; width: 100%; }
.frame > img { aspect-ratio: 4 / 3; object-fit: cover; }
.frame__corner { position: absolute; width: 20px; height: 20px; z-index: 2; border: 2px solid var(--gold); }
.frame__corner::after { content: ""; position: absolute; width: 5px; height: 5px; background: var(--gold); border-radius: 50%; }
.frame__corner--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.frame__corner--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.frame__corner--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.frame__corner--br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.frame__corner--tl::after { top: -3px; left: -3px; }
.frame__corner--tr::after { top: -3px; right: -3px; }
.frame__corner--bl::after { bottom: -3px; left: -3px; }
.frame__corner--br::after { bottom: -3px; right: -3px; }

/* ---- Menu ------------------------------------------------------------ */
/* Category tabs / quick-nav (active filled gold, inactive muted) */
.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 40px; }
.cat-nav__btn {
  font-family: var(--font-body); font-size: 0.7rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em; line-height: 1.4;
  padding: 9px 16px; border-radius: 0; cursor: pointer;
  border: 1px solid rgba(190, 158, 84, 0.45); color: var(--charcoal-2); background: transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.cat-nav__btn:hover { border-color: var(--gold); color: var(--charcoal); background: rgba(190,158,84,0.12); }
.cat-nav__btn.is-active { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }

/* White panel framed in gold (vintage double border) holding the menu */
.menu-frame { position: relative; background: var(--cream-soft); padding: clamp(22px, 4vw, 48px); border: 2px solid var(--gold); }
.menu-frame::before { content: ""; position: absolute; inset: 7px; border: 1px solid var(--gold); opacity: 0.5; pointer-events: none; }
.menu-frame > * { position: relative; z-index: 1; }

.menu-cat { scroll-margin-top: calc(var(--header-h) + 18px); }
.menu-cat.is-hidden { display: none; }
.menu-cat__title {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em;
  font-size: clamp(1.35rem, 3.5vw, 1.8rem); color: var(--charcoal); margin-bottom: 26px;
}
.menu-cat__title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }

/* Two items per row, each a circular photo + name + price (no description) */
.menu-grid { display: grid; grid-template-columns: 1fr; gap: 26px 44px; }
@media (min-width: 680px) { .menu-grid { grid-template-columns: repeat(2, 1fr); } }

.menu-item { display: flex; align-items: center; gap: 22px; }
.menu-item__thumb {
  width: 124px; height: 124px; flex-shrink: 0; border-radius: 50%;
  object-fit: cover; background: var(--cream);
  border: 1px solid var(--line-light); box-shadow: var(--shadow-sm);
}
@media (max-width: 420px) { .menu-item__thumb { width: 104px; height: 104px; } }
.menu-item__thumb--ph {
  display: grid; place-items: center;
  background: repeating-linear-gradient(45deg, var(--line-light) 0 8px, #ece3d2 8px 16px);
}
.menu-item__thumb--ph::before { content: "\1F37D"; font-size: 2.1rem; opacity: 0.55; }
/* Logo placeholder (shown until a real dish photo is set) */
.menu-item__thumb--logo { object-fit: contain; padding: 12px; background: var(--white); }
.menu-item__info { min-width: 0; }
.menu-item__name { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; font-size: 1.04rem; color: var(--charcoal); line-height: 1.25; }
.menu-item__price { font-family: var(--font-body); font-weight: 500; color: var(--charcoal-2); font-size: 0.95rem; margin-top: 6px; }
.menu-item__price .cur { color: var(--gold-d); font-weight: 600; margin-right: 5px; letter-spacing: 0.04em; }
.menu-status { text-align: center; color: var(--charcoal-2); padding: 40px 0; }

/* ---- Gallery --------------------------------------------------------- */
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery figure { margin: 0; overflow: hidden; background: var(--cream-soft); box-shadow: var(--shadow-sm); border: 1px solid var(--line-light); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.3s ease; }
.gallery figure:hover img { transform: scale(1.06); }

/* ---- Contact --------------------------------------------------------- */
.branch-card { background: var(--cream-soft); border: 1px solid var(--line-light); box-shadow: var(--shadow-sm); padding: 30px; }
.branch-card h3 { font-size: 1.45rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--charcoal); margin-bottom: 16px; }
.contact-row { display: flex; gap: 12px; padding: 9px 0; align-items: flex-start; }
.contact-row .ic { color: var(--gold-d); flex-shrink: 0; width: 20px; text-align: center; font-style: normal; }
.contact-row .lbl { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--charcoal-2); }
.social-row { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.social-link {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px;
  border: 1px solid var(--gold); background: transparent;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--charcoal);
}
.social-link:hover { background: var(--gold); color: var(--charcoal); }

/* ---- Floating WhatsApp button ---------------------------------------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45); transition: transform 0.15s ease;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* ---- Footer ---------------------------------------------------------- */
.site-footer { background: var(--charcoal); color: #d8d2c6; padding: 56px 20px 30px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.site-footer h4 { color: #fff; margin-bottom: 14px; font-size: 0.8rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.site-footer a { color: #d8d2c6; }
.site-footer a:hover { color: var(--gold); }
.footer-brand { font-family: var(--font-head); font-weight: 900; font-size: 1.6rem; color: #fff; text-transform: uppercase; letter-spacing: 0.03em; }
.footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 0.9rem; }
.footer-bottom { text-align: center; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.8rem; color: #9c948785; color: #a59c8c; }

/* ---- Imagery helpers ------------------------------------------------- */
/* Use on history/about <img> for a sepia/vintage tone. Menu/food photos    */
/* should stay clean (no filter).                                           */
.is-sepia { filter: sepia(0.55) contrast(0.95) brightness(1.02) saturate(0.9); }
.photo-ph {
  background: repeating-linear-gradient(45deg, var(--line-light) 0 12px, #ece3d2 12px 24px);
  display: grid; place-items: center; color: var(--charcoal-2);
  font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  min-height: 100%;
}
.photo-ph::before { content: "Photo"; opacity: 0.7; }
.photo-ph--sq { aspect-ratio: 1; }
.photo-ph--wide { aspect-ratio: 16 / 10; }
.photo-ph--tall { aspect-ratio: 4 / 3; }
.photo-ph--vintage { background: repeating-linear-gradient(45deg, #d8c7a8 0 12px, #cdba97 12px 24px); color: #6b5836; }

/* ---- Utility / a11y -------------------------------------------------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: var(--gold-d); padding: 8px 16px; }
.skip-link:focus { left: 8px; }

/* ---- Language switcher + nav actions --------------------------------- */
.nav__actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--gold); background: transparent; color: var(--charcoal);
  font-family: var(--font-body); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em;
  padding: 8px 13px; cursor: pointer; line-height: 1;
  transition: background 0.18s ease, color 0.18s ease;
}
.lang-toggle:hover { background: var(--gold); color: var(--charcoal); }
.lang-toggle__icon { width: 17px; height: 17px; flex-shrink: 0; }
.lang-toggle__label[lang="ar"] { font-family: var(--font-body-ar); font-size: 0.9rem; }

@media (min-width: 880px) {
  .nav__menu { margin-inline: auto; }   /* center nav links between brand and actions */
}

/* ====================================================================== */
/* RTL + Arabic typography. Applied automatically when <html dir="rtl">.   */
/* ====================================================================== */
[dir="rtl"] body { font-family: var(--font-body-ar); }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { font-family: var(--font-head-ar); }
[dir="rtl"] .section-kicker, [dir="rtl"] .hero__tagline { font-family: var(--font-script-ar); }

/* Arabic shouldn't be uppercased or letter-spaced (it breaks the script). */
[dir="rtl"] .section-title,
[dir="rtl"] .hero h1,
[dir="rtl"] .page-banner h1,
[dir="rtl"] .menu-cat__title,
[dir="rtl"] .menu-item__name,
[dir="rtl"] .card__body h3,
[dir="rtl"] .branch-card h3,
[dir="rtl"] .footer-brand,
[dir="rtl"] .nav__menu a,
[dir="rtl"] .btn,
[dir="rtl"] .cat-nav__btn,
[dir="rtl"] .social-link,
[dir="rtl"] .section-kicker {
  text-transform: none;
  letter-spacing: normal;
}
[dir="rtl"] .hero__tagline { font-size: clamp(2rem, 5.5vw, 3rem); }
[dir="rtl"] .section-kicker { font-size: clamp(1.9rem, 4.5vw, 2.6rem); }

/* Mirror the left-aligned section heads + category underline gradient */
[dir="rtl"] .section-head--left { text-align: right; }
[dir="rtl"] .menu-cat__title::after { background: linear-gradient(270deg, var(--gold), transparent); }
[dir="rtl"] .skip-link { left: auto; right: -999px; }
[dir="rtl"] .skip-link:focus { right: 8px; left: auto; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
