/* centralasianfood.com — Mobile-First Polished Styling & Theme */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* =============================================
   DESIGN TOKENS
   ============================================= */
:root {
  --bg-main: #09121c;
  --bg-surface: #101c2a;
  --bg-card: #152538;
  --bg-card-hover: #1c3048;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(0, 168, 150, 0.35);

  --color-primary: #00a896;
  --color-primary-hover: #02c3ae;
  --color-terracotta: #d96b27;
  --color-gold: #e5a93c;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --font-serif: 'Cinzel', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(0, 168, 150, 0.2);
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #132437 0%, var(--bg-main) 75%);
}

button,
input,
a {
  touch-action: manipulation;
}

:focus-visible {
  outline: 3px solid rgba(229, 169, 60, 0.9);
  outline-offset: 3px;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--color-primary-hover); }

[x-cloak] { display: none !important; }
.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;
}

/* =============================================
   LAYOUT
   ============================================= */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* =============================================
   HEADER — Mobile First
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 18, 28, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding-top: env(safe-area-inset-top, 0px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
  flex-shrink: 0;
}
.brand-word-central { color: #fff; }
.brand-word-asian { color: var(--color-primary-hover); }
.brand-word-food { color: var(--color-gold); }
.brand-logo .dot-com,
.footer-brand-title .dot-com { color: var(--color-terracotta); }

/* Desktop Nav — hidden on mobile */
.desktop-nav {
  display: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}
.nav-link {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.nav-link:hover { color: #fff; }

.nav-btn {
  background: linear-gradient(135deg, var(--color-terracotta), #b85012);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 4px 14px rgba(217, 107, 39, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  min-height: 40px;
  white-space: nowrap;
}
.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 107, 39, 0.5);
  color: #fff;
}

/* Mobile hamburger — shown on mobile, hidden on desktop */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
}
.mobile-menu-toggle:active {
  transform: scale(0.94);
  background: rgba(255, 255, 255, 0.14);
}

/* Mobile full-screen drawer */
.mobile-nav-drawer {
  position: fixed;
  top: calc(64px + env(safe-area-inset-top, 0px));
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(9, 18, 28, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 99;
  padding: 1.5rem 1.25rem max(2rem, calc(1.5rem + env(safe-area-inset-bottom, 0px)));
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border-color);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-nav-drawer.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-nav-link:active {
  color: var(--color-primary);
  padding-left: 4px;
}
.mobile-nav-link:hover { color: var(--color-primary); }

/* =============================================
   HERO
   ============================================= */
.hero-section {
  position: relative;
  padding: 1.85rem 0 1.5rem;
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 168, 150, 0.2) 0%, rgba(217, 107, 39, 0.1) 40%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.hero-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 0.85rem;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 5.2vw, 2.25rem);
  font-weight: 800;
  line-height: 1.22;
  color: #fff;
  margin-bottom: 0.85rem;
  padding: 0 0.25rem;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.hero-title span {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-terracotta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  max-width: 680px;
  margin: 0 auto 1.5rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  padding: 0 0.5rem;
  line-height: 1.55;
}

/* =============================================
   SEARCH BAR
   ============================================= */
.search-wrapper {
  max-width: 640px;
  margin: 0 auto;
}
.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  padding: 4px 8px 4px 16px;
  box-shadow: var(--shadow-glow);
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 48px;
}
.search-box:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 25px rgba(0, 168, 150, 0.35);
}
.search-icon {
  font-size: 1.05rem;
  margin-right: 8px;
  color: var(--color-primary);
  flex-shrink: 0;
}
.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 16px; /* 16px prevents iOS Safari auto-zoom on input focus */
  color: #fff;
  font-family: var(--font-sans);
  min-width: 0;
}
.search-input::placeholder { color: var(--text-muted); }
.search-input::-webkit-search-cancel-button { display: none; }
.clear-search-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.2s, background 0.2s, transform 0.15s;
}
.clear-search-btn:active {
  transform: scale(0.9);
}
.clear-search-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

/* =============================================
   STATS BAR — 2-col on mobile, 4-col on desktop
   ============================================= */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
}
.stat-item {
  background: rgba(255, 255, 255, 0.03);
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.stat-number {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-gold);
  display: block;
  line-height: 1.2;
}
.stat-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  font-weight: 600;
  display: block;
  margin-top: 2px;
  white-space: nowrap;
}

/* =============================================
   DIRECTORY & FILTER CONTROLS
   ============================================= */
.directory-section {
  padding: 1rem 0 3.5rem;
}
.controls-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.1rem 0.85rem;
  margin-bottom: 1.25rem;
}
.filter-group-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* Clean wrapping chips row */
.chips-scroll-wrapper {
  margin-bottom: 0.85rem;
}
.chips-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.location-filter-groups {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 0.85rem;
}
.location-all {
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border-color);
}
.location-filter-group {
  display: grid;
  gap: 0.4rem;
}
.location-group-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 700;
}

.filter-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 6px 13px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.1s;
  font-family: var(--font-sans);
  user-select: none;
  -webkit-user-select: none;
}
.filter-chip:active {
  transform: scale(0.96);
}
.filter-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.filter-chip.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(0, 168, 150, 0.25);
}

.secondary-filters {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-color);
}
.directory-display-controls {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.sort-control {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
}
.sort-select {
  min-height: 44px;
  padding: 8px 34px 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-card-hover);
  color: var(--text-primary);
  font: inherit;
  cursor: pointer;
}
.sort-select:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.halal-toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  user-select: none;
  -webkit-user-select: none;
  width: fit-content;
}
.halal-toggle-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.halal-toggle-switch {
  position: relative;
  width: 40px;
  height: 22px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  transition: background 0.2s;
  flex-shrink: 0;
}
.halal-toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.halal-toggle-label input[type="checkbox"]:checked + .halal-toggle-switch {
  background: var(--color-primary);
}
.halal-toggle-label input[type="checkbox"]:checked + .halal-toggle-switch::after {
  transform: translateX(18px);
}
.halal-toggle-label input[type="checkbox"]:focus-visible + .halal-toggle-switch {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.view-toggle-group {
  display: flex;
  gap: 4px;
  background: rgba(0, 0, 0, 0.25);
  padding: 3px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}
.toggle-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
  font-family: var(--font-sans);
  transition: all 0.2s;
}
.toggle-btn:active {
  transform: scale(0.98);
}
.toggle-btn.active {
  background: var(--bg-card-hover);
  color: var(--color-gold);
  border-color: rgba(229, 169, 60, 0.4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* =============================================
   RESULTS META BAR
   ============================================= */
.results-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  gap: 0.5rem;
}
.results-count {
  color: var(--color-primary);
  font-weight: 700;
}
.favorites-meta {
  color: var(--color-gold);
  font-weight: 600;
  font-size: 0.82rem;
  white-space: nowrap;
}

/* =============================================
   RESTAURANT CARDS — Single column on mobile
   ============================================= */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
.restaurant-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.restaurant-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.cuisine-tag {
  background: rgba(0, 168, 150, 0.15);
  color: var(--color-primary);
  border: 1px solid var(--border-accent);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
}
.closed-tag {
  background: rgba(229, 62, 62, 0.15);
  color: #fc8181;
  border-color: rgba(229, 62, 62, 0.4);
}
.favorite-btn {
  background: rgba(255, 255, 255, 0.07);
  border: none;
  color: var(--text-muted);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, transform 0.15s;
  flex-shrink: 0;
}
.favorite-btn:active {
  transform: scale(0.9);
}
.favorite-btn.is-fav {
  color: #fc8181;
  background: rgba(229, 62, 62, 0.15);
}

.restaurant-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}
.restaurant-name a { color: inherit; }
.restaurant-name a:hover { color: var(--color-primary); }
.restaurant-zone {
  font-size: 0.8rem;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.stars { color: var(--color-gold); font-weight: 700; }
.reviews { color: var(--text-muted); font-size: 0.78rem; }
.price-pill { margin-left: auto; color: #68d391; font-weight: 700; }

.card-desc {
  font-size: 0.87rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.55;
}

.signature-dishes-wrap { margin-bottom: 1rem; }
.dishes-title {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.dishes-pills { display: flex; flex-wrap: wrap; gap: 4px; }
.dish-pill {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-size: 0.73rem;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-color);
}
@media (max-width: 350px) {
  .card-bottom {
    grid-template-columns: 1fr;
  }
}
.action-btn {
  width: 100%;
  text-align: center;
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  transition: all 0.2s;
  white-space: nowrap;
}
.action-btn:active {
  transform: scale(0.98);
}
.action-btn-primary {
  background: var(--color-primary);
  color: #fff;
  border: none;
}
.action-btn-primary:hover { background: var(--color-primary-hover); color: #fff; }
.action-btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}
.action-btn-outline:hover { background: rgba(255,255,255,0.06); color: #fff; }

/* =============================================
   EMPTY STATE
   ============================================= */
.empty-state {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem 1.5rem;
  text-align: center;
  margin: 1rem 0;
}
.empty-state-emoji { font-size: 2.5rem; margin-bottom: 0.85rem; }
.empty-state h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.empty-state p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 400px;
  margin: 0 auto 1.25rem;
}

/* =============================================
   BOTTOM SHEET MODALS (mobile) / Center on desktop
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100; /* above Leaflet controls and map panes */
  background: rgba(5, 10, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
.modal-content {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-accent);
  border-radius: 24px 24px 0 0;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.25rem 1.25rem max(2rem, calc(1.5rem + env(safe-area-inset-bottom, 0px)));
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-pull-handle {
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  margin: 0 auto 1.25rem;
}
.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-secondary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
}
.modal-close-btn:active {
  transform: scale(0.92);
}
.modal-close-btn:hover { background: rgba(255,255,255,0.15); color: #fff; }

.modal-header-meta { display: flex; gap: 6px; margin-bottom: 0.75rem; flex-wrap: wrap; }
.modal-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: #fff;
  margin-bottom: 0.35rem;
  line-height: 1.25;
  padding-right: 2.5rem; /* clear of close button */
}
.modal-address {
  color: var(--text-secondary);
  font-size: 0.87rem;
  margin-bottom: 1.25rem;
}
.modal-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  background: var(--bg-card);
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}
.info-item-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.info-item-value {
  font-size: 0.87rem;
  color: #fff;
  font-weight: 600;
}
.modal-section-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.4rem;
}

/* =============================================
   MAP VIEW
   ============================================= */
.map-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1rem;
  margin-bottom: 2.5rem;
}
.map-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.map-header h2 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: #fff;
}
.map-header p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 2px;
}
.restaurant-map-canvas {
  height: 340px;
  width: 100%;
  background: #0c1924;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-accent);
}
.restaurant-map-canvas .leaflet-control-attribution { font-size: 0.65rem; }
.restaurant-map-canvas .leaflet-tooltip { font-family: var(--font-sans); font-weight: 700; }

.featured-city-guide {
  align-items: center;
  background: linear-gradient(135deg, rgba(0, 168, 150, 0.13), rgba(229, 169, 60, 0.08));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
}
.featured-city-guide h2 {
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  line-height: 1.25;
  margin: 0.25rem 0 0.5rem;
}
.featured-city-guide p:not(.eyebrow) {
  color: var(--text-secondary);
  max-width: 700px;
}
.featured-city-guide .action-btn {
  justify-self: start;
  text-align: center;
}

/* =============================================
   FOOD GUIDE SECTION
   ============================================= */
.food-guide-section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border-color);
}
.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 560px;
  margin: 0 auto;
}
.dishes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.dish-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: border-color 0.2s;
}
.dish-card:hover { border-color: rgba(229, 169, 60, 0.3); }
.dish-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.6rem;
}
.dish-icon { font-size: 1.8rem; flex-shrink: 0; }
.dish-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: #fff;
  font-weight: 700;
}
.dish-native { font-size: 0.78rem; color: var(--color-gold); margin-top: 1px; }
.dish-tagline {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 0.6rem;
}
.dish-desc { font-size: 0.87rem; color: var(--text-secondary); margin-bottom: 1rem; line-height: 1.55; }

/* =============================================
   QUIZ SECTION
   ============================================= */
.quiz-section {
  background: linear-gradient(135deg, #0e1e2f 0%, #172c42 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 2rem 1.25rem;
  margin: 2.5rem 0;
  text-align: center;
}
.quiz-inner {
  max-width: 520px;
  margin: 0 auto;
  background: var(--bg-surface);
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  text-align: left;
}
.quiz-step-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}
.quiz-options { display: flex; flex-direction: column; gap: 0.6rem; }
.quiz-option-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  transition: all 0.2s;
  min-height: 48px;
}
.quiz-option-btn:active {
  transform: scale(0.98);
}
.quiz-option-btn:hover {
  background: rgba(0, 168, 150, 0.1);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  margin-top: auto;
  background: #050a11;
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 0 max(2rem, calc(1.5rem + env(safe-area-inset-bottom, 0px)));
  font-size: 0.88rem;
  color: var(--text-muted);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand-title {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  color: #fff;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.85rem;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.87rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--color-primary); }
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.82rem;
}
.footer-bottom a { color: var(--text-secondary); }
.footer-bottom a:hover { color: var(--color-primary); }

/* =============================================
   INDEXABLE DIRECTORY & RESTAURANT PAGES
   ============================================= */
.detail-page,
.listing-page,
.error-page {
  padding: 3rem 0 4.5rem;
}
.detail-container { max-width: 1050px; }
.breadcrumbs {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 2rem;
}
.detail-hero,
.listing-hero {
  padding: 2rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0, 168, 150, 0.12), rgba(217, 107, 39, 0.08));
  margin-bottom: 1.5rem;
}
.detail-hero h1,
.listing-hero h1,
.error-page h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.2;
  margin: 1rem 0 0.65rem;
}
.halal-tag { margin-left: 0.35rem; color: #68d391; }
.detail-hero .closed-tag { margin-left: 0.35rem; }
.detail-location { color: var(--color-gold); font-weight: 700; }
.detail-description,
.listing-hero p,
.error-page p { color: var(--text-secondary); max-width: 760px; margin-top: 1rem; }
.detail-grid { display: grid; gap: 1.25rem; }
.detail-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.detail-panel h2 { font-family: var(--font-serif); font-size: 1.25rem; margin-bottom: 1rem; }
.detail-list { display: grid; gap: 0.8rem; }
.detail-list div { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; }
.detail-list dt { color: var(--text-muted); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; }
.detail-list dd { color: var(--text-primary); }
.detail-actions { display: grid; gap: 0.65rem; margin-top: 1.5rem; }
.detail-dishes,
.detail-features { padding-left: 1.2rem; color: var(--text-secondary); display: grid; gap: 0.45rem; margin-bottom: 1.5rem; }
.detail-back { margin-top: 1.5rem; }
.eyebrow { color: var(--color-primary) !important; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.listing-results-title {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 4vw, 2rem);
  margin: 2.5rem 0 1.25rem;
}
.editorial-guide { display: grid; gap: 1.5rem; }
.editorial-guide-intro,
.editorial-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.editorial-guide h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  line-height: 1.3;
  margin-bottom: 0.85rem;
}
.editorial-guide h3 { color: var(--text-primary); font-size: 1rem; line-height: 1.4; }
.editorial-guide p { color: var(--text-secondary); }
.editorial-guide p + p { margin-top: 0.9rem; }
.editorial-note {
  border-left: 3px solid var(--color-gold);
  padding: 0.8rem 1rem;
  background: rgba(229, 169, 60, 0.07);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.88rem;
}
.editorial-picks-grid,
.editorial-faq-grid,
.editorial-columns { display: grid; gap: 1rem; }
.editorial-pick,
.editorial-faq-grid > div {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  background: var(--bg-card);
}
.editorial-pick-label {
  color: var(--color-gold) !important;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}
.editorial-pick p:last-child,
.editorial-faq-grid p { font-size: 0.9rem; margin-top: 0.55rem; }
.editorial-link-list {
  color: var(--text-secondary);
  display: grid;
  gap: 0.8rem;
  padding-left: 1.2rem;
}
.temporarily-closed-listings,
.historical-listings {
  border-top: 1px solid var(--border-color);
  margin-top: 3rem;
  padding-top: 0.5rem;
}
.temporarily-closed-listings > p,
.historical-listings > p {
  color: var(--text-secondary);
  margin: -0.5rem 0 1.25rem;
  max-width: 760px;
}
.temporarily-closed-listings .restaurant-card,
.historical-listings .restaurant-card { opacity: 0.82; }
.static-listing-grid .restaurant-card { gap: 0.75rem; }
.error-page { text-align: center; min-height: 60vh; display: grid; place-items: center; }
.error-page p { margin-left: auto; margin-right: auto; }
.error-home { max-width: 260px; margin: 1.5rem auto 0; }
.sitemap-grid { display: grid; gap: 1.25rem; }
.sitemap-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.sitemap-section h2 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.sitemap-section ul {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}
.sitemap-section li { display: grid; gap: 0.1rem; }
.sitemap-section a { font-weight: 700; }
.sitemap-section span { color: var(--text-muted); font-size: 0.82rem; }

/* =============================================
   BLOG ARTICLES
   ============================================= */
.article-container { max-width: 920px; }
.article-header {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2rem;
  padding: 1rem 0 2rem;
}
.article-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 3.6rem);
  line-height: 1.08;
  margin: 0.45rem 0 1rem;
  max-width: 850px;
}
.article-deck {
  color: var(--text-secondary);
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  line-height: 1.7;
  max-width: 760px;
}
.article-meta {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: 1rem;
}
.article-image {
  display: block;
  height: auto;
  margin-bottom: 2rem;
  width: 100%;
  border-radius: var(--radius-lg);
}
.article-copy { font-size: 1rem; line-height: 1.75; }
.article-copy section[id] { scroll-margin-top: 5.5rem; }
.article-copy > p,
.article-copy > section,
.article-copy > aside { margin-bottom: 2rem; }
.article-copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 4vw, 2rem);
  line-height: 1.25;
  margin-bottom: 0.8rem;
}
.article-copy h3 {
  font-size: 1.1rem;
  line-height: 1.4;
  margin: 1.5rem 0 0.6rem;
}
.article-copy p { color: var(--text-secondary); }
.article-copy p + p { margin-top: 0.9rem; }
.article-toc,
.article-cta {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
}
.article-toc h2 { font-size: 1.2rem; }
.article-toc ol {
  color: var(--text-secondary);
  display: grid;
  gap: 0.45rem;
  padding-left: 1.25rem;
}
.metro-restaurant-list {
  color: var(--text-secondary);
  display: grid;
  gap: 0.8rem;
  padding-left: 1.25rem;
}
.metro-city-list { display: grid; gap: 1rem; margin-top: 1.25rem; }
.metro-city-list > section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.1rem;
}
.metro-city-list h3 { margin-top: 0; }
.article-status-note {
  border-left: 3px solid var(--color-gold);
  padding-left: 0.8rem;
}
.article-cta h2 { margin-bottom: 0.5rem; }
.article-cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.1rem; }
.article-cta-actions .action-btn { width: auto; }

@media (min-width: 760px) {
  .detail-grid { grid-template-columns: 1fr 1fr; }
  .featured-city-guide {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 1.75rem 2rem;
  }
  .editorial-picks-grid { grid-template-columns: repeat(2, 1fr); }
  .editorial-columns { grid-template-columns: repeat(2, 1fr); }
  .editorial-faq-grid { grid-template-columns: repeat(3, 1fr); }
  .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
  .sitemap-restaurants { grid-column: 1 / -1; }
  .sitemap-restaurants ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metro-city-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* =============================================
   FORM INPUTS (shared)
   ============================================= */
.form-field { display: flex; flex-direction: column; gap: 4px; }
.form-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 16px; /* 16px prevents iOS Safari auto-zoom on input focus */
  font-family: var(--font-sans);
  transition: border-color 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}
.form-textarea { resize: vertical; min-height: 80px; }
.form-select option { background: var(--bg-card); }
.form-error {
  color: #fca5a5;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* =============================================
   SUCCESS STATE
   ============================================= */
.success-box {
  background: rgba(72,187,120,0.12);
  border: 1px solid rgba(72,187,120,0.4);
  color: #68d391;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
}

@media (max-width: 380px) {
  .brand-logo { font-size: 1rem; }
  .hero-title { font-size: 1.6rem; }
  .hero-desc { font-size: 0.84rem; padding-inline: 0.15rem; }
  .stat-label { white-space: normal; line-height: 1.25; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =============================================
   DESKTOP OVERRIDES (min-width: 768px)
   ============================================= */
@media (min-width: 768px) {
  /* Layout */
  .container { padding: 0 1.25rem; }

  /* Show desktop nav, hide mobile controls */
  .desktop-nav { display: block; }
  .mobile-menu-toggle { display: none; }
  .mobile-nav-drawer { display: none !important; }
  /* Header */
  .header-inner { height: 68px; }

  /* Hero */
  .hero-section { padding: 4rem 0 3rem; }
  .hero-title { font-size: 3rem; }
  .hero-desc { font-size: 1.05rem; }

  /* Stats */
  .stats-bar { grid-template-columns: repeat(4, 1fr); margin-top: 2.5rem; }

  /* Filters */
  .controls-card { padding: 1.25rem; }
  .chips-scroll-wrapper { margin-bottom: 1rem; }
  .filter-chip { padding: 7px 16px; font-size: 0.85rem; }
  .secondary-filters { flex-direction: row; justify-content: space-between; align-items: center; }
  .directory-display-controls { flex-direction: row; align-items: center; }
  .view-toggle-group { width: auto; }
  .toggle-btn { flex: initial; min-width: 120px; }

  /* Cards */
  .cards-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
  .card-bottom { flex-direction: row; display: flex; }
  .action-btn { width: auto; flex: 1; }

  /* Dishes guide */
  .dishes-grid { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
  .section-title { font-size: 2.25rem; }

  /* Map */
  .restaurant-map-canvas { height: 440px; }

  /* Modal — center on desktop instead of bottom sheet */
  .modal-overlay { align-items: center; padding: 1.5rem; }
  .modal-content {
    border-radius: var(--radius-lg);
    border-top: none;
    border: 1px solid var(--border-accent);
    max-width: 700px;
    padding: 2.25rem;
    animation: none;
    max-height: 90vh;
  }
  .modal-pull-handle { display: none; }
  .modal-close-btn { top: 1.25rem; right: 1.25rem; width: 36px; height: 36px; }

  /* Footer */
  .footer-inner { flex-direction: row; justify-content: space-between; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 3.5rem; }
  .cards-grid { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }
}
