/*
 * site.css — Food Mart 2 marketing design system (feature-site #10).
 *
 * Brand: festive Mexico-City cantina. Built on the original terracotta, with the
 * logo's fiesta palette (yellow / green / red) brought in as papel-picado accents.
 * LuckiestGuy is the festive display face for headings/accents; body stays
 * system-ui (readable, zero font bytes). The blue --fm-primary is retained ONLY
 * so the seam to the ordering app (/order) stays invisible; the marketing CTA is
 * the warm "salsa" red-orange, not blue.
 *
 * Bilingual: Spanish is primary (display, larger); English is the secondary line
 * (smaller, muted) via the .lead-en / .nav-en / .cta-en / .muted-en helpers.
 *
 * Discipline: mobile-first, WCAG 2.2 AA contrast, CWV-friendly (system-ui body
 * = zero font bytes; self-hosted display faces with font-display:swap; explicit
 * image dimensions for CLS; prefers-reduced-motion respected; no audio).
 *
 * Rebranded to Food Mart 2 (Mexican) by larry-ui-ux-visionary.
 */

/* =========================================================================
   1. Self-hosted display fonts
   ========================================================================= */
/* Festive display face — headings + accents ONLY (it's an all-caps display cut,
   never body copy). font-display:swap keeps text visible while it loads. */
@font-face {
  font-family: "Luckiest Guy";
  src: url("/site-assets/fonts/LuckiestGuy-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Fraunces stays available for the occasional serif accent (e.g. footer name).
   Variable font: wght 100–900, opsz 9–144. */
@font-face {
  font-family: "Fraunces";
  src: url("/site-assets/fonts/Fraunces.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* =========================================================================
   2. Tokens
   ========================================================================= */
:root {
  /* Shared with the ordering app — keep --fm-primary in sync so /order matches */
  --fm-bg:            #FFF8EC;  /* warm tortilla-cream canvas */
  --fm-surface:       #ffffff;
  --fm-surface-2:     #FBF0DD;  /* warm tinted panel */
  --fm-primary:       #3b82f6;
  --fm-primary-hover: #2563eb;
  --fm-text:          #1c140d;  /* near-black, warm — 14:1+ on cream */
  --fm-text-muted:    #6b5b4b;  /* warm muted — ~5.4:1 on cream (AA) */
  --fm-border:        #ECD9BE;  /* warm hairline */
  --fm-ok-fg:         #166534;
  --fm-danger:        #dc2626;

  /* Marketing warm accent — "salsa" red-orange CTA (AA on white) */
  --fm-accent:        #C0552B;  /* terracotta / salsa */
  --fm-accent-hover:  #A8451F;
  --fm-accent-soft:   #FBEDE6;
  --fm-gold:          #E0A93B;

  /* Fiesta / papel-picado palette — from the Food Mart 2 logo.
     Used as decorative accents (strips, dish-card washes, borders), NOT as
     text on light bg unless paired with a dark surface. */
  --fm-fiesta-red:    #D7263D;
  --fm-fiesta-orange: #F46A1F;
  --fm-fiesta-yellow: #F6B910;
  --fm-fiesta-green:  #2E8B57;  /* AA as text on white (~3.4:1 large only) */
  --fm-fiesta-pink:   #E84A8A;
  --fm-fiesta-teal:   #1F9E8E;
  /* Soft tints to float cut-out dish photos on (each pairs with --fm-text). */
  --fm-tint-1:        #FFE9C7;  /* warm yellow */
  --fm-tint-2:        #FBE0D2;  /* salsa wash  */
  --fm-tint-3:        #DDF0E3;  /* lime wash   */
  --fm-tint-4:        #FCE3EE;  /* pink wash   */

  /* Type */
  --fm-display:    "Luckiest Guy", "Fraunces", Georgia, system-ui, sans-serif;
  --fm-display-alt: "Fraunces", Georgia, "Times New Roman", serif;
  --fm-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Shape + depth (matches ordering app radii/shadow family) */
  --fm-radius:  8px;
  --fm-radius-lg: 12px;
  --fm-shadow-card: 0 2px 12px rgba(0, 0, 0, 0.07);
  --fm-shadow-card-hover: 0 6px 20px rgba(0, 0, 0, 0.10);

  /* Layout */
  --fm-maxw: 1100px;
  --fm-gutter: 20px;
}

/* =========================================================================
   3. Base / reset
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--fm-bg);
  color: var(--fm-text);
  font-family: var(--fm-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--fm-primary); }
a:hover { color: var(--fm-primary-hover); }

/* Luckiest Guy is an all-caps display face: it has a single weight (400) and
   reads best with a touch more line-height and no negative tracking. */
h1, h2, h3 {
  font-family: var(--fm-display);
  color: var(--fm-text);
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-weight: 400;
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

:focus-visible {
  outline: 2px solid var(--fm-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: var(--fm-maxw);
  margin-inline: auto;
  padding-inline: var(--fm-gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--fm-text);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
  border-radius: 0 0 var(--fm-radius) 0;
}
.skip-link:focus { left: 0; color: #fff; }

.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;
}

/* =========================================================================
   3b. Bilingual one-language-at-a-time — ES default, header toggle flips.
   Both languages are ALWAYS in the DOM (crawlable for SEO). The active language
   is chosen by a class on <html> (.lang-es / .lang-en), set before first paint
   by the inline head script (from localStorage "fm-lang"; default es) and flipped
   live by site.js. CSS hides the inactive language — no reflow surprises because
   the visible language always takes the primary styling of its context.

   .es-only / .en-only wrap EVERY dual-language string across all pages (nav, hero,
   headings, body copy, dish names, footer, CTAs, hours "Closed"). Because only one
   shows at a time, each gets the FULL primary treatment in its context — there is
   no longer a muted/secondary "gloss" line.
   ========================================================================= */
.lang-es .en-only { display: none !important; }
.lang-en .es-only { display: none !important; }

/* Inline ES/EN siblings (nav labels, button labels, link glosses, small labels)
   render inline so they slot in exactly where the old single string sat. */
.es-only, .en-only { }

/* Block contexts: headings carry ES and EN as stacked blocks in source, but only
   one is shown, so the shown one behaves as a normal single heading line. */
h1 > .es-only, h1 > .en-only,
h2 > .es-only, h2 > .en-only,
.page-head__title > .es-only, .page-head__title > .en-only,
.band__title > .es-only, .band__title > .en-only,
.menu-block__title > .es-only, .menu-block__title > .en-only,
.closing-cta__title > .es-only, .closing-cta__title > .en-only,
.hero__heading > .es-only, .hero__heading > .en-only,
.dish-card__name > .es-only, .dish-card__name > .en-only {
  display: block;
}

/* =========================================================================
   3c. Language toggle (ES | EN) — segmented control in the header.
   Lives in the header on mobile AND desktop. Each pill is a ≥44px tap target;
   the active one is filled (clear, AA contrast) with aria-pressed=true.
   ========================================================================= */
.lang-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: stretch;
  border: 1px solid var(--fm-border);
  border-radius: 999px;
  background: var(--fm-surface);
  padding: 2px;
  overflow: hidden;
}
.lang-toggle__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--fm-text-muted);
  font: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  min-height: 44px;            /* WCAG AA touch target */
  min-width: 44px;
  padding: 0 12px;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
  transition: background-color .2s ease, color .2s ease;
}
.lang-toggle__btn:hover { color: var(--fm-text); }
/* Active language = filled salsa pill, white label (AA: #fff on #C0552B ≈ 4.7:1). */
.lang-toggle__btn[aria-pressed="true"] {
  background: var(--fm-accent);
  color: #fff;
}
.lang-toggle__btn:focus-visible {
  outline: 2px solid var(--fm-primary);
  outline-offset: 2px;
}

/* =========================================================================
   4. Buttons (Order Now = the one blue thing; accent for specials)
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;            /* mobile touch floor */
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--fm-radius);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
/* Brand: the primary CTA is terracotta, not blue (matches hero/headings).
   #C0552B on #fff ≈ 4.7:1 (WCAG 2.2 AA for normal text); hover/active darker. */
.btn--primary { background: var(--fm-accent); color: #fff; }
.btn--primary:hover { background: var(--fm-accent-hover); color: #fff; }
.btn--primary:active { background: #8a3c1e; color: #fff; }
.btn--outline { background: transparent; color: var(--fm-text); border-color: var(--fm-border); }
.btn--outline:hover { background: var(--fm-surface-2); color: var(--fm-text); border-color: #d1d5db; }
/* On the dark terracotta hero, the outline (ghost) button needs a light treatment
   so border + label read at AA against the warm background (P2-3). */
.hero .btn--outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
}
.hero .btn--outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
  color: #fff;
}
.btn--accent { background: var(--fm-accent); color: #fff; }
.btn--accent:hover { background: var(--fm-accent-hover); color: #fff; }
.btn--lg { min-height: 52px; padding: 14px 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.link-arrow { font-weight: 600; text-decoration: none; color: var(--fm-accent); }
.link-arrow:hover { text-decoration: underline; color: var(--fm-accent-hover); }

/* Button labels are now single-language (the toggle hides the other). Keep the
   one visible label at the button's weight; no secondary line / separator. */
.btn .es-only, .btn .en-only { font-weight: 700; }

/* =========================================================================
   5. Header
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 236, 0.94);  /* warm cream, translucent */
  backdrop-filter: saturate(1.3) blur(8px);
  border-bottom: 2px solid var(--fm-fiesta-yellow);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 8px;                  /* tight by default; roomier on desktop below */
  min-height: 60px;
}
/* Logo image wordmark (festive bubble lockup replaces the text wordmark). */
.wordmark {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  text-decoration: none;
  line-height: 0;
  min-width: 0;              /* allow the logo to shrink before others wrap */
}
.wordmark__img {
  height: 40px;             /* crisp, contained; width auto to keep aspect */
  width: auto;
  max-width: 38vw;          /* cap so logo+toggle+burger+CTA coexist at 360px */
  object-fit: contain;
  object-position: left center;
  display: block;
}
@media (min-width: 480px) {
  .wordmark__img { height: 44px; max-width: none; }
}
@media (min-width: 768px) {
  .site-header__inner { gap: 12px; }
  .wordmark__img { height: 52px; }
}

.site-nav__list {
  display: none;            /* hidden on mobile until toggled */
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav__list a {
  color: var(--fm-text);
  text-decoration: none;
  font-weight: 600;
  padding: 12px 0;
  min-height: 44px;            /* WCAG AA touch target (open mobile menu) */
  display: flex;
  align-items: center;
}
.site-nav__list a:hover { color: var(--fm-accent); }
/* In-nav labels are single-language now (toggle hides the other). */
.site-nav__list .es-only,
.site-nav__list .en-only { font-weight: 600; }

/* Papel-picado fiesta strip across the very top — decorative, repeats a
   scalloped bunting of fiesta colors. Hidden from a11y tree (aria-hidden). */
.papel-picado {
  height: 12px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--fm-fiesta-red)    0 28px,
      var(--fm-fiesta-orange) 28px 56px,
      var(--fm-fiesta-yellow) 56px 84px,
      var(--fm-fiesta-green)  84px 112px,
      var(--fm-fiesta-pink)   112px 140px,
      var(--fm-fiesta-teal)   140px 168px
    );
  -webkit-mask: radial-gradient(circle 7px at 14px 0, transparent 98%, #000) repeat-x 0 0 / 28px 12px;
          mask: radial-gradient(circle 7px at 14px 0, transparent 98%, #000) repeat-x 0 0 / 28px 12px;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 0;                 /* drop the boxy outline — less header noise (P1-4) */
  border-radius: var(--fm-radius);
  cursor: pointer;
}
.nav-toggle:hover { background: var(--fm-surface-2); }
.nav-toggle__bar { width: 20px; height: 2px; background: var(--fm-text); margin-inline: auto; border-radius: 2px; }

/* mobile: show compact Order button in header, keep nav behind toggle.
   nowrap stops "Order Now" breaking to two lines at ~390px (P1-4). */
.site-header__cta {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 9px 13px;
  min-height: 44px;          /* keep tap target ≥44px */
  font-size: 0.95rem;
  white-space: nowrap;
}
/* At the tightest widths, trim the CTA + toggle so logo + toggle + burger + CTA
   all fit on one row without wrapping. */
@media (max-width: 400px) {
  .site-header__inner { gap: 6px; }
  .site-header__cta { padding: 9px 11px; font-size: 0.9rem; }
  .lang-toggle__btn { padding: 0 9px; font-size: 0.78rem; }
}

/* nav open state (toggled by JS) */
.site-nav--open .site-nav__list {
  display: block;
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: var(--fm-surface);
  border-bottom: 1px solid var(--fm-border);
  box-shadow: var(--fm-shadow-card);
  padding: 8px var(--fm-gutter) 16px;
}

/* =========================================================================
   6. Hero
   ========================================================================= */
/* Festive gradient stage; the cut-out dish PNGs cross-fade on top of it. */
.hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(246,185,16,0.55) 0%, transparent 55%),
    radial-gradient(120% 90% at 10% 90%, rgba(46,139,87,0.45) 0%, transparent 55%),
    linear-gradient(135deg, #B8421F 0%, #C0552B 45%, #8A3C1E 100%);
}
.hero__slides {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 70vh;
  overflow: hidden;
}
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;          /* cut-outs: show whole dish, never crop oddly */
  object-position: center;
  padding: clamp(12px, 4vw, 48px);
  opacity: 0;
  transition: opacity .9s ease-in-out;
  /* lift the dish off the gradient */
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.35));
  will-change: opacity;
}
.hero__slide.is-active { opacity: 1; }
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.55) 100%);
  z-index: 1;
}
.hero__content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding-bottom: clamp(20px, 5vw, 48px);
  color: #fff;
}
.hero__heading { color: #fff; margin-bottom: 0.25em; text-shadow: 0 2px 14px rgba(0,0,0,.5); }
.hero__heading .es-only,
.hero__heading .en-only { letter-spacing: 0.01em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.hero__actions--center { justify-content: center; }

/* Mobile (<768): the hero slides are CUT-OUT dish PNGs floating on a gradient
   (object-fit:contain), so overlaying the headline on top would collide with the
   dish. The intentional treatment is therefore: dish image stage, then a tight
   brand panel carrying heading → CTAs → hours chip. Keep the image compact so the
   headline + primary CTA land near the fold (P1-3). */
@media (max-width: 767.98px) {
  .hero__slides { aspect-ratio: 5 / 4; max-height: 38vh; }
  .hero__scrim { display: none; }
  .hero__content {
    position: static;
    inset: auto;
    background: linear-gradient(135deg, #B8421F 0%, #C0552B 60%, #8A3C1E 100%);
    color: #fff;
    padding: 22px 0 26px;
    /* a slim fiesta seam where the dish stage meets the brand panel */
    border-top: 3px solid var(--fm-fiesta-yellow);
  }
  .hero__heading { margin-bottom: 0.5em; text-shadow: none; font-size: clamp(2rem, 8vw, 2.6rem); }
  .hero__actions { margin-top: 16px; }
  .hero__actions .btn { flex: 1 1 auto; }   /* full-width, evenly split CTAs */
}

.hours-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  background: rgba(255,255,255,.92);
  color: var(--fm-text);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
}
.hours-chip__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--fm-ok-fg); }
.hours-chip[data-closed="true"] .hours-chip__dot { background: var(--fm-danger); }
.hours-chip__sep { color: var(--fm-text-muted); }

/* =========================================================================
   7. Specials banner
   ========================================================================= */
.specials { background: var(--fm-accent-soft); border-bottom: 1px solid #f3ddd0; }
.specials__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding-block: 16px;
}
.specials__label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fm-accent);
}
.specials__msg { margin: 0; font-weight: 600; font-size: 1.05rem; flex: 1 1 auto; }

/* =========================================================================
   8. Content bands
   ========================================================================= */
.band { padding-block: clamp(40px, 7vw, 72px); }
.band--alt { background: var(--fm-surface-2); }
/* Trims the over-large gap above a band when the preceding section already
   provides bottom breathing room (P3-3 — apply to the "Why" band). */
.band--tight-top { padding-top: clamp(24px, 4vw, 40px); }
.band__title { margin-bottom: 1em; }
.band__cta { margin-top: 24px; }

.page-head { padding-block: clamp(28px, 5vw, 52px) clamp(12px, 2vw, 20px); }
.page-head--center { text-align: center; }
.page-head__intro { color: var(--fm-text-muted); font-size: 1.1rem; max-width: 60ch; }
.page-head--center .page-head__intro { margin-inline: auto; }
/* Fiesta page heads: warm wash + a papel-picado hairline under the title. */
.page-head--fiesta {
  background: linear-gradient(180deg, var(--fm-tint-1) 0%, var(--fm-bg) 100%);
  border-bottom: 1px solid var(--fm-border);
}
.page-head__title { margin-bottom: 0.35em; }
.page-head--center .page-head__title { display: inline-block; }

/* =========================================================================
   9. Cards (featured items)
   ========================================================================= */
.card-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.food-card {
  background: var(--fm-surface);
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius-lg);
  overflow: hidden;
  box-shadow: var(--fm-shadow-card);
  transition: box-shadow .2s ease, transform .2s ease;
}
.food-card:hover { box-shadow: var(--fm-shadow-card-hover); }
.food-card__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.food-card__body { padding: 14px 16px; }
.food-card__name { margin: 0 0 4px; font-size: 1.05rem; }
.food-card__price {
  margin: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--fm-text);
}

/* =========================================================================
   9b. Dish cards — cut-out dish PNGs floating on warm fiesta-tinted cards.
   Used on the homepage preview and the /menu display grid. NO prices.
   NameES is primary (display face); NameEN is the secondary muted line.
   ========================================================================= */
.dish-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 480px) { .dish-grid { gap: 16px; } }
.dish-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--fm-surface);
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius-lg);
  overflow: hidden;
  box-shadow: var(--fm-shadow-card);
  transition: box-shadow .2s ease, transform .2s ease;
}
.dish-card:hover { box-shadow: var(--fm-shadow-card-hover); transform: translateY(-2px); }
/* The tinted media panel the cut-out photo floats on. Rotating the tints gives
   the grid the papel-picado / fiesta feel without clashing color blocks. */
.dish-card__media {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 10px;
  background: var(--fm-tint-1);
}
.dish-grid > li:nth-child(4n+2) .dish-card__media { background: var(--fm-tint-2); }
.dish-grid > li:nth-child(4n+3) .dish-card__media { background: var(--fm-tint-3); }
.dish-grid > li:nth-child(4n+4) .dish-card__media { background: var(--fm-tint-4); }
.dish-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.18));
}
.dish-card__body { padding: 12px 12px 14px; text-align: center; }
.dish-card__name {
  margin: 0;
  font-family: var(--fm-display);
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  line-height: 1.12;
  color: var(--fm-text);
  /* names are single-language now; keep long names tidy on narrow cards */
  overflow-wrap: break-word;
}
/* Specialty cards get a warm gold ring to set them apart from numbered dishes. */
.dish-card--specialty { border-color: var(--fm-gold); box-shadow: 0 2px 12px rgba(224,169,59,0.22); }
.dish-card--specialty .dish-card__media { background: var(--fm-tint-1); }

/* =========================================================================
   9c. Fiesta band + centered titles
   ========================================================================= */
.band--fiesta { background: var(--fm-surface-2); }
.band__title--center { text-align: center; }
.band__cta--center { text-align: center; }

/* =========================================================================
   10. Proof points
   ========================================================================= */
.proof-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
/* Icons are inline <svg stroke/fill="currentColor"> — brand-colored, consistent
   size, baseline-aligned with the card text (P2-8). */
.proof__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  color: var(--fm-accent);
}
.proof__icon svg { width: 28px; height: 28px; display: block; }
.proof__head { margin: 0 0 4px; }
.proof p { margin: 0; color: var(--fm-text-muted); }

/* =========================================================================
   11. Gallery
   ========================================================================= */
.gallery-strip {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}
.gallery-strip img { aspect-ratio: 1; object-fit: cover; border-radius: var(--fm-radius); }

.gallery-grid {
  list-style: none; margin: 0; padding: 0 0 8px;
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
.gallery-grid figure { margin: 0; }
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--fm-radius-lg);
  box-shadow: var(--fm-shadow-card);
}
.gallery-grid figcaption { margin-top: 8px; font-size: 0.9rem; color: var(--fm-text-muted); }

/* =========================================================================
   12. Reviews
   ========================================================================= */
.review-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
.review {
  background: var(--fm-surface);
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius-lg);
  padding: 20px;
}
.review__stars { margin: 0 0 8px; color: var(--fm-gold); letter-spacing: 2px; }
.review__quote { margin: 0 0 10px; font-size: 1.1rem; font-style: italic; border: 0; padding: 0; }
.review__author { margin: 0; color: var(--fm-text-muted); font-weight: 600; }

/* =========================================================================
   13. Hours list + NAP
   ========================================================================= */
.nap { font-style: normal; line-height: 1.6; }
.nap--lg { font-size: 1.1rem; }
.nap a { font-weight: 600; }

.hours-list { list-style: none; margin: 0 0 1em; padding: 0; }
/* Grid (not space-between) so day↔value align in tidy columns and "Closed"
   rows sit flush with open rows instead of floating far right (P2-6). */
.hours-list li {
  display: grid;
  grid-template-columns: minmax(7.5em, auto) 1fr;
  column-gap: 16px;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid var(--fm-border);
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list__day { color: var(--fm-text-muted); }
.hours-list__time { font-variant-numeric: tabular-nums; text-align: right; }
.hours-list .is-today {
  font-weight: 700;
  background: var(--fm-accent-soft);
  margin-inline: -8px;
  padding-inline: 8px;
  border-radius: var(--fm-radius);
  border-bottom-color: transparent;
}
.hours-list .is-today .hours-list__day { color: var(--fm-accent); }
.hours-list--compact li { padding: 5px 0; }

/* Footer hours: give the dense list air + legible contrast on the dark footer (P2-7) */
.site-footer .hours-list { font-size: 0.92rem; }
.site-footer .hours-list li {
  padding: 6px 0;
  column-gap: 14px;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
.site-footer .hours-list__day { color: #94a3b8; }
.site-footer .hours-list__time { color: #e2e8f0; }
.site-footer .hours-list .is-today { background: rgba(255, 255, 255, 0.06); }
.site-footer .hours-list .is-today .hours-list__day { color: var(--fm-gold); }

/* =========================================================================
   14. Visit + Contact
   ========================================================================= */
.visit-strip { background: var(--fm-surface-2); padding-block: clamp(36px, 6vw, 60px); }
.visit-strip__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }

.visit-grid, .contact-grid { display: grid; gap: 32px; padding-bottom: clamp(40px, 6vw, 64px); grid-template-columns: 1fr; }
.visit-grid__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.visit-grid__note { color: var(--fm-text-muted); font-size: 0.92rem; margin-top: 12px; }

.map-facade {
  display: block;
  position: relative;
  border-radius: var(--fm-radius-lg);
  overflow: hidden;
  box-shadow: var(--fm-shadow-card);
  text-decoration: none;
}
.map-facade__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--fm-surface-2); }
.map-facade__pin {
  position: absolute;
  left: 50%; bottom: 16px;
  transform: translateX(-50%);
  background: var(--fm-surface);
  color: var(--fm-text);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: var(--fm-shadow-card);
}

.contact-methods { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact-method {
  background: var(--fm-surface);
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius-lg);
  padding: 16px 18px;
}
.contact-method__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fm-text-muted);
  margin-bottom: 4px;
}
.contact-method__value { font-size: 1.15rem; font-weight: 600; text-decoration: none; }

/* =========================================================================
   15. Menu page
   ========================================================================= */
.menu-wrap { padding-bottom: 96px; } /* room for sticky CTA on mobile */

/* Festive display-menu blocks (Platillos / Especialidades). */
.menu-block { margin-bottom: clamp(36px, 6vw, 56px); }
.menu-block__title {
  display: inline-block;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--fm-fiesta-yellow);
}
.menu-block--specialty .menu-block__title { border-bottom-color: var(--fm-gold); }
.dish-grid--menu { gap: 18px; }

.menu-section { margin-bottom: 40px; }
.menu-section__title {
  border-bottom: 2px solid var(--fm-accent);
  padding-bottom: 8px;
  margin-bottom: 16px;
}
.menu-section__desc { color: var(--fm-text-muted); margin-top: -8px; }
.menu-items { list-style: none; margin: 0; padding: 0; }
.menu-item {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--fm-border);
}
.menu-item:last-child { border-bottom: 0; }
.menu-item__name { margin: 0 0 2px; font-size: 1.05rem; }
.menu-item__desc { margin: 0; color: var(--fm-text-muted); font-size: 0.92rem; }
.menu-item__price { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.allergen-note {
  margin-top: 32px;
  padding: 16px;
  background: var(--fm-surface-2);
  border-radius: var(--fm-radius);
  font-size: 0.9rem;
  color: var(--fm-text-muted);
}

.sticky-cta {
  position: sticky;
  bottom: 0;
  z-index: 40;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--fm-border);
  padding: 12px var(--fm-gutter);
}

/* =========================================================================
   16. Prose (about, legal)
   ========================================================================= */
.prose-wrap { padding-bottom: clamp(40px, 6vw, 64px); }
.prose { max-width: 65ch; font-size: 1.08rem; }
.prose p { margin-bottom: 1.1em; }
.prose-figure { margin: 32px 0; }
.prose-figure img { border-radius: var(--fm-radius-lg); box-shadow: var(--fm-shadow-card); width: 100%; }
.prose--team { margin-top: 16px; }

/* =========================================================================
   17. Closing CTA / footer
   ========================================================================= */
/* Closing band: centered, generous breathing room, soft brand wash, brand CTA (P2-9) */
.closing-cta {
  padding-block: clamp(48px, 8vw, 80px);
  text-align: center;
  background: var(--fm-accent-soft);
  border-top: 1px solid #f3ddd0;
}
.closing-cta__title {
  font-family: var(--fm-display);
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 600;
  margin: 0 0 0.4em;
}
.closing-cta__copy {
  margin: 0 auto 24px;
  max-width: 48ch;
  color: var(--fm-text-muted);
  font-size: 1.1rem;
}
.closing-cta .btn { margin-inline: auto; }
.closing-cta--split { background: var(--fm-surface-2); text-align: left; padding-block: clamp(36px, 6vw, 56px); border-top: 1px solid var(--fm-border); }
.closing-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.closing-cta--split .closing-cta__copy { margin: 0; }
.closing-cta__line { margin: 0; font-family: var(--fm-display); font-size: 1.4rem; font-weight: 600; }

.empty-state { color: var(--fm-text-muted); padding: 32px 0; font-size: 1.05rem; }

.notfound-nav { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 28px; }

.site-footer {
  background: var(--fm-text);
  color: #cbd5e1;
  margin-top: auto;
}
.site-footer a { color: #e2e8f0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  padding-block: 40px;
}
.site-footer__name { font-family: var(--fm-display); font-weight: 400; font-size: 1.3rem; letter-spacing: 0.01em; color: #fff; margin: 0 0 8px; }
/* Clearer footer column headings: stronger tracking + a short brand divider (P3-4) */
.site-footer__heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #cbd5e1;
  margin: 0 0 14px;
  padding-bottom: 8px;
  position: relative;
}
.site-footer__heading::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 24px; height: 2px;
  background: var(--fm-gold);
  border-radius: 2px;
}
.site-footer .nap a { color: #e2e8f0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer__links li, .social-list li { padding: 4px 0; }
.site-footer__cta { margin-top: 14px; }
.site-footer__bar {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 18px;
  font-size: 0.85rem;
  color: #94a3b8;
}
.site-footer__bar p { margin: 0; }
.site-footer__legal { display: flex; gap: 16px; }

/* =========================================================================
   18. Responsive — tablet (768+) and desktop (1024+)
   ========================================================================= */
@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .site-nav__list { display: flex; gap: 24px; align-items: center; }
  .site-header__cta { padding: 11px 20px; min-height: 44px; }

  .card-grid { grid-template-columns: repeat(4, 1fr); }
  .dish-grid { grid-template-columns: repeat(3, 1fr); }
  .proof-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-strip { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-methods { grid-template-columns: repeat(3, 1fr); }

  .visit-grid, .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .contact-grid__map { grid-column: 1 / -1; }

  /* menu page: sticky bottom bar not needed on larger screens */
  .sticky-cta { display: none; }
  .menu-wrap { padding-bottom: 64px; }
}

@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .dish-grid { grid-template-columns: repeat(4, 1fr); }
  .hero__content { padding-bottom: 56px; }
}

/* =========================================================================
   19. Reduced motion
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
