/* ===========================================================
   Ravintola Thali — design tokens
   Palette drawn from Nepalese spice and landscape: chili red,
   saffron, and Himalayan pine, on a warm rice-paper background.
   =========================================================== */
:root {
  --color-bg: #fbf4e6;
  --color-bg-alt: #f3e8d2;
  --color-ink: #241c15;
  --color-ink-soft: #4a3f33;
  --color-chili: #c1432b;
  --color-chili-dark: #9c3220;
  --color-saffron: #d9a441;
  --color-pine: #2f4739;
  --color-pine-dark: #22342a;
  --color-brass: #a9762f;
  --color-line: rgba(36, 28, 21, 0.14);
  --color-card: #fffaf0;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Work Sans", "Segoe UI", sans-serif;

  --radius-md: 10px;
  --radius-lg: 18px;
  --shadow-card: 0 10px 30px rgba(36, 28, 21, 0.1);
  --container-width: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--color-chili-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--color-saffron);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--color-ink);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-chili-dark);
  font-weight: 600;
  margin-bottom: 0.6em;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--color-pine);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
  top: 0;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 244, 230, 0.92);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--color-line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-ink);
  text-decoration: none;
}
.brand-mark {
  width: 34px;
  height: 34px;
  color: var(--color-chili);
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--color-ink-soft);
  font-weight: 500;
  font-size: 0.96rem;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  background: var(--color-pine);
  color: #fff;
}
.nav-cta {
  background: var(--color-chili) !important;
  color: #fff !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--color-chili-dark) !important; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 1.2rem;
}
.lang-switch-item { display: flex; align-items: center; }
.lang-switch { display: flex; gap: 2px; border: 1px solid var(--color-line); border-radius: 999px; padding: 3px; background: var(--color-card); }
.lang-link { padding: 5px 10px !important; border-radius: 999px !important; font-size: 0.8rem !important; font-weight: 600 !important; color: var(--color-ink-soft) !important; }
.lang-link.active { background: var(--color-pine) !important; color: #fff !important; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-line);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 10px 24px 20px; }
  .main-nav a { display: block; }
}

/* ---------- Mountain divider (signature element) ---------- */
.mountain-divider { display: block; width: 100%; height: 46px; color: var(--color-bg); }
.mountain-divider.flip { transform: scaleY(-1); }
.mountain-divider path { fill: currentColor; }
.section-dark + .mountain-divider,
.mountain-divider.on-dark { color: var(--color-pine-dark); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, #fbf4e6 0%, #f3e4c8 100%);
  padding: 72px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-copy p.lede {
  font-size: 1.15rem;
  color: var(--color-ink-soft);
  max-width: 46ch;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.6em; }
.hero-copy { animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-art { animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both; }
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-ridge {
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  color: var(--color-pine);
  opacity: 0.94;
}
.hero-art {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 30% 20%, #e7b45c 0%, var(--color-saffron) 32%, var(--color-chili) 78%, var(--color-chili-dark) 100%);
  position: relative;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.hero-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 0.98rem;
  font-family: var(--font-body);
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--color-chili); color: #fff; }
.btn-primary:hover { background: var(--color-chili-dark); }
.btn-whatsapp { background: #25d366; color: #06301b; }
.btn-whatsapp:hover { background: #1fb956; }
.btn-outline { background: transparent; border-color: var(--color-pine); color: var(--color-pine); }
.btn-outline:hover { background: var(--color-pine); color: #fff; }
.btn-ghost { background: transparent; color: var(--color-ink); text-decoration: underline; padding: 8px 4px; }
.btn-small { padding: 8px 14px; font-size: 0.86rem; }
.btn-danger { background: #a5312a; color: #fff; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-dark { background: var(--color-pine); color: #fceee0; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-alt { background: var(--color-bg-alt); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--color-ink-soft); }
.section-dark .section-head p { color: #d8e3da; }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } .hero .container { grid-template-columns: 1fr; } }

.card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-line);
}
.dish-card { display: flex; flex-direction: column; }
.dish-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 16px;
  background: var(--color-bg-alt);
}
.dish-media img { width: 100%; height: 100%; object-fit: cover; }
.dish-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.price { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--color-chili-dark); white-space: nowrap; }

/* Cards keep their light background even inside a dark section, so the
   dark-section text colours must not leak into them — otherwise a dish
   name renders white-on-cream and disappears. */
.section-dark .card h3 { color: var(--color-ink); }
.section-dark .card { color: var(--color-ink); }
.highlight-category { display: block; margin-bottom: 6px; color: var(--color-brass); }
.dish-meta { font-size: 0.86rem; color: var(--color-ink-soft); margin-top: 8px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag {
  font-size: 0.74rem;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-line);
  color: var(--color-ink-soft);
}
.tag.allergen { background: #f6e2dc; color: var(--color-chili-dark); border-color: transparent; }
.tag.dietary { background: #e4ede2; color: var(--color-pine); border-color: transparent; }
.unavailable-badge { background: var(--color-ink); color: #fff; }
.item-number { display: inline-block; color: var(--color-saffron); font-weight: 700; margin-right: 6px; }

/* ---------- Opening banner ---------- */
/* The restaurant isn't open yet, so this is the single most important
   thing on every page. The previous version was saffron-on-cream, which
   is why it read as decoration and got missed — two warm light tones
   with almost no contrast between them. Inverted here: the deepest
   colour in the palette (pine) as a card, floating over a soft veil that
   dims the page behind it, with saffron kept back for the label and the
   woven trim. Contrast does the work; motion only supports it.

   The whole layer is pointer-events: none, so the banner is impossible
   to miss but never traps a click or blocks scrolling — visitors can
   still browse the menu underneath it. */
.opening-banner {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
}

.opening-banner__veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 55% at 50% 50%,
    rgba(36, 28, 21, 0.58) 0%,
    rgba(36, 28, 21, 0.38) 55%,
    rgba(36, 28, 21, 0.22) 100%);
  animation: opening-veil-in 600ms ease-out both;
}

.opening-banner__card {
  position: relative;
  overflow: hidden;
  width: min(88vw, 480px);
  padding: 38px 34px 32px;
  text-align: center;
  background: linear-gradient(155deg, var(--color-pine) 0%, var(--color-pine-dark) 100%);
  color: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 70px rgba(20, 14, 9, 0.5);
  animation: opening-card-in 720ms cubic-bezier(0.22, 1, 0.36, 1) both,
             opening-card-halo 5s ease-in-out 900ms infinite;
}

/* Woven-trim band, top and bottom: stepped saffron blocks echoing the
   dhaka textile borders the restaurant's own branding draws on. Drifts
   slowly sideways — the one piece of ambient motion in the design. */
.opening-banner__trim {
  position: absolute;
  left: 0;
  right: 0;
  height: 7px;
  background-image: repeating-linear-gradient(90deg,
    var(--color-saffron) 0 9px,
    var(--color-brass) 9px 12px,
    transparent 12px 21px);
  background-size: 21px 7px;
  animation: opening-trim-drift 14s linear infinite;
}
.opening-banner__trim--top { top: 0; }
.opening-banner__trim--bottom { bottom: 0; }

.opening-banner__label {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-saffron);
}

.opening-banner__headline {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 5.5vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: #fffaf0;
}

.opening-banner__rule {
  display: block;
  width: 46px;
  height: 2px;
  margin: 20px auto 14px;
  background: var(--color-saffron);
  border-radius: 2px;
}

.opening-banner__meta {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: rgba(251, 244, 230, 0.72);
}

@keyframes opening-veil-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes opening-card-in {
  from { opacity: 0; transform: translateY(18px) scale(0.94); }
  to { opacity: 1; transform: none; }
}
@keyframes opening-card-halo {
  0%, 100% { box-shadow: 0 28px 70px rgba(20, 14, 9, 0.5), 0 0 0 0 rgba(217, 164, 65, 0); }
  50% { box-shadow: 0 28px 70px rgba(20, 14, 9, 0.5), 0 0 34px 4px rgba(217, 164, 65, 0.34); }
}
@keyframes opening-trim-drift {
  from { background-position-x: 0; }
  to { background-position-x: -21px; }
}

@media (max-width: 480px) {
  .opening-banner__card { padding: 30px 22px 26px; }
}

/* ---------- Product origin notice ---------- */
.origin-notice {
  max-width: 640px;
  margin: 0 auto 30px;
  padding: 18px 22px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  text-align: left;
  font-size: 0.9rem;
  color: var(--color-ink-soft);
}
.origin-notice h2 { font-size: 1.05rem; margin: 0 0 10px; color: var(--color-ink); }
.origin-list { list-style: none; padding: 0; margin: 0 0 10px; }
.origin-list li { padding: 3px 0; }
.origin-list strong { color: var(--color-ink); }

/* ---------- Lunch page ---------- */
.lunch-included-list { margin: 0; padding-left: 20px; color: var(--color-ink-soft); }
.lunch-day-tabs { margin-bottom: 30px; }
.lunch-day-tab {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--color-line);
  background: var(--color-card);
  color: var(--color-ink);
  font-weight: 500;
  cursor: pointer;
}
.lunch-tab-price { font-size: 0.76rem; font-weight: 700; opacity: 0.82; }
.lunch-day-tab.active { background: var(--color-pine); color: #fff; border-color: var(--color-pine); }
.lunch-day-panel .menu-item { align-items: center; }
.lunch-day-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 2px solid var(--color-saffron);
}
.lunch-day-heading h2 { border: 0; margin-bottom: 0; }
.lunch-day-price { color: var(--color-chili-dark); font-size: 1.25rem; white-space: nowrap; }

/* ---------- Menu page ---------- */
.menu-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.menu-nav a {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--color-line);
  text-decoration: none;
  color: var(--color-ink);
  font-weight: 500;
  background: var(--color-card);
}
.menu-category { margin-bottom: 56px; scroll-margin-top: 100px; }
.menu-category h2 { border-bottom: 2px solid var(--color-saffron); padding-bottom: 10px; display: inline-block; }
.menu-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 24px; }
@media (max-width: 700px) { .menu-items { grid-template-columns: 1fr; } }
.menu-item { display: flex; gap: 16px; background: var(--color-card); border: 1px solid var(--color-line); border-radius: var(--radius-md); padding: 16px; }
.menu-item .dish-media { width: 96px; height: 96px; flex-shrink: 0; margin-bottom: 0; aspect-ratio: auto; }
.menu-item-body { flex: 1; min-width: 0; }
.menu-notice { text-align: center; color: var(--color-ink-soft); font-size: 0.9rem; margin-bottom: 30px; }

/* ---------- Reservation ---------- */
.reservation-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .reservation-layout { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.92rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fff;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.whatsapp-note { display: flex; gap: 12px; align-items: flex-start; background: #eafaf1; border: 1px solid #bfe9cf; border-radius: var(--radius-md); padding: 16px; margin-top: 20px; font-size: 0.92rem; }
.form-status { margin-top: 14px; font-size: 0.92rem; }
.form-status.success { color: #206b3f; }
.form-status.error { color: var(--color-chili-dark); }

/* ---------- Reviews ---------- */
.rating-summary { display: flex; align-items: center; gap: 16px; margin-bottom: 40px; }
.rating-number { font-family: var(--font-display); font-size: 2.6rem; color: var(--color-chili-dark); }
.stars { color: var(--color-saffron); letter-spacing: 2px; }
.review-card .stars { margin-bottom: 8px; display: block; }
.review-date { font-size: 0.8rem; color: var(--color-ink-soft); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--color-line); }
.faq-item summary {
  cursor: pointer;
  padding: 20px 0;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1.1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--color-chili); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding-bottom: 20px; color: var(--color-ink-soft); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
@media (max-width: 780px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { text-decoration: none; color: inherit; display: block; }
.blog-card .dish-media { aspect-ratio: 16/9; }
.blog-meta { font-size: 0.82rem; color: var(--color-ink-soft); margin-bottom: 6px; }
.post-body { max-width: 68ch; margin: 0 auto; }
.post-body h1 { margin-bottom: 0.3em; }
.post-hero { border-radius: var(--radius-lg); overflow: hidden; margin: 24px 0 36px; aspect-ratio: 16/9; }
.post-hero img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Location / hours ---------- */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.14); }
.hours-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.contact-list a { color: inherit; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-pine-dark); color: #d8e3da; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; }
.site-footer a { color: #d8e3da; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 20px; font-size: 0.82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #a9bcae; }
.footer-bottom a { color: #a9bcae; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  max-width: 640px;
  margin: 0 auto;
  background: var(--color-ink);
  color: #f6efe2;
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
  z-index: 999;
  display: none;
}
.cookie-banner.visible { display: block; }
.cookie-banner p { margin: 0 0 14px; font-size: 0.9rem; color: #e6ddcb; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 9px 18px; font-size: 0.88rem; }
.cookie-actions .btn-outline { border-color: #e6ddcb; color: #e6ddcb; }
.cookie-actions .btn-outline:hover { background: #e6ddcb; color: var(--color-ink); }

/* ---------- Misc ---------- */
.legal-page { max-width: 72ch; margin: 0 auto; }
.legal-page h2 { margin-top: 1.6em; }
.badge-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.spice-dots { display: inline-flex; gap: 3px; vertical-align: middle; }
.spice-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-line); }
.spice-dot.active { background: var(--color-chili); }
.spice-icons { font-size: 0.85rem; letter-spacing: 1px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ---------- Search & spice filter bar ---------- */
.search-bar {
  max-width: 720px;
  margin: 0 auto 40px;
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  box-shadow: var(--shadow-card);
}
.search-input-row { position: relative; margin-bottom: 14px; }
.search-input-row svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--color-ink-soft); }
.search-input-row input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fff;
}
.spice-filter-label { font-size: 0.8rem; font-weight: 600; color: var(--color-ink-soft); margin-bottom: 8px; display: block; }
.spice-filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.spice-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--color-line);
  background: #fff;
  color: var(--color-ink);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
}
.spice-filter-btn[aria-pressed="true"] {
  background: var(--color-chili);
  border-color: var(--color-chili);
  color: #fff;
}
.menu-no-results { text-align: center; color: var(--color-ink-soft); padding: 30px 0; display: none; }
.menu-no-results.visible { display: block; }
.menu-item.is-hidden { display: none; }
.menu-category.all-hidden { display: none; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item {
  position: relative;
  border: none;
  padding: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: zoom-in;
  background: var(--color-bg-alt);
  box-shadow: var(--shadow-card);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.06); }
.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 14px;
  background: linear-gradient(0deg, rgba(36,28,21,0.78), transparent);
  color: #fff;
  font-size: 0.82rem;
  text-align: left;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-item:hover .gallery-caption, .gallery-item:focus-visible .gallery-caption { opacity: 1; transform: translateY(0); }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 15, 10, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 1000;
  padding: 40px 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.lightbox.visible { display: flex; opacity: 1; }
.lightbox img { max-width: min(90vw, 900px); max-height: 76vh; border-radius: var(--radius-md); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox p { color: #f6efe2; margin-top: 16px; font-size: 0.95rem; text-align: center; max-width: 60ch; }
.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,0.24); }

/* ---------- Subtle scroll-reveal animations ----------
   Progressive enhancement: content is fully visible by default. Only once
   JavaScript confirms it's running (html.js, set synchronously in <head>)
   does .reveal start hidden and wait for the .in-view class from
   reveal.js — so a JS failure never leaves real content invisible. */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
html.js .reveal.in-view { opacity: 1; transform: none; }

/* Hover polish shared across cards and interactive surfaces */
.card, .dish-card, .review-card, .menu-item, .blog-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover, .dish-card:hover, .review-card:hover, .menu-item:hover, .blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(36, 28, 21, 0.14);
}
.dish-media img, .blog-card .dish-media img { transition: transform 0.5s ease; }
.dish-card:hover .dish-media img, .blog-card:hover .dish-media img { transform: scale(1.04); }
.main-nav a, .lang-link { transition: background 0.2s ease, color 0.2s ease; }
.btn { transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease; }
.faq-item summary::after { transition: transform 0.2s ease; }
.faq-item[open] summary::after { transform: rotate(180deg); }

/* Respect users who've asked for reduced motion: everything still works,
   it just doesn't move. Scroll-revealed content shows immediately rather
   than staying hidden waiting for a transition that will never visibly play. */
@media (prefers-reduced-motion: reduce) {
  html.js .reveal, html.js .reveal.in-view { opacity: 1; transform: none; transition: none; }
  .card:hover, .dish-card:hover, .review-card:hover, .menu-item:hover, .blog-card:hover { transform: none; }
  .dish-card:hover .dish-media img, .blog-card:hover .dish-media img, .gallery-item:hover img { transform: none; }
  * { scroll-behavior: auto !important; animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
/* ---------- Contact buttons (call / whatsapp / email) ---------- */
/* Data-driven from config/contact_config.json, rendered by
   views/partials/contact-buttons.ejs. Reuses existing .btn / .btn-primary /
   .btn-whatsapp / .btn-outline classes above so it matches the rest of the
   site without introducing a second button system. */
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.contact-buttons--nav { gap: 8px; }
.contact-buttons--footer {
  justify-content: center;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--color-line);
}
.section-dark .contact-buttons--footer { border-top-color: rgba(255, 255, 255, 0.16); }
.contact-buttons__icon { display: inline-flex; }
.contact-buttons__btn { white-space: nowrap; }

@media (max-width: 640px) {
  .contact-buttons--nav .contact-buttons__btn span:last-child { display: none; }
  .contact-buttons--nav .contact-buttons__btn { padding: 10px; border-radius: 50%; }
}
