:root {
  --red: #c8432b;
  --red-dark: #9e2f1c;
  --orange: #f08a24;
  --yellow: #f6c445;
  --green: #3f7d4e;
  --taro: #9b7bc2;
  --night: #25102f;
  --cream: #fff6e9;
  --cream-2: #fbe9cf;
  --ink: #2b1d14;
  --muted: #7a6656;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(43, 29, 20, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
img { max-width: 100%; }
a { color: var(--red); }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.1; }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 1rem; }
p + p { margin-top: 0.9rem; }

.container { width: min(1100px, 92%); margin: 0 auto; }
.section { padding: 5rem 0; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700;
  font-size: 0.8rem; color: var(--red); margin-bottom: 0.6rem;
}
.eyebrow.light { color: var(--yellow); }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }

/* Buttons */
.btn {
  display: inline-block; padding: 0.85rem 1.5rem; border-radius: 999px;
  background: var(--red); color: #fff; font-weight: 700; text-decoration: none;
  border: 2px solid var(--red); transition: transform .15s, background .15s, box-shadow .15s;
  box-shadow: 0 6px 0 var(--red-dark);
}
.btn:hover { transform: translateY(-2px); background: var(--red-dark); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--red-dark); }
.btn-ghost { background: transparent; color: var(--red); box-shadow: none; }
.btn-ghost:hover { background: var(--red); color: #fff; }
.btn-small { padding: 0.5rem 1rem; box-shadow: none; font-size: 0.9rem; }
.btn-light { background: var(--yellow); border-color: var(--yellow); color: var(--ink); box-shadow: 0 6px 0 #c99a22; }
.btn-light:hover { background: #ffd65e; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--night);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { display: block; transition: opacity .25s, visibility .25s; }
.logo img { display: block; height: 50px; width: auto; }
/* The nav logo appears once the big hero logo has scrolled away (see script.js) */
.nav.hero-in-view .logo { opacity: 0; visibility: hidden; }
.nav-links { display: flex; gap: 1.6rem; align-items: center; }
.nav-links a:not(.btn) { color: var(--cream); text-decoration: none; font-weight: 600; }
.nav-links a:not(.btn):hover { color: var(--yellow); }
.nav-links .btn { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.nav-links .btn:hover { background: #ffd65e; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--cream); }

/* Hero: the logo is a neon sign lit up on a dark wall */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 55% at 50% 38%, rgba(255,47,163,.3), transparent 72%),
    var(--night);
  padding: 2rem 0 6.5rem;
  color: var(--cream);
}
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-logo { width: min(820px, 100%); line-height: 0; margin-bottom: 1.2rem; }
.hero-logo img {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 0 22px rgba(255,47,163,.45));
  animation: neon-on 1.3s linear both;
}
/* Plays once on load, like a sign switching on */
@keyframes neon-on {
  0%, 12% { opacity: .15; filter: brightness(.5); }
  14%, 18% { opacity: 1; filter: brightness(1.1); }
  20%, 34% { opacity: .3; filter: brightness(.6); }
  36%, 40% { opacity: 1; filter: brightness(1.15); }
  42%, 52% { opacity: .55; filter: brightness(.8); }
  56%, 100% { opacity: 1; }
}
.slogan {
  font-family: "Fraunces", Georgia, serif; font-weight: 800; line-height: 1.15;
  font-size: clamp(1.8rem, 5.5vw, 3.2rem); color: var(--cream);
  text-shadow: 0 0 18px rgba(255,47,163,.55);
  margin-bottom: 1rem; text-wrap: balance;
}
.hero .eyebrow { color: var(--yellow); }
.lead { font-size: 1.15rem; color: var(--cream); max-width: 36rem; margin: 0 0 1.8rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.hero .btn-ghost { color: var(--cream); border-color: var(--cream); }
.hero .btn-ghost:hover { background: var(--cream); color: var(--ink); }

/* papel picado strip */
.papel {
  position: absolute; left: 0; right: 0; bottom: 0; height: 26px;
  background:
    linear-gradient(315deg, #fff 25%, transparent 25%) -13px 0/26px 26px,
    linear-gradient(45deg, #fff 25%, transparent 25%) -13px 0/26px 26px;
}

/* About */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.features { list-style: none; display: grid; gap: 1rem; }
.features li {
  background: var(--cream); border-radius: var(--radius); padding: 1.2rem 1.4rem;
  border-left: 6px solid var(--orange);
}
.features li:nth-child(2) { border-color: var(--taro); }
.features li:nth-child(3) { border-color: var(--green); }
.features strong { display: block; font-size: 1.1rem; }
.features span { color: var(--muted); }

/* Menu */
.section-head { text-align: center; margin-bottom: 2rem; }
.tabs { display: flex; justify-content: center; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 2rem; }
.tab {
  font: inherit; font-weight: 700; padding: 0.65rem 1.3rem; border-radius: 999px;
  border: 2px solid var(--ink); background: transparent; cursor: pointer; color: var(--ink);
}
.tab.active, .tab:hover { background: var(--ink); color: var(--cream); }
.menu-panel { display: none; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.menu-panel.active { display: grid; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.item {
  display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start;
  background: #fff; padding: 1.3rem 1.4rem; border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(43,29,20,.06); border: 1px solid rgba(43,29,20,.06);
}
.item h3 { font-size: 1.25rem; margin-bottom: 0.25rem; }
.item p { color: var(--muted); font-size: 0.95rem; }
.price {
  font-family: "Fraunces", serif; font-weight: 800; color: var(--red); font-size: 1.2rem;
  white-space: nowrap;
}
.tag {
  display: inline-block; margin-top: .5rem; font-size: .75rem; font-weight: 700;
  background: var(--yellow); padding: .15rem .6rem; border-radius: 999px;
}
.tag.veg { background: #cfe8c9; color: var(--green); }

/* Order */
.order { background: var(--cream-2); }
.order-card {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff; border-radius: 28px; padding: 3rem; box-shadow: var(--shadow);
}
.order-card h2 { color: #fff; }
.order-card p { color: rgba(255,255,255,.88); }
.order-card p a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
}
.order-card p a:hover { color: #fff; }
.order-card .btn,
.order-card .btn-light {
  color: var(--ink);
  text-decoration: none;
}
.order-actions { text-align: center; }
.order-actions .small { margin-top: 1rem; }

/* Contact */
.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-list { list-style: none; display: grid; gap: 1.2rem; margin-top: 1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list span { font-size: 1.5rem; }
.hours { background: var(--cream); border-radius: var(--radius); padding: 2rem; }
.hours h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.hours table { width: 100%; border-collapse: collapse; margin-bottom: .5rem; }
.hours td { padding: .6rem 0; border-bottom: 1px dashed rgba(43,29,20,.2); }
.hours td:last-child { text-align: right; font-weight: 700; }
.map-embed {
  margin-top: 1.2rem;
  display: grid;
  gap: .75rem;
}
.map-embed iframe {
  width: 100%;
  height: 200px;
  border: 0;
  border-radius: 14px;
  background: var(--cream-2);
}
.map-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 700; color: var(--accent); font-size: .95rem;
}
.map-link:hover { text-decoration: underline; }
.footer a { color: var(--cream); text-decoration: underline; text-underline-offset: 2px; }
.footer a:hover { color: #fff; }
.contact-list a { color: inherit; }
.contact-list a:hover { color: var(--accent); }

/* Footer */
.footer { background: var(--ink); color: var(--cream); padding: 2rem 0; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }

/* Responsive */
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; gap: 1rem;
    background: var(--night); padding: 1.2rem;
    display: none;
  }
  .nav-links.open { display: flex; }
  .about-grid, .contact-grid, .order-card { grid-template-columns: 1fr; }
  .hero { padding-top: 1rem; }
  .menu-panel { grid-template-columns: 1fr; }
  .order-card { padding: 2rem 1.5rem; text-align: center; }
  .section { padding: 3.5rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
}

/* Menu: grouped panels + promo tags (real menu) */
.menu-panel { display: none; }
.menu-panel.active { display: block; animation: fade .3s ease; }
.menu-panel[hidden] { display: none; }
.menu-group + .menu-group { margin-top: 2.5rem; }
.group-title {
  font-size: 1.6rem; margin-bottom: .4rem; display: flex; align-items: center;
  gap: .75rem; flex-wrap: wrap;
}
.group-sub { color: var(--muted); margin-bottom: 1rem; }
.group-title + .menu-grid { margin-top: 1rem; }
.group-note {
  margin-top: 1rem; text-align: center; font-weight: 700; color: var(--ink);
  background: var(--cream-2); border-radius: 999px; padding: .55rem 1rem;
}
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.promo {
  font-family: "Nunito", system-ui, sans-serif; font-size: .78rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em; color: #fff;
  background: var(--green); padding: .3rem .8rem; border-radius: 999px;
}
.price small { font-size: .7em; color: var(--muted); font-weight: 600; }
.tab { white-space: nowrap; }

@media (max-width: 820px) {
  .tabs {
    justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto;
    scroll-snap-type: x proximity; padding-bottom: .5rem; margin-inline: -4%; padding-inline: 4%;
    scrollbar-width: thin; -webkit-overflow-scrolling: touch;
  }
  .tab { scroll-snap-align: start; padding: .55rem 1rem; }
  .menu-grid { grid-template-columns: 1fr; }
  .group-title { font-size: 1.35rem; }
  .item { padding: 1.05rem 1.15rem; }
}
