/* ==========================================================================
   theme.css — Bodegón Lamparita (demo)
   Oscuro y cálido: madera, crema y mostaza, con rojo ladrillo de acento.
   Playfair Display en títulos, Inter en el cuerpo. Fotos grandes de comida.
   ========================================================================== */

:root {
  --color-brand: #e0a33c;
  --color-accent: #d9643f;
  --color-bg: #1c1410;
  --color-surface: #261b15;
  --color-text: #f3e9dc;
  --color-muted: #c2b2a0;
  --color-border: rgba(243, 233, 220, 0.14);
  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius: 10px;
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  --container: 1120px;
}

html {
  color-scheme: dark;
}

.btn {
  color: #1c1410;
  font-weight: 700;
}

.btn-ghost {
  color: var(--color-text);
  border-color: rgba(243, 233, 220, 0.6);
}

.btn-ghost:hover {
  background: rgba(243, 233, 220, 0.1);
}

.btn:focus-visible,
.nav a:focus-visible,
.faq summary:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 3px;
}

/* ---- Nav ---- */
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-brand);
}

.nav-logo span {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-left: 0.2rem;
}

.nav-links .btn {
  padding: 0.55rem 1.2rem;
  font-size: 0.9rem;
}

.nav-links a.btn,
.nav-links a.btn:hover {
  color: #1c1410;
}

/* ---- Hero con foto ---- */
.hero {
  padding-top: calc(var(--demo-bar, 0px) + 6rem);
  padding-bottom: 4rem;
  background:
    linear-gradient(90deg, rgba(20, 13, 9, 0.92) 0%, rgba(20, 13, 9, 0.7) 50%, rgba(20, 13, 9, 0.25) 100%),
    url("assets/hero.webp") center / cover no-repeat;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.8vw, 4.2rem);
  max-width: 15ch;
}

.hero p {
  color: #e2d5c4;
}

@media (max-width: 850px) {
  .hero {
    min-height: 88svh;
    background:
      linear-gradient(180deg, rgba(20, 13, 9, 0.75) 0%, rgba(20, 13, 9, 0.9) 100%),
      url("assets/hero.webp") center / cover no-repeat;
  }
}

/* ---- Carta ---- */
.dishes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.dishes img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.dishes figcaption {
  margin-top: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-text);
}

.menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 4rem;
}

.menu-group h3 {
  font-size: 1.5rem;
  color: var(--color-brand);
  padding-bottom: 0.6rem;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid var(--color-border);
}

.menu-group li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.55rem 0;
}

/* Puntos guía entre el plato y el precio */
.menu-group li span {
  display: flex;
  flex: 1;
  align-items: baseline;
  gap: 0.6rem;
}

.menu-group li span::after {
  content: "";
  flex: 1;
  border-bottom: 1px dotted rgba(243, 233, 220, 0.35);
}

.menu-group b {
  white-space: nowrap;
  color: var(--color-text);
}

.menu-note {
  margin-top: 0.4rem;
  font-size: 0.88rem;
}

@media (max-width: 850px) {
  .dishes {
    grid-template-columns: 1fr;
  }

  .menu {
    grid-template-columns: 1fr;
  }
}

/* ---- El lugar ---- */
.warm {
  background: #241811;
}

.place {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.place img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (max-width: 850px) {
  .place {
    grid-template-columns: 1fr;
  }
}

/* ---- Horarios ---- */
.hours {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.hours-card {
  padding: 1.8rem 1.6rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.hours-card i {
  font-size: 1.3rem;
  color: var(--color-brand);
  margin-bottom: 0.8rem;
}

.hours-card h3 {
  margin-bottom: 0.4rem;
}

.hours-card strong {
  color: var(--color-text);
}

@media (max-width: 850px) {
  .hours {
    grid-template-columns: 1fr;
  }
}

/* ---- Preguntas ---- */
.narrow {
  --container: 760px;
}

.faq details {
  border-bottom: 1px solid var(--color-border);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
  font-weight: 600;
  color: var(--color-text);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--color-brand);
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  padding-bottom: 1.2rem;
}

/* ---- Reservas ---- */
.cta {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 4rem);
  border-radius: calc(var(--radius) * 1.5);
  border: 1px solid rgba(224, 163, 60, 0.35);
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(224, 163, 60, 0.18), transparent 70%),
    var(--color-surface);
}

.cta p {
  max-width: 48ch;
  margin: 0 auto 1.8rem;
}

/* ---- Footer ---- */
.footer {
  padding-bottom: 6rem;
}
