:root {
  --bg-color: #f3efe8;
  --surface-color: #ffffff;
  --text-main: #2b2b2b;
  --text-muted: #6b6b6b;
  --border-color: #e8e2d5;
  --accent-color: #c83222;
  --accent-gold: #c6a87c;
  --allergen-ink: #111111;
  --allergen-surface: rgba(255, 255, 255, 0.72);
  --max-width: 1000px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e8e2d5' fill-opacity='0.25'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-header {
  min-height: 320px;
  background-image: url("https://images.unsplash.com/photo-1513104890138-7c749659a591?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center 58%;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.8)
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 22px 18px;
}

.hero-logo {
  width: clamp(120px, 34vw, 180px);
  max-width: 72vw;
  margin-bottom: 12px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28));
}

.hero-overlay h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 8vw, 3.2rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  letter-spacing: 1px;
  line-height: 1.02;
}

.hero-overlay p {
  font-size: clamp(0.8rem, 3vw, 1.1rem);
  font-weight: 500;
  color: var(--accent-gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 20px 0 20px;
  position: relative;
}

.menu-note {
  background-color: transparent;
  padding: 20px 0;
  border: none;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 40px;
  text-align: center;
}

.top-note {
  border-top: none;
  padding-top: 0;
  margin-bottom: 50px;
}

.menu-note p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 8px;
  font-style: italic;
}

.leyenda-alergenos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
  padding-top: 0;
  border-top: none;
}

.leyenda-alergenos span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--allergen-ink);
  background: transparent;
  padding: 0;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.alergeno-icon {
  font-size: 0.9em;
  opacity: 0.78;
}

.alergeno-icon[data-allergen="🌾"],
.alergenos span[data-allergen="🌾"] {
  background: #efe5c7;
}

.alergeno-icon[data-allergen="🥛"],
.alergenos span[data-allergen="🥛"] {
  background: #e7e2da;
}

.alergeno-icon[data-allergen="🦐"],
.alergenos span[data-allergen="🦐"] {
  background: #f0d7d6;
}

.alergeno-icon[data-allergen="🐟"],
.alergenos span[data-allergen="🐟"] {
  background: #dce7f1;
}

.alergeno-icon[data-allergen="🌱"],
.alergenos span[data-allergen="🌱"] {
  background: #dde8d8;
}

.alergeno-icon[data-allergen="🥚"],
.alergenos span[data-allergen="🥚"] {
  background: #f2efe8;
}

.alergeno-icon[data-allergen="🦑"],
.alergenos span[data-allergen="🦑"] {
  background: #e3dbef;
}

.alergeno-icon[data-allergen="🟡"],
.alergenos span[data-allergen="🟡"] {
  background: #f3e6c5;
}

.inline-alergenos {
  display: inline-flex;
  gap: 5px;
  vertical-align: middle;
  margin-left: 6px;
}

.suplementos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
  font-size: 0.9rem;
}

.suplementos span {
  background: transparent;
  color: var(--text-main);
  padding: 0;
  border: none;
}

.suplementos strong {
  color: var(--accent-color);
  font-weight: 600;
}

.suplementos .separator {
  color: var(--border-color);
}

.menu-section {
  background-color: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
  margin-bottom: 30px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.menu-section.active {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.section-header {
  padding: 25px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  background-color: var(--surface-color);
  transition:
    background-color 0.3s ease,
    padding 0.3s ease;
}

.section-header:hover {
  background-color: #fdfaf7;
}

.menu-section.active .section-header {
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 20px;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--accent-color);
  margin-top: 8px;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.menu-section.active .section-title::after {
  width: 100%;
}

.chevron-icon {
  width: 28px;
  height: 28px;
  color: var(--accent-gold);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.menu-section.active .chevron-icon {
  transform: rotate(180deg);
}

.section-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-section.active .section-content {
  grid-template-rows: 1fr;
}

.section-content-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 30px;
}

.menu-section.active .section-content-inner {
  padding-top: 25px;
  padding-bottom: 40px;
}

.menu-grid {
  column-count: 1;
  column-gap: 10px;
}

.menu-item {
  display: flex;
  flex-direction: column;
  break-inside: avoid;
  margin-bottom: 25px;
}

.item-photo {
  margin: 6px 0 10px;
  border-radius: 14px;
  overflow: hidden;
}

.item-photo img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.item-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: end;
  margin-bottom: 6px;
}

.item-name {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  overflow: hidden;
}

.item-name::after {
  content: "";
  display: inline-block;
  width: 100vw;
  margin-right: -100vw;
  border-bottom: 2px dotted #d1cabe;
  margin-left: 8px;
  position: relative;
  top: -4px;
}

.item-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-color);
  padding-left: 8px;
  background: var(--surface-color);
}

.item-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.combo-number {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  background-color: var(--accent-gold);
  color: #fff;
  padding: 3px 7px;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-right: 6px;
  vertical-align: middle;
}

.alergenos span,
.alergenos-trazas span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--allergen-surface);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, 0.5);
  font-size: 0.7rem;
  box-shadow: none;
  color: var(--allergen-ink);
  opacity: 0.78;
}

.alergenos-trazas span {
  opacity: 0.78;
}

.site-footer {
  margin-top: 40px;
  padding: 25px 20px 15px;
  border-top: 1px solid var(--border-color);
  background-color: transparent;
}

.site-footer .footer-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-footer .footer-section {
  flex: 1;
  text-align: center;
}

.site-footer .footer-logo {
  flex: 0 0 auto;
}

.site-footer .footer-logo img {
  width: 85px;
  height: auto;
  opacity: 0.4;

  filter: invert(100%);

  transition: all 0.3s ease;
  display: block;
}

.site-footer .footer-logo img:hover {
  opacity: 0.8;

  filter: invert(100%);
}

.site-footer h4 {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 600;
}

.site-footer p {
  margin: 2px 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--accent-color);
}

.site-footer .phone-link {
  font-weight: 600;
  color: var(--text-main);
}

.site-footer .footer-bottom {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-color);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  opacity: 0.5;
}

@media (max-width: 650px) {
  .site-footer .footer-content {
    flex-direction: column;
    gap: 15px;
  }

  .site-footer .footer-logo {
    order: 0;
  }
}

@media (min-width: 768px) {
  .menu-grid {
    column-count: 2;
    column-gap: 60px;
  }

  .item-photo img {
    height: 210px;
  }

  .item-photo img {
    height: 210px;
  }

  .hero-header {
    min-height: 450px;
    background-position: center 60%;
  }

  .hero-overlay {
    padding: 20px;
  }

  .hero-logo {
    width: 180px;
    margin-bottom: 16px;
  }

  .hero-overlay h1 {
    font-size: 4.5rem;
    line-height: 1.1;
  }

  .hero-overlay p {
    font-size: 1.1rem;
    letter-spacing: 4px;
  }
}

@media (min-width: 1024px) {
  .section-header {
    padding: 30px 50px;
  }
  .section-content-inner {
    padding: 0 50px;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .item-name {
    font-size: 1.25rem;
  }
}
