/* Grocery La Bendición — colors from the merchant's logo (apple red, leaf green) and its
   flags (Guatemala sky, Ecuador yellow), set on the indigo of a Guatemalan faja. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("assets/fonts/figtree-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("assets/fonts/figtree-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --red: #d52b2f;
  --red-dark: #a51d24;
  --red-text: #c0262a; /* small red text: 5.3:1 on --sky-wash */
  --green: #1c7a3d;
  --green-dark: #145c2d;
  --sky: #4997d0;
  --sky-wash: #edf4fa;
  --maiz: #f3b61f;
  --ink: #1e2348;
  --ink-soft: #4a5072;
  --line: #d6dde8;
  --paper: #ffffff;
  --display: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --body: "Figtree", "Segoe UI", Arial, sans-serif;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.visit a:focus-visible, .site-footer a:focus-visible { outline-color: var(--maiz); }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
[id] { scroll-margin-top: calc(var(--header-h) + 64px); }
.wrap { width: min(1180px, 100%); margin-inline: auto; padding-inline: 20px; }
.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; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px; font-weight: 700; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.header-inner { min-height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.25rem/1 var(--display); font-stretch: 85%; color: var(--green); white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a { padding: 8px 10px; border-radius: 6px; text-decoration: none; font-weight: 700; }
.site-nav a:hover { background: var(--sky-wash); }
.lang-switch { color: var(--green); }
.header-call { flex: none; background: var(--red); color: #fff; text-decoration: none; font-weight: 700; padding: 10px 16px; border-radius: 8px; }
.header-call:hover { background: var(--red-dark); }

/* Hero */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.kicker { font-weight: 700; color: var(--green); margin-bottom: 14px; }
h1 { font: 800 clamp(3.4rem, 8.4vw, 6.6rem)/.86 var(--display); font-stretch: 75%; letter-spacing: -.012em; }
.w-grocery { display: block; color: var(--red); }
.w-name { display: block; color: var(--green); }
.lead { margin-top: 22px; font-size: 1.22rem; line-height: 1.55; max-width: 34em; }
.status { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.status::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--line); flex: none; }
.status[data-state="open"]::before { background: #2fa24f; box-shadow: 0 0 0 4px rgba(47, 162, 79, .18); }
.status[data-state="closed"]::before { background: var(--red); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 22px; border-radius: 10px; font-weight: 700; font-size: 1.05rem; text-decoration: none; text-align: center; border: 2px solid transparent; }
.button-red { background: var(--red); color: #fff; }
.button-red:hover { background: var(--red-dark); }
.button-green { background: var(--green); color: #fff; }
.button-green:hover { background: var(--green-dark); }
.button-line { border-color: var(--ink); color: var(--ink); background: #fff; }
.button-line:hover { background: var(--sky-wash); }
.delivery { margin-top: 16px; color: var(--ink-soft); }
.delivery a { color: var(--ink); font-weight: 700; }

.hero-art { position: relative; padding: 0 0 64px 56px; }
.hero-photos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.hp { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; background: var(--sky-wash); }
.hp-main { grid-row: span 2; height: 100%; }
.hero-emblem { position: absolute; left: -18px; bottom: -8px; width: 204px; height: auto; filter: drop-shadow(0 6px 14px rgba(30, 35, 72, .22)); }

/* Faja: the woven band */
.faja { height: 56px; background: var(--ink) url("assets/faja.svg") repeat-x left center / auto 56px; }
.faja-thin { height: 28px; background-size: auto 28px; }

/* Sections */
.section { padding: 80px 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 32px; }
.section-head p { color: var(--ink-soft); max-width: 40em; }
h2 { font: 800 clamp(2.2rem, 4.6vw, 3.4rem)/1 var(--display); font-stretch: 78%; letter-spacing: -.01em; }

/* From our kitchen */
.plate-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.plate { margin: 0; }
.plate img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 14px; background: var(--sky-wash); }
.plate figcaption { margin-top: 10px; font-weight: 700; line-height: 1.3; }

/* Menu */
.menu { background: var(--sky-wash); }
.menu-nav { position: sticky; top: var(--header-h); z-index: 10; background: var(--sky-wash); padding: 10px 0; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.menu-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.menu-nav a { display: inline-block; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: .95rem; white-space: nowrap; }
.menu-nav a:hover { border-color: var(--ink); }
.menu-group { padding-top: 36px; }
.menu-group h3 { font: 800 clamp(1.6rem, 3vw, 2.1rem)/1.05 var(--display); font-stretch: 82%; color: var(--red); padding-bottom: 12px; margin-bottom: 8px; border-bottom: 3px solid var(--ink); }
.dishes { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 56px; }
.dish { padding: 18px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.dish-head, .options li { display: flex; align-items: flex-start; gap: 10px; }
.dish h4 { font: 700 1.14rem/1.3 var(--body); }
.dots { flex: 1 1 24px; min-width: 24px; border-bottom: 2px dotted #9aa3bb; align-self: flex-start; margin-top: .85em; }
.price { flex: none; display: inline-flex; flex-direction: column; align-items: flex-end; gap: 3px; font: 800 1.18rem/1 var(--display); font-stretch: 90%; font-variant-numeric: tabular-nums; text-align: right; }
.price-card { font-weight: 800; color: var(--red-text); }
.price-word { font: 700 .72em var(--body); color: var(--red-text); }
.price-cash { font: 700 .84rem/1.1 var(--body); color: var(--ink-soft); }
.price-ask { font-family: var(--body); font-weight: 700; font-size: 1rem; color: var(--ink-soft); }
.unit { flex: none; align-self: center; font: 700 .8rem var(--body); color: var(--ink-soft); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; }
.tag { display: inline-block; margin-top: 6px; background: var(--maiz); color: var(--ink); font-weight: 700; font-size: .85rem; padding: 2px 10px; border-radius: 999px; }
.dish-desc { margin-top: 6px; color: var(--ink-soft); line-height: 1.5; max-width: 42em; }
.options { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.options .opt { flex: 0 1 auto; }
.options .price { font-size: 1.05rem; }
.specials { margin-top: 36px; padding: 18px 20px; background: #fff; border-left: 6px solid var(--maiz); border-radius: 0 10px 10px 0; max-width: 52em; }
.specials a { font-weight: 700; }

/* Grocery */
.grocery-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.grocery-copy p { margin-top: 18px; font-size: 1.15rem; max-width: 30em; }
.interior { margin: 0; }
.interior img { border-radius: 18px; width: 100%; }
.interior figcaption { margin-top: 10px; color: var(--ink-soft); }

/* Reviews */
.reviews { background: var(--sky-wash); }
.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.review { margin: 0; background: #fff; border-radius: 16px; padding: 26px 28px; border-top: 6px solid var(--green); }
.stars { color: var(--maiz); font-size: 1.25rem; letter-spacing: 2px; -webkit-text-stroke: .6px #b98a0f; }
.review blockquote { margin: 10px 0 0; }
.review blockquote p { font-size: 1.12rem; line-height: 1.55; }
.review figcaption { margin-top: 14px; font-weight: 700; display: flex; flex-direction: column; }
.review figcaption span { font-weight: 400; color: var(--ink-soft); font-size: .95rem; }
.reviews .actions { margin-top: 28px; }

/* Visit */
.visit { background: var(--ink); color: #fff; }
.visit h2 { color: #fff; margin-bottom: 36px; }
.visit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.visit h3 { font: 800 1.2rem/1.2 var(--display); font-stretch: 85%; color: var(--maiz); margin: 22px 0 8px; }
.visit-block > h3:first-child { margin-top: 0; }
.visit .big { font-size: 1.35rem; line-height: 1.4; font-weight: 700; }
.visit a { color: #fff; font-weight: 700; }
.visit .small { margin-top: 10px; font-size: .95rem; color: #c8cde6; }
.hours { border-collapse: collapse; width: 100%; max-width: 360px; }
.hours th, .hours td { text-align: left; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--maiz); font-weight: 700; }
.today-label { display: inline-block; margin-left: 8px; font-size: .8rem; background: var(--maiz); color: var(--ink); padding: 1px 8px; border-radius: 999px; vertical-align: 2px; }
.social a { margin-right: 18px; }

/* Footer */
.site-footer { background: #161a38; color: #d7dbef; }
.footer-inner { padding-top: 32px; padding-bottom: 40px; display: grid; gap: 12px; }
.footer-name { display: flex; align-items: center; gap: 10px; font: 800 1.35rem/1 var(--display); font-stretch: 85%; color: #fff; }
.site-footer a { color: #fff; }
.credit { font-size: .92rem; color: #aab0d0; }

/* Tablet */
@media (max-width: 960px) {
  .hero { padding-top: 36px; }
  .hero-inner, .grocery-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-art { max-width: 560px; }
  .plate-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .visit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-nav a:not(.lang-switch) { display: none; }
}

/* Phone */
@media (max-width: 680px) {
  :root { --header-h: 58px; }
  body { font-size: 1rem; }
  .wrap { padding-inline: 16px; }
  .header-inner { gap: 10px; }
  .brand { font-size: 1.05rem; gap: 8px; }
  .brand-mark { width: 26px; height: 26px; }
  .header-call span { display: none; }
  .header-call { padding: 9px 14px; }
  .lead { font-size: 1.1rem; }
  .actions .button { flex: 1 1 100%; }
  .hero-art { padding: 0 0 44px 28px; }
  .hero-emblem { width: 136px; left: -6px; bottom: -4px; }
  .section { padding: 60px 0; }
  .plate-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; gap: 14px; margin-inline: -16px; padding: 0 16px 12px; }
  .plate { flex: 0 0 62%; scroll-snap-align: start; }
  .menu-nav ul { flex-wrap: nowrap; overflow-x: auto; scroll-padding-inline: 16px; margin-inline: -16px; padding: 0 16px 4px; }
  .dishes { columns: 1; }
  .review-grid, .visit-grid { grid-template-columns: minmax(0, 1fr); }
  .review { padding: 22px; }
}
@media (max-width: 400px) {
  .brand .brand-first { display: none; }
  .site-nav a { padding: 8px 6px; }
}
