@font-face {
  font-family: "Sole Impact";
  src: url("../../fuentes/IMPACT.TTF") format("truetype");
  font-display: swap;
}

:root {
  --gold: #ffb400;
  --gold-soft: #ffd166;
  --espresso: #3f332d;
  --espresso-2: #4b3e36;
  --ink: #2c2420;
  --cream: #fff8e8;
  --paper: #fffdf6;
  --muted: #756a63;
  --line: rgba(63, 51, 45, 0.14);
  --shadow: 0 18px 45px rgba(45, 32, 24, 0.16);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 248, 232, 0.94), rgba(255, 248, 232, 0.94)),
    repeating-conic-gradient(from 12deg at 50% 18%, var(--gold) 0 7deg, var(--espresso) 7deg 14deg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
}
button { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 248, 232, 0.96);
  border-bottom: 1px solid rgba(63, 51, 45, 0.12);
  box-shadow: 0 8px 28px rgba(45, 32, 24, 0.08);
  backdrop-filter: blur(16px);
}
.brand-wrap {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand-logo { width: 150px; height: 76px; object-fit: contain; }
.language-control {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px;
  border-radius: 999px;
  background: var(--espresso);
  color: white;
  box-shadow: 0 8px 22px rgba(63, 51, 45, 0.2);
}
.language-control > span {
  padding: 0 8px 0 11px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.language-control button {
  width: 42px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: white;
  font-weight: 900;
  cursor: pointer;
}
.language-control button.is-active { background: var(--gold); color: var(--espresso); }

.category-nav {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 7px 0 13px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.category-nav button {
  flex: 0 0 auto;
  border: 1px solid rgba(63, 51, 45, 0.18);
  border-radius: 999px;
  background: white;
  color: var(--espresso);
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}
.category-nav button:hover,
.category-nav button:focus-visible { background: var(--gold); outline: none; }

main { width: min(1180px, calc(100% - 28px)); margin: 0 auto; }
.hero {
  position: relative;
  overflow: hidden;
  margin: 24px 0 14px;
  padding: clamp(36px, 7vw, 78px) clamp(22px, 7vw, 78px);
  border-radius: 30px;
  color: white;
  background: repeating-conic-gradient(from 10deg at 76% 45%, #ffb400 0 8deg, #44372f 8deg 16deg);
  box-shadow: var(--shadow);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 2px solid rgba(255, 180, 0, 0.86);
  border-radius: 20px;
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; max-width: 680px; }
.hero .eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: white;
  background: rgba(63, 51, 45, 0.9);
}
.eyebrow {
  margin: 0 0 7px;
  color: var(--gold);
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.hero h1,
.allergens-panel h2 {
  margin: 0;
  font-family: "Sole Impact", Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.hero h1 { font-size: clamp(48px, 9vw, 92px); line-height: 0.9; text-shadow: 5px 5px 0 rgba(44, 36, 32, 0.44); }
.hero p:last-child { margin: 15px 0 0; font-size: clamp(15px, 2.3vw, 19px); font-weight: 750; }

.menu-sections { display: grid; gap: 11px; padding-bottom: 24px; }
.menu-section {
  scroll-margin-top: 145px;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 253, 246, 0.97);
  box-shadow: 0 11px 30px rgba(51, 38, 29, 0.09);
}
.menu-section summary {
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  list-style: none;
  color: var(--espresso);
  background: linear-gradient(110deg, var(--gold), var(--gold-soft));
  cursor: pointer;
}
.menu-section summary::-webkit-details-marker { display: none; }
.menu-section summary > span:first-child {
  font-family: "Sole Impact", Impact, sans-serif;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.section-count {
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--espresso);
  color: white;
  font-weight: 900;
}
.menu-section summary::after { content: "+"; color: var(--espresso); font-size: 26px; font-weight: 900; }
.menu-section[open] summary::after { content: "−"; }
.menu-section summary { grid-template-columns: minmax(0, 1fr) auto auto; }

.price-headings {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  padding: 11px 18px 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.items-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 8px;
}
.menu-item {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  padding: 15px 13px;
  border-radius: 13px;
  background: white;
  border: 1px solid rgba(63, 51, 45, 0.08);
}
.item-number {
  min-width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--espresso);
  color: white;
  font-size: 12px;
  font-weight: 950;
}
.item-copy h3 { margin: 0; color: var(--espresso); font-size: 15px; line-height: 1.24; }
.item-copy p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.item-allergens { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-top: 7px; color: var(--muted); font-size: 9px; font-weight: 750; }
.item-allergen {
  min-width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #fff1cd;
  color: #9d4f00;
  border: 1px solid rgba(157, 79, 0, 0.25);
  font-size: 9px;
  font-weight: 950;
}
.item-prices { min-width: 72px; text-align: right; }
.price-main { color: #9d4f00; font-size: 16px; font-weight: 950; white-space: nowrap; }
.price-options { display: flex; flex-direction: column; gap: 5px; }
.price-chip { display: flex; align-items: baseline; justify-content: flex-end; gap: 6px; }
.price-chip small { color: var(--muted); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.price-chip strong { color: #9d4f00; font-size: 14px; white-space: nowrap; }
.category-note {
  margin: 0 8px 8px;
  padding: 12px 15px;
  border-radius: 12px;
  color: white;
  background: var(--espresso);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.allergens-panel {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) 1.2fr;
  gap: 24px;
  margin: 0 0 24px;
  padding: clamp(22px, 5vw, 42px);
  border-radius: 24px;
  color: white;
  background: var(--espresso);
  box-shadow: var(--shadow);
}
.allergens-panel h2 { font-size: clamp(34px, 5vw, 56px); line-height: 0.98; }
.allergens-panel p:not(.eyebrow) { color: rgba(255,255,255,0.76); line-height: 1.5; }
.allergens-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px; }
.allergen { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,0.08); font-size: 12px; }
.allergen > span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--espresso); font-weight: 950; }

footer {
  padding: 30px max(18px, calc((100vw - 1180px) / 2));
  color: white;
  background: #302720;
  text-align: center;
}
footer > img { width: 120px; height: 72px; object-fit: contain; filter: drop-shadow(0 5px 13px rgba(0,0,0,.2)); }
.locations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 760px; margin: 10px auto; }
.locations p { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 13px; border-radius: 14px; background: rgba(255,255,255,.06); }
.locations strong { color: var(--gold); font-size: 17px; }
.locations span { font-size: 12px; line-height: 1.4; }
.updated-label { margin: 18px 0 0; color: rgba(255,255,255,.55); font-size: 11px; }

@media (max-width: 760px) {
  .brand-wrap { min-height: 78px; }
  .brand-logo { width: 112px; height: 62px; }
  .language-control > span { display: none; }
  .category-nav { padding-bottom: 10px; }
  .hero { margin-top: 14px; border-radius: 20px; }
  .items-grid { grid-template-columns: 1fr; padding: 6px; }
  .menu-item { padding: 13px 10px; }
  .menu-section { scroll-margin-top: 126px; }
  .allergens-panel { grid-template-columns: 1fr; }
}

@media (max-width: 450px) {
  main, .brand-wrap, .category-nav { width: min(100% - 16px, 1180px); }
  .menu-section summary { min-height: 66px; padding: 15px 14px; }
  .menu-section summary > span:first-child { font-size: 28px; }
  .section-count { min-width: 32px; height: 32px; }
  .menu-item { grid-template-columns: minmax(0, 1fr) auto; }
  .item-number { grid-row: 1 / span 2; }
  .menu-item:has(.item-number) { grid-template-columns: auto minmax(0, 1fr) auto; }
  .item-copy h3 { font-size: 14px; }
  .item-prices { min-width: 64px; }
  .allergens-list, .locations { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
