/* ==========================================================================
   Don Birria Tacos y Más design system
   Single stylesheet, no build step. Palette is pulled from the storefront:
   the red awning, the saffron-and-orange menu board, the limestone walls.
   Order: tokens, reset, base, layout, components, page blocks, motion.
   ========================================================================== */

/* --- 1. Tokens ----------------------------------------------------------- */
:root {
  /* Brand */
  --chile:       #B3261E;  /* the awning */
  --chile-dark:  #8A1C16;
  --naranja:     #E2661A;  /* menu-board orange */
  --azafran:     #F4B21B;  /* saffron, the sombrero */
  --azafran-lt:  #FBD771;
  --carbon:      #22150F;  /* sign lettering */
  --cafe:        #4A2E1F;
  --masa:        #FBF3E2;
  --masa-alt:    #F4E6C9;  /* limestone */
  --paper:       #FFFDF7;
  --verde:       #2F7A4B;

  /* Semantic */
  --bg:          var(--masa);
  --bg-alt:      var(--masa-alt);
  --surface:     var(--paper);
  --ink:         var(--carbon);
  --ink-soft:    #5C4637;
  --ink-faint:   #8A7362;
  --rule:        #E6D3B0;
  --accent:      var(--chile);

  /* Type */
  --font-display: "Alfa Slab One", "Rockwell", Georgia, serif;
  --font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --step--1: clamp(0.86rem, 0.84rem + 0.10vw, 0.92rem);
  --step-0:  clamp(1.00rem, 0.96rem + 0.20vw, 1.13rem);
  --step-1:  clamp(1.20rem, 1.12rem + 0.40vw, 1.45rem);
  --step-2:  clamp(1.45rem, 1.30rem + 0.75vw, 1.95rem);
  --step-3:  clamp(1.75rem, 1.45rem + 1.50vw, 2.70rem);
  --step-4:  clamp(2.10rem, 1.55rem + 2.75vw, 3.90rem);
  --step-5:  clamp(2.70rem, 1.60rem + 5.50vw, 6.20rem);

  /* Space */
  --sp-1: 0.375rem;  --sp-2: 0.75rem;  --sp-3: 1.125rem;
  --sp-4: 1.75rem;   --sp-5: 2.75rem;  --sp-6: 4rem;
  --sp-7: 6rem;

  /* Shape */
  --r-sm: 4px; --r-md: 10px; --r-lg: 16px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(34,21,15,.06), 0 2px 6px rgba(34,21,15,.05);
  --shadow-md: 0 2px 4px rgba(34,21,15,.05), 0 10px 26px rgba(34,21,15,.12);
  --shadow-lg: 0 4px 8px rgba(34,21,15,.06), 0 24px 60px rgba(34,21,15,.18);

  --wrap: 1180px;
  --header-h: 74px;
  --ease: cubic-bezier(.2,.7,.3,1);
}

/* --- 2. Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: var(--chile); text-underline-offset: 3px; }
a:hover { color: var(--chile-dark); }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--azafran); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.2; }
p  { text-wrap: pretty; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* --- 3. Layout primitives ------------------------------------------------ */
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--sp-7); }
.section--tight { padding-block: var(--sp-6); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--carbon); color: var(--masa-alt); }
.section--dark h2, .section--dark h3 { color: var(--masa); }
.stack > * + * { margin-top: var(--sp-3); }
.grid { display: grid; gap: var(--sp-4); }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.center { text-align: center; }

.split { display: grid; gap: var(--sp-5); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .split--wide-text { grid-template-columns: 1fr 1.1fr; }
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--carbon); color: #fff; padding: .75rem 1.25rem;
}
.skip-link:focus { left: 0; }

/* --- 4. Eyebrow / section heads ------------------------------------------ */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: var(--step--1); font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--chile);
}
.section--dark .eyebrow { color: var(--azafran); }
.section-head { max-width: 62ch; margin-bottom: var(--sp-5); }
.section-head h2 { margin-top: var(--sp-2); }
.section-head p { font-size: var(--step-1); color: var(--ink-soft); margin-top: var(--sp-2); }
.section-head.center { margin-inline: auto; }
.lede { font-size: var(--step-1); color: var(--ink-soft); }
.section--dark .lede { color: var(--masa-alt); }
.fine { font-size: var(--step--1); color: var(--ink-faint); }
.section--dark .fine { color: #B8A491; }

/* --- 5. Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 800; font-size: var(--step-0); line-height: 1;
  padding: 1rem 1.6rem; border-radius: var(--r-pill);
  text-decoration: none; border: 2px solid transparent;
  transition: transform .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--chile); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--chile-dark); color: #fff; }
.btn--gold { background: var(--azafran); color: var(--carbon); box-shadow: var(--shadow-md); }
.btn--gold:hover { background: var(--azafran-lt); color: var(--carbon); }
.btn--ghost { border-color: currentColor; color: var(--ink); }
.btn--ghost:hover { background: var(--carbon); border-color: var(--carbon); color: #fff; }
.section--dark .btn--ghost, .hero .btn--ghost { color: #fff; }
.hero .btn--ghost:hover { background: #fff; border-color: #fff; color: var(--carbon); }
.btn--lg { padding: 1.15rem 2rem; font-size: var(--step-1); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

/* --- 6. Header ----------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; color: #fff;
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header[data-stuck="true"] { background: var(--carbon); box-shadow: var(--shadow-md); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }

.brand { display: inline-flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
.brand__logo { width: 62px; height: 62px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-size: 1.45rem; letter-spacing: .01em; }
.brand__tag { font-size: .72rem; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; color: var(--azafran); margin-top: .25rem; }

.nav__list { display: flex; align-items: center; gap: var(--sp-4); }
.nav__link { color: #fff; text-decoration: none; font-weight: 700; }
.nav__link:hover { color: var(--azafran); }
.nav__cta { display: none; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .header__cta { display: none; }
  .nav-toggle {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r-pill);
    background: rgba(255,255,255,.12); position: relative; z-index: 60;
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; position: relative;
    transition: transform .2s var(--ease), background-color .2s;
  }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; }
  .nav-toggle__bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

  .nav {
    position: fixed; inset: 0; background: var(--carbon); padding: calc(var(--header-h) + 2rem) 1.5rem 2rem;
    opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), visibility .2s;
  }
  .nav[data-open="true"] { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
  .nav__link { font-family: var(--font-display); font-size: var(--step-3); font-weight: 400; }
  .nav__cta { display: block; margin-top: var(--sp-3); }
}

/* --- 7. Hero ------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  color: #fff; overflow: hidden; isolation: isolate;
  padding-block: calc(var(--header-h) + 2rem) 5rem;
}
.hero__bg, .hero__video, .hero__scrim { position: absolute; inset: 0; z-index: -1; }
.hero__bg { background: var(--carbon) url("../assets/img/quesabirria.jpg") center / cover no-repeat; }
.hero__video {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s var(--ease);
}
.hero[data-video="on"] .hero__video { opacity: 1; }
/* Light touch: only the logo and buttons sit on top, so let the video carry it. */
.hero__scrim {
  background:
    radial-gradient(circle at center 45%, rgba(34,21,15,.45) 0%, rgba(34,21,15,0) 55%),
    linear-gradient(180deg, rgba(34,21,15,.45) 0%, rgba(34,21,15,0) 25%, rgba(34,21,15,0) 70%, rgba(34,21,15,.55) 100%);
}
.hero__inner { text-align: center; max-width: 52rem; margin-inline: auto; }
/* Rye echoes the wood-type lettering on the logo; used only for the name. */
.hero__name {
  font-family: "Rye", var(--font-display); font-weight: 400;
  font-size: clamp(2.6rem, 8vw, 5.5rem); line-height: 1; letter-spacing: .02em;
  text-shadow: 0 3px 24px rgba(0,0,0,.55);
}
.hero__name span {
  display: block; margin-top: .6rem;
  font-family: var(--font-body); font-size: clamp(.8rem, 1.6vw, 1rem); font-weight: 800;
  letter-spacing: .4em; text-transform: uppercase; color: var(--azafran);
}
.hero__inner .btn-row { justify-content: center; gap: .6rem; margin-top: var(--sp-3); }
.hero .btn-row .btn {
  padding: .6rem 1.25rem; font-size: .9rem;
  border: 1.5px solid rgba(255,255,255,.85); background: rgba(20,12,8,.2);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.hero__info {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem .6rem;
  margin-top: var(--sp-3); font-size: .8rem; font-weight: 600; letter-spacing: .02em;
  color: rgba(255,255,255,.85); text-shadow: 0 1px 8px rgba(0,0,0,.6);
}
.hero__info a { color: inherit; text-decoration: none; }
.hero__info a:hover { color: var(--azafran); }
/* Phones: one centered line each, so the three never wrap unevenly. */
@media (max-width: 700px) {
  .hero__info { flex-direction: column; align-items: center; gap: 0; }
  .hero__info > span[aria-hidden] { display: none; }
  .hero__info > * { display: block; text-align: center; }
}

.hero__toggle {
  position: absolute; right: 1.25rem; bottom: 1.25rem; z-index: 2;
  width: 42px; height: 42px; border-radius: var(--r-pill); display: grid; place-items: center;
  background: rgba(20,12,8,.55); color: #fff; transition: background-color .18s;
}
.hero__toggle:hover { background: rgba(20,12,8,.8); }
.hero__toggle[hidden] { display: none; }
.hero__toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hero__toggle .hero__toggle-play { display: none; }
.hero__toggle[aria-pressed="true"] .hero__toggle-play { display: block; }
.hero__toggle[aria-pressed="true"] .hero__toggle-pause { display: none; }


/* Live open/closed pill */
.status {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .55rem 1rem; border-radius: var(--r-pill);
  background: rgba(20,12,8,.55); backdrop-filter: blur(6px);
  font-size: var(--step--1); color: #fff;
}
.status--inline { background: var(--surface); color: var(--ink); border: 1px solid var(--rule); backdrop-filter: none; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--azafran); flex: none; }
.dot[data-state="open"] { background: #3DD07A; box-shadow: 0 0 0 4px rgba(61,208,122,.25); }
.dot[data-state="closed"] { background: #E5533D; }

/* --- 8. Papel picado divider -------------------------------------------- */
/* Repeating flags in the menu-board colours. Pure CSS, no image request. */
.picado {
  height: 34px;
  background:
    linear-gradient(135deg, transparent 50%, var(--bg) 50%) 0 100% / 22px 12px repeat-x,
    linear-gradient(225deg, transparent 50%, var(--bg) 50%) 0 100% / 22px 12px repeat-x,
    linear-gradient(90deg,
      var(--chile) 0 20%, var(--azafran) 20% 40%, var(--verde) 40% 60%,
      var(--naranja) 60% 80%, #C2407A 80% 100%) 0 0 / 220px 100% repeat-x;
}
.picado--footer {
  background:
    linear-gradient(135deg, transparent 50%, var(--carbon) 50%) 0 100% / 22px 12px repeat-x,
    linear-gradient(225deg, transparent 50%, var(--carbon) 50%) 0 100% / 22px 12px repeat-x,
    linear-gradient(90deg,
      var(--chile) 0 20%, var(--azafran) 20% 40%, var(--verde) 40% 60%,
      var(--naranja) 60% 80%, #C2407A 80% 100%) 0 0 / 220px 100% repeat-x;
}

/* --- 9. Cards ------------------------------------------------------------ */
.card {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-lg);
  padding: var(--sp-4); box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none;
  display: flex; flex-direction: column; gap: var(--sp-2);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.card__icon {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--azafran); color: var(--carbon);
}
.card p { color: var(--ink-soft); }
.card__more { margin-top: auto; font-weight: 800; color: var(--chile); }
.card__more::after { content: " \2192"; }

.photo-frame { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.figure-photo .photo-frame { aspect-ratio: 4 / 3; }
.figure-photo figcaption { margin-top: var(--sp-2); font-size: var(--step--1); color: var(--ink-faint); font-style: italic; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-2); margin-top: var(--sp-4); }
.facts li {
  background: var(--surface); border-radius: var(--r-md); padding: .85rem 1rem;
  border-top: 4px solid var(--naranja); display: flex; flex-direction: column;
}
.facts strong { font-family: var(--font-display); font-weight: 400; font-size: 1.05rem; }
.facts span { font-size: var(--step--1); color: var(--ink-soft); }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* --- 10. Favorites ------------------------------------------------------- */
.faves { display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.fave {
  position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.4;
  background: var(--carbon); box-shadow: var(--shadow-md);
}
.fave img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.fave:hover img { transform: scale(1.05); }
.fave__body {
  position: absolute; inset: auto 0 0; padding: 2.5rem 1.25rem 1.1rem; color: #fff;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
  background: linear-gradient(180deg, transparent, rgba(20,12,8,.88));
}
.fave h3 { font-size: var(--step-2); }
.price {
  background: var(--azafran); color: var(--carbon); font-weight: 800; white-space: nowrap;
  padding: .3rem .7rem; border-radius: var(--r-pill); font-size: var(--step--1);
}

/* --- 11. Menu ------------------------------------------------------------ */
.chips {
  display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: var(--sp-4);
  scrollbar-width: thin; position: sticky; top: var(--header-h); z-index: 5;
  background: var(--bg-alt); padding-top: .5rem;
}
.chips a {
  flex: none; padding: .5rem 1rem; border-radius: var(--r-pill); font-weight: 700;
  background: var(--surface); border: 1px solid var(--rule); color: var(--ink); text-decoration: none;
  font-size: var(--step--1);
}
.chips a:hover { background: var(--chile); border-color: var(--chile); color: #fff; }

.menu-grid { columns: 3 320px; column-gap: var(--sp-3); }
.menu-card {
  break-inside: avoid; margin-bottom: var(--sp-3);
  background: var(--surface); border-radius: var(--r-lg); padding: var(--sp-4);
  border: 1px solid var(--rule); box-shadow: var(--shadow-sm);
}
.menu-card h3 {
  font-size: var(--step-2); color: var(--chile);
  padding-bottom: var(--sp-2); border-bottom: 3px dotted var(--naranja); margin-bottom: var(--sp-2);
}
.menu-card--feature { background: var(--carbon); color: var(--masa); border-color: var(--carbon); }
.menu-card--feature h3 { color: var(--azafran); }
.menu-card--feature .menu-card__note, .menu-card--feature small { color: #CDB79F; }
.menu-card--feature .menu-list li { border-color: rgba(255,255,255,.1); }
.menu-card__note { font-size: var(--step--1); color: var(--ink-faint); margin-bottom: var(--sp-2); font-style: italic; }
.menu-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .55rem 0; border-bottom: 1px dashed var(--rule);
}
.menu-list li:last-child { border-bottom: 0; }
.mi__name { font-weight: 700; }
.mi__name small { display: block; font-weight: 400; color: var(--ink-faint); font-size: var(--step--1); }
.mi__price { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }

.lent {
  margin-top: var(--sp-3); padding: var(--sp-3) var(--sp-4); border-radius: var(--r-lg);
  background: var(--azafran); color: var(--carbon);
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem;
}
.lent .eyebrow { color: var(--chile-dark); }

/* --- 13. Reviews --------------------------------------------------------- */
.ratings { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: var(--sp-3); margin-bottom: var(--sp-5); }
.rating { text-align: center; display: flex; flex-direction: column; align-items: center; gap: .2rem; }
.rating strong { font-family: var(--font-display); font-weight: 400; font-size: var(--step-5); line-height: 1; color: var(--chile); }
.stars { color: var(--azafran); letter-spacing: .15em; font-size: 1.2rem; }
.rating span:last-child { color: var(--ink-soft); font-weight: 700; }
.quote {
  background: var(--surface); border-radius: var(--r-lg); padding: var(--sp-4);
  border-left: 6px solid var(--azafran); box-shadow: var(--shadow-sm);
}
.quote blockquote { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.3; }
.quote figcaption { margin-top: var(--sp-2); font-weight: 700; color: var(--ink-faint); }

/* --- 14. Social + gallery ------------------------------------------------ */
.social-cards { display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin-bottom: var(--sp-5); }
.social-card {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border-radius: var(--r-lg);
  color: #fff; text-decoration: none; box-shadow: var(--shadow-md);
  transition: transform .2s var(--ease);
}
.social-card:hover { transform: translateY(-3px); color: #fff; }
.social-card span { display: flex; flex-direction: column; line-height: 1.3; font-size: var(--step--1); min-width: 0; overflow-wrap: anywhere; }
.social-card strong { font-size: var(--step-1); }
.social-card--fb { background: #1F5FCC; }
.social-card--ig { background: linear-gradient(45deg, #F09433, #DC2743 50%, #BC1888); }
.social-card--tt { background: #111; }

.gallery { columns: 3 260px; column-gap: var(--sp-2); }
.gallery img { width: 100%; border-radius: var(--r-md); margin-bottom: var(--sp-2); break-inside: avoid; }

/* --- 15. CTA band -------------------------------------------------------- */
.cta-band {
  display: grid; gap: var(--sp-4); align-items: center;
  padding: var(--sp-5); border-radius: var(--r-lg); background: var(--carbon); color: var(--masa);
}
.cta-band--warm { background: linear-gradient(120deg, var(--chile) 0%, var(--naranja) 100%); color: #fff; }
.cta-band--warm .eyebrow { color: var(--azafran-lt); }
.cta-band h2 { margin-top: var(--sp-2); }
.cta-band p { margin-top: var(--sp-2); max-width: 54ch; }
.cta-band .btn--ghost { color: #fff; }
.cta-band .btn--ghost:hover { background: #fff; color: var(--chile); border-color: #fff; }
.cta-band .btn--primary { background: var(--carbon); }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr 1fr; } .cta-band .btn-row { justify-content: flex-end; } }

/* --- 16. Visit ----------------------------------------------------------- */
.hours { width: 100%; max-width: 26rem; border-collapse: collapse; }
.hours th, .hours td { padding: .5rem .75rem; text-align: left; border-bottom: 1px solid var(--rule); }
.hours th { font-weight: 700; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr[data-today="true"] { background: var(--azafran); }
.hours tr[data-today="true"] th::after { content: " \00b7  Today"; font-weight: 800; color: var(--chile-dark); }
.visit-media { display: grid; gap: var(--sp-2); }
.visit-media .photo-frame { aspect-ratio: 16 / 9; }
.map { width: 100%; height: 280px; border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }

/* --- 17. Footer ---------------------------------------------------------- */
.site-footer { background: var(--carbon); color: #CDB79F; padding-bottom: var(--sp-5); }
.site-footer .picado { margin-bottom: var(--sp-6); transform: scaleY(-1); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--azafran); }
.footer__grid { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.footer__brand { grid-column: span 1; }
.footer__brand .brand { color: #fff; }
.footer__brand p { margin-top: var(--sp-2); }
.footer__h { font-family: var(--font-body); font-size: var(--step--1); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--azafran); margin-bottom: var(--sp-2); }
.footer__list li + li { margin-top: .4rem; }
.site-footer .hours th, .site-footer .hours td { border-color: rgba(255,255,255,.12); padding-inline: 0; }
.site-footer .hours tr[data-today="true"] { background: transparent; }
.site-footer .hours tr[data-today="true"] th::after { content: ""; }
.social { display: flex; gap: .5rem; margin-top: var(--sp-3); }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); }
.social a:hover { background: var(--azafran); color: var(--carbon); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  margin-top: var(--sp-5); padding-top: var(--sp-3); border-top: 1px solid rgba(255,255,255,.12);
  font-size: var(--step--1);
}

/* --- 18. Mobile action bar ----------------------------------------------- */
.mobile-bar { display: none; }
@media (max-width: 700px) {
  body { padding-bottom: 64px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; inset: auto 0 0; z-index: 40;
    background: var(--carbon); box-shadow: 0 -4px 20px rgba(0,0,0,.25);
  }
  .mobile-bar a {
    display: grid; place-items: center; height: 64px; color: #fff; text-decoration: none; font-weight: 800;
    border-right: 1px solid rgba(255,255,255,.1);
  }
  .mobile-bar a.is-primary { background: var(--azafran); color: var(--carbon); border: 0; }
  /* Lift the hero controls clear of the action bar. */
  .hero { padding-bottom: calc(64px + 4.5rem); }
  .hero__toggle { bottom: calc(64px + 1rem); }

  /* Tighter rhythm: desktop spacing makes the phone page twice as long. */
  .section { padding-block: var(--sp-5); }
  .section--tight { padding-block: var(--sp-4); }
  .section-head { margin-bottom: var(--sp-4); }

  /* Comfortable tap targets (44px). */
  .hero .btn-row .btn { min-height: 44px; }
  .hero__info > * { padding-block: .4rem; }
  .footer__list li + li { margin-top: 0; }
  .footer__list a { display: inline-block; padding-block: .6rem; }

  /* Three ways in: icon beside the text instead of stacked above it. */
  .cards-3 { gap: var(--sp-2); }
  .card {
    display: grid; grid-template-columns: 40px 1fr; column-gap: var(--sp-3); row-gap: .25rem;
    padding: var(--sp-3);
  }
  .card__icon { width: 40px; height: 40px; grid-row: span 3; }
  .card__icon svg { width: 20px; height: 20px; }
  .card h3 { font-size: var(--step-1); }
  .card__more { margin-top: .25rem; }

  /* Favorites and gallery two-up. */
  .faves { grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
  .fave { aspect-ratio: 3 / 4; }
  .fave__body { flex-direction: column; align-items: flex-start; gap: .4rem; padding: 2rem .75rem .75rem; }
  .fave h3 { font-size: 1rem; }
  .gallery { columns: 2; }

  /* Collapsible menu cards (menuAccordion in main.js). */
  .menu-grid.is-collapsible .menu-card { padding: var(--sp-3); margin-bottom: var(--sp-2); }
  .menu-grid.is-collapsible .menu-card:not(.is-open):not(.menu-card--feature) h3 { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
  .menu-grid.is-collapsible .menu-card:not(.is-open):not(.menu-card--feature) > :not(h3) { display: none; }
}
.menu-card__toggle {
  all: inherit; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  width: 100%; cursor: pointer; border: 0; padding: 0; margin: 0;
}
.menu-grid:not(.is-collapsible) .menu-card__toggle { pointer-events: none; }
.menu-grid.is-collapsible .menu-card__toggle { min-height: 44px; }
.menu-grid.is-collapsible .menu-card__toggle::after {
  content: "+"; font-family: var(--font-body); font-weight: 800; font-size: 1.5rem; line-height: 1;
  color: var(--naranja); transition: transform .2s var(--ease);
}
.menu-grid.is-collapsible .menu-card.is-open .menu-card__toggle::after { transform: rotate(45deg); }

/* --- 19. Motion ---------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
