/* =========================
   SECCIÓN CATEGORÍAS DE MENÚ
   (mobile-first)
========================= */
.menu-section {
  padding: 4rem clamp(1rem, 4vw, 1.5rem);
  background: var(--color-dark);
  color: var(--color-light);
  text-align: center;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.menu-section .container {
  max-width: min(var(--container-width), 100%);
  margin: 0 auto;
  min-width: 0;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  margin-bottom: 0.5rem;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  padding: 0 0.25rem;
}

.section-subtitle {
  font-family: var(--font-body);
  margin-bottom: 2rem;
  opacity: 0.8;
  max-width: 100%;
  overflow-wrap: break-word;
  padding: 0 0.25rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.menu-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 210px;
  border-radius: 1.25rem;
  overflow: hidden;
  text-decoration: none;
  color: var(--color-light);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  transform: translateY(0);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.menu-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.menu-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0.35)
  );
  opacity: 0.95;
  transition: opacity 0.4s ease;
}

.menu-card span {
  position: relative;
  z-index: 2;
  font-family: var(--font-title);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 1.2rem;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.menu-card:hover img {
  transform: scale(1.08);
  filter: brightness(1.05);
}

.menu-card:hover .menu-overlay {
  opacity: 0.8;
}

/* =========================
   RESPONSIVE GRID
========================= */
@media (min-width: 600px) {
  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-card {
    height: 230px;
  }
}

@media (min-width: 900px) {
  .menu-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .menu-card {
    height: 240px;
  }
}

