/* =============================================================================
   Malak Al Baher — SHARED STYLESHEET
   Design tokens, fonts and component CSS carried verbatim from the design
   bundle (variation A "Editorial" + variation B "Immersive"). Dark "sea" theme
   throughout, seaglass accent, parchment menu cards. Mobile-first.
   ============================================================================= */

:root {
  /* dark "sea" shell */
  --bg:        #05151a;
  --bg-2:      #07191f;
  --surface:   #0c252d;
  --surface-2: #103039;
  --surface-3: #15414c;
  --fg:        #eef5f3;
  --muted:     #93afb1;
  --muted-2:   #6f8d90;
  --border:    rgba(190, 225, 222, 0.12);
  --border-2:  rgba(190, 225, 222, 0.07);

  /* accents (2) — seaglass + gold */
  --accent:    #54cdbd;   /* seaglass */
  --accent-dim:#3a9d90;
  --accent-fg: #052420;
  --gold:      #d9b676;
  --spicy:     #e58a6b;

  /* light "menu card" — parchment surfaces with dark ink */
  --paper:     #f4ecdd;
  --paper-2:   #ece1cd;
  --paper-edge:#e3d7bf;
  --ink:       #2c2318;
  --ink-soft:  #6d5f49;
  --ink-faint: #9a8b72;
  --paper-bd:  rgba(44, 35, 24, 0.14);
  --paper-bd2: rgba(44, 35, 24, 0.08);
  --price:     #126b5e;
  --gold-ink:  #9a6a1c;
  --veg-ink:   #4f7a3f;
  --spicy-ink: #b4502f;

  --serif: "Spectral", Georgia, serif;
  --sans:  "Hanken Grotesk", system-ui, sans-serif;
  --mono:  "Spline Sans Mono", ui-monospace, monospace;

  --maxw: 1080px;
  --nav-h: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body { overflow-x: hidden; }
img, svg { max-width: 100%; }
body {
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(84,205,189,0.10), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
  color: var(--fg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100svh;
}
::selection { background: var(--accent); color: var(--accent-fg); }
a { color: inherit; }
img { max-width: 100%; display: block; }

.no-sb { scrollbar-width: none; -ms-overflow-style: none; }
.no-sb::-webkit-scrollbar { display: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.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; }
.mono { font-family: var(--mono); }
.serif { font-family: var(--serif); }
.accent { color: var(--accent); }
.center { text-align: center; }

/* bilingual Arabic spans — render RTL/shaped without flipping page layout */
.ar { font-family: var(--serif); direction: rtl; unicode-bidi: isolate; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* =============================================================================
   BRAND MARK / LOGO (real artwork)
   ============================================================================= */
.brand-logo { height: 44px; width: auto; display: block; flex: 0 0 auto; }
.brand-logo.sm { height: 34px; }
.hero-logo {
  width: clamp(260px, 46vw, 520px); height: auto; display: block; margin: 0 auto;
  filter: drop-shadow(0 18px 46px rgba(0,0,0,0.55));
}
/* legacy monogram fallback (kept for safety; no longer used in markup) */
.mark {
  height: 38px; width: 38px; border-radius: 50%;
  border: 1.5px solid var(--accent);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 20px; color: var(--accent);
  line-height: 1; flex: 0 0 auto;
}
.mark.sm { height: 26px; width: 26px; font-size: 14px; }

/* =============================================================================
   NAVBAR (shared)
   ============================================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--border-2);
}
/* blur lives on a pseudo-layer so .nav itself does NOT create a containing
   block — otherwise the position:fixed bottom-sheet would anchor to the navbar
   instead of the viewport. */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(5, 21, 26, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
/* three-slot navbar: location (left) · logo (center) · menu trigger (right) */
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; min-height: var(--nav-h);
  padding: 0 14px; display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 8px;
}
.nav-left   { justify-self: start; min-width: 0; }
.nav-center { justify-self: center; }
.nav-right  { justify-self: end; }
.nav-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }

/* the Omaki burger trigger — always visible (mobile-first, app-like) */
.nav-toggle {
  display: inline-flex; background: none; border: 1px solid var(--border);
  color: var(--fg); border-radius: 10px; width: 42px; height: 42px;
  cursor: pointer; align-items: center; justify-content: center;
  padding: 0; overflow: hidden; transition: border-color .18s ease, background .18s ease;
}
.nav-toggle:hover { border-color: var(--accent); }
.nav-toggle .omaki-mark { width: 22px; height: auto; color: var(--fg); display: block; }
.nav-toggle:hover .omaki-mark { color: var(--accent); }

/* dim scrim behind the bottom sheet (created by site.js) */
.nav-scrim {
  position: fixed; inset: 0; z-index: 49; background: rgba(3, 12, 15, 0.62);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; transition: opacity .28s ease;
}
.nav-scrim.open { opacity: 1; pointer-events: auto; }
body.nav-open { overflow: hidden; }

/* nav links: a dark bottom sheet that slides up from the bottom (all sizes) */
.nav-links {
  position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 60;
  display: flex; flex-direction: column; align-items: stretch; gap: 2px;
  max-width: 520px; margin: 0 auto;
  background:
    radial-gradient(120% 90% at 18% 0%, rgba(84,205,189,0.16), transparent 58%),
    radial-gradient(120% 90% at 92% 12%, rgba(217,182,118,0.10), transparent 55%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border: 1px solid var(--border); border-bottom: 0;
  border-radius: 22px 22px 0 0;
  padding: 26px 14px calc(16px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -26px 64px -22px rgba(0,0,0,0.9);
  transform: translateY(100%); pointer-events: none;
  transition: transform .36s cubic-bezier(.22,.61,.36,1);
}
.nav-links::before {
  content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 4px; border-radius: 999px; background: var(--border);
}
.nav-links.open { transform: translateY(0); pointer-events: auto; }
.nav-links a {
  text-decoration: none; padding: 13px 16px; border-radius: 10px; font-size: 16px;
  font-weight: 600; text-align: center; color: var(--fg); border: 1px solid transparent;
  transition: color .18s ease, background .18s ease;
}
.nav-links a:hover, .nav-links a:active { color: var(--accent); background: rgba(84,205,189,0.08); }
.nav-links a.active { color: var(--accent); background: rgba(84,205,189,0.1); }
.nav-cta {
  margin-top: 8px; background: var(--accent); color: var(--accent-fg) !important;
  font-weight: 700 !important;
}
.nav-cta:hover { background: #6fdccd; color: var(--accent-fg) !important; }

/* contact rail at the bottom of the nav sheet */
.nav-contact {
  position: relative; overflow: hidden;
  margin-top: 14px; padding: 18px 16px 14px;
  border-top: 1px solid var(--border-2); border-radius: 16px;
  background:
    radial-gradient(120% 120% at 88% 120%, rgba(84,205,189,0.16), transparent 60%),
    radial-gradient(90% 120% at 10% 0%, rgba(217,182,118,0.07), transparent 55%),
    rgba(255,255,255,0.02);
}
.nav-watermark {
  position: absolute; right: -70px; top: 50%;
  transform: translateY(-50%);
  width: 70%; max-width: 320px; height: auto;
  opacity: 0.05; pointer-events: none;
  filter: grayscale(0.3);
  z-index: 0;
}
.nav-links > *:not(.nav-watermark) { position: relative; z-index: 1; }
.nav-contact .nc-label {
  display: block; text-align: center;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted-2); margin: 0 0 14px;
}
.nav-contact .nc-row {
  position: relative; z-index: 1;
  display: flex; justify-content: center; gap: 14px;
}
.nc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px;
  border: 1px solid rgba(84,205,189,0.28); border-radius: 50%;
  color: #f3fbf9; text-decoration: none;
  background: rgba(84,205,189,0.06);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 4px 12px rgba(0,0,0,0.22);
  transition: border-color .2s ease, color .2s ease, background .2s ease, transform .2s ease;
}
.nc-btn svg { width: 26px; height: 26px; display: block; }
.nc-btn svg * { vector-effect: non-scaling-stroke; }
.nc-btn:hover { border-color: var(--accent); color: var(--accent); background: rgba(84,205,189,0.14); transform: translateY(-2px); }
.nc-btn-primary {
  background: var(--accent); color: var(--accent-fg);
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(84,205,189,0.32);
}
.nc-btn-primary:hover { background: #6fdccd; color: var(--accent-fg); border-color: #6fdccd; }

/* =============================================================================
   SHARED SECTION HEADERS
   ============================================================================= */
.kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--accent); margin: 0;
}
.gold-kicker { color: var(--gold); }
.rule { flex: 1; height: 1px; background: var(--border-2); }
.section { padding: clamp(48px, 8vw, 92px) 0; }
.section-head { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.section-title {
  font-family: var(--serif); font-weight: 500; margin: 0;
  font-size: clamp(28px, 4.5vw, 42px); line-height: 1.05; letter-spacing: -0.01em;
}
.section-title .ar { font-size: 0.62em; color: var(--muted); margin-left: 10px; font-weight: 400; }

/* =============================================================================
   HERO (landing)
   ============================================================================= */
.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(90% 60% at 78% 4%, rgba(84,205,189,0.16), transparent 60%),
    radial-gradient(80% 60% at 8% 100%, rgba(217,182,118,0.09), transparent 55%);
}
.hero-net {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
  background: repeating-linear-gradient(135deg, transparent 0 26px, rgba(190,225,222,0.02) 26px 27px);
}
/* full-screen centered hero */
.hero { min-height: 100svh; display: flex; }
.hero-inner {
  position: relative; z-index: 1; width: 100%; max-width: 760px; margin: 0 auto;
  min-height: calc(100svh - var(--nav-h));
  padding: clamp(32px, 6vw, 64px) 20px clamp(40px, 6vw, 72px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.hero-kick { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 26px 0 0; }
.hero-kick .gold-line { width: 34px; height: 1px; background: var(--gold); }
.hero .lede {
  font-family: var(--serif); font-size: clamp(18px, 2.6vw, 24px);
  color: var(--muted); max-width: 540px; margin: 22px auto 0; line-height: 1.55;
}
.hero-pick { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2); margin: 34px 0 14px; }
.hero-branches { display: grid; gap: 11px; width: 100%; max-width: 420px; }
.hero-branch {
  display: flex; align-items: center; justify-content: center;
  text-align: center; text-decoration: none; cursor: pointer;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 14px;
  padding: 17px 18px; color: var(--fg);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.hero-branch:hover { border-color: var(--accent); transform: translateY(-2px); background: rgba(84,205,189,0.07); }
.hero-branch .hb-name { font-family: var(--serif); font-size: 22px; line-height: 1.1; }

.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 22px; }
.hero-scroll {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: clamp(20px, 4vw, 34px);
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--muted-2); text-decoration: none; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase; transition: color .2s ease;
}
.hero-scroll:hover { color: var(--accent); }
.hero-scroll .chev { font-size: 16px; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  font-family: var(--sans); font-weight: 700; font-size: 15px; border-radius: 12px;
  padding: 14px 22px; transition: background .2s ease, border-color .2s ease, transform .2s ease, color .2s ease;
}
.btn .arr { transition: transform .25s ease; }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: var(--accent-fg); }
.btn-primary:hover { background: #6fdccd; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* =============================================================================
   BRANCH PICKER CARDS (landing + menu)
   ============================================================================= */
.branch-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.branch-head .lbl {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted-2);
}

/* style comparison toggle (remove once a treatment is chosen) */
.style-toggle { display: inline-flex; gap: 2px; background: var(--surface); border: 1px solid var(--border-2); border-radius: 999px; padding: 3px; }
.style-toggle button { background: transparent; border: none; cursor: pointer; color: var(--muted); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; padding: 7px 13px; border-radius: 999px; transition: color .2s ease, background .2s ease; }
.style-toggle button.active { background: var(--accent); color: var(--accent-fg); font-weight: 600; }

.branch-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); }

/* premium branch card — shared frame; the button treatment is swapped by body.style-* */
.bcard {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; min-height: 244px;
  padding: 24px 22px 22px; border-radius: 20px; color: var(--fg);
}
.bcard-top { display: flex; align-items: center; justify-content: space-between; }
.bcard .idx { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; color: var(--accent); }
.bcard-name { margin-top: auto; padding-top: 34px; }
.bcard-name .en { display: block; font-family: var(--serif); font-size: 34px; line-height: 1; letter-spacing: -0.01em; }
.bcard-name .ar { display: block; font-size: 19px; color: var(--muted); margin-top: 6px; }
.bcard-actions { display: flex; gap: 10px; margin-top: 22px; }
.bbtn {
  flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  text-decoration: none; font-family: var(--sans); font-weight: 700; font-size: 14px; border-radius: 12px;
  padding: 12px 14px; cursor: pointer; white-space: nowrap; border: 1px solid transparent;
  transition: background .22s ease, border-color .22s ease, color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.bbtn .arr { transition: transform .25s ease; }
.bbtn:hover .arr { transform: translateX(3px); }

/* ---- treatment A · Frosted glass + glow ---- */
body.style-frosted .bcard {
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px) saturate(1.15); -webkit-backdrop-filter: blur(16px) saturate(1.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 24px 50px -30px rgba(0,0,0,0.85);
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
body.style-frosted .bcard::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; opacity: 0;
  background: radial-gradient(130% 80% at 50% -10%, rgba(84,205,189,0.28), transparent 62%);
  transition: opacity .35s ease;
}
body.style-frosted .bcard:hover {
  border-color: rgba(84,205,189,0.55); transform: translateY(-4px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 32px 60px -28px rgba(0,0,0,0.9);
}
body.style-frosted .bcard:hover::before { opacity: 1; }
body.style-frosted .bbtn-primary { background: rgba(84,205,189,0.16); color: var(--accent); border-color: rgba(84,205,189,0.4); }
body.style-frosted .bbtn-primary:hover { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); box-shadow: 0 10px 26px -10px rgba(84,205,189,0.6); }
body.style-frosted .bbtn-secondary { background: rgba(255,255,255,0.05); color: var(--fg); border-color: var(--border); }
body.style-frosted .bbtn-secondary:hover { border-color: var(--accent); color: var(--accent); background: rgba(84,205,189,0.08); }

/* ---- treatment B · Gradient + sheen ---- */
body.style-gradient .bcard {
  background: linear-gradient(162deg, var(--surface-2) 0%, var(--surface) 58%, var(--bg-2) 100%);
  border: 1px solid var(--border-2);
  box-shadow: 0 22px 46px -28px rgba(0,0,0,0.9);
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
body.style-gradient .bcard:hover { transform: translateY(-4px); border-color: rgba(84,205,189,0.3); box-shadow: 0 30px 58px -26px rgba(0,0,0,0.95); }
body.style-gradient .bbtn-primary {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #74e0d0 0%, #54cdbd 46%, #2f9e90 100%);
  color: var(--accent-fg);
  box-shadow: 0 12px 28px -12px rgba(84,205,189,0.6);
}
body.style-gradient .bbtn-primary::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 65%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-18deg); transition: left .6s ease;
}
body.style-gradient .bbtn-primary:hover { box-shadow: 0 16px 34px -10px rgba(84,205,189,0.75); transform: translateY(-1px); }
body.style-gradient .bbtn-primary:hover::after { left: 145%; }
body.style-gradient .bbtn-secondary { background: transparent; color: var(--fg); border-color: var(--border); }
body.style-gradient .bbtn-secondary:hover { background: rgba(84,205,189,0.1); border-color: var(--accent); color: var(--accent); }

/* striped placeholder */
.ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: repeating-linear-gradient(135deg, var(--surface-2) 0 12px, var(--surface) 12px 24px);
}
.ph span {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--muted-2); text-transform: uppercase; padding: 0 12px; text-align: center;
}
.ph.box { position: relative; height: 100%; }

/* =============================================================================
   STORY (landing)
   ============================================================================= */
.story-grid { display: grid; gap: clamp(28px, 5vw, 56px); grid-template-columns: 1.1fr 1fr; align-items: center; }
.story-copy p { color: var(--muted); font-size: 16.5px; line-height: 1.7; max-width: 46ch; }
.story-copy .lead { font-family: var(--serif); font-size: clamp(20px, 2.6vw, 26px); color: var(--fg); line-height: 1.5; margin-bottom: 18px; max-width: none; }
.stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 30px; }
.stat .n { font-family: var(--serif); font-size: 34px; color: var(--accent); line-height: 1; }
.stat .l { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin-top: 8px; }
.story-figure { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); }
@media (max-width: 780px) { .story-grid { grid-template-columns: 1fr; } .story-figure { aspect-ratio: 16 / 11; } }

/* =============================================================================
   FEATURED DISHES (landing) — parchment feature cards
   ============================================================================= */
.feat-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.dish {
  display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--paper-edge); border-radius: 16px; overflow: hidden;
  box-shadow: 0 14px 34px -20px rgba(0,0,0,0.6);
}
.dish .pic { position: relative; height: 168px; }
.dish .pic .tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 1; }
.dish .body { padding: 16px 18px 18px; border-top: 1px solid var(--paper-edge); }
.dish .row1 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.dish .d-name { font-family: var(--serif); font-size: 22px; font-weight: 500; margin: 0; color: var(--ink); }
.dish .d-name .ar { display: block; font-size: 16px; color: var(--ink-soft); margin-top: 2px; }
.dish .d-desc { margin: 9px 0 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }
.dish .price { font-family: var(--mono); font-size: 14px; color: var(--price); font-weight: 500; white-space: nowrap; }

/* =============================================================================
   MENU PAGE
   ============================================================================= */
.menu-top { padding: clamp(28px, 5vw, 52px) 0 8px; }
.menu-title { display: flex; align-items: center; justify-content: center; gap: 16px 18px; flex-wrap: wrap; }
.menu-title h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 6vw, 54px); margin: 0; line-height: 1.04; text-align: center; }
/* Arabic sits as a quiet subtitle beneath the English title, not jammed inline */
.menu-title h1 .ar { display: block; font-size: 0.4em; color: var(--muted); margin: 8px 0 0; font-weight: 400; letter-spacing: 0.04em; }

/* control row: branch pill + section tabs together in the sticky bar */
.control-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.control-row .seg { margin-bottom: 0; }

/* branch switcher */
.bswitch-wrap { position: relative; flex: 0 0 auto; }
.bswitch {
  display: inline-flex; align-items: center; gap: 7px; background: var(--surface-2);
  color: var(--fg); border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 13px; cursor: pointer; font-family: var(--sans); font-size: 14px; font-weight: 700;
  transition: border-color .2s ease;
}
.bswitch:hover { border-color: var(--accent); }
.bswitch .pin-ic { font-size: 12px; line-height: 1; filter: grayscale(0.2); }
.bswitch .car { color: var(--muted); font-size: 11px; transition: transform .2s ease; }
.bswitch.open .car { transform: rotate(180deg); }
.bmenu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; min-width: 200px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 13px;
  padding: 6px; box-shadow: 0 20px 44px -18px rgba(0,0,0,0.85); animation: fadeUp .16s ease both;
}
.bmenu .lbl { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); padding: 6px 10px 7px; }
.bmenu button {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  background: transparent; border: none; cursor: pointer; color: var(--fg);
  padding: 10px 11px; border-radius: 8px; font-family: var(--sans); font-size: 14.5px;
  font-weight: 500; text-align: left; gap: 12px;
}
.bmenu button:hover { background: var(--surface-3); }
.bmenu button.cur { background: rgba(84,205,189,0.1); }
.bmenu button .ar { color: var(--muted); font-size: 14px; }
.bmenu button .pin { color: var(--accent); font-size: 12px; }

/* location soft gate (first visit) */
.loc-gate {
  position: fixed; inset: 0; z-index: 70; display: none;
  align-items: center; justify-content: center; padding: 22px;
  background: rgba(3, 12, 15, 0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.loc-gate.open { display: flex; animation: fadeIn .25s ease both; }
.loc-gate-panel {
  width: 100%; max-width: 460px; text-align: center;
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(84,205,189,0.12), transparent 60%),
    radial-gradient(120% 80% at 95% 8%, rgba(217,182,118,0.08), transparent 55%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border); border-radius: 20px;
  padding: clamp(26px, 5vw, 38px); box-shadow: 0 40px 90px -30px rgba(0,0,0,0.9);
  animation: fadeUp .3s ease both;
}
.loc-gate-panel h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 5vw, 34px); margin: 10px 0 0; }
.loc-gate-sub { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin: 12px auto 24px; max-width: 38ch; }
.loc-gate-grid { display: grid; gap: 12px; }
.loc-btn {
  display: flex; align-items: center; justify-content: center; text-align: center; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px;
  padding: 18px; color: var(--fg); transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.loc-btn:hover { border-color: var(--accent); transform: translateY(-2px); background: rgba(84,205,189,0.06); }
.loc-btn .lg-name { font-family: var(--serif); font-size: 22px; line-height: 1; }

/* sticky control bar: section tabs + search + chips */
.menu-controls {
  position: sticky; top: var(--nav-h); z-index: 40;
  background: rgba(5, 21, 26, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-2);
}
.menu-controls .inner { max-width: var(--maxw); margin: 0 auto; padding: 12px 20px; }
.seg {
  display: inline-flex; gap: 3px; background: var(--surface); border: 1px solid var(--border-2);
  border-radius: 999px; padding: 4px;
  max-width: 100%; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
}
.seg::-webkit-scrollbar { display: none; }
.seg button {
  background: transparent; color: var(--muted); border: none; cursor: pointer;
  padding: 8px 18px; border-radius: 999px; font-family: var(--sans); font-size: 14px;
  font-weight: 700; transition: all .2s ease; white-space: nowrap;
}
.seg button .ar { font-size: 12px; opacity: .85; margin-left: 6px; }
.seg button.active { background: var(--accent); color: var(--accent-fg); }

/* fixed bottom section switcher (Food / Drinks / Formules) */
.section-dock {
  position: fixed; left: 0; right: 0;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 14px);
  z-index: 45; display: flex; justify-content: center;
  padding: 0 16px; pointer-events: none;
}
.section-dock .seg-bottom {
  pointer-events: auto;
  background: rgba(5, 21, 26, 0.88);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(84, 205, 189, 0.22);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(217, 182, 118, 0.06) inset;
}
.section-dock .seg-bottom { display: flex; }
.section-dock .seg-bottom button {
  flex: 1 1 0; min-width: 92px; text-align: center;
  padding: 9px 14px; font-size: 13.5px;
}
/* leave room above the footer so the dock never sits on top of content */
.menu-page .footer { padding-bottom: calc(var(--footer-pb, 28px) + 74px); }

.searchbar { position: relative; margin-bottom: 12px; }
.searchbar .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted-2); font-size: 15px; }
.searchbar input {
  width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 12px 38px 12px 38px; color: var(--fg); font-family: var(--sans); font-size: 16px; outline: none;
  transition: border-color .18s ease;
}
.searchbar input:focus { border-color: var(--accent); }
.searchbar input::placeholder { color: var(--muted-2); }
.searchbar .clear { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--muted); cursor: pointer; font-size: 18px; line-height: 1; }

.chips { display: flex; gap: 8px; overflow-x: auto; }
.chip {
  flex: 0 0 auto; background: var(--surface-2); color: var(--muted);
  border: 1px solid var(--border); border-radius: 999px; padding: 8px 15px;
  cursor: pointer; font-family: var(--sans); font-size: 13px; font-weight: 600;
  white-space: nowrap; transition: all .18s ease;
}
.chip:hover { color: var(--fg); }
.chip.active { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); font-weight: 700; }
.chip .ar { font-size: 12px; margin-left: 5px; opacity: .8; }
.menu-controls.chips-hidden, .menu-controls .inner:has(#chips:empty) { display: none; }
.chips-hidden { display: none; }

/* formules feature banner (replaces catch-of-the-day in food section) */
.formules-feature {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  width: 100%; text-align: left; cursor: pointer;
  margin: 26px 0 8px; padding: 20px 22px;
  border: 1px solid rgba(217,182,118,0.32);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(217,182,118,0.10), transparent 55%),
    linear-gradient(180deg, rgba(217,182,118,0.08), rgba(217,182,118,0.02));
  border-radius: 16px;
  color: var(--fg); font-family: inherit;
  transition: border-color .2s ease, transform .2s ease;
}
.formules-feature:hover { border-color: var(--gold); transform: translateY(-1px); }
.formules-feature .ff-text { display: flex; flex-direction: column; gap: 6px; }
.formules-feature .ff-title { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.15; }
.formules-feature .ff-sub { font-size: 13.5px; color: var(--muted); line-height: 1.5; max-width: 46ch; }
.formules-feature .ff-cta {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(217,182,118,0.5); border-radius: 999px;
  padding: 10px 16px; transition: background .2s ease;
}
.formules-feature:hover .ff-cta { background: rgba(217,182,118,0.12); }
.formules-feature .ff-cta .arr { font-size: 14px; transform: translateY(-1px); }
@media (max-width: 560px) {
  .formules-feature { flex-direction: column; align-items: flex-start; }
  .formules-feature .ff-cta { align-self: stretch; justify-content: center; }
}

/* sized drink prices (Glass / Quarter / Half / Bottle) */
.item .sizes {
  display: flex; flex-wrap: wrap; gap: 6px 10px;
  justify-content: flex-end; max-width: 60%;
}
.item .sizes .sz {
  display: inline-flex; align-items: baseline; gap: 6px;
  font-family: var(--mono); font-size: 11.5px; color: var(--muted);
}
.item .sizes .sz-lbl { text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); }
.item .sizes .sz-price { color: var(--fg); font-size: 13px; }
.item.has-sizes .line { align-items: flex-start; gap: 14px; }
.item.has-sizes .names { padding-top: 2px; }

/* formule cards (set menu, expandable) */
.formules-block { display: flex; flex-direction: column; gap: 14px; padding: 14px 0 28px; }
.formule-card {
  border: 1px solid rgba(217,182,118,0.22);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(217,182,118,0.06), transparent 60%),
    rgba(255,255,255,0.02);
  border-radius: 16px; overflow: hidden;
  transition: border-color .2s ease, background .2s ease;
}
.formule-card[open] { border-color: rgba(217,182,118,0.42); }
.formule-card summary {
  display: flex; flex-direction: column; gap: 14px; align-items: center;
  padding: 22px 22px 18px; cursor: pointer; list-style: none;
}
.formule-card summary::-webkit-details-marker { display: none; }
.formule-card .fc-head { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.formule-card h3 {
  font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.15;
  margin: 0; color: var(--fg);
}
.formule-card .fc-name-ar { font-size: 17px; color: var(--muted); margin-left: 6px; }
.formule-card .fc-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; margin-top: 2px; }
.formule-card .fc-price {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.formule-card .fc-price-num {
  font-family: var(--serif); font-size: 26px; line-height: 1.05; color: var(--gold); font-weight: 500;
}
.formule-card .fc-price-num .cur { font-size: 19px; opacity: 0.85; margin-right: 2px; }
.formule-card .fc-price-unit {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted-2);
}
.formule-card .fc-chip {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--border-2); border-radius: 999px; padding: 5px 10px;
}
.formule-card .fc-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
}
.formule-card .fc-toggle::after {
  content: "+"; font-family: var(--sans); font-size: 16px; line-height: 1;
  color: var(--accent); margin-left: 4px;
}
.formule-card[open] .fc-toggle::after { content: "−"; }
.formule-card .fc-toggle-close { display: none; }
.formule-card[open] .fc-toggle-open { display: none; }
.formule-card[open] .fc-toggle-close { display: inline; }
.formule-card .fc-body {
  padding: 0 20px 20px;
  border-top: 1px dashed var(--border-2);
}
.formule-card .fc-inc-label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted-2); margin: 14px 0 10px;
}
.formule-card .fc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.formule-card .fc-tag {
  display: inline-flex; align-items: center;
  background: rgba(84,205,189,0.07); border: 1px solid rgba(84,205,189,0.18);
  color: var(--fg); padding: 7px 13px; border-radius: 999px; font-size: 13px; line-height: 1.2;
}
.formule-card .fc-tag-en, .formule-card .fc-tag-ar { white-space: nowrap; }
/* language toggle controls which is shown */
.formules-block[data-lang="en"] .fc-tag-ar { display: none; }
.formules-block[data-lang="ar"] .fc-tag-en { display: none; }
.formules-block[data-lang="ar"] .fc-tag { font-size: 14px; }
.formules-block[data-lang="ar"] .fc-body { direction: rtl; }
.formules-block[data-lang="ar"] .fc-tags { justify-content: flex-end; }
.formules-block[data-lang="ar"] .fc-inc-label { text-align: right; }

/* small language pill, top-right of the formules block */
.fc-lang {
  display: inline-flex; gap: 2px; align-self: flex-end;
  margin: 0 0 4px auto; padding: 3px;
  background: var(--surface); border: 1px solid var(--border-2); border-radius: 999px;
}
.formules-block { align-items: stretch; }
.fc-lang button {
  background: transparent; border: 0; cursor: pointer;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted-2); padding: 5px 11px; border-radius: 999px;
  transition: color .15s ease, background .15s ease;
}
.fc-lang button[lang="ar"] { font-family: var(--sans); letter-spacing: 0; text-transform: none; font-size: 12px; }
.fc-lang button:hover { color: var(--fg); }
.fc-lang button.active { background: var(--accent); color: var(--accent-fg); }

/* catch of the day banner */
.catch {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  border: 1px solid rgba(217,182,118,0.32);
  background: linear-gradient(180deg, rgba(217,182,118,0.08), rgba(217,182,118,0.02));
  border-radius: 16px; padding: 18px 22px; margin: 26px 0 8px;
}
.catch .badge { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(217,182,118,0.5); border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
.catch .ctext h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin: 0; color: var(--fg); }
.catch .ctext h3 .ar { font-size: 16px; color: var(--muted); margin-left: 10px; }
.catch .ctext p { margin: 5px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

/* menu category sections + item rows */
.menu-main { max-width: var(--maxw); margin: 0 auto; padding: 8px 20px 40px; }
.cat-block { margin-top: 38px; scroll-margin-top: 180px; }
.cat-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.cat-head h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 19px; letter-spacing: 0.03em; color: var(--accent); margin: 0; text-transform: uppercase; }
.cat-head h2 .ar { font-style: normal; color: var(--muted); margin-left: 8px; }

.item {
  padding: 16px 0; border-bottom: 1px solid var(--border-2);
}
.item.out { opacity: 0.5; }
.item .line { display: flex; align-items: baseline; gap: 10px; }
.item .names { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; min-width: 0; }
.item .en { font-family: var(--serif); font-size: 18px; font-weight: 500; color: var(--fg); }
.item .ar { font-size: 16px; color: var(--muted); }
.item .leader { flex: 1; align-self: center; border-bottom: 1px dotted var(--border); margin: 0 4px; transform: translateY(-3px); min-width: 18px; }
.item .price { font-family: var(--mono); font-size: 15px; color: var(--fg); white-space: nowrap; letter-spacing: -0.01em; }
.price .cur { font-size: 0.62em; color: var(--muted); margin-left: 2px; vertical-align: 1px; }
.item.out .price { color: var(--muted-2); }
.item .desc { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; max-width: 64ch; font-family: var(--serif); }
.item .badges { display: inline-flex; gap: 6px; }

/* tag badges (dark theme) */
.tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase;
  border-radius: 5px; padding: 3px 7px; line-height: 1.2; white-space: nowrap; border: 1px solid;
}
.tag.signature { color: var(--gold); border-color: rgba(217,182,118,0.45); background: rgba(217,182,118,0.1); }
.tag.spicy { color: var(--spicy); border-color: rgba(229,138,107,0.45); background: rgba(229,138,107,0.1); }
.tag.vegetarian { color: #9fc6a0; border-color: rgba(159,198,160,0.4); background: rgba(159,198,160,0.08); }
/* tag badges (on parchment) */
.dish .tag.signature { color: var(--gold-ink); border-color: rgba(154,106,28,0.4); background: rgba(154,106,28,0.08); }
.dish .tag.spicy { color: var(--spicy-ink); border-color: rgba(180,80,47,0.4); background: rgba(180,80,47,0.07); }
.dish .tag.vegetarian { color: var(--veg-ink); border-color: rgba(79,122,63,0.4); background: rgba(79,122,63,0.07); }

/* empty state */
.empty { text-align: center; padding: 72px 20px; animation: fadeIn .3s ease both; }
.empty h3 { font-family: var(--serif); font-size: 27px; color: var(--fg); margin: 0 0 8px; }
.empty p { color: var(--muted); font-size: 15px; max-width: 380px; margin: 0 auto 20px; line-height: 1.5; }

/* gallery */
.gallery { max-width: var(--maxw); margin: 0 auto; padding: 18px 20px 8px; }
.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.gallery-head h2 { font-family: var(--serif); font-size: 24px; font-weight: 500; margin: 6px 0 0; }
.gallery-head a { font-family: var(--mono); font-size: 11px; color: var(--muted); text-decoration: none; white-space: nowrap; }
.gallery-strip { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; }
.gallery-strip .cell {
  position: relative; flex: 0 0 auto;
  width: 220px; aspect-ratio: 4 / 5;
  border-radius: 16px; overflow: hidden; border: 1px solid var(--border-2);
}
.gallery-strip .cell .ph.gallery-ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(84,205,189,0.08), transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}
.gallery-strip .cell .ph.gallery-ph img {
  width: 58%; max-width: 130px; height: auto;
  opacity: 0.18; filter: grayscale(0.3);
}
.gallery-strip .cell .g-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity .35s ease;
  z-index: 2;
}
.gallery-strip .cell .g-img.loaded { opacity: 1; }

/* =============================================================================
   RESERVATION PAGE
   ============================================================================= */
.reserve-grid { display: grid; gap: clamp(24px, 4vw, 44px); grid-template-columns: 1.4fr 1fr; align-items: start; }
@media (max-width: 880px) { .reserve-grid { grid-template-columns: 1fr; } }

/* call-to-reserve layout */
.reserve-lede {
  font-family: var(--serif); color: var(--muted); max-width: 560px;
  margin: 16px auto 0; font-size: clamp(16px, 2.2vw, 19px); line-height: 1.55;
}
.reserve-cards {
  display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin: clamp(30px, 5vw, 50px) 0 32px;
}
.reserve-card {
  display: flex; flex-direction: column; gap: 16px;
  padding: 24px 22px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(84,205,189,0.07), transparent 60%),
    var(--surface);
  border: 1px solid var(--border-2); border-radius: 18px;
  transition: border-color .2s ease, transform .2s ease;
}
.reserve-card:hover { border-color: rgba(84,205,189,0.3); transform: translateY(-1px); }
.rc-head { display: flex; flex-direction: column; gap: 6px; }
.rc-name {
  font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.1;
  margin: 0; color: var(--fg);
}
.rc-name-ar { font-size: 18px; color: var(--muted); margin-left: 6px; }
.rc-address {
  display: flex; align-items: center; gap: 6px;
  margin: 0; color: var(--muted); font-size: 14px; line-height: 1.4;
}
.rc-address svg { width: 14px; height: 14px; flex: 0 0 auto; color: var(--muted-2); }
.rc-phone {
  font-family: var(--mono); font-size: 15px; color: var(--accent);
  text-decoration: none; letter-spacing: 0.04em;
  border-top: 1px dashed var(--border-2); padding-top: 14px;
}
.rc-phone:hover { color: #6fdccd; }
.rc-actions { display: flex; gap: 8px; }
.rc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  flex: 1 1 0; padding: 11px 16px;
  border: 1px solid rgba(84,205,189,0.3); border-radius: 999px;
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  color: var(--fg); text-decoration: none;
  background: rgba(84,205,189,0.05);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.rc-btn svg { width: 18px; height: 18px; }
.rc-btn:hover { background: rgba(84,205,189,0.12); border-color: var(--accent); transform: translateY(-1px); }
.rc-btn-primary { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.rc-btn-primary:hover { background: #6fdccd; border-color: #6fdccd; color: var(--accent-fg); }

.reserve-hours { max-width: 480px; margin: 0 auto; }
.reserve-hours .card-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted-2); margin: 0 0 14px;
  text-align: center;
}

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: clamp(22px, 3vw, 32px);
}
.card.parchment { background: var(--paper); border-color: var(--paper-edge); color: var(--ink); }

.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.col-2 { grid-column: span 2; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .field.col-2 { grid-column: span 1; } }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 14px; color: var(--fg); font-family: var(--sans); font-size: 16px; outline: none;
  transition: border-color .18s ease; width: 100%;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field.invalid input, .field.invalid select { border-color: var(--spicy); }
.field .err { font-family: var(--sans); font-size: 12.5px; color: var(--spicy); min-height: 0; display: none; }
.field.invalid .err { display: block; }

/* party-size stepper */
.stepper { display: inline-flex; align-items: center; gap: 0; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--bg-2); width: max-content; }
.stepper button { background: var(--surface-2); border: none; color: var(--fg); width: 46px; height: 46px; font-size: 20px; cursor: pointer; transition: background .15s ease; }
.stepper button:hover { background: var(--surface-3); }
.stepper .val { min-width: 56px; text-align: center; font-family: var(--mono); font-size: 16px; }

.form-actions { display: flex; align-items: center; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.form-note { color: var(--muted-2); font-size: 13px; }

/* summary sidebar */
.summary .s-row { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border-2); }
.summary .s-row:last-of-type { border-bottom: 0; }
.summary .s-row .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }
.summary .s-row .v { font-family: var(--serif); font-size: 17px; text-align: right; color: var(--fg); }
.summary .s-row .v.dim { color: var(--muted); font-family: var(--sans); font-size: 14px; }

/* opening hours */
.hours .h-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border-2); font-size: 14.5px; }
.hours .h-row:last-child { border-bottom: 0; }
.hours .h-row.today { color: var(--accent); }
.hours .h-row .d { display: flex; align-items: center; gap: 8px; }
.hours .h-row .today-pill { font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; background: var(--accent); color: var(--accent-fg); border-radius: 4px; padding: 2px 6px; }
.hours .h-row .t { font-family: var(--mono); font-size: 13.5px; color: var(--muted); }
.hours .h-row.today .t { color: var(--accent); }

/* star rating (feedback) */
.rating { display: inline-flex; gap: 6px; direction: ltr; }
.rating button {
  background: none; border: none; cursor: pointer; padding: 2px;
  font-size: 32px; line-height: 1; color: var(--surface-3);
  transition: color .15s ease, transform .12s ease;
}
.rating button:hover { transform: scale(1.12); }
.rating button.on { color: var(--gold); }
.rating-label { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-left: 12px; align-self: center; }

/* quick-pick chips (feedback topics) */
.pickset { display: flex; flex-wrap: wrap; gap: 8px; }
.pick {
  background: var(--surface-2); color: var(--muted); border: 1px solid var(--border);
  border-radius: 999px; padding: 8px 14px; cursor: pointer; font-family: var(--sans);
  font-size: 13px; font-weight: 600; transition: all .16s ease;
}
.pick .ar { font-size: 12px; margin-left: 6px; opacity: 0.8; }
.pick:hover { color: var(--fg); border-color: var(--muted-2); }
.pick.on { background: rgba(84,205,189,0.12); color: var(--accent); border-color: var(--accent); }

/* success state */
.success { text-align: center; padding: clamp(28px, 5vw, 52px); animation: fadeUp .3s ease both; }
.success .check { width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent); display: grid; place-items: center; font-size: 30px; margin: 0 auto 20px; }
.success h2 { font-family: var(--serif); font-size: clamp(28px, 4vw, 38px); font-weight: 500; margin: 0 0 10px; }
.success p { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 460px; margin: 0 auto; }
.recap { margin: 26px auto 0; max-width: 420px; text-align: left; }
.is-hidden { display: none !important; }

/* =============================================================================
   FOOTER (shared) — modern, centered
   ============================================================================= */
.footer {
  position: relative; border-top: 1px solid var(--border-2); margin-top: clamp(40px, 8vw, 80px);
  background:
    radial-gradient(90% 120% at 50% 100%, rgba(84,205,189,0.07), transparent 60%);
}
.footer-inner {
  max-width: 720px; margin: 0 auto;
  padding: clamp(44px, 7vw, 76px) 20px clamp(28px, 4vw, 40px);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px;
}
.footer-logo { width: clamp(86px, 16vw, 116px); height: auto; filter: drop-shadow(0 10px 28px rgba(0,0,0,0.5)); }
.footer-tag { color: var(--muted); font-family: var(--serif); font-size: clamp(15px, 2vw, 18px); line-height: 1.6; max-width: 42ch; margin: 0; }

.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 4px; }
.footer-nav a {
  color: var(--muted); text-decoration: none; font-family: var(--sans); font-weight: 600;
  font-size: 14.5px; padding: 8px 16px; border-radius: 999px; transition: color .18s ease, background .18s ease;
}
.footer-nav a:hover { color: var(--accent); background: var(--surface); }

.footer-branches { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 0; }
.footer-branches a {
  color: var(--muted); text-decoration: none; font-family: var(--serif); font-size: 16px;
  padding: 0 18px; transition: color .18s ease;
}
.footer-branches a + a { border-left: 1px solid var(--border); }
.footer-branches a:hover { color: var(--accent); }
.footer-branches a .ar { font-size: 13px; color: var(--muted-2); margin-left: 7px; }

.footer-social { display: flex; justify-content: center; gap: 12px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 1px solid var(--border); border-radius: 50%;
  color: var(--fg); text-decoration: none;
  transition: border-color .2s ease, color .2s ease, background .2s ease, transform .2s ease;
}
.footer-social a svg { width: 21px; height: 21px; display: block; }
.footer-social a:hover { border-color: var(--accent); color: var(--accent); background: rgba(84,205,189,0.06); transform: translateY(-2px); }

.footer-bottom {
  border-top: 1px solid var(--border-2);
  padding: 18px 20px 26px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.footer-bottom span { font-family: var(--mono); font-size: 11px; color: var(--muted-2); letter-spacing: 0.06em; }
.footer-bottom .ar { color: var(--muted-2); }

/* "Published with Omaki" credit — light version on the dark footer */
.omaki-credit {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  opacity: 0.65; transition: opacity .2s ease;
}
.omaki-credit:hover { opacity: 1; }
.omaki-credit .oc-label {
  font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted-2);
}
.omaki-credit .omaki-mark { width: 12px; height: 12px; color: #fff; display: block; }
.omaki-credit .oc-word {
  font-family: var(--sans); font-weight: 600; font-size: 11px; color: #fff;
  letter-spacing: -0.03em; line-height: 1;
}

/* =============================================================================
   MOBILE OPTIMISATION
   ============================================================================= */
@media (max-width: 720px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .menu-controls .inner { padding: 12px 16px; }
  .menu-main { padding-left: 16px; padding-right: 16px; }
  /* menu title + branch switcher stack cleanly */
  .menu-title { align-items: center; gap: 12px; }
  .menu-title h1 { font-size: clamp(30px, 8vw, 44px); }
  /* the branch dropdown never spills past the screen edge */
  .bmenu { left: 0; right: auto; min-width: min(220px, calc(100vw - 32px)); }
}

/* very small phones (iPhone SE / 320–380px) */
@media (max-width: 380px) {
  .wrap { padding-left: 13px; padding-right: 13px; }
  .branch-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .seg button { padding: 8px 14px; }
  .footer-branches a { padding: 0 12px; }
}

/* respect users who prefer reduced motion */
@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; }
}
