@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600;1,700&display=swap');

:root {
  --ink: #151210;
  --forest: #34261f;
  --forest-soft: #4a3429;
  --paper: #f1e7d8;
  --paper-dark: #d8cbb9;
  --gold: #b99a62;
  --gold-light: #d4bb84;
  --clay: #8f6248;
  --line: rgba(241, 231, 216, 0.17);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 90% 0%, rgba(185, 152, 90, 0.13), transparent 24rem),
    var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
}

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

.container {
  width: min(100% - 3rem, 1080px);
  margin-inline: auto;
}

.menu-topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(240, 232, 218, 0.12);
  background: rgba(16, 19, 16, 0.94);
  backdrop-filter: blur(12px);
}

.menu-topbar__inner {
  display: flex;
  min-height: 5.2rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.menu-brand {
  display: flex;
  flex-direction: column;
  color: var(--paper);
  line-height: 1;
}

.menu-brand__small {
  color: var(--gold);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.25em;
}

.menu-brand__name {
  margin-top: 0.12rem;
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.menu-home-link {
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.menu-home-link:hover,
.menu-home-link:focus-visible {
  color: var(--paper);
}

.menu-hero {
  position: relative;
  overflow: hidden;
  padding: 5.2rem 0 4.2rem;
  border-bottom: 1px solid rgba(240, 232, 218, 0.12);
  background:
    linear-gradient(115deg, rgba(16, 19, 16, 0.96), rgba(36, 49, 38, 0.88)),
    var(--forest);
}

.menu-hero::after {
  position: absolute;
  top: -17rem;
  right: -10rem;
  width: 36rem;
  height: 36rem;
  border: 1px solid rgba(185, 152, 90, 0.23);
  border-radius: 50%;
  content: '';
}

.menu-hero__content {
  position: relative;
  z-index: 1;
}

.kicker {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.menu-hero h1 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.3rem, 7vw, 6.2rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.menu-hero h1 em {
  color: var(--gold-light);
  font-style: italic;
}

.menu-hero p:not(.kicker) {
  max-width: 36rem;
  margin: 1.4rem 0 0;
  color: rgba(240, 232, 218, 0.76);
  font-size: 1rem;
}

.menu-nav {
  position: sticky;
  z-index: 15;
  top: 5.2rem;
  overflow-x: auto;
  border-bottom: 1px solid rgba(240, 232, 218, 0.12);
  background: #1d1815;
  scrollbar-width: none;
}

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

.menu-nav__inner {
  display: flex;
  min-width: max-content;
  gap: 1.6rem;
}

.menu-nav a {
  display: inline-block;
  padding: 1rem 0;
  border-bottom: 2px solid transparent;
  color: rgba(240, 232, 218, 0.68);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.menu-nav a:hover,
.menu-nav a:focus-visible,
.menu-nav a.is-active {
  border-color: var(--gold);
  color: var(--paper);
}

.menu-main {
  padding: 4.5rem 0 6rem;
}

.menu-section {
  padding: 0 0 4.4rem;
  scroll-margin-top: 10rem;
}

.menu-section:last-child {
  padding-bottom: 0;
}

.menu-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.menu-section__head p {
  margin: 0 0 0.55rem;
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.menu-section__head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.menu-section__head > span {
  max-width: 19rem;
  color: rgba(240, 232, 218, 0.55);
  font-size: 0.8rem;
  text-align: right;
}

.menu-list {
  display: grid;
}

.menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(240, 232, 218, 0.12);
}

.menu-item__name {
  display: block;
  margin: 0;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
  font-weight: 500;
  line-height: 1.1;
}

.menu-item__description {
  display: block;
  max-width: 42rem;
  margin-top: 0.38rem;
  color: rgba(240, 232, 218, 0.58);
  font-size: 0.82rem;
}

.menu-item__price {
  align-self: start;
  padding-top: 0.15rem;
  color: var(--gold-light);
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.menu-item__allergens {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.6rem;
  color: rgba(240, 232, 218, 0.48);
  font-size: 0.66rem;
}

.menu-item__allergens img {
  width: 1.16rem;
  height: 1.16rem;
  object-fit: contain;
  opacity: 0.9;
}

.menu-feature {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  margin: 0 0 4.5rem;
  padding: clamp(1.7rem, 5vw, 3.5rem);
  overflow: hidden;
  border: 1px solid rgba(185, 152, 90, 0.56);
  background:
    linear-gradient(135deg, rgba(185, 152, 90, 0.14), transparent 45%),
    var(--forest);
}

.menu-feature::after {
  position: absolute;
  right: -1rem;
  bottom: -3.8rem;
  color: rgba(185, 152, 90, 0.16);
  font-family: var(--serif);
  font-size: clamp(7rem, 16vw, 13rem);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.15em;
  line-height: 1;
  content: 'DQ';
}

.menu-feature > * {
  position: relative;
  z-index: 1;
}

.menu-feature__label {
  margin: 0 0 0.8rem;
  color: var(--gold-light);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.menu-feature h2 {
  max-width: 11ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 5vw, 4.1rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.93;
}

.menu-feature h2 em {
  color: var(--gold-light);
}

.menu-feature__right {
  align-self: end;
}

.menu-feature__right p {
  max-width: 27rem;
  margin: 0;
  color: rgba(240, 232, 218, 0.77);
}

.menu-feature__badge {
  display: inline-flex;
  margin-top: 1.15rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(240, 232, 218, 0.2);
  color: var(--paper);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.menu-note {
  margin: 3rem 0 0;
  padding: 1.25rem 1.35rem;
  border-left: 2px solid var(--gold);
  color: rgba(240, 232, 218, 0.68);
  background: rgba(240, 232, 218, 0.04);
  font-size: 0.82rem;
}

.menu-note strong {
  color: var(--paper);
}

.menu-footer {
  padding: 2.2rem 0;
  border-top: 1px solid rgba(240, 232, 218, 0.12);
  color: rgba(240, 232, 218, 0.58);
  background: #100e0d;
}

.menu-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.72rem;
}

.menu-footer__brand {
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
}

.menu-footer a:last-child {
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 2.25rem, 1080px);
  }

  .menu-topbar__inner {
    min-height: 4.7rem;
  }

  .menu-nav {
    top: 4.7rem;
  }

  .menu-hero {
    padding: 4rem 0 3.5rem;
  }

  .menu-main {
    padding: 3.5rem 0 4.5rem;
  }

  .menu-section {
    padding-bottom: 3.3rem;
  }

  .menu-section__head {
    display: block;
  }

  .menu-section__head > span {
    display: block;
    margin-top: 0.85rem;
    text-align: left;
  }

  .menu-item {
    gap: 1rem;
    padding: 1.1rem 0;
  }

  .menu-item__price {
    font-size: 0.92rem;
  }

  .menu-feature {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3.3rem;
  }

  .menu-feature__right {
    align-self: auto;
  }

  .menu-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* =========================================================
   PALETA HIERRO OXIDADO — carta
   ========================================================= */

/* Hero / cabecera de la carta */
.menu-hero {
  background:
    linear-gradient(115deg, rgba(21, 18, 16, 0.97), rgba(55, 39, 30, 0.91)),
    #34261f;
}

/* Navegación horizontal de categorías */
.menu-nav {
  background: #211a16;
}

/* Bloque especial de smash burger */
.menu-feature {
  background:
    linear-gradient(135deg, rgba(185, 154, 98, 0.12), transparent 45%),
    #3a291f;
}

/* Cuerpo de la carta */
body {
  background:
    radial-gradient(circle at 90% 0%, rgba(185, 154, 98, 0.09), transparent 24rem),
    #151210;
}

/* Pie de la carta */
.menu-footer {
  background: #100e0d;
}

/* =========================================================
   ESPECIALIDAD · HAMBURGUESA SMASH
   Solo afecta a la sección de especialidades de la carta.
   ========================================================= */

.menu-feature--smash {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(21rem, 1.08fr);
  align-items: center;
  min-height: clamp(25rem, 32vw, 34rem);
  gap: clamp(1.5rem, 4vw, 5rem);
  overflow: hidden;
  padding: clamp(2.2rem, 4.5vw, 4.5rem);
  isolation: isolate;
  background:
    radial-gradient(
      circle at 78% 48%,
      rgba(188, 111, 51, 0.34) 0,
      rgba(111, 56, 31, 0.17) 24%,
      transparent 51%
    ),
    linear-gradient(120deg, #3c291f 0%, #281b16 57%, #171210 100%);
}

.menu-feature--smash::before {
  position: absolute;
  z-index: -1;
  top: -34%;
  right: -8%;
  width: 53%;
  aspect-ratio: 1;
  border: 1px solid rgba(229, 190, 114, 0.17);
  border-radius: 50%;
  box-shadow:
    0 0 0 3rem rgba(218, 160, 81, 0.025),
    0 0 0 7rem rgba(218, 160, 81, 0.02);
  content: "";
  pointer-events: none;
}

.menu-feature--smash::after {
  position: absolute;
  z-index: -1;
  right: clamp(1.2rem, 4vw, 4.8rem);
  bottom: -0.5rem;
  color: rgba(230, 190, 116, 0.07);
  content: "SMASH";
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5.8rem, 13vw, 13rem);
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.1em;
  line-height: 0.74;
  pointer-events: none;
}

.menu-feature__content {
  position: relative;
  z-index: 2;
  max-width: 34rem;
}

.menu-feature--smash .menu-feature__label {
  margin: 0 0 1rem;
  color: #d8b675;
}

.menu-feature--smash h2 {
  max-width: 33rem;
  margin: 0;
  color: #f1e6d6;
  font-size: clamp(2.8rem, 4.9vw, 5.7rem);
  line-height: 0.85;
  text-wrap: balance;
}

.menu-feature--smash h2 em {
  color: #d7ae62;
}

.menu-feature__description {
  max-width: 31rem;
  margin: 1.5rem 0 1.35rem;
  color: rgba(245, 234, 217, 0.82);
  font-size: clamp(0.96rem, 1.15vw, 1.1rem);
  line-height: 1.65;
}

.smash-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 33rem;
  margin-bottom: 1.6rem;
}

.smash-meta span {
  padding: 0.45rem 0.62rem;
  border: 1px solid rgba(235, 205, 146, 0.31);
  border-radius: 999px;
  color: rgba(246, 229, 198, 0.92);
  background: rgba(18, 11, 8, 0.27);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1;
  white-space: nowrap;
}

.menu-feature--smash .menu-feature__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.45rem;
  padding: 0.8rem 1.15rem;
  border: 1px solid rgba(238, 200, 124, 0.65);
  border-radius: 0;
  color: #f9df9d;
  background: linear-gradient(
    135deg,
    rgba(151, 91, 42, 0.72),
    rgba(72, 39, 23, 0.75)
  );
  box-shadow: 0 0.75rem 2.3rem rgba(0, 0, 0, 0.22);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.menu-feature__visual {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  min-height: 20rem;
  place-items: center;
}

.menu-feature__glow {
  position: absolute;
  z-index: -1;
  width: min(27rem, 88%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(236, 152, 65, 0.38) 0,
      rgba(168, 83, 42, 0.2) 31%,
      rgba(69, 34, 23, 0.06) 57%,
      transparent 72%
    );
  filter: blur(0.8rem);
  transform: translate(5%, 4%) scale(1.13);
  pointer-events: none;
}

.menu-feature__burger {
  display: block;
  width: min(100%, 35rem);
  max-height: clamp(20rem, 30vw, 31rem);
  object-fit: contain;
  object-position: center;
  filter:
    drop-shadow(0 1.7rem 1.8rem rgba(0, 0, 0, 0.53))
    drop-shadow(0 0.45rem 0.9rem rgba(35, 15, 6, 0.36));
  transform: translateY(0.7rem) rotate(-2deg);
  transform-origin: center bottom;
  transition:
    transform 380ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 380ms ease;
  will-change: transform;
}

.menu-feature--smash:hover .menu-feature__burger {
  filter:
    drop-shadow(0 2.15rem 2.1rem rgba(0, 0, 0, 0.56))
    drop-shadow(0 0.65rem 1.2rem rgba(74, 29, 7, 0.46));
  transform: translateY(-0.15rem) rotate(0deg) scale(1.025);
}

@media (max-width: 760px) {
  .menu-feature--smash {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 0.5rem;
    padding: 2rem 1.35rem 0;
  }

  .menu-feature__content {
    max-width: none;
  }

  .menu-feature--smash h2 {
    font-size: clamp(2.7rem, 13vw, 4.25rem);
  }

  .menu-feature__visual {
    min-height: 17rem;
    margin-top: -0.8rem;
  }

  .menu-feature__burger {
    width: min(100%, 27rem);
    max-height: 22rem;
    transform: translateY(1.3rem) rotate(-1deg);
  }

  .menu-feature--smash::after {
    right: 0.6rem;
    bottom: 0.8rem;
    font-size: 7.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-feature__burger {
    transition: none;
  }

  .menu-feature--smash:hover .menu-feature__burger {
    transform: translateY(0.7rem) rotate(-2deg);
  }
}

/* =========================================================
   CORRECCIÓN MÓVIL · BLOQUE SMASH Y MENÚ STICKY
   ========================================================= */

/* Evita que el menú de categorías tape el inicio al ir a un ancla */
.menu-section {
  scroll-margin-top: 10rem;
}

.menu-feature {
  scroll-margin-top: 0;
}

@media (max-width: 760px) {
  .menu-feature--smash {
    min-height: auto;
    gap: 0;
    padding: 2.25rem 1.35rem 0;
  }

  /* Evita que el título se salga o quede oculto */
  .menu-feature--smash h2 {
    max-width: 100%;
    font-size: clamp(2.55rem, 12.2vw, 3.8rem);
    line-height: 0.88;
  }

  .menu-feature--smash .menu-feature__label {
    margin-bottom: 0.85rem;
  }

  .menu-feature__description {
    margin-top: 1.2rem;
    margin-bottom: 1.15rem;
    font-size: 1rem;
    line-height: 1.55;
  }

  .smash-meta {
    gap: 0.42rem;
    margin-bottom: 1.35rem;
  }

  .smash-meta span {
    padding: 0.42rem 0.55rem;
    font-size: 0.57rem;
    letter-spacing: 0.07em;
  }

  .menu-feature--smash .menu-feature__badge {
    min-height: 3.15rem;
    padding: 0.65rem 1rem;
  }

  /* Quita el hueco excesivo y acerca la imagen al contenido */
  .menu-feature__visual {
    min-height: 0;
    margin-top: -0.25rem;
  }

  .menu-feature__burger {
    width: min(100%, 23rem);
    max-height: 18rem;
    margin-inline: auto;
    transform: translateY(0.75rem) rotate(-1deg);
  }

  /* Evita que el texto decorativo invada o aumente la altura */
  .menu-feature--smash::after {
    right: 0.4rem;
    bottom: 0.4rem;
    font-size: 5.5rem;
    line-height: 0.7;
  }

  .menu-feature--smash:hover .menu-feature__burger {
    transform: translateY(0.35rem) rotate(0deg) scale(1.015);
  }
}
