/* =============================================================
   Beni's Bodega Food Market — Design System
   -------------------------------------------------------------
   Brand notes:
   - Modern local-market feel; bodega heritage with premium polish
   - Palette is intentionally tight: ink + cream + warm red + fresh green
   - Replace placeholder colors here once final logo hex values land
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Color tokens */
  --bb-ink:        #0d0d0d;
  --bb-ink-soft:   #1a1a1a;
  --bb-text:       #232323;
  --bb-muted:      #6b6b6b;
  --bb-line:       #ececec;
  --bb-line-soft:  #f3f1ec;
  --bb-cream:      #faf8f2;
  --bb-cream-deep: #f3efe4;
  --bb-white:      #ffffff;

  --bb-red:        #d93636;   /* warm bodega red — primary accent */
  --bb-red-deep:   #b21f24;
  --bb-red-soft:   #fdecec;

  --bb-green:      #1f8a4f;   /* fresh produce green */
  --bb-green-deep: #156938;
  --bb-green-soft: #e7f5ec;

  --bb-yellow:     #f5b91a;   /* highlight only */

  /* Type */
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Radii / shadow / motion */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-pill: 999px;
  --shadow-xs: 0 1px 2px rgba(13,13,13,0.04);
  --shadow-sm: 0 4px 14px rgba(13,13,13,0.06);
  --shadow-md: 0 12px 30px rgba(13,13,13,0.08);
  --shadow-lg: 0 24px 60px rgba(13,13,13,0.10);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(1rem, 3vw, 2rem);
  --header-h: 104px;
}
@media (max-width: 600px) { :root { --header-h: 94px; } }

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--bb-text);
  background: var(--bb-white);
  line-height: 1.6;
  padding-top: var(--header-h); /* compensate for fixed header */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--bb-ink); color: var(--bb-cream); }

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--bb-ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.1;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1em; }
.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--bb-muted);
  max-width: 60ch;
}
.eyebrow {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bb-red);
  background: var(--bb-red-soft);
  padding: 0.45rem 0.85rem;
  border-radius: var(--r-pill);
}
.eyebrow.green { color: var(--bb-green); background: var(--bb-green-soft); }
.eyebrow.ink   { color: var(--bb-cream); background: var(--bb-ink); }

/* Layout helpers */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}
.section.compact { padding: clamp(2rem, 4vw, 3rem) 0; }
.section.tight   { padding: clamp(2.5rem, 5vw, 4rem) 0; }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
  max-width: 640px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  align-items: center;
}
.section-head h2 { margin: 0; }
.section-head p  { margin: 0; color: var(--bb-muted); }

.bg-cream { background: var(--bb-cream); }
.bg-cream-deep { background: var(--bb-cream-deep); }
.bg-white { background: var(--bb-white); }
.bg-ink   { background: var(--bb-ink); color: var(--bb-cream); }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: var(--bb-cream); }
.bg-ink p { color: rgba(250, 248, 242, 0.78); }

/* =============================================================
   Buttons
   ============================================================= */
.btn {
  --pad-y: 0.95rem;
  --pad-x: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: var(--pad-y) var(--pad-x);
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--bb-ink);
  color: var(--bb-cream);
}
.btn-primary:hover { background: #000; color: #fff; box-shadow: var(--shadow-md); }

.btn-accent {
  background: var(--bb-red);
  color: #fff;
}
.btn-accent:hover { background: var(--bb-red-deep); box-shadow: var(--shadow-md); }

.btn-ghost {
  background: transparent;
  color: var(--bb-ink);
  border-color: var(--bb-ink);
}
.btn-ghost:hover { background: var(--bb-ink); color: var(--bb-cream); }

.btn-light {
  background: var(--bb-white);
  color: var(--bb-ink);
  border-color: var(--bb-line);
}
.btn-light:hover { box-shadow: var(--shadow-sm); }

.btn-sm { --pad-y: 0.65rem; --pad-x: 1rem; font-size: 0.85rem; }
.btn-lg { --pad-y: 1.1rem;  --pad-x: 1.85rem; font-size: 1rem; }

.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* =============================================================
   Header / Nav
   ============================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 248, 242, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--bb-line);
  background: rgba(255, 255, 255, 0.92);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Logo / brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--bb-ink);
}
.brand-logo {
  width: auto;
  height: 82px;
  display: block;
  object-fit: contain;
}
.brand-name {
  font-size: 1.05rem;
  line-height: 1;
}
.brand-name small {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bb-muted);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 0.55rem 0.9rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--bb-text);
  border-radius: var(--r-pill);
  transition: background .15s var(--ease), color .15s var(--ease);
}
.nav-links a:hover { background: var(--bb-cream-deep); color: var(--bb-ink); }
.nav-links a.active { background: var(--bb-ink); color: var(--bb-cream); }

.nav-cta { display: inline-flex; gap: 0.5rem; align-items: center; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--bb-line);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--bb-ink);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 920px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0;
  background: var(--bb-cream);
  z-index: 99;
  padding: 1.5rem var(--gutter) 2rem;
  border-top: 1px solid var(--bb-line);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu.open { display: block; }
.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-menu a {
  display: block;
  padding: 1rem 1.1rem;
  background: var(--bb-white);
  border: 1px solid var(--bb-line);
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--bb-ink);
}
.mobile-menu a.active { background: var(--bb-ink); color: var(--bb-cream); border-color: var(--bb-ink); }
.mobile-menu .btn { width: 100%; justify-content: center; }

/* =============================================================
   Hero
   ============================================================= */
.hero {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero h1 .accent { color: var(--bb-red); }
.hero .lead { margin-top: 1.25rem; }
.hero .btn-row { margin-top: 1.75rem; }
.hero-meta {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.hero-meta div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.hero-meta .label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bb-muted);
  font-weight: 600;
}
.hero-meta .value {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--bb-ink);
  font-size: 1rem;
}

/* Hero visual — CSS-built bodega scene (placeholder for storefront photo)
   To replace: drop a high-quality storefront image into images/hero.jpg
   and replace the entire .hero-visual block with
   <img class="hero-visual" src="images/hero.jpg" alt="..." /> */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(217,54,54,0.18), transparent 60%),
    radial-gradient(80% 60% at 0% 100%, rgba(31,138,79,0.18), transparent 60%),
    linear-gradient(160deg, #1a1a1a 0%, #0a0a0a 100%);
  box-shadow: var(--shadow-lg);
  color: var(--bb-cream);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,13,13,0.10) 30%, rgba(13,13,13,0.72) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-visual .stamp {
  align-self: flex-start;
  background: var(--bb-red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border-radius: var(--r-pill);
  position: relative;
  z-index: 2;
}
.hero-visual .big {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
}
.hero-visual .big span { color: var(--bb-yellow); }
.hero-visual .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(250,248,242,0.25);
  padding-top: 1rem;
  margin-top: 1rem;
}
.hero-visual .meta strong { color: #fff; }

/* =============================================================
   Quick info bar
   ============================================================= */
.info-bar {
  background: var(--bb-ink);
  color: var(--bb-cream);
  border-radius: var(--r-lg);
  padding: 1.25rem clamp(1rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: center;
  box-shadow: var(--shadow-md);
}
@media (max-width: 880px) { .info-bar { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .info-bar { grid-template-columns: 1fr; } }
.info-cell {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.5rem 0;
}
.info-cell .label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--bb-yellow);
}
.info-cell .value {
  font-family: var(--font-display);
  font-weight: 600;
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.3;
}
.info-cell .value a { color: #fff; }
.info-cell .value a:hover { color: var(--bb-yellow); }
.info-cell.cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
@media (max-width: 880px) { .info-cell.cta { justify-content: flex-start; } }

/* =============================================================
   Category grid
   ============================================================= */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 980px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .cat-grid { grid-template-columns: 1fr; } }

.cat-card {
  position: relative;
  background: var(--bb-white);
  border: 1px solid var(--bb-line);
  border-radius: var(--r-md);
  padding: 1.5rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 180px;
  overflow: hidden;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.cat-card .cat-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--bb-cream-deep);
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}
.cat-card.feat .cat-ico { background: var(--bb-red); color: #fff; }
.cat-card.green-feat .cat-ico { background: var(--bb-green); color: #fff; }
.cat-card h3 { margin: 0; font-size: 1.05rem; }
.cat-card p {
  margin: 0;
  color: var(--bb-muted);
  font-size: 0.92rem;
}
.cat-card .pill {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--bb-red-soft);
  color: var(--bb-red-deep);
  padding: 0.3rem 0.6rem;
  border-radius: var(--r-pill);
  font-weight: 700;
}

/* Standalone note (used on products page) */
.deals-note {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--bb-muted);
}
.deals-note strong { color: var(--bb-ink); }

/* =============================================================
   Locations
   ============================================================= */
.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 800px) { .loc-grid { grid-template-columns: 1fr; } }

.loc-card {
  background: var(--bb-white);
  border: 1px solid var(--bb-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.loc-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.loc-photo {
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(80% 60% at 30% 30%, rgba(245,185,26,0.20), transparent 60%),
    radial-gradient(60% 60% at 80% 70%, rgba(217,54,54,0.25), transparent 60%),
    linear-gradient(135deg, #1a1a1a, #0a0a0a);
  position: relative;
  overflow: hidden;
  color: var(--bb-cream);
  padding: 1.25rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.loc-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.loc-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,13,13,0.15) 35%, rgba(13,13,13,0.78) 100%);
  z-index: 1;
  pointer-events: none;
}
.loc-photo .badge,
.loc-photo .name { position: relative; z-index: 2; }
.loc-photo.alt {
  background:
    radial-gradient(80% 60% at 30% 30%, rgba(31,138,79,0.25), transparent 60%),
    radial-gradient(60% 60% at 80% 70%, rgba(245,185,26,0.20), transparent 60%),
    linear-gradient(135deg, #1a1a1a, #0a0a0a);
}
.loc-photo .badge {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
}
.loc-photo .name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.loc-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
}
.loc-row {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.loc-row .label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--bb-muted);
}
.loc-row .value {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--bb-ink);
}
.loc-row .value a { color: var(--bb-ink); }
.loc-row .value a:hover { color: var(--bb-red); }

.hours {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hours li {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--bb-line);
  font-size: 0.95rem;
}
.hours li:last-child { border-bottom: 0; }
.hours li span:first-child { color: var(--bb-muted); }
.hours li span:last-child { font-family: var(--font-display); font-weight: 600; color: var(--bb-ink); }

.loc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: auto;
}

/* =============================================================
   Community / split
   ============================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.split-visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  background:
    radial-gradient(70% 60% at 70% 30%, rgba(217,54,54,0.30), transparent 60%),
    radial-gradient(60% 60% at 20% 80%, rgba(31,138,79,0.30), transparent 60%),
    linear-gradient(135deg, var(--bb-cream-deep), #efe9d8);
  border: 1px solid var(--bb-line);
  padding: 2rem;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.split-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.split-visual .stamp {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--bb-ink);
  color: var(--bb-cream);
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  padding: 0.4rem 0.8rem;
  border-radius: var(--r-pill);
}
.split-visual .word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  color: var(--bb-ink);
  line-height: 0.95;
  text-align: center;
}
.split-visual .word em {
  display: block;
  font-style: normal;
  color: var(--bb-red);
}

/* =============================================================
   Social grid
   ============================================================= */
.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
@media (max-width: 720px) { .social-grid { grid-template-columns: repeat(2, 1fr); } }

.social-tile {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
  background: var(--bb-cream-deep);
  position: relative;
  overflow: hidden;
  transition: transform .2s var(--ease);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  color: var(--bb-muted);
  font-size: 0.85rem;
  border: 1px solid var(--bb-line);
}
.social-tile:hover { transform: translateY(-2px); }
.social-tile.t1 { background: linear-gradient(135deg, #d93636, #b21f24); color: #fff; }
.social-tile.t2 { background: linear-gradient(135deg, #1f8a4f, #156938); color: #fff; }
.social-tile.t3 { background: linear-gradient(135deg, #1a1a1a, #0a0a0a); color: var(--bb-yellow); }
.social-tile.t4 { background: linear-gradient(135deg, #f5b91a, #e0a800); color: var(--bb-ink); }
.social-tile span {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

/* =============================================================
   CTA banner
   ============================================================= */
.cta-banner {
  background: var(--bb-ink);
  color: var(--bb-cream);
  border-radius: var(--r-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 800px) { .cta-banner { grid-template-columns: 1fr; } }
.cta-banner::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 60%;
  height: 180%;
  background: radial-gradient(closest-side, rgba(217,54,54,0.35), transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { color: var(--bb-cream); margin: 0; }
.cta-banner p { color: rgba(250,248,242,0.78); margin: 0.5rem 0 0; }
.cta-banner .btn-row { position: relative; justify-content: flex-end; }
@media (max-width: 800px) { .cta-banner .btn-row { justify-content: flex-start; } }

/* =============================================================
   Page strip (subpage hero)
   ============================================================= */
.page-strip {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
}
.page-strip h1 {
  margin: 0.5rem 0 0.75rem;
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
}
.page-strip p {
  font-size: 1.1rem;
  color: var(--bb-muted);
  max-width: 60ch;
  margin: 0;
}

/* =============================================================
   Forms
   ============================================================= */
.form-card {
  background: var(--bb-white);
  border: 1px solid var(--bb-line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: grid;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) { .form-grid-2 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--bb-muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--bb-line);
  border-radius: var(--r-sm);
  font: inherit;
  background: var(--bb-cream);
  color: var(--bb-ink);
  transition: border-color .15s var(--ease), background .15s var(--ease), box-shadow .15s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--bb-ink);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(13,13,13,0.06);
}
.field textarea { min-height: 140px; resize: vertical; }

.form-status {
  margin-top: 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  display: none;
}
.form-status.success {
  display: block;
  background: var(--bb-green-soft);
  color: var(--bb-green-deep);
}
.form-status.error {
  display: block;
  background: var(--bb-red-soft);
  color: var(--bb-red-deep);
}

/* =============================================================
   Footer
   ============================================================= */
.site-footer {
  background: var(--bb-ink);
  color: rgba(250,248,242,0.85);
  padding: 4rem 0 1.75rem;
  margin-top: 4rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 2rem;
}
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

.site-footer h4 {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  font-weight: 700;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 0.3rem 0; }
.site-footer a { color: rgba(250,248,242,0.8); transition: color .15s var(--ease); }
.site-footer a:hover { color: var(--bb-yellow); }
.foot-brand .brand { color: #fff; }
.foot-brand .brand-logo {
  height: 96px;
  background: #fff;
  padding: 10px 14px;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
.foot-brand .brand-name small { color: rgba(250,248,242,0.6); }
.foot-brand p {
  color: rgba(250,248,242,0.7);
  margin-top: 1rem;
  max-width: 28ch;
}
.foot-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}
.foot-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: grid; place-items: center;
  color: #fff;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.foot-social a:hover { background: var(--bb-red); border-color: var(--bb-red); color: #fff; }
.foot-social svg { width: 18px; height: 18px; }

.foot-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(250,248,242,0.55);
}

/* =============================================================
   Reveal animation
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Utility */
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* =============================================================
   SNAP / EBT badge
   ============================================================= */
.snap-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.55rem;
  background: var(--bb-green-soft);
  color: var(--bb-green-deep);
  border: 1px solid color-mix(in srgb, var(--bb-green) 30%, transparent);
  padding: 0.4rem 0.85rem 0.4rem 0.4rem;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.snap-badge img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 2px;
  flex-shrink: 0;
}

/* Inline SNAP note used inside dark surfaces (info-bar, hero) */
.snap-pill {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.5rem;
  background: rgba(31,138,79,0.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0.35rem 0.7rem 0.35rem 0.4rem;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  margin-top: 0.4rem;
}
.snap-pill img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  background: #fff;
  border-radius: 5px;
  padding: 2px;
  flex-shrink: 0;
}

/* =============================================================
   Mobile optimizations
   ============================================================= */

/* Avoid accidental horizontal scroll from a single overflowing child */
html, body { overflow-x: clip; }
body { -webkit-text-size-adjust: 100%; }

/* Better tap behavior on phones */
a, button, .btn, .nav-toggle, .cat-card, .loc-card, .social-tile, .deal-card,
.brand, .info-cell.cta a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Disable hover-only transforms on touch devices to avoid sticky hover states */
@media (hover: none) {
  .btn:hover { transform: none; box-shadow: none; }
  .cat-card:hover { transform: none; box-shadow: var(--shadow-xs); border-color: var(--bb-line); }
  .loc-card:hover { transform: none; box-shadow: var(--shadow-xs); }
  .social-tile:hover { transform: none; }
  .nav-links a:hover { background: transparent; color: var(--bb-text); }
  .foot-social a:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); color: #fff; }
}

/* Tablet & phone */
@media (max-width: 920px) {
  /* Mobile menu becomes the default tap surface; ensure long lists are reachable */
  .mobile-menu ul { padding-bottom: 0.5rem; }
}

/* Phone */
@media (max-width: 600px) {
  /* Tighter section rhythm — keeps content above the fold */
  .section { padding: 2.75rem 0; }
  .section.compact { padding: 1.25rem 0; }
  .section.tight { padding: 2rem 0; }
  .page-strip { padding: 2rem 0 1.25rem; }

  /* Brand wordmark fits without truncation */
  .brand-name { font-size: 0.95rem; }
  .brand-name small { font-size: 0.6rem; letter-spacing: 0.16em; margin-top: 2px; }
  .brand-logo { width: auto; height: 74px; }

  /* Hero — text first, full-width buttons for big tap targets */
  .hero { padding-top: 1.5rem; }
  .hero .btn-row { gap: 0.6rem; }
  .hero .btn-row .btn { flex: 1 1 100%; justify-content: center; }
  .hero-meta { gap: 1rem 1.75rem; margin-top: 1.75rem; }
  .hero-meta .label { font-size: 0.68rem; }
  .hero-visual { padding: 1.5rem; aspect-ratio: 5 / 6; }
  .hero-visual .big { font-size: 2.2rem; }
  .hero-visual .stamp { font-size: 0.7rem; padding: 0.45rem 0.85rem; }
  .hero-visual .meta { font-size: 0.78rem; }

  /* Info bar — let the CTA stretch full-width on phones */
  .info-bar { padding: 1.25rem; gap: 1rem; }
  .info-cell { padding: 0.25rem 0; }
  .info-cell.cta { width: 100%; }
  .info-cell.cta .btn { width: 100%; justify-content: center; }

  /* Category cards — drop forced min-height, tighten padding */
  .cat-card { min-height: 0; padding: 1.25rem; }
  .cat-card .cat-ico { width: 40px; height: 40px; font-size: 1.25rem; }
  .cat-grid { gap: 0.75rem; }

  /* Location cards — stack actions full-width so labels never overflow */
  .loc-body { padding: 1.25rem; gap: 0.85rem; }
  .loc-actions { gap: 0.5rem; flex-direction: column; }
  .loc-actions .btn { width: 100%; justify-content: center; white-space: normal; }
  .loc-photo { padding: 1rem; }
  .loc-photo .name { font-size: 1.25rem; }

  /* Hours rows breathe a little on small screens */
  .hours li { padding: 0.55rem 0; }

  /* CTA banner — stack & full-width buttons */
  .cta-banner { padding: 1.75rem; }
  .cta-banner .btn-row { flex-direction: column; gap: 0.6rem; }
  .cta-banner .btn-row .btn { width: 100%; justify-content: center; }

  /* Split section visual: smaller / less imposing */
  .split-visual { padding: 1.5rem; }
  .split-visual .word { font-size: clamp(2rem, 8vw, 2.75rem); }

  /* Form: full-width submit, tighter card padding */
  .form-card { padding: 1.25rem; }
  .form-card .btn { width: 100%; justify-content: center; }

  /* Footer */
  .site-footer { padding: 2.5rem 0 1.25rem; margin-top: 2.5rem; }
  .foot-grid { gap: 1.5rem; }
  .foot-bottom { flex-direction: column; gap: 0.4rem; align-items: flex-start; }
}

/* Very small phones (320–380px) */
@media (max-width: 380px) {
  h1 { letter-spacing: -0.025em; }
  .hero-visual .big { font-size: 1.85rem; }
  .info-cell .value { font-size: 0.95rem; }
  .nav-links, .nav-cta .btn { display: none; }
  .brand-name small { display: none; }   /* Drop subline on tiniest screens to keep brand crisp */
}

/* Notch / iOS home-indicator safe areas */
@supports (padding: max(0px)) {
  .container,
  .nav,
  .mobile-menu {
    padding-left: max(var(--gutter), env(safe-area-inset-left));
    padding-right: max(var(--gutter), env(safe-area-inset-right));
  }
  .site-footer .foot-bottom {
    padding-bottom: max(0px, env(safe-area-inset-bottom));
  }
}

/* iOS-safe body scroll lock when mobile menu is open.
   JS sets body.style.top = -scrollY so the page appears to stay put,
   then restores window.scrollTo(0, scrollY) on close. */
body.menu-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}
