/* ==========================================================================
   menu-group template — styles
   Theme-neutral. All colour/font/radius come from CSS custom properties that
   generate.mjs injects in an inline :root{} block (from theme-presets + brand
   overrides). Editing colours here is the wrong layer — change the theme/brand
   in the content JSON instead.
   ========================================================================== */

:root {
  /* Fallbacks so the file also renders standalone (menu-group preset). The
     generated <style id="theme-vars"> overrides these at runtime. */
  --accent: #DC2626;
  --accent-hover: #B91C1C;
  --accent-2: #ed3535;
  --ink: #111827;
  --bg: #ffffff;
  --surface: #FAFAF7;
  --card: #ffffff;
  --muted: #6B7280;
  --border: #E5E7EB;
  --radius: 8px;
  --btn-radius: 8px;
  --hero-overlay: rgba(0,0,0,0.60);
  --nav-bg: var(--accent);
  --nav-ink: #ffffff;
  --footer-bg: #111827;
  --footer-ink: #ffffff;
  --font-display: "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--surface { background: var(--surface); }
.section__title { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; text-align: center; }
.section__subtitle { color: var(--muted); text-align: center; max-width: 42rem; margin: .5rem auto 2.5rem; }

/* focus ring — never strip */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.5rem; font-weight: 600; font-family: var(--font-body);
  border-radius: var(--btn-radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: opacity .18s, transform .18s, background .18s;
  min-height: 44px;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn--ghost { background: transparent; border-color: currentColor; color: var(--accent); }
.btn--ghost:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.btn--onhero { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); color: #fff; backdrop-filter: blur(4px); }
.btn--onhero:hover { background: rgba(255,255,255,.22); }

/* Header / nav ------------------------------------------------------------ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: color-mix(in srgb, var(--nav-bg) 94%, transparent);
  color: var(--nav-ink); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.1);
  transition: background .3s, box-shadow .3s;
}
.site-header.is-scrolled { background: var(--nav-bg); box-shadow: 0 10px 32px rgba(15,23,42,.16); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 62px; }
.nav__brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: inherit; font-weight: 800; min-width: 0; }
.nav__brand img { height: 52px; width: auto; background: transparent; border-radius: 0; padding: 0; }
.nav__brand img.is-full { background: transparent; padding: 0; height: 40px; max-width: 42vw; object-fit: contain; }
.nav__brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav__links { display: none; gap: .3rem; align-items: center; }
.nav__links a { text-decoration: none; padding: .5rem .75rem; border-radius: 8px; font-weight: 600; font-size: .95rem; }
.nav__links a:hover { background: color-mix(in srgb, var(--accent) 9%, transparent); color: var(--accent); }
.nav__actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.lang-toggle { display: inline-flex; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; overflow: hidden; }
.lang-btn { background: transparent; color: inherit; border: 0; padding: .35rem .6rem; font-weight: 700; font-size: .8rem; cursor: pointer; }
.lang-btn.active { background: rgba(255,255,255,.22); }
@media (min-width: 960px) { .nav__links { display: flex; } }
/* Mobile (<720px): hide the header order button — the sticky footer bar covers ordering there. Keep the FR/EN toggle. */
@media (max-width: 719.98px) { .nav__actions .btn--primary { display: none; } }
/* Desktop nav order button: compact — smaller padding + slightly smaller text than base .btn (only shows >=720px). */
.nav__actions .btn--primary { padding: .52rem .98rem; font-size: .92rem; }

/* Hero -------------------------------------------------------------------- */
.hero { position: relative; min-height: min(86vh, 820px); display: flex; align-items: center; overflow: hidden; background: var(--accent); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; background:
  linear-gradient(115deg, var(--hero-overlay), color-mix(in srgb, var(--hero-overlay) 40%, transparent)); }
.hero .container { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 96px; color: #fff; }
.hero__inner { max-width: 44rem; }
.hero__badge { display: inline-block; background: var(--accent-2); color: #fff; font-weight: 600;
  font-size: .8rem; padding: .4rem .8rem; border-radius: var(--btn-radius); margin-bottom: 1.1rem; }
.hero__headline { font-size: clamp(2.3rem, 6vw, 4.2rem); font-weight: 800; letter-spacing: -.01em; }
.hero__highlight { color: var(--accent-2); font-size: clamp(1.3rem, 3.2vw, 2.1rem); font-weight: 700; margin-top: .3rem; }
.hero__subtitle { color: rgba(255,255,255,.92); font-size: 1.05rem; max-width: 38rem; margin-top: 1.1rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin-top: 2.2rem; }
.hero__stat b { display: block; font-size: 1.6rem; font-weight: 800; }
.hero__stat span { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; opacity: .8; }

/* Contact bar ------------------------------------------------------------- */
.contact-bar { background: var(--accent); color: #fff; padding: .9rem 0; }
.contact-bar__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 2.2rem; }
.contact-bar__item { display: inline-flex; align-items: center; gap: .5rem; font-size: .92rem; opacity: .95; }

/* Cards / rails (dishes, deals, reviews) ---------------------------------- */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.card__media { aspect-ratio: 3/2; background: color-mix(in srgb, var(--muted) 12%, transparent); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1.1rem; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.05rem; font-weight: 700; }
.card__price { color: var(--price, var(--accent)); font-weight: 700; margin: .15rem 0 .5rem; }
.card__desc { color: var(--muted); font-size: .9rem; flex: 1; }
.card__cta { margin-top: 1rem; }

.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.rail { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 1rem; margin: 0 -20px; padding-inline: 20px; }
.rail > * { flex: 0 0 clamp(240px, 72vw, 300px); scroll-snap-align: start; }


.deal--featured { grid-column: 1 / -1; }
@media (min-width: 900px) { .deals-group { display: grid; grid-template-columns: 3fr 2fr; gap: 1.25rem; align-items: start; }
  .deals-group__side { display: grid; gap: 1.25rem; } }

.badge { align-self: flex-start; background: #FBBF24; color: #1f2937; font-weight: 700;
  font-size: .72rem; padding: .25rem .6rem; border-radius: 999px; margin-bottom: .6rem; }

.stars { color: #FBBF24; letter-spacing: 2px; margin-bottom: .5rem; }
.review__text { font-style: italic; color: var(--muted); flex: 1; }
.review__meta { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; font-size: .85rem; }
.review__source { background: color-mix(in srgb, var(--muted) 14%, transparent); color: var(--muted); padding: .15rem .55rem; border-radius: 999px; }

/* Custom messaging / dark band ------------------------------------------- */
.messaging { background: color-mix(in srgb, var(--accent) 7%, var(--bg)); text-align: center; }
.messaging__benefits { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2rem; margin: 1.4rem 0 2rem; }
.messaging__benefit { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); }
.messaging__benefit::before { content: "✓"; color: var(--accent); font-weight: 800; }
.feature-band { background: var(--footer-bg); color: var(--footer-ink); text-align: center; }
.feature-band h2 span { color: var(--accent-2); }
.feature-band a { color: var(--accent-2); font-weight: 700; text-decoration: none; }

/* Gallery ----------------------------------------------------------------- */
.gallery-grid { display: grid; gap: .8rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1; cursor: pointer; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery__item:hover img { transform: scale(1.08); }

/* About / contact / hours / menu-pdf split layouts ------------------------ */
.split { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 820px) { .split { grid-template-columns: 1fr 1fr; } }
.split img { border-radius: var(--radius); }
.quote { border-left: 4px solid var(--accent); padding-left: 1rem; font-style: italic; color: var(--ink); margin-top: 1.4rem; }
.quote footer { font-style: normal; font-weight: 700; margin-top: .5rem; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.info-list li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink); }
.socials { display: flex; gap: 1rem; margin-top: .5rem; }
.socials a { color: var(--muted); text-decoration: none; font-weight: 600; }
.hours-cols { display: grid; gap: 2rem; grid-template-columns: 1fr; max-width: 64rem; margin: 0 auto; }
@media (min-width: 720px) { .hours-cols--2 { grid-template-columns: 1fr 1fr; } .hours-cols--3 { grid-template-columns: repeat(3,1fr); } }
.hours-row { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--border); padding: .5rem 0; font-size: .92rem; }
.hours-row .day { font-weight: 600; }
.map-embed { width: 100%; min-height: 280px; border: 0; border-radius: var(--radius); }

/* FAQ --------------------------------------------------------------------- */
.faq { max-width: 46rem; margin: 0 auto; display: grid; gap: .75rem; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.faq summary { padding: 1rem 1.2rem; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; color: var(--muted); }
.faq details[open] summary::after { content: "－"; }
.faq__answer { padding: 0 1.2rem 1.1rem; color: var(--muted); font-size: .92rem; }

/* Footer ------------------------------------------------------------------ */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); padding: 56px 0 28px; }
.site-footer a { color: inherit; text-decoration: none; opacity: .8; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }
.footer-cols { display: grid; gap: 2rem; grid-template-columns: 1fr; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.14); }
@media (min-width: 720px) { .footer-cols { grid-template-columns: 2fr 1fr 1fr; } }
.footer-col h3 { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; opacity: .5; margin-bottom: .8rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: .92rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; font-size: .8rem; opacity: .7; }

/* Mobile sticky call/order bar (Milano pattern) --------------------------- */
.sticky-bar {
  position: fixed; inset: auto 0 0 0; z-index: 60; display: flex;
  transform: translateY(110%); transition: transform .25s ease;
  box-shadow: 0 -6px 24px rgba(0,0,0,.18);
}
.sticky-bar.show { transform: translateY(0); }
.sticky-bar a { flex: 1; text-align: center; padding: .95rem; font-weight: 700; text-decoration: none; color: #fff; }
.sticky-bar .call { background: var(--footer-bg); }
.sticky-bar .order { background: var(--accent); }
@media (min-width: 720px) { .sticky-bar { display: none; } }
body { padding-bottom: env(safe-area-inset-bottom); }

/* Lightbox ---------------------------------------------------------------- */
.no-scroll { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center;
  background: rgba(0,0,0,.9); padding: 4vw; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: 8px; }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255,255,255,.12); color: #fff;
  border: 0; width: 48px; height: 48px; border-radius: 999px; font-size: 1.6rem; cursor: pointer; }
.lightbox__close { top: 4vw; right: 4vw; }
.lightbox__nav--prev { left: 3vw; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 3vw; top: 50%; transform: translateY(-50%); }

/* Reveal on scroll (respects reduced motion via JS) ----------------------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Lang visibility: elements swap textContent via JS; nothing to hide here. */
.lang-transitioning * { transition: opacity .15s; }

/* Inline icons (emoji are banned — Brian 2026-07-07) */
.ico { width: 1.05em; height: 1.05em; flex-shrink: 0; vertical-align: -0.15em; }
.info-list .ico { margin-top: .2em; }

/* Rail arrows (scrollbar hidden — Brian 2026-07-07) */
.rail { scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail-wrap { position: relative; }
.rail-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border);
  background: #fff; color: var(--accent); cursor: pointer; display: flex; align-items: center;
  justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.16); transition: opacity .18s, transform .18s; }
.rail-arrow svg { width: 22px; height: 22px; }
.rail-arrow:hover { transform: translateY(-50%) scale(1.06); }
.rail-arrow--prev { left: -8px; }
.rail-arrow--next { right: -8px; }
.rail-arrow[disabled] { opacity: 0; pointer-events: none; }
/* Wide screens: arrows fully outside the cards (they must never cover text) */
@media (min-width: 1280px) { .rail-arrow--prev { left: -76px; } .rail-arrow--next { right: -76px; } }
/* Narrower: float over the card photos, not the text */
@media (max-width: 1279px) { .rail-arrow { top: 110px; transform: none; } .rail-arrow:hover { transform: scale(1.06); } }
@media (max-width: 640px) { .rail-arrow { width: 40px; height: 40px; top: 96px; } .rail-arrow--prev { left: 4px; } .rail-arrow--next { right: 4px; } }
