/* ============================================================
   PASTA SPOT — style.css
   Mobile-first, vanilla CSS. Edit brand colors in :root below.
============================================================ */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Brand colors — edit here to re-skin the whole site */
  --red: #d71920;
  --red-dark: #a91219;
  --teal: #00a99d;
  --teal-dark: #008479;
  --black: #141110;        /* off-black, not pure #000 */
  --cream: #fff8f0;        /* off-white background */
  --cream-2: #fdeede;      /* warm card / section tint */
  --yellow: #ffc83d;       /* warm accent highlight */
  --ink: #2a211d;          /* body text */
  --muted: #6f6258;        /* secondary text */
  --line: #ecdfce;         /* hairline borders */

  /* Type */
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Shape — one radius system: cards 18px, pills full */
  --radius: 18px;
  --radius-sm: 12px;
  --pill: 999px;

  /* Shadows tinted to warm background, never pure black */
  --shadow-sm: 0 4px 14px rgba(120, 70, 40, 0.10);
  --shadow-md: 0 14px 34px rgba(120, 70, 40, 0.16);

  --container: 1200px;
  --header-h: 70px;
}

/* ---------- 2. RESET / BASE ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.05; letter-spacing: -0.02em; }

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

.section { padding-block: clamp(3.5rem, 8vw, 6rem); }

.text-red { color: var(--red); }
.text-teal { color: var(--teal); }
.text-white { color: #ffffff; }

/* Location-pin replacing the "O" (matches the logo) */
.pin-o { display: inline-block; width: 0.92em; height: 1.2em; vertical-align: -0.24em; }
.pin-o svg { width: 100%; height: 100%; display: block; }
.pin-o svg path { fill: var(--red); }
.pin-o svg circle { fill: var(--cream); }

/* Section heads */
.section-head { text-align: center; max-width: 620px; margin: 0 auto clamp(2rem, 5vw, 3rem); }
.section-title { font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 800; color: var(--black); }
.section-lead { color: var(--muted); margin-top: 0.75rem; font-size: 1.05rem; }
.eyebrow {
  font-weight: 700; color: var(--red);
  font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 0.75rem;
}

/* ---------- 3. BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; white-space: nowrap;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
  padding: 0.7rem 1.3rem; border-radius: var(--pill);
  border: 2px solid transparent; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn-lg { padding: 0.95rem 1.7rem; font-size: 1.02rem; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); }
.btn-ghost { background: transparent; color: var(--black); border-color: var(--black); }
.btn-ghost:hover { background: var(--black); color: #fff; }
.btn-light { background: #fff; color: var(--red); }
.btn-light:hover { background: var(--cream); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: #000; }

/* ---------- 4. HEADER / NAV ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 248, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }

/* 3 zones: brand (left) | links (center) | CTA (right) */
.nav-inner { display: flex; align-items: center; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 0.55rem; flex: 1 1 0; min-width: 0; }
.brand-logo { height: 58px; width: auto; display: block; }
.nav-right { flex: 1 1 0; display: flex; justify-content: flex-end; }
.brand-dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px var(--cream), 0 0 0 6px var(--teal);
}
.brand-name { font-family: var(--font-head); font-weight: 900; font-size: 1.35rem; color: var(--black); letter-spacing: -0.03em; }
.brand-name-accent { color: var(--teal); }

.main-nav { display: flex; align-items: center; justify-content: center; gap: 0.4rem; flex: 0 1 auto; }
.nav-cta-mobile { display: none; } /* only inside the mobile dropdown */
.nav-link {
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  padding: 0.5rem 0.85rem; border-radius: var(--pill); color: var(--ink);
  transition: color 0.18s ease, background 0.18s ease;
}
.nav-link:hover { color: var(--red); }
.nav-link.is-active { color: var(--red); background: var(--cream-2); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--black); border-radius: 3px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- 5. HERO (full-width background image) ---------- */
.hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  /* Fill the screen below the sticky header, so the marquee sits
     just past the fold and appears on the first scroll (all viewports). */
  min-height: calc(100dvh - var(--header-h));
  padding-block: clamp(3rem, 9vw, 5.5rem);
  background: var(--black); /* shows if image is still loading */
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
/* Dark gradient so headline + buttons stay readable over any photo */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(20,17,16,0.55) 0%, rgba(20,17,16,0.35) 40%, rgba(20,17,16,0.82) 100%),
    linear-gradient(90deg, rgba(20,17,16,0.65) 0%, rgba(20,17,16,0.10) 75%);
}
.hero-content { position: relative; z-index: 2; max-width: 640px; color: #fff; }
/* Base sizing (color is set per-hero below) */
.hero-title { font-size: clamp(2.4rem, 8vw, 4.6rem); font-weight: 900; }
.hero-sub { font-size: 1.1rem; margin-top: 1.1rem; max-width: 32rem; }
/* Photo hero (index): light text over the dark overlay */
.hero .hero-title { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,0.35); }
.hero .hero-sub { color: rgba(255,255,255,0.92); }

.eyebrow-light { color: #fff; }
.text-red-light { color: #ff6b6f; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* ---------- 5b. MARQUEE STRIP ---------- */
.marquee {
  background: var(--red); color: #fff; overflow: hidden;
  padding-block: 0.9rem; white-space: nowrap;
}
.marquee-track {
  display: inline-flex; align-items: center; width: max-content;
  animation: marquee-scroll 28s linear infinite;
}
.marquee-item {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(0.95rem, 2.6vw, 1.15rem);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.marquee-dot {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: var(--yellow); margin-inline: 1.4rem; flex-shrink: 0;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* exactly one group width */
}

/* Decorative sticker badges */
.sticker {
  position: absolute; font-family: var(--font-head); font-weight: 800;
  font-size: 0.9rem; color: #fff; background: var(--teal);
  padding: 0.5rem 1rem; border-radius: var(--pill);
  box-shadow: var(--shadow-md); transform: rotate(-8deg);
}
.sticker-hero { top: 14px; right: -8px; background: var(--red); }
.sticker-about { bottom: 16px; left: -8px; background: var(--teal); }

/* Decorative blobs */
.blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: 0.18; z-index: -1; }
.blob-red { width: 320px; height: 320px; background: var(--red); top: -80px; left: -100px; }
.blob-teal { width: 280px; height: 280px; background: var(--teal); bottom: -100px; right: -80px; }

/* ---------- 6. FEATURED DISHES ---------- */
.card-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.4rem;
}
.dish-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.dish-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.dish-img { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.dish-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.dish-card:hover .dish-img img { transform: scale(1.06); }
.dish-body { padding: 1.1rem 1.2rem 1.3rem; }
.dish-name { font-size: 1.2rem; font-weight: 700; color: var(--black); }
.dish-desc { color: var(--muted); font-size: 0.92rem; margin: 0.4rem 0 0.8rem; }
.dish-price { font-family: var(--font-head); font-weight: 700; color: var(--teal); }

/* Badges */
.badge {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.04em;
  padding: 0.3rem 0.7rem; border-radius: var(--pill); color: #fff;
}
.badge-pasta { background: var(--red); }
.badge-orzo { background: #e07a2c; }
.badge-pinsa { background: var(--teal); }
.badge-salad { background: #4a8f3c; }
.badge-starter { background: #8a6d4b; }
.badge-kids { background: #3f9bd6; }
.badge-dessert { background: #c46aa0; }
.badge-drink { background: var(--yellow); color: var(--black); }
.badge-new { background: var(--yellow); color: var(--black); }

/* ---------- 7. MENU PREVIEW + MENU PAGE TABS ---------- */
.tabs {
  display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center;
  margin-bottom: 2rem;
}
.tab {
  font-family: var(--font-head); font-weight: 600; font-size: 0.92rem;
  padding: 0.55rem 1.1rem; border-radius: var(--pill);
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  cursor: pointer; transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.tab:hover { transform: translateY(-2px); }
.tab.is-active { background: var(--red); color: #fff; border-color: var(--red); }

/* Preview list (simple rows) */
.preview-list { display: grid; grid-template-columns: 1fr; gap: 0.8rem; max-width: 760px; margin: 0 auto; }
.preview-row {
  display: flex; align-items: baseline; gap: 0.75rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem; box-shadow: var(--shadow-sm);
}
.preview-row .pr-name { font-family: var(--font-head); font-weight: 700; color: var(--black); }
.preview-row .pr-dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.preview-row .pr-price { font-family: var(--font-head); font-weight: 700; color: var(--teal); white-space: nowrap; }
.preview-row .pr-desc { display: block; color: var(--muted); font-size: 0.88rem; width: 100%; margin-top: 0.2rem; }

.center-cta { text-align: center; margin-top: 2.2rem; }

/* ---------- 8. ABOUT ---------- */
.about { background: var(--cream-2); }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); border: 6px solid #fff; }
.about-copy p { color: var(--ink); margin-top: 1rem; }
.about-points { margin: 1.3rem 0; display: grid; gap: 0.55rem; }
.about-points li { position: relative; padding-left: 1.6rem; color: var(--ink); font-weight: 500; }
.about-points li::before {
  content: ""; position: absolute; left: 0; top: 0.45rem;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 0 3px rgba(0,169,157,0.18);
}

/* ---------- 9. GALLERY ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.gallery-item {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: var(--radius-sm); border: 0; padding: 0; cursor: pointer;
  background: var(--cream-2);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-cap {
  position: absolute; inset: 0; display: flex; align-items: flex-end;
  padding: 0.9rem; color: #fff; font-family: var(--font-head); font-weight: 700;
  background: linear-gradient(to top, rgba(20,17,16,0.7), rgba(20,17,16,0) 60%);
  opacity: 0; transition: opacity 0.25s ease;
}
.gallery-item:hover .gallery-cap, .gallery-item:focus-visible .gallery-cap { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; flex-direction: column;
  background: rgba(20, 17, 16, 0.92); padding: 5vw;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 80vh; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.lightbox-cap { color: #fff; font-family: var(--font-head); font-weight: 700; margin-top: 1rem; }
.lightbox-close {
  position: absolute; top: 18px; right: 24px; background: none; border: 0;
  color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer;
}

/* ---------- 10. REVIEWS ---------- */
.reviews { background: var(--black); }
.reviews .section-title { color: #fff; }
.reviews .section-lead { color: rgba(255,255,255,0.7); }
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.review-card {
  background: #fff; border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow-md);
}
.stars { color: var(--yellow); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 0.6rem; }
.review-card blockquote { font-size: 1.05rem; color: var(--ink); font-weight: 500; }
.review-card figcaption { margin-top: 0.9rem; color: var(--muted); font-size: 0.88rem; font-weight: 600; }

/* ---------- 11. ORDER CTA BAND ---------- */
.order-cta {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 55%, var(--teal-dark) 140%);
  color: #fff; text-align: center; padding-block: clamp(3rem, 8vw, 5rem);
  position: relative; overflow: hidden;
}
.order-title { font-size: clamp(2rem, 6vw, 3rem); font-weight: 900; }
.order-text { margin-top: 0.8rem; font-size: 1.1rem; color: rgba(255,255,255,0.92); }
.order-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 1.8rem; }

/* ---------- 12. CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: stretch; }
.contact-list { display: grid; gap: 0.9rem; margin: 1.4rem 0; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 0.5rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--line); }
.contact-list strong { font-family: var(--font-head); color: var(--black); }
.contact-list a:hover { color: var(--red); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Google Maps embed */
.map-embed { width: 100%; height: 100%; min-height: 320px; }
.map-frame {
  width: 100%; height: 100%; min-height: 320px; border: 0; display: block;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
/* Click-to-load placeholder shown before the map (privacy) */
.map-placeholder {
  width: 100%; height: 100%; min-height: 320px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; text-align: center; padding: 24px;
  background: var(--cream-2);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.map-placeholder-text { color: var(--muted); font-size: 0.92rem; max-width: 320px; margin: 0; }
.map-placeholder-link { color: var(--teal); font-weight: 600; text-decoration: underline; font-size: 0.9rem; }

/* ---------- 13. MENU PAGE ---------- */
.menu-hero { position: relative; text-align: center; padding-block: clamp(2.5rem, 7vw, 4.5rem); overflow: hidden; }
.menu-hero .hero-title { color: var(--black); }
.menu-hero .hero-sub { color: var(--muted); margin-inline: auto; }
.filters { justify-content: center; }

/* Menu grouped by category (reads like a real menu, not a card grid) */
.menu-grid { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); }

.menu-cat-head {
  display: flex; align-items: baseline; gap: 1rem;
  padding-bottom: 0.6rem; margin-bottom: 1.2rem;
  border-bottom: 2px solid var(--line);
}
.menu-cat-title {
  font-family: var(--font-head); font-weight: 800; color: var(--red);
  font-size: clamp(1.5rem, 4vw, 2.1rem); letter-spacing: -0.02em;
  position: relative; padding-left: 1rem;
}
.menu-cat-title::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 6px; height: 1.1em; border-radius: 3px; background: var(--teal);
}

/* Two columns of items per category on wider screens */
.menu-cat-list { display: grid; grid-template-columns: 1fr; column-gap: 2.5rem; }

.menu-row {
  display: flex; gap: 0.9rem; align-items: flex-start;
  padding: 0.9rem 0; border-bottom: 1px solid var(--line);
}
.menu-row-img {
  width: 60px; height: 60px; flex-shrink: 0; border-radius: var(--radius-sm);
  overflow: hidden; background: var(--cream-2);
}
.menu-row-img img { width: 100%; height: 100%; object-fit: cover; }
.menu-row-body { flex: 1; min-width: 0; }
.menu-row-top { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; }
.menu-row-name { font-family: var(--font-head); font-weight: 700; color: var(--black); font-size: 1.04rem; }
.menu-row-price { font-family: var(--font-head); font-weight: 700; color: var(--teal); white-space: nowrap; }
.menu-row-desc { color: var(--muted); font-size: 0.88rem; margin-top: 0.2rem; }
.pop-badge {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.05em;
  background: var(--yellow); color: var(--black);
  padding: 0.14rem 0.5rem; border-radius: var(--pill);
  vertical-align: middle; margin-left: 0.4rem;
}
.menu-note { text-align: center; color: var(--muted); margin-top: 2.5rem; font-style: italic; }

/* ---------- 14. FOOTER ---------- */
.site-footer { background: var(--black); color: rgba(255,255,255,0.85); padding-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; }
.footer-brand .brand-name { color: #fff; font-size: 1.5rem; }
.footer-brand p { color: rgba(255,255,255,0.7); margin-top: 0.5rem; }
.footer-loc { font-weight: 600; }
.footer-nav, .footer-social { display: grid; gap: 0.6rem; align-content: start; }
.footer-nav a:hover, .footer-social a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-block: 1.3rem; font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; margin-top: 0.5rem; font-size: 0.8rem; }
.footer-legal a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.18s ease; }
.footer-legal a:hover { color: var(--yellow); }
.footer-credit { margin-top: 0.5rem; font-size: 0.78rem; color: rgba(255,255,255,0.4); letter-spacing: 0.02em; }
.footer-credit a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.18s ease; }
.footer-credit a:hover { color: var(--teal); }

/* ---------- 15. BACK TO TOP ---------- */
.back-to-top {
  position: fixed; bottom: 22px; right: 22px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--red); color: #fff; font-size: 1.3rem; box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--red-dark); }

/* ---------- 16. SCROLL REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   17. RESPONSIVE  (mobile-first; scale up at breakpoints)
============================================================ */
@media (min-width: 600px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-cat-list { grid-template-columns: repeat(2, 1fr); }
  .order-actions .btn { min-width: auto; }
}

@media (min-width: 900px) {
  .card-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 0.9fr 1.1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (min-width: 1100px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- MOBILE NAV ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-right { display: none; }          /* hide desktop CTA on mobile */
  .nav-cta-mobile { display: inline-flex; margin: 0.6rem 0 0; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0.2rem;
    background: var(--cream); padding: 1rem 1.2rem 1.6rem;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-120%); transition: transform 0.3s ease;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .nav-link { padding: 0.85rem 0.75rem; font-size: 1.05rem; border-radius: var(--radius-sm); }
}

/* Tighter hero padding on mobile so the tall content fits the full screen. */
@media (max-width: 768px) {
  .hero { padding-block: clamp(1.5rem, 6vw, 2.5rem); }
}

/* ============================================================
   18. REDUCED MOTION  (accessibility, mandatory)
============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  /* Marquee is decorative motion the brand wants visible — keep it scrolling */
  .marquee-track { animation-duration: 28s !important; }
}

/* ============================================================
   19. ORDER MODAL  (Order Now → Foody / Wolt / Call)
============================================================ */
.order-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.order-modal.open { display: flex; }
.order-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(20, 17, 16, 0.55);
  backdrop-filter: blur(2px);
}
.order-modal-card {
  position: relative;
  width: 100%; max-width: 520px;
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: clamp(1.4rem, 4vw, 2rem);
  animation: orderPop 0.22s ease;
}
@keyframes orderPop {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.order-modal-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.25rem;
}
.order-modal-title { font-size: clamp(1.5rem, 5vw, 2rem); font-weight: 800; color: var(--black); }
.order-modal-sub { color: var(--muted); margin-top: 0.35rem; }
.order-modal-close {
  flex: none;
  width: 42px; height: 42px; border-radius: var(--pill);
  border: none; cursor: pointer;
  background: var(--cream-2); color: var(--black);
  font-size: 1.4rem; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.18s ease;
}
.order-modal-close:hover { background: var(--line); }

.order-modal-list { display: grid; gap: 0.75rem; }
.order-opt {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--black);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.order-opt:hover {
  border-color: transparent;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.order-opt-icon {
  flex: none;
  width: 48px; height: 48px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
}
.order-opt-icon svg { width: 24px; height: 24px; }
.order-opt-icon--foody { background: #ef4f2d; }
.order-opt-icon--wolt  { background: #4fbfe6; }
.order-opt-icon--call  { background: var(--yellow); color: var(--black); }
.order-opt-body { display: flex; flex-direction: column; flex: 1 1 auto; }
.order-opt-name { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }
.order-opt-desc { color: var(--muted); font-size: 0.92rem; }
.order-opt-arrow { flex: none; color: var(--muted); font-size: 1.2rem; }

/* ---------- COOKIE CONSENT BANNER ---------- */
.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 1200;
  width: min(360px, calc(100vw - 40px));
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}
.cookie-banner.show { transform: translateY(0); opacity: 1; pointer-events: auto; }

/* warm accent bar in the brand red/teal */
.cookie-banner::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 55%, var(--teal) 55%, var(--teal) 100%);
}

.cookie-banner-inner { padding: 20px 20px 18px; }

.cookie-banner-text .eyebrow {
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
}
.cookie-banner-text strong {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--black);
  display: block;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.cookie-banner-text p { color: var(--muted); font-size: 0.9rem; line-height: 1.5; margin: 0; }
.cookie-banner-text a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.cookie-banner-actions .btn { flex: 1; padding: 0.6rem 0.9rem; font-size: 0.9rem; }
.cookie-banner-actions .btn:hover { transform: none; box-shadow: none; }
.cookie-banner .cookie-reject {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.cookie-banner .cookie-reject:hover { border-color: var(--ink); background: transparent; }
.cookie-banner .cookie-accept:hover { background: var(--red-dark); }

@media (prefers-reduced-motion: reduce) {
  .cookie-banner { transition: opacity 0.2s ease; transform: none; }
}

/* ---------- LEGAL / POLICY PAGES ---------- */
.legal-body { margin-top: 2rem; }
.legal-body h2 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--black);
  margin: 2rem 0 0.6rem;
}
.legal-body p { color: var(--ink); margin-bottom: 1rem; }
.legal-body a { color: var(--red); text-decoration: underline; }
.legal-table-wrap { overflow-x: auto; margin: 1rem 0 1.25rem; }
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 480px;
}
.legal-table th, .legal-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.legal-table th { font-family: var(--font-head); color: var(--black); background: var(--cream-2); }

.legal-list { margin: 0 0 1rem 1.25rem; list-style: disc; color: var(--ink); }
.legal-list li { margin-bottom: 0.4rem; }
