:root {
  --ink: #181412;
  --muted: #6f6258;
  --paper: #fffaf2;
  --cream: #f6ead7;
  --terracotta: #b5482e;
  --chile: #d6281f;
  --cactus: #0f6b4f;
  --maize: #f6bd3b;
  --turquoise: #1f9aa3;
  --shadow: 0 18px 50px rgba(48, 26, 15, .14);
  --font-display: 'Bebas Neue', sans-serif;
  --font-serif: 'DM Serif Display', serif;
  --font-body: 'DM Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.navbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background .25s ease, box-shadow .25s ease;
}
.navbar.scrolled {
  background: rgba(24, 20, 18, .94);
  box-shadow: 0 8px 30px rgba(0,0,0,.18);
  backdrop-filter: blur(12px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: .04em;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.7);
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 800;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: .86rem;
  font-weight: 700;
  text-transform: uppercase;
}
.nav-cta {
  padding: 10px 16px;
  background: var(--maize);
  color: var(--ink);
  border-radius: 4px;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.5);
  background: rgba(255,255,255,.08);
  border-radius: 4px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

.hero {
  min-height: 94vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20,11,8,.82), rgba(20,11,8,.46) 44%, rgba(20,11,8,.15)),
    linear-gradient(0deg, rgba(20,11,8,.45), transparent 38%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 92vw);
  padding: 110px clamp(18px, 6vw, 82px) 90px;
}
.eyebrow {
  color: var(--maize);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 12px;
}
h1, h2 {
  font-family: var(--font-display);
  line-height: .95;
  letter-spacing: .02em;
  text-transform: uppercase;
}
h1 { font-size: clamp(4rem, 10vw, 8.7rem); max-width: 820px; }
h2 { font-size: clamp(3rem, 6vw, 5.8rem); }
.hero-copy {
  max-width: 600px;
  margin: 22px 0 30px;
  font-size: clamp(1rem, 2vw, 1.22rem);
  color: rgba(255,255,255,.86);
}
.hero-actions, .socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 4px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: .82rem;
}
.btn-primary { background: var(--chile); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.hero-panel {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 4vw, 56px);
  bottom: 34px;
  width: min(300px, calc(100vw - 36px));
  padding: 20px;
  background: rgba(255,250,242,.94);
  color: var(--ink);
  border-left: 6px solid var(--maize);
  box-shadow: var(--shadow);
}
.hero-panel span, .hero-panel small {
  display: block;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
}
.hero-panel strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 3px 0;
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(24, 20, 18, .18);
}
.quick-info div {
  padding: 26px clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: #fff;
}
.quick-info strong, .quick-info span { display: block; }
.quick-info span { color: rgba(255,255,255,.7); }

.section {
  padding: clamp(70px, 10vw, 120px) clamp(18px, 5vw, 72px);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 34px;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.menu-card {
  min-height: 210px;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: stretch;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(24, 20, 18, .1);
  border-radius: 8px;
  box-shadow: 0 10px 32px rgba(80, 48, 30, .07);
}
.menu-card.featured {
  grid-column: span 2;
  background: var(--terracotta);
  color: #fff;
}
.menu-card h3 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  margin-bottom: 8px;
}
.menu-copy {
  min-width: 0;
}
.menu-card p { color: var(--muted); }
.menu-card.featured p { color: rgba(255,255,255,.82); }
.menu-side {
  width: 104px;
  flex: 0 0 104px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
}
.menu-thumb {
  width: 104px;
  aspect-ratio: 1;
  display: block;
  border-radius: 8px;
  background-image: url("assets/menu-dishes-sprite.png");
  background-size: 300% 200%;
  background-repeat: no-repeat;
  box-shadow: 0 12px 26px rgba(40, 24, 14, .18);
}
.dish-pastor { background-position: 0 0; }
.dish-mole { background-position: 50% 0; }
.dish-enchiladas { background-position: 100% 0; }
.dish-guacamole { background-position: 0 100%; }
.dish-quesabirria { background-position: 50% 100%; }
.dish-churros { background-position: 100% 100%; }
.menu-card strong {
  font-size: 1.45rem;
  color: var(--cactus);
  line-height: 1;
}
.menu-card.featured strong { color: var(--maize); }
.tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 5px 9px;
  background: rgba(255,255,255,.16);
  border-radius: 4px;
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
  background: var(--cream);
}
.story p {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 18px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}
.stats div {
  padding: 18px;
  background: rgba(255,255,255,.58);
  border-radius: 8px;
}
.stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--terracotta);
}
.stats span { color: var(--muted); font-size: .9rem; }
.experience-list {
  display: grid;
  gap: 12px;
}
.experience-list div {
  padding: 24px;
  background: #fffaf2;
  border-left: 5px solid var(--turquoise);
  border-radius: 8px;
}
.experience-list span {
  color: var(--terracotta);
  font-weight: 800;
}
.experience-list strong {
  display: block;
  font-size: 1.15rem;
  margin: 4px 0;
}
.experience-list p { color: var(--muted); }

.events {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--cactus);
  color: #fff;
}
.events-copy { max-width: 760px; }
.events p { color: rgba(255,255,255,.78); }

.reservation {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 28px;
  align-items: start;
}
.reservation p { color: var(--muted); }
.reserve-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 24px;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
input, select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(24,20,18,.15);
  border-radius: 4px;
  padding: 0 13px;
  font: inherit;
  background: #fff;
}
.reserve-form button { grid-column: span 2; }
.form-message {
  grid-column: span 2;
  min-height: 22px;
  color: var(--cactus);
  font-weight: 800;
}
.form-message.error {
  color: var(--terracotta);
}

.footer {
  display: grid;
  grid-template-columns: 1.1fr 1fr .8fr;
  gap: 26px;
  padding: 54px clamp(18px, 5vw, 72px);
  background: #151210;
  color: #fff;
}
.footer h2 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}
.footer p, .footer a { color: rgba(255,255,255,.74); }
.footer strong { display: block; margin-bottom: 10px; }
.socials { align-content: start; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    padding: 18px;
    background: rgba(24, 20, 18, .97);
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .quick-info, .menu-grid, .split, .reservation, .footer {
    grid-template-columns: 1fr;
  }
  .menu-card.featured { grid-column: span 1; }
  .section-head { display: block; }
  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin: -82px 18px 28px;
  }
  .events {
    display: block;
  }
  .events .btn {
    margin-top: 22px;
  }
}

@media (max-width: 560px) {
  h1 { font-size: 3.85rem; }
  .hero { min-height: 88vh; }
  .hero-content { padding-top: 104px; }
  .menu-card {
    min-height: 0;
    flex-direction: column;
  }
  .menu-side {
    width: 100%;
    flex-basis: auto;
    flex-direction: row;
    align-items: end;
  }
  .menu-thumb {
    width: min(132px, 48vw);
  }
  .reserve-form, .stats { grid-template-columns: 1fr; }
  .reserve-form button, .form-message { grid-column: span 1; }
  .brand span:last-child { font-size: 1.2rem; }
}
