/* ============================================================
   GRABBIT EXPRESS — MENU HUB (Pamplemousses)
   Rebuilt on the Grabbit design system (design-system.md):
   cream/ink/green tokens, Sora + Manrope, shared nav & footer.
   ============================================================ */

:root {
  /* Brand */
  --green:        #7ed957;
  --green-light:  #E9F7DE;
  --green-dark:   #58A03E;
  --green-deep:   #2E7D20;
  --green-rgb:    126, 217, 87;

  /* Surfaces & ink */
  --panel:  #131A13;
  --black:  #0B0F0C;
  --ink:    #101412;
  --cream:  #F6F3EC;
  --card:   #FCFAF5;
  --white:  #fafcfb;

  /* Hairlines */
  --border:       rgba(11,15,12,0.12);
  --border-light: rgba(250,252,251,0.12);

  /* Type */
  --font-display: 'Sora', sans-serif;
  --font-body:    'Manrope', sans-serif;

  /* Motion */
  --ease-out: cubic-bezier(.16,1,.3,1);

  /* Menu-specific */
  --muted: #5A5E59;
  --muted-soft: #7A7F79;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--black);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--green); color: var(--black); }

/* ============================================================
   ANIMATIONS & REVEAL
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.js .reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: opacity 0.2s ease !important;
  }
  .d1, .d2, .d3, .d4, .d5 { transition-delay: 0s !important; }
  .icon-scatter .bi,
  .hero-badge .dot { animation: none !important; }
  .mobile-menu { transition: none !important; }
}

/* ============================================================
   UX POLISH
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}
.nav-links a:not(.btn).active::after { transform: scaleX(1); transform-origin: left center; }
.nav-links a:not(.btn).active { color: var(--green-deep); }

/* ============================================================
   BACKGROUND FOOD ICONS — small vector scatter behind content
   ============================================================ */
@keyframes biWiggle {
  0%, 16%, 100% { transform: rotate(0deg); }
  4%  { transform: rotate(-12deg); }
  9%  { transform: rotate(10deg); }
  13% { transform: rotate(-4deg); }
}
.icon-bg { position: relative; z-index: 0; }
.icon-scatter {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}
.icon-scatter .bi {
  position: absolute;
  display: block;
  animation: biWiggle 2s ease-in-out infinite;
  transform-origin: 50% 50%;
}
.icon-scatter svg { display: block; width: 100%; height: 100%; }

/* ============================================================
   NAV (shared with the home page)
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 64px;
  background: transparent;
}
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(246,243,236,0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
  z-index: -1;
}
.nav.scrolled::before { opacity: 1; }
.nav-brand { display: flex; align-items: center; }
.nav-logo-pill { display: inline-flex; align-items: center; background: transparent; line-height: 0; }
.nav-logo-img { display: block; height: 42px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 24px;
  padding: 10px 26px;
  gap: 30px;
  box-shadow: 0 6px 20px rgba(11,15,12,0.05);
}
.nav-links a:not(.btn) {
  position: relative;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  color: #1A1A1A;
  line-height: 1;
  padding: 6px 2px;
  transition: color 0.2s;
}
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(.16,1,.3,1);
}
@media (hover: hover) and (pointer: fine) {
  .nav-links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left center; }
  .nav-links a:not(.btn):hover { color: var(--green-deep); }
}
.nav-cta { display: flex; align-items: center; }

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--green);
  color: var(--black);
  padding: 12px 22px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.16s var(--ease-out);
  white-space: nowrap;
}
.btn-wa svg { flex-shrink: 0; }
@media (hover: hover) and (pointer: fine) {
  .btn-wa:hover { background: var(--green-dark); color: #fff; }
}

/* Buttons — one behavior everywhere */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease, transform 0.16s var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--black);
  padding: 10px 22px;
  border-radius: 4px;
}
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--green-dark); }
}
.btn-ghost {
  background: transparent;
  color: var(--black);
  padding: 10px 22px;
  border-radius: 4px;
  border: 1.5px solid rgba(17,23,20,0.25);
}
@media (hover: hover) and (pointer: fine) {
  .btn-ghost:hover { border-color: var(--black); }
}
.btn-wa:active,
.btn:active,
.btn-primary:active,
.btn-ghost:active {
  transform: scale(0.97);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--black);
  transition: transform 0.3s var(--ease-out), opacity 0.3s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: flex;
  position: fixed;
  top: 88px; left: 0; right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 24px 24px 32px;
  z-index: 99;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.18s var(--ease-out), transform 0.18s var(--ease-out), visibility 0.18s;
  pointer-events: none;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--black);
  opacity: 0.8;
}
.mobile-menu .btn-primary {
  margin-top: 20px;
  text-align: center;
  justify-content: center;
  border-radius: 4px;
}

/* ============================================================
   HERO (menu hub)
   ============================================================ */
.hero {
  position: relative;
  padding: 150px 64px 64px;
}

.hero-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-copy {
  text-align: left;
  max-width: 640px;
}

.hero-label-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  animation: fadeUp 0.6s var(--ease-out) 0.05s both;
}
.hero-label-row .label-line {
  width: 34px;
  height: 2px;
  background: var(--green-dark);
  flex-shrink: 0;
}
.hero-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-dark);
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.2vw, 3.7rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 22px;
  animation: fadeUp 0.7s var(--ease-out) 0.2s both;
}
.hero-h1 .accent {
  color: var(--green-deep);
  background: none;
  padding: 0;
  border-radius: 0;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.6;
  margin-bottom: 30px;
  animation: fadeUp 0.7s var(--ease-out) 0.3s both;
}

/* Rating stays a chip; delivery is plain text */
.hero-facts {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 32px;
  animation: fadeUp 0.7s var(--ease-out) 0.4s both;
}
.rating-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-light);
  border: 1px solid rgba(var(--green-rgb), 0.5);
  color: var(--green-deep);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 100px;
}
.rating-chip i { color: var(--green-dark); }
.delivery-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  background: none;
  border: none;
}
.delivery-text i { color: var(--green-dark); font-size: 0.85rem; }

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-start;
  animation: fadeUp 0.7s var(--ease-out) 0.5s both;
}
.hero-ctas .btn-primary,
.hero-ctas .btn-ghost {
  border-radius: 100px;
  padding: 16px 30px;
  font-size: 16.5px;
  font-weight: 700;
}
.hero-ctas .btn-primary { gap: 10px; }
.hero-ctas .btn-ghost {
  gap: 10px;
  border: 1.6px solid var(--ink);
  padding: 16px 28px;
}

/* Hero visual — the Lottie animation sits free-standing on the right */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}
.hero-visual dotlottie-wc {
  display: block;
  width: min(440px, 100%);
  aspect-ratio: 1 / 1;
}

/* ============================================================
   SEARCH & FILTERS
   ============================================================ */
.controls-wrap {
  max-width: 1300px;
  margin: 0 auto;
  padding: 8px 64px 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.search-box {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
}
.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-soft);
  font-size: 1.05rem;
  transition: color 0.2s;
}
.search-input {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 15px 44px 15px 48px;
  color: var(--ink);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(11,15,12,0.04);
}
.search-input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(var(--green-rgb), 0.25);
}
.search-input:focus + .search-icon { color: var(--green-deep); }
.search-clear {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-soft);
  padding: 6px;
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .search-clear:hover { color: var(--ink); }
}

.categories-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 6px 4px 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.categories-bar::-webkit-scrollbar { height: 4px; }
.categories-bar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.16s var(--ease-out), background 0.2s, color 0.2s, border-color 0.2s;
}
@media (hover: hover) and (pointer: fine) {
  .cat-pill:hover {
    background: var(--green-light);
    color: var(--green-deep);
    border-color: rgba(var(--green-rgb), 0.5);
    transform: translateY(-2px);
  }
}
.cat-pill.active {
  background: var(--green);
  color: var(--black);
  border-color: var(--green);
  font-weight: 700;
  transform: translateY(-2px);
}

/* ============================================================
   DIRECTORY GRID
   ============================================================ */
.directory-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 48px 64px 96px;
}

.directory-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.section-label.green { color: var(--green-deep); }
.directory-title-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--ink);
}
.grid-count {
  font-size: 0.875rem;
  color: var(--muted-soft);
  font-weight: 500;
  padding-bottom: 6px;
}

.restaurants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 26px;
}

.card {
  background: var(--card);
  border: 1px solid rgba(16,20,18,0.08);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
  position: relative;
}
.card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--green-light);
}
.card-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,15,12,0.28) 0%, transparent 45%);
  pointer-events: none;
}
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(16,20,18,0.12);
    border-color: rgba(var(--green-rgb), 0.45);
  }
  .card:hover .card-img { transform: scale(1.05); }
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(250,252,251,0.92);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(var(--green-rgb), 0.5);
  color: var(--green-deep);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.card-eta {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(250,252,251,0.92);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.card-eta i { color: var(--green-dark); }
.card-logo {
  position: absolute;
  bottom: 14px;
  left: 14px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: contain;
  padding: 5px;
  box-sizing: border-box;
  background: var(--white);
  border: 2px solid var(--white);
  box-shadow: 0 6px 16px rgba(11,15,12,0.18);
}

.card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-cat {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--ink);
}
.card-tagline {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-location {
  font-size: 0.8rem;
  color: var(--muted-soft);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  margin-top: auto;
}
.card-location i { color: var(--green-dark); }

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.card-actions-triple { grid-template-columns: 1fr 1fr 1fr; }

.btn-card-menu,
.btn-card-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.16s var(--ease-out);
}
.btn-card-menu {
  background: var(--green);
  color: var(--black);
}
@media (hover: hover) and (pointer: fine) {
  .btn-card-menu:hover { background: var(--green-dark); color: #fff; }
}
.btn-card-order {
  background: transparent;
  border: 1.5px solid rgba(17,23,20,0.22);
  color: var(--ink);
}
@media (hover: hover) and (pointer: fine) {
  .btn-card-order:hover { border-color: var(--ink); }
}
.btn-card-menu:active,
.btn-card-order:active { transform: scale(0.97); }

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
}
.empty-state i {
  font-size: 2.8rem;
  color: var(--green);
  margin-bottom: 16px;
}
.empty-state h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.empty-state p { color: var(--muted); }

/* ============================================================
   ORDER MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(16,20,18,0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-container {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(16,20,18,0.2);
  position: relative;
  transform: scale(0.96) translateY(8px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
.modal-overlay.active .modal-container { transform: scale(1) translateY(0); opacity: 1; }
@media (prefers-reduced-motion: reduce) { .modal-container { transition: none; } }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--cream);
}
.modal-venue-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: background 0.2s, color 0.2s, transform 0.16s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .modal-close-btn:hover { background: var(--green-light); color: var(--green-deep); }
}
.modal-close-btn:active { transform: scale(0.94); }

.modal-body {
  padding: 30px 24px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.modal-lead {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 22px;
  text-align: center;
  max-width: 360px;
}
.order-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.order-opt-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: 14px;
  transition: background 0.2s, border-color 0.2s, transform 0.16s var(--ease-out);
}
.order-opt-btn.whatsapp {
  background: var(--green);
  color: var(--black);
  font-weight: 700;
}
.order-opt-label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.order-opt-label i { font-size: 1.35rem; }
@media (hover: hover) and (pointer: fine) {
  .order-opt-btn.whatsapp:hover { background: var(--green-dark); color: #fff; }
}
.order-opt-btn:active { transform: scale(0.98); }

/* ============================================================
   FOOTER (shared with the home page)
   ============================================================ */
.footer {
  position: relative;
  background: var(--cream);
  padding: 0 48px 48px;
}
.footer-canvas-card {
  position: relative;
  width: 100%;
  max-width: 1344px;
  margin: 0 auto;
  background: var(--black);
  border-radius: 24px;
  overflow: hidden;
  cursor: crosshair;
  user-select: none;
  border: 1px solid rgba(252,250,245,0.1);
  box-shadow: 0 24px 48px rgba(11,15,12,0.35);
  display: flex;
  flex-direction: column;
}
.footer-canvas-card-inner {
  padding: 72px 64px 48px;
  position: relative;
  z-index: 2;
  pointer-events: none; /* Let pointer events through to the card for the trail */
}
.footer-canvas-card-inner a,
.footer-canvas-card-inner button { pointer-events: auto; }

.footer-top {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(252,250,245,0.12);
  margin-bottom: 32px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--green); }
.footer-brand .nav-logo {
  color: var(--white);
  display: block;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(252,250,245,0.6);
  max-width: 260px;
  line-height: 1.6;
}
.footer-links-group { display: flex; gap: 64px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(252,250,245,0.55);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(252,250,245,0.7);
  transition: color 0.2s;
}
@media (hover: hover) and (pointer: fine) {
  .footer-col ul li a:hover { color: var(--green); }
}
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(252,250,245,0.07);
  border: 1px solid rgba(252,250,245,0.14);
  color: rgba(252,250,245,0.75);
  font-size: 1.1rem;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .footer-social a:hover {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
    transform: translateY(-2px);
  }
}
.footer-seo {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 20px 0;
  border-top: 1px solid var(--border-light);
  margin-bottom: 24px;
}
.footer-seo span { font-size: 0.72rem; color: rgba(252,250,245,0.4); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy { font-size: 0.8rem; color: rgba(252,250,245,0.45); }
.footer-location {
  font-size: 0.8rem;
  color: rgba(252,250,245,0.45);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-location::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* Badge trail + word stickers (footer interactions) */
.badge-trail-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.badge-item {
  position: absolute;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
  padding: 3px 6px;
  border-radius: 4px;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  will-change: opacity, transform;
  pointer-events: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.sticker-stage {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

/* ============================================================
   STANDALONE MENU PAGE (/menu/:id) — direct, shareable link
   for WhatsApp agents; no popup, plain scrollable page.
   ============================================================ */
.venue-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  background: rgba(246,243,236,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.venue-nav .nav-logo-img { height: 36px; }
.venue-nav-actions { display: flex; align-items: center; gap: 10px; }

.menu-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 110px 24px 80px;
}
.menu-page-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px;
}
.menu-page-logo {
  display: block;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: contain;
  padding: 8px;
  box-sizing: border-box;
  background: var(--white);
  border: 2px solid var(--white);
  box-shadow: 0 10px 24px rgba(16,20,18,0.15);
  margin: 0 auto 16px;
}
.menu-page-cat {
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.menu-page-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  color: var(--ink);
}
.menu-page-tagline { color: var(--muted); font-size: 1.05rem; margin-bottom: 18px; }
.menu-page-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  color: var(--muted-soft);
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.menu-page-meta i { color: var(--green-dark); margin-right: 6px; }
.menu-page-desc {
  max-width: 640px;
  margin: 0 auto 26px;
  color: var(--muted);
  line-height: 1.6;
}
.menu-page-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.menu-page-actions .btn-primary,
.menu-page-actions .btn-ghost { border-radius: 100px; }

/* Photo catalog — responsive grid of dish cards */
.menu-page-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
}
.menu-page-photo {
  margin: 0;
  background: var(--card);
  border: 1px solid rgba(16,20,18,0.08);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(16,20,18,0.05);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.menu-page-photo-frame {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--green-light);
}
.menu-page-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (hover: hover) and (pointer: fine) {
  .menu-page-photo:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(16,20,18,0.12);
    border-color: rgba(var(--green-rgb), 0.45);
  }
  .menu-page-photo:hover .menu-page-photo-frame img { transform: scale(1.05); }
}
.menu-page-photo figcaption {
  padding: 12px 16px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  text-align: left;
}
.menu-page-pdf { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.menu-page-pdf iframe {
  width: 100%;
  height: 75vh;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--white);
}

/* More venues strip */
.catalog-related {
  margin-top: 76px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.catalog-related-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 28px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.related-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid rgba(16,20,18,0.08);
  border-radius: 18px;
  padding: 14px 16px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(16,20,18,0.1);
    border-color: rgba(var(--green-rgb), 0.45);
  }
}
.related-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
  padding: 4px;
  box-sizing: border-box;
  background: var(--white);
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.related-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.related-cat {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-dark);
}
.related-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.venue-footer {
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.venue-footer img { height: 32px; }
.venue-footer a {
  color: var(--green-deep);
  font-weight: 600;
  font-size: 0.875rem;
}
.venue-footer-copy { color: var(--muted-soft); font-size: 0.8rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 120px 24px 56px; }
  .hero-inner { gap: 40px; }
  .controls-wrap { padding: 8px 24px 0; }
  .directory-container { padding: 40px 24px 72px; }
  .footer { padding: 0 24px 24px; }
  .footer-canvas-card { border-radius: 20px; }
  .footer-canvas-card-inner { padding: 56px 24px 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .hero-copy { max-width: 560px; margin: 0 auto; text-align: center; }
  .hero-label-row { justify-content: center; }
  .hero-facts { justify-content: center; }
  .hero-ctas { justify-content: center; }
  .hero-visual { min-height: 0; }
  .hero-visual dotlottie-wc { width: min(320px, 80vw); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav { padding: 0 24px; }
  .hero { padding-top: 128px; }
  .hero-h1 { font-size: 2.4rem; }
  .hero-facts { gap: 14px; }
  .restaurants-grid { grid-template-columns: 1fr; }
  .footer-links-group { flex-direction: column; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .menu-page { padding: 110px 16px 60px; }
  .menu-page-meta { gap: 12px; font-size: 0.82rem; }
}
