:root {
  --sand: #fbf3e4;
  --sand-deep: #f3e3c7;
  --ink: #2b2522;
  --ink-soft: #5e534c;
  --teal: #1f8a8a;
  --teal-dark: #146a6a;
  --coral: #e8664f;
  --coral-dark: #b8432f;
  --card: #fffaf1;
  --line: #ead8b8;
  --radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-text-size-adjust: 100%;
}

.site-header {
  padding: 36px 16px 28px;
  text-align: center;
  background:
    linear-gradient(rgba(20, 30, 30, 0.45), rgba(20, 30, 30, 0.55)),
    url("/MenuBemvelon/assets/portada.webp") center / cover no-repeat,
    var(--teal-dark);
  color: #fff;
  border-bottom: 6px solid var(--coral);
}

.brand-logo {
  display: block;
  width: 120px;
  height: 120px;
  margin: 0 auto 12px;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.brand {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.tagline {
  margin: 4px 0 0;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  opacity: 0.9;
}

.info-open {
  margin-top: 10px;
  padding: 2px 4px;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.9;
  cursor: pointer;
}

.info-open[hidden] {
  display: none;
}

.info-sheet {
  width: 100%;
  max-width: 560px;
  margin: auto auto 0;
  padding: 24px 24px 32px;
  border: 0;
  border-radius: 20px 20px 0 0;
  background: var(--card);
  color: var(--ink);
}

.info-sheet::backdrop {
  background: rgba(43, 37, 34, 0.55);
}

.info-sheet__close {
  float: right;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--sand-deep);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.info-sheet__title {
  margin: 20px 0 16px;
  font-size: 1.5rem;
  font-weight: 800;
}

.info-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0;
}

.info-list a {
  color: var(--teal-dark);
  font-weight: 600;
}

.info-list__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  fill: var(--ink-soft);
}

.info-sheet__subtitle {
  margin: 24px 0 12px;
  text-align: center;
  font-weight: 700;
}

.info-channels {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.info-channel {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(43, 37, 34, 0.12);
}

.info-channel svg {
  width: 26px;
  height: 26px;
  fill: var(--coral);
}

.section-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--sand-deep);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 6px rgba(43, 37, 34, 0.08);
}

.section-nav[hidden] {
  display: none;
}

.section-nav__list {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 10px 16px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.section-nav__list::-webkit-scrollbar {
  display: none;
}

.section-nav__link {
  display: block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--card);
  border: 2px solid var(--teal);
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
}

.section-nav__link:hover,
.section-nav__link:focus-visible {
  background: var(--teal);
  color: #fff;
  outline: none;
}

.menu {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px;
}

.status {
  margin: 32px 0;
  text-align: center;
  color: var(--ink-soft);
}

.status--error {
  padding: 16px;
  border-radius: var(--radius);
  background: var(--card);
  border: 2px solid var(--coral);
  color: var(--coral-dark);
  font-weight: 600;
}

.section {
  margin: 8px 0 28px;
}

.section__title {
  margin: 16px 0 8px;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--coral-dark);
}

.section__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin-top: 4px;
  border-radius: 2px;
  background: var(--teal);
}

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 16px;
  padding: 0;
  list-style: none;
}

.subnav__link {
  display: block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--coral);
  color: var(--coral-dark);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
}

.subnav__link:hover,
.subnav__link:focus-visible {
  background: var(--coral);
  color: #fff;
  outline: none;
}

.subsection {
  margin: 12px 0 18px;
}

.subsection__title {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teal-dark);
}

.item-list {
  margin: 0;
  padding: 4px 14px;
  list-style: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.item {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.item:last-child {
  border-bottom: 0;
}

.item__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.item__name {
  font-weight: 600;
}

.item__price {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.item__description {
  margin: 2px 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.site-footer {
  padding: 20px 16px 32px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.site-footer p {
  margin: 0;
}

@media (min-width: 640px) {
  .brand {
    font-size: 2.75rem;
  }

  .section-nav__list {
    justify-content: center;
  }
}
