/* Tema Noche — oscuro y elegante, con acento dorado. */

:root {
  --fondo:  #0b0f19;
  --papel:  #151b2b;
  --tinta:  #f1f5f9;
  --suave:  #94a3b8;
  --acento: #e2b979;
  --linea:  #253049;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 0 3rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  color: var(--tinta);
  background:
    radial-gradient(900px 420px at 50% -140px, #1c2438 0%, rgba(28,36,56,0) 72%),
    var(--fondo);
  -webkit-text-size-adjust: 100%;
}

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

/* --------------------------------------------- Pantalla de carga */

.splash {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fondo);
  transition: opacity .45s ease, visibility .45s;
}
.splash--fuera { opacity: 0; visibility: hidden; }
.splash__logo { max-width: 190px; max-height: 190px; animation: aparece .7s ease both; }
@keyframes aparece {
  from { opacity: 0; transform: scale(.94); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .splash, .splash__logo { transition: none; animation: none; }
}

.previsual {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: .55rem 1rem;
  background: var(--acento);
  color: #1b1206;
  font-size: .85rem;
  font-weight: 600;
  text-align: center;
}
.previsual a { margin-left: .6rem; color: #4a2f06; }

/* ------------------------------------------------------ Cabecera */

.c-cab {
  max-width: 680px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 2rem;
  text-align: center;
}
.c-cab__logo { max-width: 120px; max-height: 120px; margin: 0 auto 1.3rem; }
.c-cab__nombre {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 6vw, 2.7rem);
  font-weight: 400;
  letter-spacing: .01em;
}
.c-cab__lema {
  margin: .75rem 0 0;
  color: var(--acento);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}

/* -------------------------------------------------------- Índice */

.c-indice {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  gap: 1.4rem;
  overflow-x: auto;
  padding: .95rem 1.25rem;
  background: rgba(11,15,25,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linea);
  scrollbar-width: none;
}
.c-indice::-webkit-scrollbar { display: none; }
.c-indice a {
  flex: 0 0 auto;
  color: var(--suave);
  font-size: .78rem;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
}
.c-indice a:hover { color: var(--acento); }

/* -------------------------------------------------------- Cuerpo */

.c-cuerpo { max-width: 680px; margin: 0 auto; padding: 2rem 1.25rem 0; }

.c-seccion { margin-bottom: 3rem; scroll-margin-top: 4.5rem; }
.c-seccion__titulo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 .4rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--acento);
}
.c-seccion__titulo::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, var(--linea), transparent);
}
.c-seccion__desc { margin: 0 0 1.35rem; color: var(--suave); font-size: .9rem; font-style: italic; }

.c-lista { margin: 0; padding: 0; list-style: none; }

.c-plato {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--linea);
}
.c-plato:last-child { border-bottom: 0; }
.c-plato__foto {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 4px;
  object-fit: cover;
  filter: saturate(.92);
}
.c-plato__texto { flex: 1 1 auto; min-width: 0; }
.c-plato__nombre { margin: 0; font-size: 1.02rem; font-weight: 600; letter-spacing: .01em; }
.c-plato__desc { margin: .3rem 0 0; color: var(--suave); font-size: .88rem; }
.c-plato__precio {
  flex: 0 0 auto;
  color: var(--acento);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  white-space: nowrap;
}

/* ------------------------------------------------- Pie y vacíos */

.c-vacia { max-width: 680px; margin: 3rem auto; padding: 0 1.25rem; color: var(--suave); text-align: center; }

.c-pie {
  max-width: 680px;
  margin: 3.5rem auto 0;
  padding: 2rem 1.25rem 0;
  border-top: 1px solid var(--linea);
  color: var(--suave);
  font-size: .85rem;
  text-align: center;
}
.c-pie__wifi { margin: 0 0 .5rem; }
.c-pie__marca {
  margin: 0;
  color: var(--acento);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}
