:root {
  --ink: #2b1c12;
  --cream: #fbf3e7;
  --cream-2: #f1e4cf;
  --terracota: #b5401b;
  --terracota-osc: #8a3418;
  --verde-maguey: #4f5e3f;
  --linea: #e4d3b8;
  --gris: #7a6a58;
  --wa-verde: #25d366;
  --wa-verde-osc: #1da851;
  --blanco: #fff;
  --sombra: 0 8px 24px rgba(43,28,18,.12);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}
h1, h2, h3, .display {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--terracota-osc);
}
p { margin: 0 0 1em; }
img { max-width: 100%; display: block; }
a { color: var(--terracota); }
.contenedor { max-width: 1080px; margin: 0 auto; padding: 0 1.1rem; }
section { padding: 3rem 0; }
.seccion-alt { background: var(--cream-2); }

/* ── Header flotante ── */
.barra {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251,243,231,.92); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--linea);
}
.barra-int { display: flex; align-items: center; justify-content: space-between; padding: .7rem 1.1rem; max-width: 1080px; margin: 0 auto; }
.marca-word { font-family: "Fraunces", serif; font-weight: 700; font-size: 1.3rem; color: var(--terracota-osc); text-decoration: none; letter-spacing: .01em; }
.barra .btn-wa { padding: .5rem 1rem; font-size: .9rem; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex; align-items: flex-end;
  background-size: cover; background-position: center;
  color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43,28,18,.15) 0%, rgba(43,28,18,.55) 65%, rgba(43,28,18,.85) 100%);
}
.hero-contenido { position: relative; z-index: 1; padding: 2.4rem 1.1rem 2.6rem; width: 100%; max-width: 1080px; margin: 0 auto; }
.badge-horario {
  display: inline-block; background: var(--terracota); color: #fff;
  padding: .4rem .9rem; border-radius: 999px; font-weight: 700; font-size: .85rem;
  margin-bottom: 1rem; box-shadow: var(--sombra);
}
.hero h1 { color: #fff; font-size: 2.6rem; margin-bottom: .3rem; }
.hero .tagline { font-size: 1.15rem; color: #f6e9d8; max-width: 34em; margin-bottom: 1.4rem; }
.hero-ctas { display: flex; gap: .7rem; flex-wrap: wrap; }

/* ── Botones ── */
.btn { display: inline-flex; align-items: center; gap: .5rem; border-radius: 999px; padding: .8rem 1.5rem; font-weight: 700; text-decoration: none; border: none; cursor: pointer; font-size: 1rem; }
.btn-wa { background: var(--wa-verde); color: #fff; }
.btn-wa:hover { background: var(--wa-verde-osc); }
.btn-ghost { background: rgba(255,255,255,.15); color: #fff; border: 1.5px solid rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.28); }
.btn-terracota { background: var(--terracota); color: #fff; }
.btn-terracota:hover { background: var(--terracota-osc); }

/* ── Botón flotante WhatsApp ── */
.wa-flotante {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 30;
  background: var(--wa-verde); color: #fff; width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--sombra);
  text-decoration: none;
}
.wa-flotante:hover { background: var(--wa-verde-osc); }

/* ── Quiénes somos ── */
.nosotros-grid { display: grid; gap: 1.6rem; align-items: center; }
.nosotros-grid img { border-radius: 16px; box-shadow: var(--sombra); }
@media (min-width: 760px) {
  .nosotros-grid { grid-template-columns: 1fr 1.1fr; }
}

/* ── Galería ── */
.galeria-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.galeria-grid img { width: 100%; height: 220px; object-fit: cover; border-radius: 12px; box-shadow: var(--sombra); }
@media (min-width: 700px) { .galeria-grid { grid-template-columns: repeat(3, 1fr); } .galeria-grid img { height: 240px; } }

/* ── Menú ── */
.menu-cat { margin-bottom: 2rem; }
.menu-cat h3 { font-size: 1.3rem; border-bottom: 2px solid var(--terracota); display: inline-block; padding-bottom: .15em; }
.menu-item { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed var(--linea); }
.menu-item:last-child { border-bottom: none; }
.menu-item-nombre { font-weight: 700; }
.menu-item-desc { color: var(--gris); font-size: .92rem; margin-top: .1rem; }
.menu-item-precio { font-weight: 700; color: var(--terracota-osc); white-space: nowrap; }

/* ── Reseñas ── */
.resenas-grid { display: grid; gap: 1.2rem; }
@media (min-width: 700px) { .resenas-grid { grid-template-columns: 1fr 1fr; } }
.resena-card { background: var(--blanco); border-radius: 14px; padding: 1.3rem; box-shadow: var(--sombra); }
.resena-estrellas { color: #d99a1f; letter-spacing: .1em; margin-bottom: .5rem; }
.resena-texto { font-style: italic; color: var(--ink); }
.resena-autor { margin-top: .8rem; font-size: .85rem; color: var(--gris); font-weight: 700; }
.rating-resumen { display: flex; align-items: baseline; gap: .5rem; margin-bottom: 1.6rem; }
.rating-resumen .num { font-family: "Fraunces", serif; font-size: 2.2rem; font-weight: 700; color: var(--terracota-osc); }

/* ── Ubicación ── */
.ubicacion-grid { display: grid; gap: 1.6rem; }
@media (min-width: 760px) { .ubicacion-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.ubicacion-mapa { border-radius: 16px; overflow: hidden; box-shadow: var(--sombra); border: none; width: 100%; height: 320px; }
.horario-tabla { background: var(--blanco); border-radius: 14px; padding: 1.3rem; box-shadow: var(--sombra); }
.horario-tabla .grande { font-size: 1.15rem; font-weight: 700; color: var(--terracota-osc); }

/* ── Contacto ── */
.contacto-caja { background: var(--terracota); color: #fff; border-radius: 20px; padding: 2.2rem 1.6rem; text-align: center; }
.contacto-caja h2 { color: #fff; }
.contacto-caja .fila-social a { color: #fff; }

/* ── Redes sociales ── */
.fila-social { display: flex; gap: .8rem; margin-top: 1rem; flex-wrap: wrap; justify-content: center; }
.ico-social {
  width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(181,64,27,.1); color: var(--terracota-osc); text-decoration: none;
}
.contacto-caja .ico-social { background: rgba(255,255,255,.18); color: #fff; }
.ico-social:hover { background: rgba(181,64,27,.2); }

/* ── Footer ── */
footer { background: #241609; color: #d8c4ac; padding: 2.2rem 1.1rem 1.6rem; }
footer .contenedor { text-align: center; }
footer .fila-social { justify-content: center; }
footer .ico-social { background: rgba(255,255,255,.08); color: #d8c4ac; }
.footer-credito { font-size: .82rem; color: #a8937a; margin-top: 1.4rem; }
.footer-credito a { color: #d8c4ac; }

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero { min-height: 82vh; }
}
