/* =========================================================
   Lola's Mexican Restaurant – styles
   Look: deep, rich dark sections with tall serif headings,
   arch-shaped photos and thin curved lines.
   Colors and fonts live here at the top. Change them once,
   and the whole site updates.
   ========================================================= */
:root {
  /* Brand colors (taken from the building and dining room) */
  --mole: #2A1210;         /* deep brown: dark sections */
  --mole-deep: #1C0B09;    /* footer */
  --red: #B3261E;          /* chile red: buttons, color bands */
  --red-dark: #8C1D17;     /* hover state */
  --marigold: #F2B705;     /* yellow walls: headings on dark, main buttons on dark */
  --marigold-soft: #FCE7A6;
  --terracotta: #F08A5D;   /* small labels on dark backgrounds */
  --cream: #FFF8EE;        /* light sections */
  --sand: #F5E9D8;         /* menu background */
  --ink: #2A1210;          /* main text on light backgrounds */
  --ink-soft: #5A4336;     /* secondary text on light */
  --cream-soft: #E9DCCB;   /* secondary text on dark */
  --open-green: #6BD88A;   /* "Open now" dot */
  --white: #FFFFFF;

  /* Fonts */
  --font-head: "Oranienbaum", "Didot", Georgia, serif;
  --font-body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing and shapes */
  --radius: 18px;
  --arch: 999px 999px 18px 18px;   /* arch-shaped photo frame */
  --container: 1180px;
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;          /* 17px */
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-head); font-weight: 400;
  line-height: 1; margin: 0 0 .45em; text-transform: uppercase; letter-spacing: .01em;
}
h2 { font-size: clamp(2.6rem, 7vw, 4.2rem); }
h3 { font-size: 1.75rem; }
p { margin: 0 0 1em; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }

/* Visible focus for keyboard users: works on light and dark */
:focus-visible { outline: 3px solid var(--mole); outline-offset: 2px; box-shadow: 0 0 0 6px var(--marigold); border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
/* "clip" hides the decorative circles without breaking sticky elements */
.section { padding: 88px 0; position: relative; overflow: clip; }
.eyebrow {
  font-weight: 600; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1em;
}
.small, .note { font-size: .95rem; color: var(--ink-soft); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--marigold); color: var(--mole); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: var(--mole); }

/* ---------- Language switch: show only one language ---------- */
.es { display: none; }
html.is-es .es { display: revert; }
html.is-es .en { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 54px; padding: 12px 30px;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s, transform .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
/* On light backgrounds */
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); color: var(--white); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
/* On dark backgrounds */
.btn-light, .hero .btn-primary { background: var(--marigold); color: var(--mole); }
.btn-light:hover, .hero .btn-primary:hover { background: var(--cream); color: var(--mole); box-shadow: 0 8px 24px rgba(242, 183, 5, .25); }
.btn-outline-light, .hero .btn-outline { border-color: var(--cream); color: var(--cream); }
.btn-outline-light:hover, .hero .btn-outline:hover { background: var(--cream); color: var(--mole); }
.btn-small { min-height: 44px; padding: 8px 18px; font-size: .82rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }

/* ---------- Promo bar (very top of the page) ---------- */
.promo-bar {
  background: var(--marigold); color: var(--mole);
  text-align: center; font-size: .95rem; line-height: 1.35; padding: 9px 20px;
}
.promo-bar p { margin: 0; }
.promo-bar strong { font-weight: 600; }
/* Phones: hide the bar (the yellow pill in the hero already shows the deal) */
@media (max-width: 959px) { .promo-bar { display: none; } }

/* ---------- Header (cream, so the logo reads clearly) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream); color: var(--ink);
  border-bottom: 1px solid rgba(42, 18, 16, .12);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: block; flex: none; padding: 6px 0; }
.brand img { height: 60px; width: auto; }
.main-nav { display: none; gap: 30px; }
.main-nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; padding: 10px 0; position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
  background: var(--red); transform: scaleX(0); transition: transform .3s;
}
.main-nav a:hover { color: var(--red); }
.main-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  min-height: 44px; min-width: 44px; padding: 8px 14px;
  background: transparent; border: 2px solid rgba(42, 18, 16, .35); border-radius: 999px;
  font: 600 .85rem var(--font-body); color: var(--ink); cursor: pointer;
}
.lang-switch:hover { border-color: var(--ink); }

/* ---------- Hero: full-screen photo with a dark overlay ---------- */
.hero {
  position: relative; overflow: clip; isolation: isolate;
  min-height: min(calc(100svh - var(--header-h)), 860px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 48px 0 80px; color: var(--cream); text-align: center;
  background: var(--mole);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%;
  animation: slow-zoom 26s ease-in-out infinite alternate;
  transform-origin: 55% 60%;
}
/* Looping video (added by js/main.js) fades in over the photo */
.hero-bg video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-bg video.is-playing { opacity: 1; }
.hero.has-video .hero-bg img { animation: none; }
.hero.motion-paused .hero-bg img { animation-play-state: paused; }

/* Pause / play button for the moving background */
.motion-toggle {
  position: absolute; z-index: 3; right: 16px; top: 16px;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  background: rgba(28, 11, 9, .55); color: var(--cream);
  border: 1px solid rgba(255, 248, 238, .45);
}
.motion-toggle:hover { background: var(--mole); border-color: var(--cream); }
.motion-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.motion-toggle .icon-play { display: none; }
.motion-toggle[aria-pressed="true"] .icon-pause { display: none; }
.motion-toggle[aria-pressed="true"] .icon-play { display: block; }

/* Text only for screen readers */
.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;
}

/* Dark overlay so the text is easy to read */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(42, 18, 16, .6) 0%, rgba(42, 18, 16, .66) 45%, rgba(42, 18, 16, .3) 100%),
    linear-gradient(to bottom, rgba(28, 11, 9, .25), rgba(28, 11, 9, .8));
}
@keyframes slow-zoom {
  from { transform: scale(1.04) translate(0, 0); }
  to   { transform: scale(1.16) translate(-2%, -1.5%); }
}
.hero-content { position: relative; max-width: 1000px; }
.hero .eyebrow { color: var(--terracotta); text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.hero h1 { margin-bottom: .55em; }
.h1-name {
  display: block; color: var(--marigold);
  font-size: clamp(4.2rem, min(22vw, 17vh), 10rem); line-height: .82; letter-spacing: .03em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .35);
}
.h1-sub {
  display: block; margin-top: .75em;
  font-family: var(--font-body); font-weight: 500; color: var(--cream);
  font-size: clamp(.8rem, min(2.4vw, 2.2vh), 1.05rem); letter-spacing: .45em;
  padding-left: .45em; /* balances the letter spacing so it looks centered */
}
/* Short headline line under the name */
.hero-tagline {
  font-family: var(--font-head); color: var(--cream);
  font-size: clamp(1.6rem, min(5vw, 5vh), 2.6rem); line-height: 1.1;
  margin: 0 auto .45em; max-width: 18em; text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}
.lead { font-size: 1.05rem; color: var(--cream-soft); max-width: 34em; margin: 0 auto; }
.lead em { font-style: normal; font-weight: 600; color: var(--marigold); white-space: nowrap; }
.hero .btn-row { margin: 26px 0 20px; }
.quick-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; }
.quick-facts li {
  border: 1px solid rgba(255, 248, 238, .35); border-radius: 999px; padding: 6px 14px;
  font-size: .9rem; color: var(--cream); background: rgba(28, 11, 9, .35);
  backdrop-filter: blur(4px);
}
.quick-facts strong { color: var(--marigold); }

/* Small "scroll down" link at the bottom of the hero */
.scroll-cue {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: 8px;
  color: var(--cream); text-decoration: none; font-size: .72rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; padding: 8px;
}
.scroll-cue:hover { color: var(--marigold); }
.cue-line { width: 1px; height: 36px; background: linear-gradient(var(--marigold), transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Hero text slides in on load */
.hero-content > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-content > :nth-child(2) { animation-delay: .08s; }
.hero-content > :nth-child(3) { animation-delay: .16s; }
.hero-content > :nth-child(4) { animation-delay: .24s; }
.hero-content > :nth-child(n+5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* "Open now" line */
.open-status {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .95rem; margin: 0 0 18px;
}
.quick-facts .open-status { margin: 0; font-size: .9rem; gap: 8px; }
.open-status[hidden] { display: none !important; }
.open-status .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--terracotta); flex: none; }
.open-status.is-open .dot { background: var(--open-green); box-shadow: 0 0 0 4px rgba(107, 216, 138, .2); }
.visit-card .open-status.is-open .dot { background: #2E8B4A; }
.visit-card .open-status .dot { background: var(--red); }

/* ---------- Favorites (light) ---------- */
.favorites { background: var(--cream); }
.favorites::before {
  content: ""; position: absolute; width: 620px; height: 620px; right: -360px; top: -200px;
  border: 1px solid rgba(179, 38, 30, .3); border-radius: 50%; pointer-events: none;
}
.tag {
  display: inline-block; vertical-align: middle; margin-left: 6px;
  font-family: var(--font-body); font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  background: var(--marigold); color: var(--mole); padding: 3px 9px; border-radius: 999px;
}
.text-link {
  font-weight: 600; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase;
  display: inline-block; padding: 10px 0; text-decoration: none; border-bottom: 2px solid var(--red);
}

/* ---------- Photo cards (Specials, Favorites, More from our kitchen) ---------- */
.section-head { margin-bottom: 36px; }
.section-head.center, .center { text-align: center; }
.photo-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--mole); color: var(--cream); min-height: 240px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.photo-card > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.photo-card:hover > img { transform: scale(1.03); }
/* Dark fade at the bottom so the white text is always readable */
.photo-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(28, 11, 9, .92) 0%, rgba(28, 11, 9, .55) 45%, rgba(28, 11, 9, 0) 75%);
}
.photo-card-body { position: relative; z-index: 1; padding: 22px 22px 24px; }
.photo-card h3 { color: var(--cream); font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.05; margin: 0 0 8px; }
.photo-card p { margin: 0 0 14px; font-size: .97rem; color: var(--cream-soft); }
.photo-card .tag { margin: 0 0 10px; }
.card-kicker { font-weight: 600; font-size: .78rem !important; letter-spacing: .14em; text-transform: uppercase; color: var(--marigold) !important; margin-bottom: 6px !important; }
.card-price { font-size: .7em; color: var(--marigold); white-space: nowrap; }
.btn-pill {
  min-height: 44px; padding: 10px 22px; font-size: .8rem;
  background: var(--cream); color: var(--mole);
}
.btn-pill:hover { background: var(--marigold); color: var(--mole); }

/* Specials: three tall cards */
.specials { background: var(--cream); padding-bottom: 24px; }
.section.favorites { padding-top: 64px; }
.offer-grid { display: grid; gap: 18px; }
.offer-card { min-height: 380px; }
.offer-card h3 { font-size: clamp(2.2rem, 4vw, 2.9rem); }

/* Favorites: one big card + four smaller ones */
.fav-grid { display: grid; gap: 18px; }
.dish-card--color { background: var(--red); }
.dish-card--color::after { display: none; }
.dish-card--color .photo-card-body { padding-top: 40px; }
.more-title { text-align: center; font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 56px 0 20px; }
.more-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.more-grid .photo-card { min-height: 230px; }
.more-grid .photo-card:last-child:nth-child(odd) { grid-column: 1 / -1; }   /* phones: odd one out goes full width */
.more-grid .photo-card h3 { font-size: 1.3rem; }
.more-grid .photo-card-body { padding: 14px; }
.fav-more { margin: 36px 0 0; }

/* Phones: Specials slide sideways (the next card peeks in), Fajitas card a bit taller */
@media (max-width: 767px) {
  .offer-grid {
    grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto;
    scroll-snap-type: x mandatory; scroll-padding: 0 20px;
    margin: 0 -20px; padding: 0 20px 8px; scrollbar-width: none;
  }
  .offer-grid::-webkit-scrollbar { display: none; }
  .offer-card { scroll-snap-align: start; min-height: 400px; }
  .dish-card--tall { min-height: 380px; }
  .fav-grid .dish-card { min-height: 300px; }
}

/* Big grey line drawings in the corners, behind the photo cards (img/deco-*.svg).
   Change the opacity to make them lighter or darker. Hidden on phones. */
@media (min-width: 768px) {
  .offer-grid, .fav-grid { position: relative; isolation: isolate; }
  .offer-grid::before, .offer-grid::after, .fav-grid::before, .fav-grid::after {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    opacity: .14; background: center / contain no-repeat;
  }
  .offer-grid::before { width: 200px; height: 390px; top: -150px; left: -150px; transform: rotate(-24deg); background-image: url("../img/deco-guitar.svg"); }
  .offer-grid::after  { width: 340px; height: 196px; bottom: -80px; right: -190px; transform: rotate(-8deg); background-image: url("../img/deco-sombrero.svg"); }
  .fav-grid::before   { width: 230px; height: 336px; top: -130px; left: -160px; transform: rotate(-6deg); background-image: url("../img/deco-cactus.svg"); }
  .fav-grid::after    { width: 280px; height: 280px; bottom: -90px; right: -180px; background-image: url("../img/deco-maracas.svg"); }
}

/* Phones: Specials slide sideways (the next card peeks in), Fajitas card a bit taller */
@media (max-width: 767px) {
  .offer-grid {
    grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto;
    scroll-snap-type: x mandatory; scroll-padding: 0 20px;
    margin: 0 -20px; padding: 0 20px 8px; scrollbar-width: none;
  }
  .offer-grid::-webkit-scrollbar { display: none; }
  .offer-card { scroll-snap-align: start; min-height: 400px; }
  .dish-card--tall { min-height: 380px; }
  .fav-grid .dish-card { min-height: 300px; }
}

/* Show a link only on phones / only on bigger screens */
.only-phone { display: none !important; }
@media (max-width: 767px) {
  .only-phone { display: inline-flex !important; }
  .only-desktop { display: none !important; }
}

@media (min-width: 768px) {
  .offer-grid { grid-template-columns: repeat(3, 1fr); }
  .offer-card { min-height: 460px; }
  .fav-grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: 340px 340px; }
  .dish-card--tall { grid-column: span 2; }   /* Fajitas: wide card for the wide photo */
  .more-grid { grid-template-columns: repeat(5, 1fr); }
  .more-grid .photo-card { min-height: 300px; }
  .more-grid .photo-card:last-child:nth-child(odd) { grid-column: auto; }
}

/* ---------- Student deal badge in the hero ---------- */
.student-badge {
  position: relative; z-index: 2; align-self: center;
  display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 8px;
  margin: 0 auto 18px; padding: 8px 16px; border-radius: 999px;
  background: var(--marigold); color: var(--mole); text-decoration: none;
  font-weight: 600; font-size: .85rem; line-height: 1.2;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}
.student-badge:hover { color: var(--mole); background: var(--cream); }
.student-badge .sb-big { font-family: var(--font-head); font-size: 1.2rem; text-transform: uppercase; }
@media (max-width: 959px) { .student-badge { margin-top: 40px; } }   /* clear the pause button */
/* Computers: a round "sticker" in the top-right corner of the video */
@media (min-width: 960px) {
  .student-badge {
    position: absolute; top: 36px; right: max(32px, calc((100vw - var(--container)) / 2 + 20px));
    width: 168px; height: 168px; margin: 0; padding: 18px; border-radius: 50%;
    flex-direction: column; flex-wrap: nowrap; justify-content: center; align-items: center; gap: 4px;
    text-align: center; transform: rotate(-8deg);
    border: 3px dashed rgba(42, 18, 16, .35); outline: 6px solid var(--marigold);
    transition: transform .3s;
  }
  .student-badge:hover { transform: rotate(0deg) scale(1.05); background: var(--marigold); }
  .student-badge .sb-top, .student-badge .sb-bottom { font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
  .student-badge .sb-bottom { white-space: nowrap; }
  .student-badge .sb-big { font-size: 2.5rem; line-height: .95; }
}

/* ---------- Menu (light sand) ---------- */
.menu { background: var(--sand); }
/* Category bar: one line, sticks under the header while you scroll the menu */
.menu-jump {
  position: sticky; top: var(--header-h); z-index: 20;
  display: flex; flex-wrap: nowrap; gap: 4px; overflow-x: auto;
  margin: 28px -20px 0; padding: 0 20px;
  background: var(--sand); border-bottom: 1px solid rgba(42, 18, 16, .18);
  scrollbar-width: none;
}
.menu-jump::-webkit-scrollbar { display: none; }
.menu-jump a {
  flex: none; display: inline-flex; align-items: center; min-height: 52px; padding: 0 10px;
  text-decoration: none; color: var(--ink-soft); white-space: nowrap;
  font-weight: 600; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .2s, border-color .2s;
}
.menu-jump a:hover { color: var(--red); }
.menu-jump a.active { color: var(--red); border-bottom-color: var(--red); }
.menu-columns { margin-top: 40px; }
.menu-cat { break-inside: avoid; padding: 8px 0 36px; }
.menu-cat h3 {
  font-size: 2.2rem; color: var(--red);
  padding-bottom: 10px; border-bottom: 1px solid var(--red); margin-bottom: 14px;
}
.menu-cat h4 { font-size: 1.5rem; margin: 22px 0 8px; }
.cat-note { font-size: .95rem; font-style: italic; color: var(--ink-soft); margin-top: -4px; }
.menu-cat ul { list-style: none; margin: 0; padding: 0; }
/* Item name ..... price, with the description underneath */
.menu-cat li {
  display: grid; grid-template-columns: minmax(0, max-content) minmax(12px, 1fr) auto;
  align-items: baseline; gap: 0 8px; padding: 8px 0;
}
.menu-cat li .item { font-weight: 600; }
.menu-cat li .dots { border-bottom: 2px dotted rgba(42, 18, 16, .3); transform: translateY(-4px); }
.menu-cat li .cost { font-weight: 600; }
.menu-cat li p { grid-column: 1 / -1; margin: 2px 0 0; font-size: .95rem; color: var(--ink-soft); }
.simple-list li { display: block; padding: 5px 0; }
.menu-cta { text-align: center; margin-top: 16px; }

/* ---------- Menu PDF button ---------- */
.menu-pdf { text-align: center; margin-top: 24px; }
.menu-pdf .btn-big { min-height: 60px; padding: 14px 40px; font-size: 1.05rem; }
.menu-pdf .small { margin: 10px 0 0; }
/* Phones: just the button, no long list (the full list stays on bigger screens) */
@media (max-width: 767px) {
  .menu .menu-jump, .menu .menu-columns { display: none; }
  .menu-pdf .btn-big { width: 100%; }
}
/* Computers and tablets: balanced columns. A long category may continue at the top
   of the next column (never splitting a dish, and never leaving a title alone at the bottom). */
@media (min-width: 600px) {
  .menu-cat { break-inside: auto; }
  .menu-cat li { break-inside: avoid; }
  .menu-cat h3, .menu-cat .cat-note { break-after: avoid; }
  #m-burritos, #m-tacos { break-inside: avoid; }   /* keep Burritos and Taqueria together */
}
/* Category bar: always ONE line.
   Tablets / small laptops: slide it sideways. Big screens: all 14 fit edge to edge. */
@media (min-width: 768px) {
  .menu .menu-jump { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; }
  .menu .menu-jump a { min-height: 48px; padding: 0 8px; }
}
@media (min-width: 1200px) {
  .menu .menu-jump { justify-content: space-between; overflow: visible; margin: 28px 0 0; padding: 0; }
  .menu .menu-jump a { padding: 0 3px; font-size: .72rem; letter-spacing: .06em; }
}
/* Less empty space between the end of the menu and the reviews */
.section.menu { padding-bottom: 48px; }
/* Computers and tablets: just the heading and the menu itself (no button, no price note) */
@media (min-width: 768px) {
  .menu .menu-pdf, .menu .note { display: none; }
}

/* ---------- Reviews (chile red, with the zigzag border from the logo) ---------- */
.reviews { background: var(--red); color: var(--cream); }
/* Gold key pattern along the top and bottom edges (decorative) */
.reviews::after {
  content: ""; position: absolute; left: 0; right: 0; top: 18px; bottom: 18px; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='22'%3E%3Cpath d='M0 20H22V3H6V15H16V9H11' fill='none' stroke='%23F2B705' stroke-width='2.2'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='22'%3E%3Cpath d='M0 20H22V3H6V15H16V9H11' fill='none' stroke='%23F2B705' stroke-width='2.2'/%3E%3C/svg%3E");
  background-repeat: repeat-x, repeat-x;
  background-position: left top, left bottom;
  background-size: 28px 22px, 28px 22px;
  opacity: .55;
}
.reviews::before {
  content: ""; position: absolute; width: 620px; height: 620px; left: -320px; bottom: -320px;
  background: var(--red-dark); border-radius: 50%; pointer-events: none;
}
.reviews .eyebrow { color: var(--cream); }
.reviews-grid { display: grid; gap: 48px; position: relative; z-index: 1; }
.rating-big { font-size: clamp(5rem, 16vw, 8rem); line-height: .9; margin-bottom: .15em; color: var(--cream); }
.rating-of { font-size: .28em; letter-spacing: .08em; vertical-align: middle; }
.stars { position: relative; display: inline-block; line-height: 0; margin-bottom: 14px; }
.stars svg { width: 34px; height: 34px; margin-right: 4px; }
.stars-empty svg { fill: rgba(255, 248, 238, .28); }
.stars-fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; }
.stars-fill svg { fill: var(--marigold); }
.rating-count { font-size: 1.15rem; margin-bottom: 28px; color: var(--cream); }
.btn-dark { background: var(--cream); color: var(--red-dark); }
.btn-dark:hover { background: var(--marigold); color: var(--mole); }

.review-cards { display: grid; gap: 16px; }
.review-card {
  margin: 0; background: var(--cream); color: var(--ink); border-radius: var(--radius); padding: 28px 28px 24px;
  position: relative; box-shadow: 0 14px 34px rgba(60, 10, 6, .25);
}
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.card-topic {
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  background: var(--red); color: var(--white); padding: 4px 12px; border-radius: 999px;
}
.card-stars { color: var(--red); letter-spacing: .12em; font-size: 1rem; line-height: 1; }
.review-card blockquote { margin: 0 0 14px; }
.review-card blockquote p { margin: 0; font-family: var(--font-head); font-size: 1.35rem; line-height: 1.32; }
.review-card figcaption { font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
/* Marked spot for a real review (remove the class once the text is in) */
.review-placeholder { background: rgba(255, 248, 238, .1); color: var(--cream); border: 2px dashed rgba(255, 248, 238, .55); box-shadow: none; }
.review-placeholder::before { color: var(--cream); }
.review-placeholder figcaption { color: var(--cream-soft); }

/* ---------- Story (dark, photo collage, timeline) ---------- */
.story { background: var(--mole); color: var(--cream); }
/* Big red circle behind the photos (decorative) */
.story::before {
  content: ""; position: absolute; width: 440px; height: 440px; left: -260px; top: 160px;
  background: var(--red); border-radius: 50%; pointer-events: none;
}
.story .eyebrow { color: var(--terracotta); }
.story h2 { color: var(--marigold); }
.story-grid { display: grid; gap: 56px; align-items: center; position: relative; }
.story-text p { font-size: 1.1rem; color: var(--cream-soft); }
.story-text .story-lead { font-size: 1.3rem; line-height: 1.55; color: var(--cream); }

.story-collage { position: relative; padding: 0 0 70px; max-width: 480px; margin: 0 auto; width: 100%; }
.story-collage::after {
  content: ""; position: absolute; z-index: 0; width: 110%; aspect-ratio: 1; left: -5%; top: 10%;
  border: 1px solid rgba(242, 183, 5, .45); border-radius: 50%; pointer-events: none;
}
.story-collage figure { margin: 0; position: relative; z-index: 1; }
.collage-main { width: 78%; }
.collage-main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--arch); }
.collage-main img { object-position: 38% 50%; }   /* storefront: doors and Welcome sign */
.collage-top { position: absolute !important; right: -2%; top: 6%; width: 44%; }
.collage-top img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); border: 6px solid var(--mole);
}
.collage-small { position: absolute !important; right: 0; bottom: 0; width: 62%; }
.collage-small img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 62%;
  border-radius: var(--radius); border: 6px solid var(--mole);
}

/* Big statement line */
.story-quote {
  position: relative; max-width: 920px; margin: 96px auto 72px; text-align: center;
  font-family: var(--font-head); font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.12; color: var(--cream);
}
.story-quote::before {
  content: ""; display: block; width: 64px; height: 2px; margin: 0 auto 32px; background: var(--marigold);
}

/* Three-step timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 36px; position: relative; }
.timeline li { position: relative; padding-top: 30px; border-top: 1px solid rgba(242, 183, 5, .35); }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: -7px; width: 13px; height: 13px;
  border-radius: 50%; background: var(--marigold);
}
.tl-mark { font-family: var(--font-head); font-size: 2.6rem; line-height: 1; text-transform: uppercase; color: var(--marigold); margin-bottom: .35em; }
.timeline p:last-child { color: var(--cream-soft); margin: 0; }

/* ---------- Trust (red band) ---------- */
.trust { background: var(--red); color: var(--cream); padding: 52px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 16px; text-align: center; }
.trust-item p { margin: 0; }
.trust-item p:last-child { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.trust-big { font-family: var(--font-head); font-size: clamp(2.4rem, 7vw, 3.6rem); line-height: 1.05; text-transform: uppercase; color: var(--white); }

/* ---------- Visit (light) ---------- */
.visit { background: var(--cream); }
.visit::after {
  content: ""; position: absolute; width: 560px; height: 560px; right: -320px; top: -120px;
  border: 1px solid rgba(179, 38, 30, .3); border-radius: 50%; pointer-events: none;
}
.visit-grid { display: grid; gap: 20px; margin-top: 36px; position: relative; z-index: 1; }
.visit-card { background: var(--white); border: 1px solid rgba(42, 18, 16, .1); border-radius: var(--radius); padding: 32px; }
.visit-card h3 { color: var(--red); }
/* Small map in "Find us" (kept short so the card stays the same height as Hours) */
.visit-map { display: block; width: 100%; height: 130px; border: 0; border-radius: 12px; margin: 0 0 12px; background: var(--sand); }
.visit-card address { margin-bottom: 10px; }
.visit-card address + p { margin: 0 0 6px; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.hours th, .hours td { padding: 9px 6px; border-bottom: 1px solid rgba(42, 18, 16, .1); text-align: left; }
.hours th { font-weight: 500; }
.hours td { text-align: right; font-weight: 600; }
.hours tr.today { background: var(--marigold-soft); }
.hours tr.today th { font-weight: 700; }
address { font-style: normal; font-size: 1.15rem; font-weight: 600; margin-bottom: 12px; }
.phone-link { font-family: var(--font-head); font-size: 2.2rem; display: inline-block; padding: 4px 0; text-decoration: none; }

/* ---------- Final call to action (dark) ---------- */
.final-cta { background: var(--mole); color: var(--cream); text-align: center; padding: 104px 0; position: relative; overflow: clip; }
.final-cta::before {
  content: ""; position: absolute; width: 820px; height: 820px; left: 50%; top: 68%;
  transform: translateX(-50%); background: var(--red); border-radius: 50%; pointer-events: none;
}
.final-cta .container { position: relative; }
.final-cta .eyebrow { color: var(--terracotta); }
.final-cta h2 { color: var(--marigold); font-size: clamp(3.6rem, 13vw, 7rem); line-height: .9; }
.final-cta p { font-size: 1.15rem; margin-bottom: 32px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--mole-deep); color: var(--cream-soft); padding: 72px 0 110px; font-size: .98rem; }
.footer-top {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px;
  padding-bottom: 36px; margin-bottom: 44px; border-bottom: 1px solid rgba(242, 183, 5, .22);
}
.site-footer .footer-word {
  margin: 0; font-family: var(--font-head); text-transform: uppercase; color: var(--marigold);
  font-size: clamp(5rem, 22vw, 12rem); line-height: .8; letter-spacing: .02em;
}
.site-footer .footer-tag { margin: 0 0 .5em; font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--cream-soft); }
.footer-grid { display: grid; gap: 36px 32px; }
.site-footer .footer-label {
  margin: 0 0 1em; font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--terracotta);
}
.site-footer address { font-size: 1rem; font-weight: 400; color: var(--cream); line-height: 1.6; margin-bottom: 10px; }
.site-footer p { margin: 0 0 10px; color: var(--cream); }
.site-footer .footer-word, .site-footer .footer-tag, .site-footer .footer-label { margin-top: 0; }
.footer-phone { font-family: var(--font-head); font-size: 2.1rem; line-height: 1; color: var(--cream); text-decoration: none; display: inline-block; padding: 4px 0; }
.footer-phone:hover { color: var(--marigold); }
.footer-link {
  display: inline-block; padding: 8px 0; color: var(--marigold); text-decoration: none;
  font-weight: 600; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase;
}
.footer-link:hover { color: var(--cream); }
.footer-small { font-size: .88rem; color: var(--cream-soft); }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav a { display: inline-block; padding: 6px 0; color: var(--cream); text-decoration: none; }
.footer-nav a:hover { color: var(--marigold); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px;
  margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem;
}
.footer-bottom p { margin: 0; color: var(--cream-soft); }
.footer-bottom a { color: var(--cream); text-decoration: none; padding: 10px 0; }
.footer-bottom a:hover { color: var(--marigold); }
/* Designer credit, small, in the middle */
.footer-bottom .credit { font-size: .8rem; letter-spacing: .03em; }
@media (min-width: 768px) {
  .footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; }
  .footer-bottom .credit { text-align: center; }
  .footer-bottom > a { justify-self: end; }
}

/* ---------- Sticky bar on phones ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr 1.4fr;
  background: var(--mole); border-top: 1px solid rgba(242, 183, 5, .3);
  padding-bottom: env(safe-area-inset-bottom);
}
.sticky-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 62px; text-decoration: none; color: var(--cream); font-weight: 600; font-size: .85rem;
}
.sticky-bar svg { width: 22px; height: 22px; fill: currentColor; }
.sticky-bar .sticky-main { background: var(--marigold); color: var(--mole); }

/* ---------- Fade-in while scrolling (only when JavaScript is on) ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }
.timeline li:nth-child(2) { transition-delay: .1s; }
.timeline li:nth-child(3) { transition-delay: .2s; }

/* =========================================================
   Larger screens
   ========================================================= */
@media (min-width: 600px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

@media (min-width: 768px) {
  .section { padding: 120px 0; }
  .menu-columns { columns: 2; column-gap: 56px; }
  .story-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .reviews-grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
  .story::before { width: 600px; height: 600px; left: -340px; top: 120px; }
}

@media (min-width: 960px) {
  .visit-grid { grid-template-columns: repeat(2, 1fr); }   /* Hours and Find us side by side */
  .main-nav { display: flex; }
  .hero { padding: 56px 0 96px; }
  .scroll-cue { display: flex; }
  .motion-toggle { top: auto; bottom: 24px; right: 24px; }
  .menu-jump { justify-content: space-between; }
  .menu-jump a { padding: 0 6px; letter-spacing: .08em; }
  .menu-columns { columns: 3; column-gap: 48px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr .8fr; }
  /* No sticky bar on desktop */
  .sticky-bar { display: none; }
  .site-footer { padding-bottom: 40px; }
}

@media (max-width: 599px) {
  /* Favorites: price goes under the description so names have room */
}

@media (max-width: 400px) {
  .header-order { display: none; } /* the sticky bar has the order button on small phones */
}

/* Respect people who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover { transform: none; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .motion-toggle { display: none; }
}
