/* Tacos El Pericazo — Redesign: elevated street food aesthetic
 * Dark cinematic hero, warm cream body, photo-forward menu,
 * decorative ornamental dividers, refined typography.
 * Builds on tokens.css + reset.css + motion.css
 */

/* --- Extended tokens --- */
:root {
  --t-dark: #0c0a08;
  --t-dark-warm: #1a1610;
  --t-dark-overlay: rgba(12, 10, 8, 0.7);
  --t-gold: #d4a843;
  --t-gold-soft: rgba(212, 168, 67, 0.15);
  --ornament-color: var(--t-gold);
}

/* --- Global --- */
body {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  background: var(--t-cream);
  color: var(--brand-ink);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--brand-ink);
}
h1 { font-size: var(--fs-4xl); font-weight: 700; }
h2 { font-size: var(--fs-3xl); font-weight: 600; }
h3 { font-size: var(--fs-xl); font-weight: 600; line-height: 1.25; }
h4 { font-size: var(--fs-lg); font-weight: 600; line-height: 1.3; }

p { font-size: var(--fs-md); color: var(--brand-ink-soft); }
.lead { font-size: var(--fs-lg); color: var(--brand-ink-soft); line-height: 1.65; max-width: 58ch; }
.muted { color: var(--brand-muted); }
em { color: var(--t-red); font-style: italic; }

a:not(.btn):not(.brand) {
  color: var(--brand-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--t-fast) var(--ease-out);
}
a:not(.btn):not(.brand):hover { color: var(--brand-ink); }
strong { font-weight: 600; color: var(--brand-ink); }
::selection { background: var(--t-cobalt); color: var(--t-cream); }

/* --- Layout --- */
html, body { overflow-x: hidden; }
body {
  /* Respect iOS safe area so content isn't covered by Safari's bottom bar. */
  padding-bottom: env(safe-area-inset-bottom);
}
.container {
  width: min(var(--container-max), 100% - (var(--container-pad) * 2));
  margin-inline: auto;
}
section { padding-block: var(--sp-9); }

/* --- Eyebrow --- */
.eyebrow {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--t-gold);
  font-weight: 600;
  font-family: var(--font-body);
}

/* --- Ornamental divider (Juanita's-inspired) --- */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  margin: var(--sp-5) 0;
}
.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ornament-color), transparent);
}
.ornament-icon {
  width: 24px;
  height: 24px;
  color: var(--ornament-color);
  opacity: 0.7;
}
.ornament--light { --ornament-color: rgba(254, 250, 224, 0.3); }
.ornament--dark { --ornament-color: rgba(26, 58, 143, 0.2); }

/* --- Section head --- */
.section-head {
  max-width: 56rem;
  margin-bottom: var(--sp-7);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.section-head p { font-size: var(--fs-lg); color: var(--brand-ink-soft); }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--sp-2);
  padding: 0.85rem 1.6rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease-out);
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn-lg { padding: 1rem 2rem; font-size: var(--fs-md); }
.btn-primary {
  background: var(--t-red);
  color: #fff;
  box-shadow: 0 4px 18px rgba(230, 57, 70, 0.35);
}
.btn-primary:hover {
  background: var(--t-red-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(230, 57, 70, 0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--t-cream);
  border-color: rgba(254, 250, 224, 0.35);
}
.btn-ghost:hover {
  border-color: var(--t-yellow);
  color: var(--t-yellow);
  transform: translateY(-1px);
}

/* --- Sticky header --- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(12, 10, 8, 0.92);
  border-bottom: 1px solid rgba(254, 250, 224, 0.06);
  transition: background var(--t-base) var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(12, 10, 8, 0.97);
  border-bottom-color: rgba(254, 250, 224, 0.1);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-5);
  padding-block: var(--sp-3);
}
.brand {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--t-cream);
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: var(--t-gold);
  color: var(--t-dark);
  border-radius: 10px;
  overflow: hidden;
}
.brand-mark img {
  width: 100%; height: 100%; object-fit: cover;
}
.primary-nav ul {
  display: flex; gap: var(--sp-5); align-items: center;
  list-style: none;
}
.primary-nav a {
  color: rgba(254, 250, 224, 0.7);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease-out);
}
.primary-nav a:hover { color: var(--t-yellow); }
.primary-nav .btn-primary {
  background: var(--t-red);
  color: #fff;
  padding: 0.6rem 1.3rem;
  border-radius: var(--r-pill);
  box-shadow: 0 4px 16px rgba(230, 57, 70, 0.3);
}
.primary-nav .btn-primary:hover { background: var(--t-red-deep); }
.nav-phone {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  color: var(--t-cream) !important;
  font-weight: 500; font-size: var(--fs-sm);
  text-decoration: none !important;
  padding: 0.4rem 0.75rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(254, 250, 224, 0.18);
  transition: all var(--t-fast) var(--ease-out);
}
.nav-phone:hover {
  color: var(--t-yellow) !important;
  border-color: var(--t-yellow);
  background: rgba(244, 211, 94, 0.08);
}
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: var(--r-md);
  color: var(--t-cream);
}

@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--t-dark);
    border-bottom: 1px solid rgba(254, 250, 224, 0.08);
    padding: var(--sp-5);
    transform: translateY(-12px);
    opacity: 0; visibility: hidden;
    transition: all var(--t-base) var(--ease-out);
  }
  .primary-nav[data-open="true"] {
    opacity: 1; visibility: visible; transform: translateY(0);
  }
  .primary-nav ul {
    flex-direction: column; align-items: flex-start;
    gap: var(--sp-4);
  }
  .nav-phone { width: fit-content; }
}

/* --- Hero: dark, cinematic, full-bleed --- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--t-dark);
  color: var(--t-cream);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-bg img,
.hero-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: saturate(0.7);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,10,8,0.5) 0%, rgba(12,10,8,0.2) 40%, rgba(12,10,8,0.85) 100%),
    radial-gradient(ellipse at 30% 80%, rgba(230,57,70,0.15) 0%, transparent 60%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(6rem, 12vw, 10rem) clamp(4rem, 8vw, 6rem);
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .hero-inner .actions { justify-content: center; }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 0.4rem 1rem;
  background: var(--t-red);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(230, 57, 70, 0.4);
}
.hero-badge .dot {
  width: 6px; height: 6px; background: #fff; border-radius: 50%;
  animation: dotPulse 2s var(--ease-in-out) infinite;
}
@keyframes dotPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero h1 {
  margin-top: var(--sp-4);
  color: var(--t-cream);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.hero-eyebrow {
  font-size: var(--fs-xs);
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--t-gold);
}
.hero-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-4xl);
  line-height: 0.95;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.hero-tagline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 1rem + 1.6vw, 2rem);
  line-height: 1.2;
  color: rgba(254, 250, 224, 0.85);
  font-style: italic;
}
.hero .lead {
  color: rgba(254, 250, 224, 0.75);
  margin-top: var(--sp-5);
  max-width: 30rem;
}
.hero .actions {
  margin-top: var(--sp-6);
  display: flex; gap: var(--sp-3); flex-wrap: wrap;
}

.hero-art {
  position: relative;
  max-width: 420px;
  width: 100%;
  margin-inline: auto;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  border: 3px solid rgba(212, 168, 67, 0.25);
}
.hero-art img { width: 100%; height: auto; display: block; }

/* --- Marquee --- */
.marquee {
  background: var(--t-dark);
  border-block: 1px solid rgba(212, 168, 67, 0.15);
  padding-block: var(--sp-4);
}
.marquee-track > * {
  color: var(--t-gold);
  font-weight: 600;
  letter-spacing: 0.18em;
}
.marquee-track > *::after {
  background: var(--t-red);
}

/* --- Menu section --- */
#menu { background: var(--t-cream); }
#menu .eyebrow { color: var(--t-red); }

.menu-group-title {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  color: var(--t-cobalt-deep);
  margin: var(--sp-7) 0 var(--sp-5);
  display: flex; align-items: center; gap: var(--sp-4);
}
.menu-group-title::after {
  content: '';
  flex: 1; height: 2px;
  background: linear-gradient(90deg, var(--t-red), var(--t-orange) 50%, transparent);
  border-radius: 999px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: var(--sp-5);
}

/* Menu card — expandable with photo placeholder */
.menu-card {
  background: #fff;
  border: 1px solid var(--brand-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out);
  cursor: pointer;
}
.menu-card::before {
  content: '';
  position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--t-red), var(--t-orange), var(--t-yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease-out);
}
.menu-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 57, 70, 0.25);
  box-shadow: var(--shadow-md);
}
.menu-card:hover::before { transform: scaleX(1); }

.menu-card-photo {
  aspect-ratio: 16 / 10;
  background: var(--t-cream-warm);
  overflow: hidden;
  position: relative;
}
.menu-card-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform var(--t-slow) var(--ease-out);
}
.menu-card:hover .menu-card-photo img { transform: scale(1.04); }

/* Placeholder stripe pattern for missing food photos */
.menu-card-photo .placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 8px,
      rgba(15, 37, 96, 0.04) 8px,
      rgba(15, 37, 96, 0.04) 16px
    ),
    var(--t-cream-warm);
  color: var(--brand-muted);
  font-family: 'Courier New', monospace;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.menu-card-body {
  padding: var(--sp-5);
}
.menu-card-body h3 {
  font-family: var(--font-display);
  color: var(--t-cobalt-deep);
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-2);
}
.menu-card-body p {
  color: var(--brand-ink-soft);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

.menu-tag {
  position: absolute; top: var(--sp-3); right: var(--sp-3);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--r-pill);
  background: var(--t-red);
  color: #fff;
  z-index: 2;
}
.menu-tag--gold { background: var(--t-yellow); color: var(--t-cobalt-deep); }

.menu-icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--t-gold-soft);
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: var(--r-md);
  color: var(--t-gold);
  margin-bottom: var(--sp-3);
}
.menu-icon svg { width: 22px; height: 22px; }

/* Rotate icon accent */
.menu-grid .menu-card:nth-child(3n+1) .menu-icon { color: var(--t-red); border-color: rgba(230, 57, 70, 0.2); background: rgba(230, 57, 70, 0.08); }
.menu-grid .menu-card:nth-child(3n+2) .menu-icon { color: var(--t-orange); border-color: rgba(244, 162, 97, 0.25); background: rgba(244, 162, 97, 0.08); }
.menu-grid .menu-card:nth-child(3n+3) .menu-icon { color: var(--t-cobalt); border-color: rgba(26, 58, 143, 0.18); background: rgba(26, 58, 143, 0.08); }

.menu-group-sub {
  font-size: var(--fs-sm);
  color: var(--brand-muted);
  margin-top: calc(var(--sp-3) * -1);
  margin-bottom: var(--sp-5);
  max-width: 60ch;
}

.menu-price {
  display: inline-block;
  margin-top: var(--sp-3);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-lg);
  color: var(--t-cobalt-deep);
}

/* Drinks grid */
.drinks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  margin-top: var(--sp-5);
  padding: var(--sp-6);
  background: #fff;
  border: 1px solid var(--brand-line);
  border-radius: var(--r-lg);
}
@media (max-width: 600px) { .drinks-grid { grid-template-columns: 1fr; } }
.drinks-col h4 {
  font-family: var(--font-display);
  color: var(--t-cobalt-deep);
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-3);
}
.drinks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.drinks-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  border-bottom: 1px dashed var(--brand-line);
  font-size: var(--fs-sm);
  color: var(--brand-ink-soft);
}
.drinks-list li:last-child { border-bottom: 0; }
.drinks-list li span:last-child { font-weight: 600; color: var(--t-cobalt-deep); }
.drinks-list.aguas {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: var(--sp-2) var(--sp-4);
}
.drinks-list.aguas li {
  border: 0;
  padding: 0.3rem 0.8rem;
  background: var(--t-gold-soft);
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--t-cobalt-deep);
}

.menu-note {
  margin-top: var(--sp-7);
  padding: var(--sp-5);
  border: 1px dashed rgba(15, 37, 96, 0.2);
  border-radius: var(--r-lg);
  text-align: center;
  color: var(--brand-ink-soft);
  background: rgba(244, 211, 94, 0.08);
}

/* --- Story section --- */
.story {
  position: relative;
  background: var(--t-dark);
  color: var(--t-cream);
  overflow: hidden;
  padding-block: clamp(4rem, 9vw, 7rem);
}
.story::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(230, 57, 70, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(212, 168, 67, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.story-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 800px) { .story-inner { grid-template-columns: 1fr; } }
.story .eyebrow { color: var(--t-gold); }
.story h2 {
  color: var(--t-cream);
  font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.5rem);
  margin: var(--sp-3) 0 var(--sp-4);
}
.story h2 em { color: var(--t-red); font-style: italic; }
.story p { color: rgba(254, 250, 224, 0.8); line-height: 1.75; }
.story p + p { margin-top: var(--sp-4); }

.story-art {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(212, 168, 67, 0.2);
  aspect-ratio: 3 / 4;
}
.story-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-art-link {
  display: none; /* replaced by story-photos-link */
}
.story-photos-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
  color: var(--t-gold) !important;
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none !important;
  padding: 0.6rem 1.2rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(212, 168, 67, 0.3);
  background: rgba(212, 168, 67, 0.08);
  transition: all var(--t-fast) var(--ease-out);
}
.story-photos-link:hover {
  background: var(--t-red);
  color: #fff !important;
  border-color: var(--t-red);
}

/* --- Info section (find/hours) --- */
.info {
  background:
    linear-gradient(180deg, var(--t-cobalt) 0%, var(--t-cobalt-deep) 100%);
  color: var(--t-cream);
  border-radius: var(--r-xl);
  margin-inline: var(--container-pad);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
}
.info::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(254,250,224,0.04) 1px, transparent 1.2px);
  background-size: 20px 20px;
  opacity: 0.5;
  pointer-events: none;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-5);
  position: relative;
}
.info-block {
  background: rgba(254, 250, 224, 0.06);
  border: 1px solid rgba(254, 250, 224, 0.1);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: background var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out);
}
.info-block:hover { background: rgba(254, 250, 224, 0.10); transform: translateY(-3px); }
.info-block h3 {
  font-family: var(--font-display);
  color: var(--t-yellow);
  font-size: var(--fs-xl);
  display: flex; align-items: center; gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}
.info-block h3 svg { width: 22px; height: 22px; color: var(--t-yellow); }
.info-block p, .info-block li {
  color: rgba(254, 250, 224, 0.85);
  line-height: 1.7;
}
.info-block strong { color: var(--t-cream); }
.map-wrap {
  margin-top: var(--sp-4);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid rgba(254, 250, 224, 0.12);
}
.map-wrap iframe { width: 100%; height: 240px; border: 0; display: block; }
.hours-row {
  display: flex; justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px dashed rgba(254, 250, 224, 0.18);
}
.hours-row:last-child { border-bottom: 0; }
.hours-row span:first-child { color: var(--t-cream); font-weight: 500; }
.hours-row span:last-child { color: rgba(254, 250, 224, 0.78); }

/* --- Social feed --- */
.social-feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: var(--sp-4);
}
.social-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--brand-line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out);
}
.social-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.social-card-media { aspect-ratio: 1; background: var(--t-cream-warm); overflow: hidden; }
.social-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.social-card-body { display: flex; flex-direction: column; gap: var(--sp-2); padding: var(--sp-4); flex: 1; }
.social-card-meta { font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-muted); font-weight: 600; }
.social-card-caption { font-size: var(--fs-sm); line-height: 1.5; color: var(--brand-ink-soft); }
.social-card-link { margin-top: auto; padding-top: var(--sp-2); font-size: var(--fs-sm); font-weight: 600; color: var(--t-red) !important; text-decoration: none !important; }
.social-card-link:hover { color: var(--t-cobalt-deep) !important; }
.social-feed-empty { padding: var(--sp-7); text-align: center; color: var(--brand-muted); border: 1px dashed var(--brand-line); border-radius: var(--r-lg); grid-column: 1 / -1; }

/* --- Catering --- */
/* .section-alt — kept as the legacy generic shaded-section class in case
   anything else picks it up later. The catering section moved off it to
   .catering-panel below. */
.section-alt {
  background: var(--t-cream-warm);
  border-radius: var(--r-xl);
  margin-inline: var(--container-pad);
  overflow: hidden;
}
.section-alt > * { overflow-wrap: anywhere; }

/* --- Catering panel — pure visual wrapper, lives inside a clean .container --- */
/* Decoupled from the section's layout box so .container's width math handles
   horizontal alignment cleanly (same mechanics as the menu/feed sections). The
   panel just paints the cream-warm rounded card on top of that. */
.catering-panel {
  background: var(--t-cream-warm);
  border-radius: var(--r-xl);
  padding: var(--sp-9) var(--sp-5);
  overflow: hidden;
}
.catering-panel > * { overflow-wrap: anywhere; }
.catering {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  align-items: start;
}
/* Was 2-column with a tall form on the right. Now single-column so the
   short SMS card doesn't leave a big empty cream band beside it. No
   max-width / margin-inline:auto here — that was centering the content
   within the section, which made the heading look shifted vs every other
   section (whose headings sit flush-left in the container). */

/* Forms */
.form { display: grid; gap: var(--sp-4); }
.field { display: grid; gap: var(--sp-2); }
.field label { font-size: var(--fs-sm); font-weight: 500; color: var(--brand-ink); }
.field .hint { font-size: var(--fs-xs); color: var(--brand-muted); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #fff;
  color: var(--brand-ink);
  border: 1.5px solid var(--brand-line);
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: var(--fs-md);
  box-sizing: border-box;
  transition: border-color var(--t-fast) var(--ease-out),
              box-shadow var(--t-fast) var(--ease-out);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--t-cobalt);
  box-shadow: 0 0 0 4px rgba(26, 58, 143, 0.15);
  outline: none;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; }
.form-status { padding: var(--sp-4); border-radius: var(--r-md); font-size: var(--fs-sm); }
.form-status[data-status="success"] { background: rgba(45, 106, 79, 0.1); color: var(--t-green); border: 1px solid rgba(45, 106, 79, 0.3); }
.form-status[data-status="error"] { background: rgba(230, 57, 70, 0.1); color: var(--t-red-deep); border: 1px solid rgba(230, 57, 70, 0.3); }
.form-note { font-size: var(--fs-xs); color: var(--brand-muted); }
.catering form,
.catering-action {
  background: #fff;
  padding: var(--sp-6);
  border: 1px solid var(--brand-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}
.catering-action h3 {
  margin: 0 0 var(--sp-2) 0;
}
.catering-action .btn {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
  word-break: break-word;
}
.contact-list { display: grid; gap: var(--sp-2); list-style: none; }

/* Social bar */
.social-bar { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.social-bar a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(212, 168, 67, 0.1);
  border: 1px solid rgba(212, 168, 67, 0.2);
  color: var(--t-gold);
  transition: all var(--t-fast) var(--ease-out);
}
.social-bar a:hover {
  background: var(--t-red);
  color: #fff;
  border-color: var(--t-red);
  transform: translateY(-2px);
}
.social-bar svg { width: 20px; height: 20px; fill: currentColor; }

/* --- Footer --- */
.site-footer {
  background: var(--t-dark);
  color: rgba(254, 250, 224, 0.7);
  border-top: 1px solid rgba(212, 168, 67, 0.1);
  padding-block: var(--sp-8) var(--sp-5);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--sp-6);
  margin-bottom: var(--sp-7);
}
.footer-grid h4 {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--t-gold);
  margin-bottom: var(--sp-3);
}
.footer-grid ul { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-grid a { color: rgba(254, 250, 224, 0.6); text-decoration: none; transition: color var(--t-fast); }
.footer-grid a:hover { color: var(--t-yellow); }
.footer-brand { font-family: var(--font-display); font-size: var(--fs-xl); color: var(--t-gold); }
.footer-bottom {
  border-top: 1px solid rgba(254, 250, 224, 0.08);
  padding-top: var(--sp-4);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-3);
  font-size: var(--fs-xs);
}
.footer-bottom a { color: rgba(254, 250, 224, 0.5); }
.site-footer .social-bar a {
  background: rgba(254, 250, 224, 0.06);
  border-color: rgba(254, 250, 224, 0.1);
  color: var(--t-cream);
}
.site-footer .social-bar a:hover { background: var(--t-red); border-color: var(--t-red); color: #fff; }

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Animations --- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* --- Delivery preview banner (legacy classes, retained for any cached HTML) --- */
.delivery-preview { margin-block: var(--sp-7) var(--sp-4); }
.delivery-preview-card {
  display: flex; gap: var(--sp-5); align-items: center; flex-wrap: wrap;
  padding: var(--sp-4) var(--sp-5);
  background: var(--t-cream);
  border: 1px solid rgba(26, 58, 143, 0.2);
  border-left: 3px solid var(--t-cobalt);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.delivery-preview-badge {
  display: inline-block;
  font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--t-cream); background: var(--t-cobalt);
  padding: var(--sp-1) var(--sp-3); border-radius: var(--r-pill);
  flex-shrink: 0;
}
.delivery-preview-text { margin: 0; font-size: var(--fs-sm); color: var(--brand-ink-soft); flex: 1 1 auto; min-width: 18ch; }
.delivery-preview-text strong { color: var(--t-cobalt-deep); }

/* --- Delivery feature card (current; replaces the thin banner above) --- */
/* .container already handles horizontal centering — don't add flex on top of it
   (caused subpixel offset on iOS Safari). Just cap the inner card width and
   margin-auto it. */
.delivery-feature {
  margin-block: var(--sp-8) var(--sp-6);
}
.delivery-feature-card {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(180deg, var(--t-cream) 0%, #fff 100%);
  border: 1px solid rgba(26, 58, 143, 0.18);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}
.delivery-feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--t-cobalt), var(--t-cobalt-deep), var(--t-cobalt));
}
.delivery-feature-card .eyebrow {
  display: inline-block;
  margin-bottom: var(--sp-3);
}
.delivery-feature-card .ornament {
  margin: 0 auto var(--sp-3);
  width: 80%;
}
.delivery-feature-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: var(--t-cobalt-deep);
  line-height: 1.15;
  margin: 0 0 var(--sp-3);
}
.delivery-feature-card p {
  margin: 0 auto var(--sp-3);
  max-width: 50ch;
  font-size: var(--fs-md);
  color: var(--brand-ink-soft);
  line-height: 1.55;
}
.delivery-feature-card p:last-of-type { margin-bottom: 0; }
.delivery-feature-es {
  font-size: var(--fs-sm) !important;
  color: var(--brand-muted) !important;
  margin-top: var(--sp-3) !important;
}
.delivery-feature-card .btn {
  margin-top: var(--sp-5);
  min-width: 240px;
}
.delivery-feature-card--live::before {
  background: linear-gradient(90deg, var(--t-green), var(--t-cobalt-deep), var(--t-green));
}

/* ============================================================
 * 2026-05-26 — Menu correction + Yelp / Google reviews + DoorDash polish
 * ============================================================ */

/* --- Spanish description line under each menu card --- */
.menu-card-es {
  font-size: var(--fs-xs) !important;
  color: var(--brand-muted) !important;
  margin-top: var(--sp-2);
  line-height: 1.45;
}

/* --- Seasonal menu card (Volcanes) — shaded, accessibly disabled --- */
.menu-card--seasonal {
  cursor: default;
  opacity: 0.78;
  background: var(--t-cream-warm);
  border-style: dashed;
}
.menu-card--seasonal:hover {
  transform: none;
  border-color: var(--brand-line);
  box-shadow: none;
}
.menu-card--seasonal:hover::before { transform: scaleX(0); }
.menu-card--seasonal:hover .menu-card-photo img { transform: none; }
.menu-card--seasonal .menu-price {
  color: var(--brand-muted);
}
.menu-tag--seasonal {
  background: var(--t-cream);
  color: var(--t-cobalt-deep);
  border: 1px solid rgba(15, 37, 96, 0.18);
  letter-spacing: 0.04em;
}

/* --- Loved Locally / Reviews — scrolling marquee --- */
.reviews {
  padding-block: var(--sp-9) var(--sp-7);
}
.reviews .section-head .eyebrow { color: var(--t-red); }

/* The marquee viewport — full-bleed, overflow hidden, mask fade on edges. */
.reviews-marquee {
  position: relative;
  overflow: hidden;
  padding-block: var(--sp-5);
  background: var(--t-cream);
  /* Subtle edge fade so cards don't pop in/out hard. */
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
/* The scrolling row — keyframe shifts -50% so the duplicated card set loops seamlessly. */
.reviews-marquee-track {
  display: flex;
  gap: var(--sp-5);
  width: max-content;
  animation: reviews-scroll 60s linear infinite;
  will-change: transform;
}
@keyframes reviews-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* Pause on hover/focus so users can read what's currently visible. */
.reviews-marquee:hover .reviews-marquee-track,
.reviews-marquee:focus-within .reviews-marquee-track {
  animation-play-state: paused;
}

/* Individual quote card. */
.review-quote {
  flex: 0 0 auto;
  width: clamp(280px, 28vw, 360px);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-5);
  background: #fff;
  border: 1px solid var(--brand-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none !important;
  color: var(--brand-ink) !important;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out);
}
.review-quote::before {
  content: '';
  position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--review-accent, var(--t-cobalt));
}
.review-quote:hover,
.review-quote:focus-visible {
  transform: translateY(-4px);
  border-color: var(--review-accent, var(--t-cobalt));
  box-shadow: var(--shadow-md);
  outline: none;
}
.review-quote--yelp     { --review-accent: #d32323; }
.review-quote--google   { --review-accent: #4285f4; }
.review-quote--apple    { --review-accent: #1a1a1a; }
.review-quote--facebook { --review-accent: #1877f2; }

.review-quote-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}
.review-quote-stars {
  color: #f4b400;
  font-size: var(--fs-lg);
  letter-spacing: 0.06em;
  line-height: 1;
}
.review-quote-platform {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #fff;
  background: var(--review-accent, var(--t-cobalt));
  padding: 0.25rem 0.65rem;
  border-radius: var(--r-pill);
}

.review-quote-text {
  font-size: var(--fs-md);
  line-height: 1.55;
  color: var(--brand-ink);
  margin: 0;
  /* Allow tall quote cards but cap so cards stay roughly the same height. */
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-quote-text strong { color: var(--t-cobalt-deep); }
.review-quote-attribution {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--brand-muted);
  font-style: italic;
}

.reviews-note {
  margin-top: var(--sp-6);
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--brand-muted);
  max-width: 60ch;
  margin-inline: auto;
}

/* Mobile: tighter cards, slightly faster scroll so visible cards don't feel stuck. */
@media (max-width: 600px) {
  .review-quote {
    width: 82vw;
    max-width: 320px;
    padding: var(--sp-4);
  }
  .reviews-marquee-track { animation-duration: 45s; }
  .review-quote-text { -webkit-line-clamp: 7; }
}

/* Reduced-motion: kill the scroll, stack as static row that wraps. */
@media (prefers-reduced-motion: reduce) {
  .reviews-marquee {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
    -webkit-overflow-scrolling: touch;
  }
  .reviews-marquee-track {
    animation: none;
    width: auto;
  }
}

/* --- DoorDash coming-soon banner — upgraded polish --- */
.delivery-feature-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: var(--t-red);
  padding: 0.35rem 0.95rem;
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-3);
  box-shadow: 0 4px 14px rgba(230, 57, 70, 0.3);
}
.delivery-feature-badge--live {
  background: var(--t-green);
  box-shadow: 0 4px 14px rgba(45, 106, 79, 0.3);
}

.delivery-feature-card--coming-soon::before {
  background: linear-gradient(90deg, var(--t-red), var(--t-orange), var(--t-yellow));
}

/* IMPORTANT: Do NOT reintroduce a flex container with min-width buttons here.
   The iOS Safari coming-soon banner overflowed horizontally when this card
   used `.delivery-feature-actions { display:flex; }` with buttons set to
   `min-width: 200px` — the flex item refused to shrink past min-width and
   pushed past the card's right edge inside `.container` width math.
   The fix is to keep the buttons as plain block-level elements stacked
   vertically, capped at max-width 320px and margin-inline auto. Same
   single-button pattern that's worked since 2026-04. */
.delivery-feature-btn {
  display: block;
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
  margin-top: var(--sp-3);
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  line-height: 1.35;
}
.delivery-feature-btn:first-of-type {
  margin-top: var(--sp-5);
}
.btn-ghost-dark {
  background: transparent;
  color: var(--t-cobalt-deep);
  border-color: rgba(15, 37, 96, 0.35);
}
.btn-ghost-dark:hover {
  border-color: var(--t-cobalt);
  background: rgba(26, 58, 143, 0.06);
  color: var(--t-cobalt-deep);
  transform: translateY(-1px);
}

.delivery-feature-phone {
  margin-top: var(--sp-4) !important;
  font-size: var(--fs-sm) !important;
  color: var(--brand-muted) !important;
}
.delivery-feature-phone a {
  color: var(--t-cobalt-deep);
  font-weight: 600;
}

/* --- Mobile tweaks for new components --- */
@media (max-width: 640px) {
  .review-card { padding: var(--sp-4); }
}
