/* ===== El Fogón Criollo — Básico demo (listing) =====
   The client's own brand, not DirectorioDR: clean white listing,
   charcoal text, one warm criollo-red accent, gold rating stars. */

:root {
  --ink: #1c1b19;
  --bg: #ffffff;
  --paper: #faf6f0;
  --line: #ececec;
  --muted: #6b6b6b;
  --accent: #c5371f;       /* warm criollo red */
  --accent-dark: #9e2a16;
  --gold: #f5a623;
  --whatsapp: #25d366;
  --radius: 14px;
  --max: 56rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -0.01em; }

/* ===== Top bar ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar__brand {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}
.lang-toggle {
  font: inherit;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--ink);
  background: transparent;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  cursor: pointer;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.lang-toggle:hover { background: var(--ink); color: #fff; }

/* ===== Banner ===== */
.banner {
  position: relative;
  height: clamp(220px, 38vw, 380px);
  overflow: hidden;
}
.banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0.25) 100%);
}
.banner__content {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  right: 0;
  padding: 1.5rem 1.25rem;
  color: #fff;
}
.banner__badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}
.banner__title {
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 800;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}
.banner__tagline {
  margin: 0.35rem 0 0;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  opacity: 0.95;
}

/* ===== Info bar ===== */
.info {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.info__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.95rem;
}
.info__rating { display: inline-flex; align-items: center; gap: 0.35rem; }
.stars { color: var(--gold); letter-spacing: 0.05em; }
.info__rating strong { font-size: 1.05rem; }
.info__reviews, .dot { color: var(--muted); }
.info__open { color: #1a8f3c; font-weight: 600; }
.info__hours { margin: 0.5rem 0 0.2rem; color: var(--muted); font-size: 0.95rem; }
.info__address { margin: 0; color: var(--muted); font-size: 0.95rem; }

.info__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.pill {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  color: var(--muted);
}
.pill--active {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--paper);
}

/* ===== Order button ===== */
.order-btn {
  display: inline-block;
  background: var(--whatsapp);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  transition: transform 0.15s var(--ease), filter 0.15s var(--ease);
}
.order-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.order-btn--block { display: block; text-align: center; margin-top: 1.25rem; }

/* ===== Category quick-nav ===== */
.catnav {
  position: sticky;
  top: 49px; /* under the topbar */
  z-index: 40;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.6rem 1.25rem;
  max-width: var(--max);
  margin-inline: auto;
  scrollbar-width: none;
}
.catnav::-webkit-scrollbar { display: none; }
.catnav a {
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.15s var(--ease);
}
.catnav a:hover { background: var(--paper); }

/* ===== Menu ===== */
.menu {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
}
.menu__section { padding-top: 2rem; scroll-margin-top: 100px; }
.menu__heading {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--ink);
}

.item {
  display: flex;
  gap: 1rem;
  align-items: stretch;
  justify-content: space-between;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.item:last-child { border-bottom: none; }
.item__text { flex: 1; min-width: 0; }
.item__flag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.25rem;
}
.item__name { font-size: 1.05rem; font-weight: 700; }
.item__desc {
  margin: 0.3rem 0 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 46ch;
}
.item__price { font-weight: 700; font-size: 0.98rem; }
.item__img {
  flex: 0 0 auto;
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--paper);
}

/* ===== Location ===== */
.location {
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.location__info {
  padding: 2.5rem clamp(1.25rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.location__info h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.75rem; }
.location__addr { margin: 0 0 1.25rem; font-size: 1.05rem; }
.hours { border-collapse: collapse; width: 100%; max-width: 320px; }
.hours td {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.hours td:last-child { text-align: right; color: var(--muted); }
.location__map { min-height: 320px; }
.location__map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

/* ===== Footer ===== */
.foot {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 2.5rem 1.25rem;
}
.foot__name { font-weight: 800; font-size: 1.2rem; margin: 0 0 0.4rem; }
.foot__line { margin: 0 0 1.25rem; color: rgba(255, 255, 255, 0.7); font-size: 0.92rem; }
.foot__credit {
  display: inline-block;
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  padding: 0.5rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  transition: background 0.15s var(--ease);
}
.foot__credit:hover { background: rgba(255, 255, 255, 0.12); }

/* ===== Floating WhatsApp ===== */
.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  transition: filter 0.15s var(--ease), transform 0.15s var(--ease);
}
.wa-float:hover { filter: brightness(1.05); transform: translateY(-3px); }
.wa-float svg { width: 30px; height: 30px; }

/* ===== Responsive ===== */
@media (max-width: 680px) {
  .location { grid-template-columns: 1fr; }
  .location__map { order: 2; }
  .info { gap: 1rem; }
  .info__actions { width: 100%; }
  .order-btn { flex: 1 1 100%; text-align: center; }
  .item__img { width: 88px; height: 88px; }
}
