/* Concept 1, La Bolsa: the to-go bag. Kraft paper, the navy round stickers from the cups and bags,
   the orange bar from the logo. Archivo, condensed for signage, normal width for reading. */

@font-face { font-family: "Archivo"; src: url("../../assets/fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../../assets/fonts/archivo-italic.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap; }

:root {
  --navy: #1c2756;
  --navy-2: #2b3874;
  --orange: #f0712c;
  --orange-2: #ff8a4a;
  --orange-ink: #b4450d;
  --kraft: #c69c68;
  --kraft-light: #ead9bd;
  --deli: #fbf6ee;
  --ink: #1c2756;
  --ink-2: #4a5076;
  --line: rgb(28 39 86 / 0.16);
  --body: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --max: 1280px;
  --section: clamp(4rem, 9vw, 7.5rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --top: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 4rem); }
body { margin: 0; background: var(--deli); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); font-stretch: 100%; }
img, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 900; font-stretch: 62%; line-height: 0.92; letter-spacing: -0.005em; text-transform: uppercase; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.75rem 1rem; background: var(--navy); color: #fff; }
.skip:focus { top: 1rem; }

/* ---------- shared pieces ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 3.25rem; padding: 0.8rem 1.4rem; border-radius: 999px;
  font: 800 1rem/1 var(--body); font-stretch: 100%; text-decoration: none; letter-spacing: 0.01em;
  transition: background-color 0.2s, translate 0.2s var(--ease);
}
.btn:active { translate: 0 2px; }
.btn--go { background: var(--orange); color: var(--navy); }
.btn--go:hover { background: var(--orange-2); }
.btn--line { border: 2px solid currentColor; }
.btn--line:hover { background: rgb(28 39 86 / 0.06); }
.btn--ink { background: var(--navy); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* the orange bar under the logo's script, reused as a section label */
.bar { display: inline-block; padding: 0.4rem 0.8rem 0.35rem; background: var(--orange); color: var(--navy); font: 800 0.8rem/1 var(--body); font-stretch: 125%; letter-spacing: 0.16em; text-transform: uppercase; border-radius: 3px; }
.bar--light { background: var(--orange); }

/* a round navy sticker, like the "Large" sticker on the bags */
.sticker {
  display: grid; place-items: center; width: 6.5rem; aspect-ratio: 1; padding: 0.6rem;
  border-radius: 50%; background: var(--navy); color: #fff; text-align: center;
  font: 900 1rem/1 var(--body); font-stretch: 75%; text-transform: uppercase; letter-spacing: 0.02em;
  box-shadow: 0 0 0 3px #fff, 0 10px 22px -12px rgb(0 0 0 / 0.55); rotate: -9deg;
}

.status { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 700; }
.status::before { content: ""; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: #9aa0b8; box-shadow: 0 0 0 4px rgb(154 160 184 / 0.25); }
.status[data-open="true"]::before { background: #1f9d57; box-shadow: 0 0 0 4px rgb(31 157 87 / 0.22); }

/* ---------- header ---------- */

.top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem);
  min-height: var(--top); padding: 0.5rem var(--gutter);
  background: #fff; border-bottom: 3px solid var(--navy);
}
.top__logo { margin-right: auto; }
.top__logo img { width: clamp(9rem, 15vw, 12.5rem); }
.top__nav { display: flex; gap: 1.6rem; font-weight: 700; }
.top__nav a { text-decoration: none; padding-block: 0.35rem; background: linear-gradient(var(--orange) 0 0) 0 100% / 0 3px no-repeat; transition: background-size 0.35s var(--ease); }
.top__nav a:hover { background-size: 100% 3px; }
.switch { display: flex; padding: 3px; border-radius: 999px; background: var(--kraft-light); font-weight: 800; font-size: 0.9rem; }
.switch > * { display: inline-flex; align-items: center; gap: 0.25em; min-height: 2.2rem; padding: 0 0.9rem; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.switch b { background: var(--navy); color: #fff; }
.switch a:hover { background: rgb(28 39 86 / 0.08); }
.switch .icon { width: 0.9em; height: 0.9em; }
.top__call { min-height: 2.9rem; }

/* ---------- hero ---------- */

.hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 5vw, 5rem); align-items: center;
  max-width: var(--max); margin-inline: auto; padding: clamp(2.5rem, 6vw, 5rem) var(--gutter) clamp(3rem, 6vw, 5rem);
}
.hero h1 { margin-top: 1.25rem; font-size: clamp(3.4rem, 1.6rem + 7vw, 8.25rem); }
.hero h1 span { display: block; font-style: italic; color: #d85a1b; }
.hero__lede { max-width: 36ch; margin-top: 1.4rem; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); color: var(--ink-2); }
.hero .status { margin-top: 1.5rem; }
.hero .actions { margin-top: 1.5rem; }
/* the photo sits in a kraft bag: a paper panel with a folded, crimped top edge */
.hero__bag {
  position: relative; margin: 0; padding: 1.1rem 1.1rem 1.4rem; background: var(--kraft); border-radius: 4px 4px 10px 10px;
  box-shadow: inset 0 14px 0 -8px rgb(0 0 0 / 0.12), 0 30px 50px -30px rgb(28 39 86 / 0.55);
}
.hero__bag::before {
  content: ""; position: absolute; inset: -10px 0 auto; height: 12px;
  background: linear-gradient(-45deg, var(--kraft) 6px, transparent 0) 0 0 / 12px 12px repeat-x, linear-gradient(45deg, var(--kraft) 6px, transparent 0) 0 0 / 12px 12px repeat-x;
}
.hero__bag img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 3px; }
.sticker--hero { position: absolute; left: -1.75rem; bottom: 2.5rem; width: 8rem; font-size: 1.15rem; }

.facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none;
  background: var(--navy); color: #dfe3f3;
}
.facts li { padding: 1.4rem var(--gutter); font-size: 1rem; border-left: 1px solid rgb(255 255 255 / 0.14); }
.facts li:first-child { border-left: 0; }
.facts b { color: #fff; }

/* ---------- birria ---------- */

.birria { max-width: var(--max); margin-inline: auto; padding: var(--section) var(--gutter); }
.birria__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 1rem 3rem; align-items: end; }
.birria__head .bar { grid-column: 1 / -1; justify-self: start; }
.birria__head h2 { font-size: clamp(3rem, 1.5rem + 6vw, 6.5rem); }
.birria__head p:last-child { color: var(--ink-2); font-size: 1.15rem; max-width: 34ch; }
.birria__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); margin-top: clamp(2rem, 4vw, 3rem); }
.dish { margin: 0; }
.dish--b { margin-top: clamp(0rem, 6vw, 5rem); }
.dish__photo { position: relative; }
.dish__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.dish__photo .sticker { position: absolute; right: 1rem; top: -1.5rem; rotate: 8deg; }
.dish figcaption { margin-top: 1rem; color: var(--ink-2); }
.dish figcaption b { display: block; color: var(--ink); font-size: 1.6rem; font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: 1; margin-bottom: 0.3rem; }

.quote { margin: clamp(2.5rem, 5vw, 4rem) 0 0; max-width: 46rem; padding-left: 1.25rem; border-left: 5px solid var(--orange); }
.quote p { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 600; line-height: 1.35; }
.quote footer { margin-top: 0.75rem; color: var(--ink-2); font-size: 0.95rem; }

/* ---------- menu: white deli sheets on kraft ---------- */

.menu { padding: var(--section) var(--gutter); background: var(--kraft-light); }
.menu__head { max-width: var(--max); margin-inline: auto; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 3rem; }
.menu__head h2 { font-size: clamp(3rem, 1.5rem + 6vw, 6.5rem); }
.menu__head p { max-width: 36ch; color: var(--ink-2); }
.tabs {
  position: sticky; top: calc(var(--top) - 1px); z-index: 20; display: flex; gap: 0.4rem; overflow-x: auto; scrollbar-width: none;
  max-width: var(--max); margin: 2rem auto 0; padding: 0.75rem 0; background: var(--kraft-light);
}
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; padding: 0.55rem 1rem; border: 2px solid var(--navy); border-radius: 999px; font-weight: 800; font-size: 0.95rem; text-decoration: none; white-space: nowrap; }
.tabs a:hover { background: rgb(28 39 86 / 0.08); }
.tabs a[aria-current] { background: var(--navy); color: #fff; }
.menu__sheets { max-width: var(--max); margin: 1.5rem auto 0; columns: 3 20rem; column-gap: 1.25rem; }
.sheet {
  break-inside: avoid; margin-bottom: 1.25rem; padding: 1.5rem 1.4rem 1.6rem; background: #fff; border-radius: 4px;
  box-shadow: 0 1px 0 rgb(28 39 86 / 0.08), 0 14px 26px -22px rgb(28 39 86 / 0.6);
}
.sheet h3 { font-size: 2.1rem; padding-bottom: 0.6rem; border-bottom: 3px solid var(--orange); }
.sheet__note { margin-top: 0.8rem; font-size: 0.92rem; color: var(--ink-2); }
.items { margin: 0.9rem 0 0; padding: 0; list-style: none; }
.items li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.5rem; padding: 0.55rem 0; border-top: 1px solid var(--line); }
.items li:first-child { border-top: 0; }
.items__name { font-weight: 700; }
.items__dots { flex: 1; min-width: 1.5rem; border-bottom: 2px dotted rgb(28 39 86 / 0.3); translate: 0 -0.3em; }
.items__price { font-weight: 900; font-variant-numeric: tabular-nums; }
.items__desc { flex-basis: 100%; font-size: 0.92rem; color: var(--ink-2); }
.items--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
.items--grid li:nth-child(2) { border-top: 0; }
.sheet__ask { margin-top: 0.9rem; font-size: 0.9rem; font-weight: 700; }
.sheet__ask a { color: var(--orange-ink); text-underline-offset: 3px; }
.menu__fine { max-width: var(--max); margin: 0.5rem auto 0; font-size: 0.9rem; color: var(--ink-2); }

/* ---------- party boxes ---------- */

.party { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); background: var(--navy); color: #fff; }
.party__photo img { width: 100%; height: 100%; min-height: 26rem; object-fit: cover; }
.party__copy { align-self: center; padding: var(--section) var(--gutter); max-width: 40rem; }
.party h2 { margin-top: 1.25rem; font-size: clamp(2.6rem, 1.4rem + 4.5vw, 5.25rem); }
.party p:not(.bar) { margin-top: 1.25rem; color: #dfe3f3; font-size: 1.15rem; max-width: 38ch; }
.party .actions { margin-top: 2rem; }

/* ---------- aguas ---------- */

.aguas { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; max-width: var(--max); margin-inline: auto; padding: var(--section) var(--gutter); }
.aguas h2 { font-size: clamp(3.2rem, 1.5rem + 7vw, 8rem); }
.aguas h2 span { color: var(--orange-ink); font-style: italic; }
.aguas p { margin-top: 1.25rem; max-width: 38ch; color: var(--ink-2); font-size: 1.15rem; }
.aguas__photo img { width: 100%; border-radius: 50%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 0 0 10px var(--navy), 0 30px 50px -30px rgb(28 39 86 / 0.6); }

/* ---------- reviews ---------- */

.reviews { padding: var(--section) var(--gutter); background: var(--orange); color: var(--navy); text-align: center; }
.reviews h2 { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.5rem 1rem; font-size: clamp(2.2rem, 1.2rem + 4vw, 4.5rem); }
.stars { display: inline-flex; gap: 0.15rem; }
.star { width: 0.7em; height: 0.7em; fill: var(--navy); }
.reviews__sub { margin-top: 0.75rem; font-weight: 600; }
.quote--big { margin: 2.5rem auto 0; padding: 0; border: 0; max-width: 52rem; }
.quote--big p { font-size: clamp(1.3rem, 1rem + 1.4vw, 2.1rem); font-weight: 700; }
.quote--big footer { color: var(--navy); font-weight: 600; }

/* ---------- visit ---------- */

.visit { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); max-width: var(--max); margin-inline: auto; }
.visit__copy { padding: var(--section) var(--gutter); }
.visit h2 { font-size: clamp(2.8rem, 1.5rem + 5vw, 5.5rem); }
.visit address { margin-top: 1.5rem; font-style: normal; font-size: 1.3rem; font-weight: 700; line-height: 1.35; }
.visit__phone { margin-top: 0.5rem; font-size: 1.3rem; font-weight: 700; }
.visit .status { margin-top: 1.25rem; }
.hours { width: 100%; max-width: 24rem; margin-top: 1rem; border-collapse: collapse; }
.hours caption { text-align: left; font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: 1.4rem; padding-bottom: 0.4rem; }
.hours th, .hours td { padding: 0.45rem 0; border-top: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours .is-today th, .hours .is-today td { font-weight: 900; color: var(--orange-ink); }
.visit__note { margin-top: 1rem; color: var(--ink-2); }
.visit .actions { margin-top: 1.5rem; }
.visit__map { min-height: 28rem; padding: var(--gutter) var(--gutter) var(--gutter) 0; }
.visit__map iframe { width: 100%; height: 100%; min-height: 26rem; border: 0; border-radius: 8px; filter: saturate(0.85); }

/* ---------- footer ---------- */

.foot { padding: 3.5rem var(--gutter) calc(2rem + var(--bar, 0px)); background: var(--navy); color: #dfe3f3; }
.foot__logo { display: inline-block; padding: 0.9rem 1.1rem; background: #fff; border-radius: 8px; }
.foot__logo img { width: 14rem; }
.foot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.foot a { color: #fff; text-underline-offset: 3px; }
.foot .icon { width: 0.9em; height: 0.9em; vertical-align: -0.1em; margin-left: 0.15em; }
.foot__base { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / 0.15); font-size: 0.9rem; color: #aab0cc; }
.actionbar { display: none; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .top__nav { display: none; }
}

@media (max-width: 860px) {
  .hero, .party, .aguas, .visit { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 2rem; }
  .hero__bag { margin-inline: 0.5rem; }
  .sticker--hero { left: -0.5rem; bottom: 1.5rem; width: 6.5rem; font-size: 0.95rem; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts li { border-left: 0; border-top: 1px solid rgb(255 255 255 / 0.14); padding-block: 1rem; }
  .facts li:first-child { border-top: 0; }
  .birria__head { grid-template-columns: minmax(0, 1fr); }
  .party__photo img { min-height: 0; aspect-ratio: 4 / 3; }
  .aguas__photo { max-width: 22rem; justify-self: center; }
  .visit__map { padding: 0 var(--gutter) var(--section); min-height: 0; }
  .foot__cols { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  :root { --bar: 4.4rem; --top: 4rem; }
  .top { gap: 0.6rem; }
  .bar { letter-spacing: 0.08em; font-size: 0.72rem; }
  .top__logo img { width: 8.5rem; }
  .top__call span { display: none; }
  .top__call { width: 2.9rem; padding: 0; }
  .switch { font-size: 0.82rem; }
  .switch > * { padding: 0 0.65rem; min-height: 2rem; }
  .birria__grid { grid-template-columns: minmax(0, 1fr); }
  .dish--b { margin-top: 0; }
  .menu__sheets { columns: 1; }
  .actionbar {
    position: fixed; inset: auto 0 0; z-index: 60; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 0.4rem;
    padding: 0.5rem 0.6rem calc(0.5rem + env(safe-area-inset-bottom)); background: #fff; border-top: 3px solid var(--navy);
  }
  .actionbar .btn { min-height: 3rem; padding-inline: 0.5rem; font-size: 0.95rem; gap: 0.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
