:root {
  color-scheme: dark;
  --font-text: Arial, Helvetica, sans-serif;
  --bg: #030303;
  --panel: #0b0b0c;
  --panel-soft: #121214;
  --line: #242426;
  --line-strong: #343438;
  --text: #f7f7f4;
  --muted: #c9c9c4;
  --dim: #92928c;
  --red: #e61b23;
  --red-dark: #951018;
  --shadow: rgba(0, 0, 0, 0.42);
  --max: 880px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% -20%, rgba(230, 27, 35, 0.18), transparent 32rem),
    linear-gradient(180deg, #000 0%, #050505 40%, #090909 100%);
  color: var(--text);
  font-family: var(--font-text);
  line-height: 1.5;
  padding-bottom: 7.5rem;
}

body,
button,
input,
textarea,
select,
summary,
nav,
a,
h1,
h2,
h3,
p,
small,
span,
strong {
  font-family: var(--font-text);
}

a {
  color: inherit;
}

.site-header {
  padding: 1.25rem 1rem 0.75rem;
}

.header-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: center;
}

.brand-logo {
  width: 5.5rem;
  height: 5.5rem;
  display: block;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 1rem 2.5rem var(--shadow);
}

.brand-copy {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.25rem;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: 2.15rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  margin-top: 0.45rem;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 750;
  text-decoration-color: rgba(230, 27, 35, 0.8);
  text-underline-offset: 0.25rem;
}

.tagline {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.35;
}

.category-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(3, 3, 3, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  scrollbar-width: none;
}

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

.category-nav a {
  flex: 0 0 auto;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #0f0f10;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.category-nav a:focus-visible,
.whatsapp-button:focus-visible,
summary:focus-visible,
.phone-link:focus-visible {
  outline: 3px solid rgba(230, 27, 35, 0.6);
  outline-offset: 3px;
}

main {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 1rem;
}

.intro-band {
  margin: 1rem 0 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #080808;
  box-shadow: 0 1rem 3rem var(--shadow);
}

.hero-image {
  background-repeat: no-repeat;
  background-color: #050505;
}

.hero-image {
  min-height: 13rem;
  background-size: cover;
  border-bottom: 1px solid var(--line);
}

.portada-image {
  background-image: url("assets/portada-wasabi.png");
  background-position: center 45%;
}

.intro-copy {
  padding: 1.1rem;
}

.intro-copy h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.14;
  letter-spacing: 0;
}

.intro-copy p:last-child {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.menu-section {
  scroll-margin-top: 5.25rem;
  margin: 0 0 0.8rem;
}

.category {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 12, 13, 0.94);
  box-shadow: 0 0.9rem 2.4rem rgba(0, 0, 0, 0.24);
  overflow: clip;
}

.category[open] {
  border-color: var(--line-strong);
}

summary {
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  cursor: pointer;
  list-style: none;
  font-size: 1.35rem;
  font-weight: 820;
  line-height: 1.1;
}

summary::-webkit-details-marker {
  display: none;
}

.summary-mark {
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #080809;
}

.summary-mark::before,
.summary-mark::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 0.86rem;
  height: 2px;
  background: var(--red);
  transform: translate(-50%, -50%);
}

.summary-mark::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 180ms ease;
}

.category[open] .summary-mark::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.category-content {
  border-top: 1px solid var(--line);
  padding: 0 1rem 1rem;
}

.category-note {
  margin: 1rem 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.item-list {
  display: grid;
  gap: 0.65rem;
}

.menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--panel-soft), var(--panel));
}

.menu-item.featured {
  border-color: rgba(230, 27, 35, 0.45);
}

.menu-item h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.03rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0;
}

.menu-item p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.4;
}

.menu-item small,
.menu-item span {
  color: var(--dim);
  font-size: 0.83rem;
  font-weight: 720;
}

.menu-item strong {
  align-self: start;
  justify-self: start;
  display: inline-flex;
  min-height: 2.35rem;
  align-items: center;
  padding: 0 0.72rem;
  border-radius: 8px;
  background: rgba(230, 27, 35, 0.13);
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 850;
  white-space: nowrap;
}

.whatsapp-button {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  min-height: 3.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--red), var(--red-dark));
  color: #fff;
  box-shadow: 0 1rem 2.6rem rgba(149, 16, 24, 0.44);
  font-size: 1.03rem;
  font-weight: 850;
  text-decoration: none;
}

@media (min-width: 620px) {
  body {
    padding-bottom: 8rem;
  }

  .site-header {
    padding-top: 2rem;
  }

  .header-shell {
    grid-template-columns: 6.75rem 1fr;
    gap: 1.2rem;
  }

  .brand-logo {
    width: 6.75rem;
    height: 6.75rem;
  }

  h1 {
    font-size: 3rem;
  }

  .tagline {
    font-size: 1.05rem;
  }

  .intro-band {
    display: grid;
    grid-template-columns: 0.92fr 1fr;
    min-height: 19rem;
  }

  .hero-image {
    min-height: 100%;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .intro-copy {
    align-self: end;
    padding: 1.5rem;
  }

  .intro-copy h2 {
    font-size: 2rem;
  }

  .menu-item {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .menu-item strong,
  .menu-item span {
    justify-self: end;
  }

  .whatsapp-button {
    left: 50%;
    right: auto;
    width: min(23rem, calc(100% - 2rem));
    transform: translateX(-50%);
  }
}

@media (min-width: 900px) {
  .category-nav {
    justify-content: center;
  }

  .menu-section {
    scroll-margin-top: 5rem;
  }
}
