:root {
  --bg: #11100f;
  --bg-2: #1b1714;
  --paper: #fbf7f1;
  --paper-2: #efe7dd;
  --ink: #151311;
  --muted: #b9aca0;
  --muted-dark: #70655d;
  --line: rgba(255, 255, 255, 0.13);
  --accent: #e84a2a;
  --accent-2: #f2b84b;
  --wasabi: #8ea75a;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(142, 167, 90, 0.14), transparent 26rem),
    radial-gradient(circle at 76% 12%, rgba(232, 74, 42, 0.16), transparent 30rem),
    linear-gradient(180deg, #0d0c0b 0%, var(--bg) 54%, #17110e 100%);
  color: #fff;
  font-family: var(--sans);
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 44px auto;
  align-items: center;
  gap: 0.7rem;
  min-height: 68px;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(17, 16, 15, 0.9);
  backdrop-filter: blur(18px);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: calc(var(--scroll-progress, 0) * 100%);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 900;
}

.menu-toggle {
  display: grid;
  place-items: center;
  gap: 0;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform 180ms ease;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(5px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-5px) rotate(-45deg);
}

.main-nav {
  position: fixed;
  inset: 68px 1rem auto;
  display: none;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #161413;
  box-shadow: var(--shadow);
}

.menu-open .main-nav {
  display: grid;
}

.main-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.85rem;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(232, 74, 42, 0.13);
  color: #fff;
  outline: none;
}

.header-cta,
.primary-button,
.ghost-button,
.map-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-cta,
.primary-button {
  background: var(--accent);
  color: #180604;
  box-shadow: 0 14px 32px rgba(232, 74, 42, 0.26);
}

.header-cta {
  min-width: 72px;
  padding: 0 0.85rem;
}

.primary-button,
.ghost-button,
.map-button {
  padding: 0 1.15rem;
}

.ghost-button,
.map-button {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
}

.primary-button:hover,
.header-cta:hover,
.ghost-button:hover,
.map-button:hover {
  transform: translateY(-2px);
}

.primary-button:hover,
.header-cta:hover {
  box-shadow: 0 18px 42px rgba(232, 74, 42, 0.34);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 2rem;
  min-height: calc(100svh - 68px);
  padding: clamp(3rem, 7vw, 5.5rem) 1rem 3.6rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 72% 36%, rgba(232, 74, 42, 0.28), transparent 24rem),
    radial-gradient(circle at 10% 82%, rgba(142, 167, 90, 0.18), transparent 20rem);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.25));
}

.hero-copy {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.hero-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: max-content;
  margin-bottom: 1rem;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
}

.hero-eyebrow,
.section-heading span,
.section-kicker,
.menu-category-head span {
  color: var(--accent-2);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.menu-category h2,
.contact-panel h2 {
  margin: 0;
  font-family: var(--serif);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero h1 {
  margin-top: 0.3rem;
  font-size: clamp(4rem, 14vw, 7.4rem);
}

.hero-copy p {
  max-width: 32rem;
  margin: 1rem auto 0;
  color: #e7ddd3;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.hero-media {
  position: relative;
  width: min(78vw, 470px);
  aspect-ratio: 1;
  margin: 0 auto;
  transform:
    perspective(900px)
    rotateX(calc(var(--hero-y, 0) * -3deg))
    rotateY(calc(var(--hero-x, 0) * 4deg));
  transition: transform 220ms ease-out;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 48% 44%, var(--accent) 0 38%, rgba(232, 74, 42, 0.42) 39% 58%, transparent 59%);
  filter: drop-shadow(0 34px 70px rgba(232, 74, 42, 0.22));
  animation: glowPulse 5.2s ease-in-out infinite;
}

.hero-media img {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 1;
  width: 88%;
  height: 62%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.48);
  transform: translate(-50%, -50%) rotate(-4deg);
  animation: plateFloat 7s ease-in-out infinite;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 0.7rem;
  width: min(100%, 40rem);
  margin: 0 auto;
}

.service-strip span {
  display: grid;
  gap: 0.1rem;
  height: 56px;
  min-height: 44px;
  align-content: center;
  padding: 0.42rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
}

.service-strip strong {
  color: #fff;
  font-size: 0.9rem;
}

.menu-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) 1rem 1.5rem;
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 2.2rem;
  text-align: center;
}

.section-heading h2 {
  margin-top: 0.35rem;
  font-size: clamp(2.5rem, 10vw, 4rem);
}

.section-heading p {
  max-width: 38rem;
  margin: 0.8rem auto 0;
  color: var(--muted);
}

.menu-board {
  position: relative;
}

.category-track {
  display: flex;
  gap: 0.7rem;
  justify-content: center;
  margin: 0 auto 2rem;
  padding: 0.15rem 0 0.75rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-track::-webkit-scrollbar {
  display: none;
}

.category-chip {
  appearance: none;
  flex: 0 0 auto;
  display: grid;
  gap: 0.08rem;
  min-width: 132px;
  min-height: 58px;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: var(--sans);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.category-chip span {
  font-size: 0.92rem;
  font-weight: 900;
}

.category-chip small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.category-chip:hover,
.category-chip:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(242, 184, 75, 0.45);
  outline: none;
}

.category-chip.is-active {
  border-color: rgba(232, 74, 42, 0.72);
  background: linear-gradient(135deg, rgba(232, 74, 42, 0.96), rgba(242, 184, 75, 0.9));
  color: #1a0704;
}

.category-chip.is-active small {
  color: rgba(26, 7, 4, 0.72);
}

.menu-category {
  scroll-margin-top: 116px;
}

.menu-category-head {
  display: grid;
  gap: 0.9rem;
  align-items: end;
  margin-bottom: 1rem;
}

.menu-category h2 {
  margin-top: 0.25rem;
  font-size: clamp(1.9rem, 7vw, 2.8rem);
}

.carousel-actions {
  display: inline-flex;
  gap: 0.55rem;
}

.carousel-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: var(--accent);
  color: #160604;
  outline: none;
}

.dish-carousel {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 0.4rem 0.5rem 1rem;
  overflow-x: auto;
  overflow-y: visible;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 0.5rem;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.dish-carousel::-webkit-scrollbar {
  display: none;
}

.dish-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.15rem;
  width: max-content;
  margin: 0 auto;
}

.dish-card {
  position: relative;
  flex: 0 0 min(86vw, 330px);
  min-height: 438px;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.dish-card:hover,
.dish-card:focus-visible,
.dish-card.is-selected {
  transform: translateY(-5px);
  border-color: rgba(232, 74, 42, 0.72);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
  outline: none;
}

.dish-card.is-selected::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--accent);
  border-radius: 8px;
  pointer-events: none;
}

.menu-category.is-combinados .dish-card {
  background: linear-gradient(180deg, #fffdf9, var(--paper-2));
}

.dish-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(232, 74, 42, 0.28), transparent 44%),
    linear-gradient(135deg, #2a2521, #12100f);
}

.dish-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.2));
}

.dish-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease, opacity 240ms ease;
}

.dish-card:hover .dish-photo img {
  transform: scale(1.045);
}

.dish-card.image-failed .dish-photo img {
  opacity: 0;
}

.badge {
  position: absolute;
  top: 0.62rem;
  left: 0.62rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 0.62rem;
  border-radius: 999px;
  background: #11100f;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dish-body {
  display: grid;
  gap: 0.68rem;
  align-content: start;
  padding: 0.95rem;
}

.dish-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: start;
}

.dish-name {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.05;
}

.price {
  color: #c43c21;
  font-size: 0.94rem;
  font-weight: 900;
  white-space: nowrap;
}

.dish-description {
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.88rem;
  line-height: 1.45;
}

.dish-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.dish-icon {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 0.5rem;
  border: 1px solid #ded4c9;
  border-radius: 999px;
  color: #534a43;
  font-size: 0.66rem;
  font-weight: 850;
}

.dish-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: auto;
  padding-top: 0.15rem;
}

.dish-meta {
  color: #7c7167;
  font-size: 0.72rem;
  font-weight: 850;
}

.dish-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 0.72rem;
  border-radius: 7px;
  background: var(--accent);
  color: #170604;
  font-size: 0.76rem;
  font-weight: 900;
  white-space: nowrap;
}

.contact-section {
  display: grid;
  max-width: 1180px;
  margin: 1.2rem auto 5.4rem;
  padding: 0 1rem;
}

.contact-image {
  min-height: 250px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background: #1b1714;
}

.contact-image img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.contact-panel {
  padding: 1.35rem;
  border-radius: 0 0 8px 8px;
  background: var(--paper);
  color: var(--ink);
}

.contact-panel h2 {
  margin-top: 0.35rem;
  font-size: clamp(2.2rem, 9vw, 3.2rem);
}

.contact-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 1.3rem 0 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  gap: 0.14rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e4d9cf;
}

.contact-list strong {
  color: #c43c21;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.contact-list span {
  color: var(--muted-dark);
}

.contact-panel .contact-actions {
  justify-content: flex-start;
}

.contact-panel .map-button {
  border-color: #d7ccc1;
  color: var(--ink);
}

.site-footer {
  display: grid;
  gap: 0.85rem;
  padding: 2rem 1rem 6.1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.footer-brand {
  justify-content: center;
  color: #fff;
}

.site-footer p {
  margin: 0;
  font-size: 0.85rem;
}

.order-summary {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 70;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  max-width: 520px;
  margin: 0 auto;
  padding: 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(17, 16, 15, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(22px) scale(0.98);
  transition: opacity 220ms ease, transform 220ms ease;
}

.order-summary.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.order-summary div {
  display: grid;
  min-width: 0;
}

.order-summary span {
  color: var(--accent-2);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.order-summary strong {
  overflow: hidden;
  color: #fff;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-summary a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 0.9rem;
  border-radius: 7px;
  background: var(--accent);
  color: #160604;
  font-size: 0.8rem;
  font-weight: 900;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.82;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes plateFloat {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(-4deg);
  }

  50% {
    transform: translate(-50%, calc(-50% - 12px)) rotate(-2deg);
  }
}

@media (max-width: 719px) {
  .category-track {
    justify-content: flex-start;
  }

  .dish-carousel {
    width: min(100%, 354px);
    padding-inline: 0.25rem;
    scroll-padding-inline: 0.25rem;
  }

  .dish-grid {
    margin: 0;
  }

  .service-strip {
    gap: 0.45rem;
  }

  .service-strip span {
    min-height: 48px;
    padding: 0.45rem 0.35rem;
    font-size: 0.64rem;
  }

  .service-strip strong {
    font-size: 0.86rem;
  }
}

@media (min-width: 820px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding-inline: 2rem;
  }

  .menu-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    display: flex;
    justify-content: center;
    gap: 0.3rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .main-nav a {
    padding: 0 0.9rem;
  }

  .hero {
    grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1fr);
    grid-template-rows: auto auto;
    grid-template-areas:
      "copy media"
      "strip media";
    gap: 1.2rem clamp(4rem, 8vw, 7rem);
    align-content: center;
    padding-inline: max(2rem, calc((100vw - 1180px) / 2));
  }

  .hero-copy {
    grid-area: copy;
    margin: 0;
    text-align: left;
  }

  .hero-copy p {
    margin-left: 0;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-media {
    grid-area: media;
    width: min(39vw, 520px);
  }

  .service-strip {
    grid-area: strip;
    margin: 0;
    width: min(100%, 34rem);
  }

  .service-strip span {
    height: 68px;
    min-height: 0;
  }

  .hero h1 {
    font-size: clamp(5.2rem, 9.4vw, 7.8rem);
  }

  .menu-category-head {
    grid-template-columns: 1fr auto;
    text-align: left;
  }

  .dish-card {
    flex-basis: 258px;
  }

  .menu-category.is-combinados .dish-card {
    flex-basis: 282px;
  }

  .contact-section {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .contact-image {
    border-radius: 8px 0 0 8px;
  }

  .contact-panel {
    border-radius: 0 8px 8px 0;
    padding: 2rem;
  }

  .order-summary {
    right: auto;
    left: 2rem;
    width: min(420px, calc(100vw - 16rem));
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
