/* =========================================================
   Gonzalez Mexican Restaurant — Wynnewood, OK
   Pure CSS. Palette pulled from the logo + the brick storefront.
   ========================================================= */

:root {
  --red: #d7262e;
  --red-dark: #a8161d;
  --green: #3c9a3e;
  --green-dark: #27702a;
  --orange: #e8872b;
  --orange-dark: #c96a14;
  --yellow: #f2c14e;
  --yellow-light: #f8d98a;
  --cream: #fbf4e6;
  --cream-dark: #f1e4cc;
  --ink: #1b1b1b;
  --ink-soft: #3a3a3a;
  --muted: #6b6257;
  --brick: #8e3b2e;
  --mortar: #c9b39f;
  --white: #fff;

  --font-display: "Alfa Slab One", "Rockwell", Georgia, serif;
  --font-accent: "Permanent Marker", "Comic Sans MS", cursive;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(27, 27, 27, 0.15);
  --shadow-hard: 6px 6px 0 var(--ink);
  --header-h: 72px;
  --max: 1140px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--red-dark); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; margin: 0 0 0.5em; letter-spacing: 0.01em; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
p { margin: 0 0 1em; }

.container { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.section-head .kicker { font-family: var(--font-accent); color: var(--red); font-size: 1.15rem; margin-bottom: 0.25rem; display: block; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.skip-link {
  position: absolute; left: 1rem; top: -100px;
  background: var(--ink); color: #fff; padding: 0.5rem 1rem; border-radius: 8px; z-index: 1000;
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.03em;
  padding: 0.85rem 1.5rem; border-radius: 10px; border: 3px solid var(--ink);
  background: var(--red); color: #fff; text-decoration: none; cursor: pointer;
  box-shadow: var(--shadow-hard);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--ink); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-green { background: var(--green); }
.btn-outline { background: var(--cream); color: var(--ink); }
.btn-lg { font-size: 1.25rem; padding: 1rem 2rem; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- Header / Sticky nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--cream);
  border-bottom: 6px solid var(--orange);
  box-shadow: 0 2px 0 var(--orange-dark), 0 6px 20px rgba(0,0,0,0.08);
}
.nav {
  height: var(--header-h);
  display: flex; align-items: center; gap: 1rem;
  width: min(var(--max), 100% - 2rem); margin-inline: auto;
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-pepper { width: 44px; height: 60px; flex: none; }
.brand-pepper svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 0.95; }
.brand-gonzalez { font-family: var(--font-display); color: var(--red); font-size: 1.55rem; letter-spacing: 0.02em; }
.brand-mexican { font-family: var(--font-accent); color: var(--ink); font-size: 1rem; letter-spacing: 0.22em; text-transform: uppercase; }

.nav-links { list-style: none; display: flex; gap: 0.25rem; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 0.5rem 0.9rem; border-radius: 999px;
  font-weight: 800; text-decoration: none; color: var(--ink); font-size: 1rem;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover { background: var(--yellow-light); }
.nav-links a[aria-current="page"] { background: var(--red); color: #fff; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 8px; background: transparent; border: 2px solid var(--ink); border-radius: 10px; cursor: pointer;
}
.nav-toggle span { display: block; height: 3px; background: var(--ink); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* EN / ES toggle switch */
.lang-toggle {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  width: 96px; height: 38px; padding: 0; border-radius: 999px;
  border: 3px solid var(--ink); background: var(--white); cursor: pointer;
  font-family: var(--font-display); font-size: 0.9rem; letter-spacing: 0.05em;
  flex: none;
}
.lang-knob {
  position: absolute; top: 2px; left: 2px; width: calc(50% - 2px); height: calc(100% - 4px);
  background: var(--green); border-radius: 999px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background 0.25s;
}
.lang-toggle[data-lang="es"] .lang-knob { transform: translateX(100%); background: var(--red); }
.lang-opt { position: relative; z-index: 1; text-align: center; color: var(--ink); transition: color 0.2s; }
.lang-toggle[data-lang="en"] .lang-en,
.lang-toggle[data-lang="es"] .lang-es { color: #fff; }

@media (max-width: 860px) {
  .nav { gap: 0.75rem; }
  .nav-toggle { display: flex; order: 3; }
  .lang-toggle { order: 2; }
  .brand { order: 1; }
  .nav-links {
    order: 4; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0.25rem; padding: 0.75rem 1rem 1rem;
    background: var(--cream); border-bottom: 6px solid var(--orange);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: transform 0.2s, opacity 0.2s;
  }
  .nav-links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 0.8rem 1rem; font-size: 1.1rem; }
}

/* ---------- Brick wall & awning ---------- */
.brick {
  background-color: var(--brick);
  background-image:
    linear-gradient(rgba(0,0,0,0.18), rgba(0,0,0,0.38)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60'%3E%3Crect width='120' height='60' fill='%23c9b39f'/%3E%3Crect x='2' y='2' width='56' height='26' rx='1' fill='%238e3b2e'/%3E%3Crect x='62' y='2' width='56' height='26' rx='1' fill='%23944031'/%3E%3Crect x='-28' y='32' width='56' height='26' rx='1' fill='%23883727'/%3E%3Crect x='32' y='32' width='56' height='26' rx='1' fill='%238e3b2e'/%3E%3Crect x='92' y='32' width='56' height='26' rx='1' fill='%23944031'/%3E%3C/svg%3E");
  background-size: auto, 120px 60px;
  color: #fff;
}

.awning {
  position: relative; height: 54px;
  background: repeating-linear-gradient(90deg, var(--orange) 0 48px, var(--orange-dark) 48px 56px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}
.awning::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 14px;
  background: radial-gradient(circle at 14px 0, var(--orange) 14px, transparent 15px);
  background-size: 28px 14px;
}

/* Papel picado banner */
.picado { position: relative; z-index: 2; margin-top: 22px; height: 70px; overflow: hidden; }
.picado svg { width: 100%; height: 100%; }
.picado .flag { transform-box: fill-box; transform-origin: 50% 0; animation: flagSway 3.2s ease-in-out infinite; }
.picado g:nth-child(2n) .flag { animation-delay: -0.6s; }
.picado g:nth-child(3n) .flag { animation-delay: -1.3s; }
.picado g:nth-child(5n) .flag { animation-delay: -2.1s; }
@keyframes flagSway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; text-align: center; padding: 1rem 0 clamp(3rem, 6vw, 5rem); }

/* The storefront sign — yellow board like the one on the building */
.sign {
  position: relative; display: inline-block;
  margin: 122px auto 1.5rem; /* top margin leaves room for the hanging chains */
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1.5rem, 4vw, 3rem) clamp(1rem, 2.5vw, 1.5rem);
  background:
    radial-gradient(ellipse at 50% 20%, var(--yellow-light), var(--yellow) 70%);
  border: 6px solid var(--ink);
  border-radius: 18px;
  box-shadow: 0 0 0 4px var(--yellow), 0 0 0 7px var(--ink), 0 24px 50px rgba(0,0,0,0.45), inset 0 0 40px rgba(0,0,0,0.08);
  color: var(--ink);
}
/* Hanging chains: alternating oval links (wide link, then an edge-on link),
   a mounting plate at the top and an eyebolt where they meet the sign. */
.sign::before, .sign::after {
  content: ""; position: absolute; top: -118px; width: 28px; height: 118px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 100'%3E%3Cdefs%3E%3ClinearGradient id='m' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23555'/%3E%3Cstop offset='.45' stop-color='%23c9c9c9'/%3E%3Cstop offset='1' stop-color='%233a3a3a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='1' y='0' width='22' height='8' rx='2' fill='%232a2a2a'/%3E%3Crect x='1' y='1' width='22' height='3' rx='1.5' fill='%23666'/%3E%3Ccircle cx='6' cy='4' r='1.6' fill='%23ddd'/%3E%3Ccircle cx='18' cy='4' r='1.6' fill='%23ddd'/%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cg stroke='%231f1f1f' stroke-width='5'%3E%3Cellipse cx='12' cy='17' rx='5.5' ry='8'/%3E%3Cline x1='12' y1='23' x2='12' y2='31'/%3E%3Cellipse cx='12' cy='37' rx='5.5' ry='8'/%3E%3Cline x1='12' y1='43' x2='12' y2='51'/%3E%3Cellipse cx='12' cy='57' rx='5.5' ry='8'/%3E%3Cline x1='12' y1='63' x2='12' y2='71'/%3E%3Cellipse cx='12' cy='77' rx='5.5' ry='8'/%3E%3C/g%3E%3Cg stroke='url(%23m)' stroke-width='3'%3E%3Cellipse cx='12' cy='17' rx='5.5' ry='8'/%3E%3Cline x1='12' y1='23' x2='12' y2='31'/%3E%3Cellipse cx='12' cy='37' rx='5.5' ry='8'/%3E%3Cline x1='12' y1='43' x2='12' y2='51'/%3E%3Cellipse cx='12' cy='57' rx='5.5' ry='8'/%3E%3Cline x1='12' y1='63' x2='12' y2='71'/%3E%3Cellipse cx='12' cy='77' rx='5.5' ry='8'/%3E%3C/g%3E%3Ccircle cx='12' cy='91' r='6' stroke='%231f1f1f' stroke-width='5'/%3E%3Ccircle cx='12' cy='91' r='6' stroke='url(%23m)' stroke-width='3'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat;
  filter: drop-shadow(2px 3px 2px rgba(0,0,0,0.45));
}
.sign::before { left: 16%; transform: rotate(2deg); transform-origin: top center; }
.sign::after { right: 16%; transform: rotate(-2deg); transform-origin: top center; }

.sign-title { display: flex; flex-direction: column; align-items: center; gap: 0.1em; margin: 0; }
.sign-gonzalez { font-family: var(--font-display); font-size: clamp(2.4rem, 7vw, 4.6rem); color: var(--red); line-height: 1; text-shadow: 3px 3px 0 var(--ink); letter-spacing: 0.02em; }
.sign-mexican { font-family: var(--font-accent); font-size: clamp(1.4rem, 4vw, 2.4rem); letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink); line-height: 1.1; }
.sign-restaurant { display: inline-block; margin-top: 0.4rem; background: var(--red); color: #fff; font-family: var(--font-display); font-size: clamp(0.9rem, 2vw, 1.2rem); letter-spacing: 0.32em; text-transform: uppercase; padding: 0.25em 1em 0.2em; border-radius: 4px; }

.hero-kicker { font-family: var(--font-accent); color: var(--yellow); font-size: clamp(1.1rem, 2.4vw, 1.5rem); margin: 0; text-shadow: 0 2px 6px rgba(0,0,0,0.5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 1.25rem; }

/* Status pill (open / closed) */
.status {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.9rem; border-radius: 999px; font-weight: 800; font-size: 0.95rem;
  background: rgba(0,0,0,0.45); border: 2px solid rgba(255,255,255,0.35); color: #fff; backdrop-filter: blur(4px);
}
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #9aa; box-shadow: 0 0 0 3px rgba(255,255,255,0.2); }
.status.is-open::before { background: #4fe06a; box-shadow: 0 0 0 3px rgba(79,224,106,0.3); animation: pulse 1.8s infinite; }
.status.is-closed::before { background: #ff6b6b; }
.status.on-light { background: var(--white); color: var(--ink); border-color: var(--ink); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(79,224,106,0.3); } 50% { box-shadow: 0 0 0 7px rgba(79,224,106,0.05); } }

/* ---------- The dancing pepper (lives in the nav brand) ---------- */
.brand-pepper svg { overflow: visible; }

.pepper-dance .p-shadow { transform-box: view-box; transform-origin: 110px 292px; animation: shadowPulse 1.2s ease-in-out infinite; }
.pepper-dance .p-figure { transform-box: view-box; transform-origin: 110px 200px; animation: bodyDance 1.2s ease-in-out infinite; }
.pepper-dance .p-hat { transform-box: view-box; transform-origin: 114px 50px; animation: hatBob 1.2s ease-in-out infinite; }
.pepper-dance .p-leg-l { transform-box: view-box; transform-origin: 98px 198px; animation: kickLeft 1.2s ease-in-out infinite; }
.pepper-dance .p-leg-r { transform-box: view-box; transform-origin: 124px 198px; animation: kickRight 1.2s ease-in-out infinite; }
.pepper-dance .p-arm-l { transform-box: view-box; transform-origin: 86px 118px; animation: armLeft 1.2s ease-in-out infinite; }
.pepper-dance .p-arm-r { transform-box: view-box; transform-origin: 134px 118px; animation: armRight 1.2s ease-in-out infinite; }
.pepper-dance .p-tip { transform-box: view-box; transform-origin: 108px 200px; animation: tipWag 1.2s ease-in-out infinite; }

/* Hover the brand and he picks up the tempo */
.brand:hover .pepper-dance .p-shadow,
.brand:hover .pepper-dance .p-figure,
.brand:hover .pepper-dance .p-hat,
.brand:hover .pepper-dance .p-leg-l,
.brand:hover .pepper-dance .p-leg-r,
.brand:hover .pepper-dance .p-arm-l,
.brand:hover .pepper-dance .p-arm-r,
.brand:hover .pepper-dance .p-tip { animation-duration: 0.5s; }

@keyframes bodyDance {
  0%   { transform: translateY(0) rotate(-5deg); }
  25%  { transform: translateY(-14px) rotate(0deg); }
  50%  { transform: translateY(0) rotate(5deg); }
  75%  { transform: translateY(-14px) rotate(0deg); }
  100% { transform: translateY(0) rotate(-5deg); }
}
@keyframes shadowPulse {
  0%, 50%, 100% { transform: scaleX(1); opacity: 0.3; }
  25%, 75% { transform: scaleX(0.75); opacity: 0.18; }
}
@keyframes hatBob {
  0%, 100% { transform: rotate(-7deg) translateY(0); }
  25%, 75% { transform: rotate(0) translateY(-4px); }
  50% { transform: rotate(7deg) translateY(0); }
}
@keyframes kickLeft {
  0%, 50%, 100% { transform: rotate(0); }
  25% { transform: rotate(-32deg); }
}
@keyframes kickRight {
  0%, 50%, 100% { transform: rotate(0); }
  75% { transform: rotate(32deg); }
}
@keyframes armLeft {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-12deg); }
  75% { transform: rotate(6deg); }
}
@keyframes armRight {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-6deg); }
  75% { transform: rotate(12deg); }
}
@keyframes tipWag {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(6deg); }
}

/* ---------- Feature cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: var(--white); border-radius: var(--radius); padding: 1.5rem;
  border: 3px solid var(--ink); box-shadow: var(--shadow-hard);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.card h3 { margin-top: 0.75rem; }
.card p { color: var(--muted); margin: 0; }
.card-icon {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  font-size: 2rem; background: var(--yellow); border: 3px solid var(--ink);
}
.card-icon.red { background: var(--red); }
.card-icon.green { background: var(--green); }
.card-icon.orange { background: var(--orange); }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }

.chip { display: inline-block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--cream-dark); color: var(--ink-soft); margin-right: 0.35rem; }
.chip.spicy { background: #ffd9d9; color: var(--red-dark); }
.chip.veg { background: #d8f3d9; color: var(--green-dark); }
.chip.seafood { background: #d9e9ff; color: #1d4e89; }
.chip.fav { background: var(--yellow-light); color: #7a5500; }

/* ---------- Salsa heat picker ---------- */
.salsa-section { background: var(--ink); color: #fff; }
.salsa-section .section-head p { color: #d9cfc2; }
.salsa-section .kicker { color: var(--yellow); }
.salsa-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.salsa-btn {
  background: #2a2a2a; border: 3px solid #444; border-radius: var(--radius); padding: 1.1rem 1rem;
  color: #fff; font-family: var(--font-display); font-size: 1.05rem; cursor: pointer; text-align: center;
  transition: transform 0.15s, border-color 0.15s, background 0.15s;
}
.salsa-btn .salsa-emoji { font-size: 2rem; display: block; margin-bottom: 0.25rem; }
.salsa-btn:hover { transform: translateY(-3px); border-color: var(--orange); }
.salsa-btn[aria-pressed="true"] { background: var(--red); border-color: var(--yellow); transform: translateY(-3px); }
.heat-panel { max-width: 720px; margin: 0 auto; background: #2a2a2a; border-radius: var(--radius); padding: 1.5rem; border: 3px solid #444; }
.heat-meter { display: flex; gap: 6px; margin: 0.75rem 0 1rem; }
.heat-meter span { flex: 1; height: 16px; border-radius: 4px; background: #3d3d3d; transition: background 0.3s, transform 0.3s; }
.heat-meter span.lit { background: linear-gradient(90deg, var(--orange), var(--red)); transform: scaleY(1.15); box-shadow: 0 0 12px rgba(232,135,43,0.5); }
.heat-meter span.lit.hot { background: linear-gradient(90deg, var(--red), #ff3b3b); box-shadow: 0 0 16px rgba(255,59,59,0.7); }
.heat-name { font-family: var(--font-display); font-size: 1.5rem; color: var(--yellow); margin: 0; }
.heat-level { font-family: var(--font-accent); color: #d9cfc2; margin: 0; }
.heat-desc { margin: 0; color: #eee; font-size: 1.05rem; }

/* ---------- Building / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.photo-frame { position: relative; border: 6px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: 10px 10px 0 var(--orange); transform: rotate(-1.5deg); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.photo-frame.alt { transform: rotate(1.5deg); box-shadow: -10px 10px 0 var(--green); }
.split .lead { font-size: 1.15rem; color: var(--ink-soft); }
.address-block { font-style: normal; font-size: 1.1rem; line-height: 1.5; }
.address-block strong { font-family: var(--font-display); font-weight: 400; }

/* ---------- Reviews carousel ---------- */
.reviews-summary { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.5rem 1rem; margin: -1rem 0 1.75rem; font-weight: 800; color: var(--ink-soft); }
.reviews-summary .big { font-family: var(--font-display); font-size: 2rem; color: var(--red-dark); line-height: 1; }
.reviews-summary .stars { margin: 0; font-size: 1.3rem; }
.reviews-summary a { color: var(--red-dark); }

.carousel { position: relative; }
.carousel-viewport { overflow: hidden; margin: 0 -0.6rem; padding: 0.5rem 0; }
.carousel-track { display: flex; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); will-change: transform; }
.carousel-slide { flex: 0 0 100%; padding: 0 0.6rem; min-width: 0; }
@media (min-width: 700px) { .carousel-slide { flex-basis: 50%; } }
@media (min-width: 1000px) { .carousel-slide { flex-basis: 33.3333%; } }

.review { position: relative; padding-top: 2.5rem; height: 100%; display: flex; flex-direction: column; }
.review::before { content: "“"; position: absolute; top: -0.2rem; left: 1.25rem; font-family: var(--font-display); font-size: 5rem; color: var(--orange); line-height: 1; }
.review .stars { color: var(--orange); letter-spacing: 0.1em; margin-bottom: 0.5rem; font-size: 1.1rem; }
.review-text { color: var(--ink-soft); font-size: 1.05rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review-text.is-expanded { display: block; -webkit-line-clamp: unset; }
.review-more { align-self: flex-start; background: none; border: 0; padding: 0; margin-top: 0.4rem; font: inherit; font-weight: 800; color: var(--red-dark); cursor: pointer; text-decoration: underline; }
.review-footer { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; gap: 0.75rem; }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); object-fit: cover; background: var(--yellow); display: grid; place-items: center; font-family: var(--font-display); color: var(--ink); flex: none; }
.review-author { font-weight: 900; color: var(--ink); text-decoration: none; }
.review-author:hover { text-decoration: underline; }
.review-time { color: var(--muted); font-size: 0.9rem; }
.review-google { margin-left: auto; font-size: 0.8rem; font-weight: 800; color: var(--muted); white-space: nowrap; }

.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.carousel-btn { width: 48px; height: 48px; border-radius: 50%; border: 3px solid var(--ink); background: var(--yellow); font-size: 1.4rem; line-height: 1; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); display: grid; place-items: center; transition: transform 0.15s; }
.carousel-btn:hover { transform: translate(-1px, -1px); }
.carousel-btn:disabled { opacity: 0.35; cursor: default; transform: none; }
.carousel-dots { display: flex; gap: 0.5rem; }
.carousel-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); background: transparent; cursor: pointer; padding: 0; }
.carousel-dot.is-active { background: var(--red); }
.carousel-status { text-align: center; color: var(--muted); font-style: italic; }
@media (prefers-reduced-motion: reduce) { .carousel-track { transition: none; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--red); color: #fff; text-align: center; padding: clamp(2.5rem, 6vw, 4rem) 0; border-top: 6px solid var(--ink); border-bottom: 6px solid var(--ink); }
.cta-band h2 { color: #fff; text-shadow: 3px 3px 0 var(--ink); }
.cta-band p { font-size: 1.15rem; max-width: 560px; margin: 0 auto 1.5rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 0 0 clamp(2.5rem, 6vw, 4.5rem); text-align: center; }
.page-hero h1 { color: var(--yellow); text-shadow: 4px 4px 0 var(--ink); }
.page-hero .page-hero-sub {
  display: inline-block; max-width: 720px; margin: 0.25rem auto 0;
  font-size: clamp(1.25rem, 2.4vw, 1.5rem); font-weight: 800; line-height: 1.45; color: #fff;
  background: rgba(27, 27, 27, 0.72); padding: 0.7rem 1.4rem; border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.18); text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}
.page-hero .kicker { font-family: var(--font-accent); color: #fff; font-size: 1.1rem; display: block; margin-bottom: 0.25rem; }

/* ---------- Menu page ---------- */
.menu-nav {
  position: sticky; top: var(--header-h); z-index: 50;
  background: var(--cream); border-bottom: 3px solid var(--ink);
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.menu-nav::-webkit-scrollbar { display: none; }
.menu-nav ul { list-style: none; display: flex; gap: 0.5rem; padding: 0.75rem 1rem; margin: 0; width: max-content; min-width: 100%; justify-content: safe center; }
.menu-nav a { display: block; white-space: nowrap; padding: 0.4rem 0.9rem; border-radius: 999px; font-weight: 800; text-decoration: none; color: var(--ink); border: 2px solid transparent; }
.menu-nav a:hover { background: var(--yellow-light); }
.menu-nav a.is-active { background: var(--red); color: #fff; border-color: var(--ink); }

.menu-note { text-align: center; color: var(--muted); font-style: italic; margin: 0 auto 2rem; max-width: 640px; }
.menu-cat { padding: 1.5rem 0 2.5rem; }
.menu-cat-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.menu-cat-head h2 { margin: 0; color: var(--red-dark); }
.menu-cat-head .line { flex: 1; height: 4px; background: repeating-linear-gradient(90deg, var(--orange) 0 14px, transparent 14px 22px); border-radius: 2px; }
.menu-cat-head .emoji { font-size: 1.8rem; }
.menu-cat-desc { color: var(--muted); margin: -0.5rem 0 1.25rem; }
.menu-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0.75rem 2rem; }
.menu-item { display: grid; grid-template-columns: 1fr auto; gap: 0.15rem 0.75rem; padding: 0.75rem 0; border-bottom: 2px dotted var(--cream-dark); align-items: baseline; }
.menu-item-name { font-weight: 900; font-size: 1.08rem; }
.menu-item-price { font-family: var(--font-display); color: var(--green-dark); white-space: nowrap; }
.menu-item-desc { grid-column: 1 / -1; color: var(--muted); font-size: 0.95rem; margin: 0; }
.menu-item-tags { grid-column: 1 / -1; margin-top: 0.25rem; }
.menu-item.is-fav .menu-item-name::after { content: " ★"; color: var(--orange); }
.menu-legend { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 2rem; }

/* ---------- About page ---------- */
.prose { max-width: 720px; margin: 0 auto; font-size: 1.12rem; }
.prose p { color: var(--ink-soft); }
.prose .lead { font-size: 1.35rem; font-family: var(--font-accent); color: var(--red); line-height: 1.4; }
.values { margin-top: 3rem; }
.timeline-strip { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2rem; }
.fact { background: var(--yellow); border: 3px solid var(--ink); border-radius: 999px; padding: 0.5rem 1.2rem; font-weight: 900; box-shadow: 3px 3px 0 var(--ink); }

/* ---------- Locate page ---------- */
.map-wrap { border: 6px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-hard); background: #ddd; }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.info-list li { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; align-items: start; }
.info-list .ico { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; font-size: 1.5rem; background: var(--yellow); border: 3px solid var(--ink); }
.info-list h3 { margin: 0 0 0.2rem; font-size: 1.1rem; }
.info-list p, .info-list address { margin: 0; color: var(--ink-soft); font-style: normal; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 0.35rem 0; border-bottom: 1px dashed var(--cream-dark); }
.hours-table td:last-child { text-align: right; font-weight: 800; }
.hours-table tr.is-today td { color: var(--red-dark); font-weight: 900; }
.hours-table tr.is-today td:first-child::after { content: " ←"; }

/* ---------- Contact form ---------- */
.form-card { background: #fff; border: 3px solid var(--ink); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow-hard); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-weight: 800; margin-bottom: 0.35rem; }
input, select, textarea {
  width: 100%; font: inherit; padding: 0.75rem 0.9rem; border-radius: 10px; border: 2px solid #cbbfae; background: var(--cream);
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(232,135,43,0.25); }
textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 1rem; padding: 0.9rem 1rem; border-radius: 10px; font-weight: 800; display: none; }
.form-msg.ok { display: block; background: #d8f3d9; color: var(--green-dark); border: 2px solid var(--green); }
.form-msg.err { display: block; background: #ffd9d9; color: var(--red-dark); border: 2px solid var(--red); }
.form-msg.info { display: block; background: var(--yellow-light); color: #7a5500; border: 2px solid var(--yellow); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #e8e0d4; padding: 3rem 0 1.5rem; border-top: 10px solid; border-image: linear-gradient(90deg, var(--green) 0 33.3%, var(--orange) 33.3% 66.6%, var(--red) 66.6%) 1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--yellow); font-size: 1.1rem; letter-spacing: 0.05em; margin-bottom: 0.75rem; }
.site-footer a { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 0.75rem; }
.site-footer .brand-mexican { color: var(--yellow); }
.site-footer address { font-style: normal; line-height: 1.6; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.25rem 0; border-bottom: 1px dashed #333; }
.footer-bottom { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #333; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; font-size: 0.9rem; color: #a99f92; }
.fb-link { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; text-decoration: none; font-weight: 800; background: #1877f2; padding: 0.5rem 0.9rem; border-radius: 8px; border: 2px solid #fff; }
.fb-link svg { width: 20px; height: 20px; fill: #fff; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pepper-dance * { animation: none !important; }
  .picado .flag { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .status.is-open::before { animation: none; }
}
