:root {
  --ink: #17110f;
  --paper: #fff8ed;
  --line: rgba(23, 17, 15, 0.14);
  --sun: #ffb51f;
  --tomato: #f04438;
  --leaf: #149c63;
  --rose: #f70b7d;
  --night: #090807;
  --shadow: 0 18px 55px rgba(20, 13, 8, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: #fff;
  background: #111 url("./assets/foodpark.avif") center top / min(100%, 1280px) auto no-repeat fixed;
  font-family: Inter, system-ui, sans-serif;
}

body.lightbox-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.16) 54%, rgba(0, 0, 0, 0.28)),
    rgba(0, 0, 0, 0.04);
  pointer-events: none;
}

button,
a {
  font: inherit;
}

.shell {
  width: min(1280px, calc(100% - 18px));
  margin: 0 auto;
  padding: 9px 0 48px;
}

.hero {
  position: relative;
  min-height: clamp(520px, 82vh, 760px);
  overflow: hidden;
  border-radius: 0 0 22px 22px;
  background: transparent;
  isolation: isolate;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-shade {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.16), transparent 48%);
}

.hero-content {
  position: absolute;
  left: 50%;
  top: 54%;
  bottom: auto;
  width: min(920px, calc(100% - 44px));
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.54);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--sun);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-family: "Bebas Neue", Inter, sans-serif;
  font-size: clamp(66px, 12vw, 138px);
  line-height: 0.84;
  letter-spacing: 0;
}

.intro {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  font-size: clamp(18px, 2.4vw, 25px);
  font-weight: 800;
}

.brands {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
  gap: 22px 18px;
  margin: -42px auto 28px;
  position: relative;
  z-index: 2;
}

.brand-tile {
  min-height: 178px;
  padding: 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  box-shadow: none;
  cursor: pointer;
  display: grid;
  grid-template-rows: 1fr;
  place-items: center;
  align-items: center;
  overflow: visible;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.brand-tile:hover,
.brand-tile:focus-visible,
.brand-tile.is-active {
  transform: translateY(-5px);
  filter: drop-shadow(0 0 16px rgba(255, 181, 31, 0.62));
  outline: none;
}

.logo-frame {
  width: min(100%, 158px);
  max-width: 158px;
  height: 138px;
  display: grid;
  place-items: center;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.56));
}

.logo-frame-wide {
  width: min(100%, 162px);
  max-width: 162px;
}

.logo-frame-wide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.logo-frame-pequitas {
  width: min(100%, 148px);
  max-width: 148px;
  height: 132px;
  background: transparent;
  border-radius: 14px;
}

.logo-frame-pequitas img {
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  border-radius: 10px;
  object-fit: contain;
}

.logo-frame.contador {
  background: transparent;
}

.menu-view {
  border-radius: 24px;
  padding: clamp(20px, 4vw, 42px);
  background: rgba(10, 8, 7, 0.48);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(10px);
}

.menu-view.is-hidden {
  display: none;
}

.menu-heading {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 22px;
  align-items: center;
}

#menu-logo {
  width: 128px;
  height: 128px;
  object-fit: contain;
  border-radius: 20px;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.56));
}

#menu-kicker {
  margin-bottom: 6px;
  color: var(--tomato);
  font-weight: 900;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 8px;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 0.95;
  font-family: "Bebas Neue", Inter, sans-serif;
  letter-spacing: 0;
}

#menu-description {
  margin-bottom: 0;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.menu-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 28px;
}

.action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  font-weight: 900;
}

.action.primary {
  background: var(--leaf);
  color: #fff;
  border-color: transparent;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.menu-poster-wrap {
  grid-column: 1 / -1;
}

.menu-poster {
  display: block;
  width: 100%;
  padding: 0;
  overflow: auto;
  border-radius: 18px;
  background: rgba(8, 7, 6, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 16px 38px rgba(20, 13, 8, 0.18);
  cursor: zoom-in;
  touch-action: pan-x pan-y;
}

.menu-poster img {
  display: block;
  width: var(--preview-width, 100%);
  max-width: none;
  height: auto;
  transform-origin: top left;
}

.menu-poster.is-zoomed {
  max-height: min(78vh, 920px);
  cursor: grab;
}

.menu-poster.is-zoomed img {
  min-width: 100%;
}

.poster-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 2px 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 800;
}

.poster-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.poster-btn {
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--tomato);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.poster-btn:hover,
.poster-btn:focus-visible {
  background: #c81716;
  outline: none;
}

.poster-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
}

.poster-dot {
  width: 13px;
  height: 13px;
  padding: 0;
  border: 2px solid var(--tomato);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.poster-dot.is-active {
  background: var(--tomato);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  place-items: center;
  background: #000;
}

.lightbox.is-open {
  display: grid;
}

.lightbox-image {
  width: 100vw;
  height: 100dvh;
  object-fit: contain;
  display: block;
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  z-index: 21;
  border: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.62);
  font-weight: 900;
  cursor: pointer;
}

.lightbox-close {
  top: 10px;
  right: 10px;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  overflow: hidden;
  border-radius: 999px;
  text-indent: -999px;
}

.lightbox-nav::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-top: 4px solid #fff;
  border-left: 4px solid #fff;
}

.lightbox-prev {
  left: 10px;
}

.lightbox-prev::before {
  transform: rotate(-45deg);
}

.lightbox-next {
  right: 10px;
}

.lightbox-next::before {
  transform: rotate(135deg);
}

.home-shell {
  width: min(1040px, calc(100% - 24px));
  margin: 0 auto;
  padding: 18px 0 56px;
}

.section-shell {
  padding-top: 18px;
}

.top-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.top-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(10, 8, 7, 0.44);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.top-links a:hover,
.top-links a:focus-visible {
  border-color: var(--sun);
  outline: none;
}

.home-hero {
  min-height: min(760px, 92dvh);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.home-hero h1 {
  max-width: 980px;
  margin-bottom: 0;
  font-size: clamp(64px, 12vw, 132px);
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.56);
}

.home-options {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: clamp(12px, 2.4vw, 26px);
  margin-top: 20px;
}

.home-option {
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: center;
  text-decoration: none;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.42));
  transition: transform 180ms ease, filter 180ms ease;
}

.home-option img {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
  object-fit: contain;
}

.home-option:hover,
.home-option:focus-visible {
  transform: translateY(-4px);
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.5));
  outline: none;
}

.home-panel {
  margin-top: 22px;
  padding: clamp(20px, 4vw, 42px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(10, 8, 7, 0.5);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
}

.home-panel h2 {
  margin-bottom: 22px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.event-day {
  min-height: 160px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.event-day span {
  color: var(--sun);
  font-weight: 900;
  text-transform: uppercase;
}

.event-day strong {
  font-size: 18px;
  line-height: 1.25;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.promo-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 220px;
  padding: clamp(18px, 3vw, 28px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.11);
}

.promo-card span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--sun);
  color: var(--ink);
  font-weight: 900;
}

.promo-card h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
}

.promo-card p {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.12;
}

.category {
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}

.category h3 {
  margin-bottom: 14px;
  font-size: 20px;
}

.dish {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.dish strong {
  display: block;
  margin-bottom: 4px;
}

.dish p {
  margin-bottom: 0;
  color: rgba(23, 17, 15, 0.64);
  font-size: 14px;
  line-height: 1.35;
}

.price {
  font-weight: 900;
  color: var(--rose);
  white-space: nowrap;
}

@media (max-width: 860px) {
  .shell {
    width: min(100% - 20px, 680px);
    padding-top: 10px;
  }

  .hero {
    min-height: 560px;
    border-radius: 0 0 22px 22px;
  }

  .brands {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: -44px;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .home-options,
  .events-grid,
  .promo-grid {
    grid-template-columns: 1fr;
  }

  .home-option {
    width: min(62vw, 220px);
    justify-self: center;
  }

  .event-day {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  body {
    background-size: auto 100dvh;
    background-position: center top;
    background-attachment: scroll;
  }

  body::before {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.18) 48%, rgba(0, 0, 0, 0.34)),
      rgba(0, 0, 0, 0.04);
  }

  .shell {
    width: calc(100% - 10px);
    padding-top: 5px;
  }

  .hero {
    min-height: 350px;
    border-radius: 0 0 16px 16px;
  }

  .hero-media img {
    object-position: center;
  }

  .hero-content {
    left: 50%;
    top: 56%;
    bottom: auto;
    width: calc(100% - 32px);
    transform: translate(-50%, -50%);
  }

  h1 {
    font-size: clamp(54px, 17vw, 84px);
  }

  .intro {
    font-size: 17px;
  }

  .brands {
    gap: 14px 10px;
    margin-top: -22px;
    margin-bottom: 14px;
  }

  .brand-tile {
    min-height: 122px;
    padding: 8px;
    border-radius: 0;
  }

  .logo-frame {
    width: min(100%, 124px);
    max-width: 124px;
    height: 104px;
    max-height: 104px;
  }

  .logo-frame-pequitas {
    width: min(100%, 126px);
    max-width: 126px;
    height: 106px;
    max-height: 106px;
  }

  .logo-frame-wide {
    width: min(100%, 132px);
    max-width: 132px;
    height: 106px;
    max-height: 106px;
    background: transparent;
  }

  .logo-frame-wide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .menu-view {
    padding: 12px;
    border-radius: 16px;
  }

  .menu-heading {
    grid-template-columns: 66px 1fr;
    gap: 10px;
  }

  #menu-logo {
    width: 66px;
    height: 66px;
    border-radius: 12px;
  }

  h2 {
    font-size: clamp(34px, 13vw, 52px);
  }

  #menu-kicker {
    margin-bottom: 2px;
    font-size: 13px;
  }

  #menu-description {
    font-size: 13px;
  }

  .menu-actions {
    display: grid;
    margin: 14px 0;
  }

  .action {
    min-height: 42px;
    padding: 10px 14px;
  }

  .menu-grid {
    gap: 10px;
  }

  .menu-poster {
    border-radius: 10px;
    max-height: 76vh;
  }

  .poster-controls {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .poster-dots {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .poster-caption {
    display: grid;
    gap: 2px;
    font-size: 12px;
  }

  .poster-btn {
    min-height: 42px;
    padding: 9px 10px;
    font-size: 13px;
  }

  .lightbox-close {
    top: max(8px, env(safe-area-inset-top));
    right: 8px;
  }

  .lightbox-nav {
    display: none;
  }

  .home-shell {
    width: calc(100% - 14px);
    padding-top: 8px;
  }

  .home-hero {
    min-height: 82dvh;
    gap: 8px;
  }

  .home-hero h1 {
    font-size: clamp(44px, 15vw, 76px);
  }

  .home-options {
    gap: 10px;
    margin-top: 12px;
  }

  .home-option {
    width: min(58vw, 190px);
  }

  .home-option img {
    max-width: 190px;
  }

  .home-panel {
    padding: 16px;
    border-radius: 16px;
  }

  .event-day {
    padding: 14px;
    border-radius: 12px;
  }

  .promo-card {
    min-height: auto;
    border-radius: 12px;
  }
}
