:root {
  --red: #971326;
  --red-hover: #7E0F1F;
  --red-deep: #7E0F1F;
  --gold: #F4BD20;
  --cream: #FFF8EC;
  --ink: #1F1A17;
  --muted: #6a584c;
  --white: #fffdf8;
  --max: 1180px;
  --shadow: 0 16px 36px rgba(31, 26, 23, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Nunito, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.kicker {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  box-shadow: 0 4px 18px rgba(29, 20, 15, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  position: relative;
}
.brand img {
  height: 58px;
  width: auto;
  max-width: min(320px, 58vw);
  object-fit: contain;
}
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.92rem;
  color: var(--red);
}
.nav a:hover,
.nav a.active { color: var(--red-deep); }
.nav .call {
  background: var(--red);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 0.2s ease;
}
.nav .call:hover {
  background: var(--red-hover);
  color: var(--white);
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 28px;
  color: var(--red);
  cursor: pointer;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  min-height: 72vh;
}
.hero-photo {
  background: url("../images/street-tacos.png") center/cover no-repeat;
  min-height: 420px;
}
.hero-panel {
  background: var(--red);
  color: var(--white);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 28px;
}
.hero-panel img {
  width: 130px;
  margin: 0 auto 12px;
  animation: popIn 0.7s ease both;
}
.hero-panel .kicker { color: var(--gold); }
.hero-panel h1 {
  font-family: Lobster, cursive;
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  color: var(--gold);
  margin: 6px 0 22px;
}
.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-ghost:hover { background: var(--white); color: var(--red-deep); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-hover); }
.btn[disabled] { opacity: 0.65; cursor: not-allowed; }

.hours-bar {
  background: var(--gold);
  text-align: center;
  padding: 14px 16px;
  font-weight: 800;
  color: var(--ink);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  background: var(--white);
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}
.feature-card:hover { transform: translateY(-8px); }
.feature-card img { width: 100%; height: 210px; object-fit: cover; }
.feature-card h3 {
  font-family: Oswald, sans-serif;
  font-size: 1.4rem;
  padding: 16px 16px 4px;
  color: var(--red);
}
.feature-card p { padding: 0 16px 18px; color: var(--muted); }

.section { padding: 72px 0; }
.section-title {
  font-family: Oswald, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 28px;
  color: var(--red-deep);
}

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.story img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; object-position: center 70%; }
.story-copy { padding: 48px 36px; }
.story-copy h2 {
  font-family: Oswald, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--red);
  margin: 8px 0 16px;
}
.story-copy p { margin-bottom: 14px; }
.facts {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}
.fact {
  background: var(--cream);
  padding: 12px 14px;
  border-left: 4px solid var(--gold);
}
.fact strong { display: block; color: var(--red); }

.cta-stripe {
  background: repeating-linear-gradient(
    -45deg,
    var(--red) 0 18px,
    var(--red-hover) 18px 36px
  );
  color: var(--white);
  text-align: center;
  padding: 42px 16px;
}
.cta-stripe h2 {
  font-family: Oswald, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 16px;
}

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 10px;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
}
.gallery img:first-child { grid-row: 1 / span 2; height: 100%; }

.visit-head {
  text-align: center;
  margin-bottom: 36px;
}
.visit-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: Oswald, sans-serif;
  font-size: clamp(1.9rem, 4.4vw, 2.8rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
}
.sparks {
  width: 46px;
  height: 46px;
  color: var(--gold);
  flex: 0 0 auto;
}
.visit-head .btn { margin-top: 16px; }
.visit-head p {
  margin-top: 6px;
  color: var(--ink);
  font-weight: 700;
}
.menu-cover { padding: 36px 0 8px; }
.visit-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.info-panel {
  position: relative;
  background: var(--red);
  color: var(--white);
  padding: 36px 28px 28px;
  overflow: hidden;
  border-radius: 28px 0 0 28px;
}
.info-panel::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 48px;
  width: 150px;
  height: 210px;
  opacity: 0.16;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 120'%3E%3Cpath fill='%23ffffff' d='M46 8c2-6 10-8 14-2-3 7-3 12-7 16 22 10 30 48 10 76-12 16-36 8-38-12-3-28 6-48 20-62-3-4-5-10-6-16 2-2 5-2 7 0z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.info-panel .kicker { color: var(--gold); }
.info-panel h2 {
  font-family: Oswald, sans-serif;
  font-size: 2rem;
  margin: 4px 0 18px;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.info-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  position: relative;
}
.info-row svg { flex: 0 0 18px; margin-top: 3px; }
.info-panel a { color: inherit; font-weight: 700; }
.visit-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0 14px;
  position: relative;
}
.btn-directions,
.btn-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.btn-directions {
  background: var(--gold);
  color: var(--ink);
}
.btn-directions:hover { background: #e0ab12; }
.btn-call {
  background: var(--red-hover);
  color: var(--white);
}
.btn-call:hover { background: #6b0c1a; }
.info-panel img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: center 70%;
  border-radius: 12px;
  margin: 8px 0 12px;
  position: relative;
}
.map {
  width: 100%;
  height: 240px;
  border: 0;
  border-radius: 12px;
  position: relative;
}
.form-panel {
  background: var(--cream);
  padding: 36px 32px 32px;
  border-radius: 0 28px 28px 0;
}
.form-panel h2 {
  font-family: Oswald, sans-serif;
  margin: 0 0 14px;
  color: var(--red);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-size: 0.82rem; font-weight: 800; margin: 12px 0 6px; }
input, textarea, select {
  width: 100%;
  border: 1px solid #ead9c4;
  border-radius: 10px;
  padding: 12px;
  font: inherit;
  background: var(--white);
  color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--gold); }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231F1A17' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
textarea { min-height: 110px; resize: vertical; }
.form-status { margin-top: 12px; min-height: 1.4em; font-weight: 800; }
.form-status.ok { color: #1f7a38; }
.form-status.err { color: #b42318; }
.form-actions { margin-top: 18px; }
.btn-send {
  background: var(--red);
  color: var(--white);
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-send:hover { background: var(--red-hover); }

.site-footer {
  background: var(--red-deep);
  color: var(--white);
  padding: 48px 0 0;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 32px;
}
.footer-brand img { height: 64px; margin-bottom: 12px; }
.footer-brand p, .footer-col p { color: #f3d9c8; }
.footer-col h3 {
  font-family: Oswald, sans-serif;
  color: var(--gold);
  margin-bottom: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}
.footer-col a { display: block; color: #f3d9c8; margin-bottom: 8px; font-weight: 700; }
.footer-col a:hover { color: var(--gold); }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,.15);
  text-align: center;
  padding: 16px;
  color: #f3d9c8;
}

.page-hero {
  background: var(--red-deep);
  color: var(--white);
  text-align: center;
  padding: 56px 16px 40px;
}
.page-hero img { height: 84px; margin: 0 auto 12px; }
.page-hero h1 { font-family: Oswald, sans-serif; font-size: clamp(2.4rem, 5vw, 3.6rem); }
.page-hero p { opacity: 0.9; }
.page-hero .apps { max-width: 240px; margin: 16px auto 0; }
.page-hero.about-hero,
.page-hero.contact-hero {
  background:
    linear-gradient(180deg, rgba(151, 19, 38, 0.72), rgba(151, 19, 38, 0.82)),
    url("../images/storefront.png") center 70%/cover no-repeat;
}
.page-hero.about-hero {
  background:
    linear-gradient(180deg, rgba(151, 19, 38, 0.55), rgba(31, 26, 23, 0.72)),
    url("../images/dining-room.jpg") center/cover no-repeat;
}

.menu-page { padding: 28px 0 80px; }
.menu-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
}
.menu-nav a {
  background: var(--white);
  color: var(--red);
  border: 2px solid var(--red);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.menu-nav a:hover,
.menu-nav a.active {
  background: var(--red);
  color: var(--white);
}
.menu-list { width: min(860px, calc(100% - 32px)); margin: 0 auto; }
.menu-section {
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
  scroll-margin-top: 92px;
}
.menu-photo {
  height: 240px;
  background-size: cover;
  background-position: center;
}
.menu-body { padding: 24px 28px 28px; }
.menu-head h2 {
  font-family: Oswald, sans-serif;
  font-size: 2rem;
  color: var(--red);
  display: inline-block;
  border-bottom: 4px solid var(--gold);
  margin-bottom: 8px;
}
.menu-desc { color: var(--muted); }
.menu-note { color: var(--red-deep); font-weight: 800; margin-top: 6px; }
.dish-list { margin-top: 12px; }
.dish {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed #e8d7c4;
}
.dish-copy h3 { font-size: 1rem; }
.dish-copy p { color: var(--muted); font-size: 0.9rem; }
.dish-price { font-weight: 800; color: var(--red); white-space: nowrap; }
.menu-error { text-align: center; padding: 40px; }

#about, #contact { scroll-margin-top: 88px; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(29, 20, 15, 0.9);
  display: none;
  place-items: center;
  z-index: 80;
  padding: 24px;
}
.lightbox.open { display: grid; }
.lightbox img { max-height: 90vh; max-width: 90vw; border-radius: 12px; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.feature-card.reveal.visible:hover { transform: translateY(-8px); }

@keyframes popIn {
  from { opacity: 0; transform: scale(0.86); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    right: 16px;
    top: 72px;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 18px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    gap: 12px;
  }
  .nav.open { display: flex; }
  .hero-split,
  .feature-grid,
  .story,
  .visit-card,
  .form-row,
  .footer-grid,
  .gallery { grid-template-columns: 1fr; }
  .info-panel,
  .form-panel { padding-top: 28px; }
  .info-panel { border-radius: 28px 28px 0 0; }
  .form-panel { border-radius: 0 0 28px 28px; }
  .visit-actions .btn-directions,
  .visit-actions .btn-call,
  .btn-send { width: 100%; justify-content: center; }
  .gallery { grid-template-rows: none; }
  .gallery img,
  .gallery img:first-child { height: 220px; grid-row: auto; }
  .btn-row { flex-direction: column; width: min(100%, 340px); margin-inline: auto; }
  .btn-row .btn,
  .form-actions .btn,
  .story-copy .btn { width: 100%; }
}

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