/* ==========================================================================
   RESTAURANTE LA MURALLA — HOJA DE ESTILOS (demo)
   Mobile-first. Sin frameworks. Editable por variables CSS (:root).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES DE MARCA — EDITAR AQUÍ para adaptar la plantilla a otro
   restaurante (colores, tipografías, radios).
   -------------------------------------------------------------------------- */
:root {
  /* Paleta */
  --color-fondo: #F7F1E8;
  --color-fondo-alterno: #EFE6D6;
  --color-texto: #2B211A;
  --color-texto-suave: #5A4C3F;
  --color-acento: #B15E3B;       /* terracota — botones y CTAs principales */
  --color-acento-oscuro: #8F4A2D;
  --color-verde: #6B7A4F;        /* verde oliva — acentos secundarios */
  --color-granate: #5C2A2A;      /* fondos oscuros, CTA final */
  --color-dorado: #C6A45C;       /* detalles finos */
  --color-blanco: #FFFFFF;

  /* Tipografía */
  --fuente-titulares: "Fraunces", Georgia, serif;
  --fuente-texto: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --ancho-maximo: 1180px;
  --radio: 10px;
  --radio-pequeno: 6px;
  --sombra: 0 12px 30px -12px rgba(43, 33, 26, 0.25);

  /* Altura de la cabecera (usada para el scroll-margin de las secciones) */
  --alto-cabecera: 68px;
  --alto-barra-movil: 62px;
}

/* --------------------------------------------------------------------------
   2. RESET BÁSICO
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--color-fondo);
  color: var(--color-texto);
  font-family: var(--fuente-texto);
  line-height: 1.6;
  font-size: 16px;
  /* Espacio para que la barra fija móvil no tape el contenido/footer */
  padding-bottom: var(--alto-barra-movil);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
h1, h2, h3, h4 { font-family: var(--fuente-titulares); font-weight: 600; line-height: 1.2; margin: 0 0 0.5em; color: var(--color-texto); }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: none;
  border: none;
  margin: 0;
  text-align: inherit;
}

/* Utilidad: neutraliza por completo el aspecto nativo de <button> para que
   pueda imitar visualmente a un enlace de texto (usado en cabecera y pie). */
.reiniciar-boton {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: inherit;
  display: inline-flex;
  align-items: center;
}

/* Foco visible accesible en toda la web */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--color-dorado);
  outline-offset: 2px;
  border-radius: 4px;
}

.visualmente-oculto {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.salto-contenido {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-acento);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 var(--radio-pequeno) 0;
}
.salto-contenido:focus {
  left: 0;
}

.contenedor {
  max-width: var(--ancho-maximo);
  margin: 0 auto;
  padding: 0 20px;
}

section[id] {
  scroll-margin-top: var(--alto-cabecera);
}

/* --------------------------------------------------------------------------
   3. AVISO DE DEMOSTRACIÓN
   -------------------------------------------------------------------------- */
.aviso-demo {
  background: var(--color-granate);
  color: #F3E9DC;
  text-align: center;
  font-size: 0.8rem;
  padding: 7px 16px;
  letter-spacing: 0.01em;
}

/* --------------------------------------------------------------------------
   4. CABECERA
   -------------------------------------------------------------------------- */
.cabecera {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 241, 232, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cabecera.cabecera--scroll {
  background: rgba(247, 241, 232, 0.97);
  box-shadow: 0 4px 18px -8px rgba(43, 33, 26, 0.2);
  border-bottom-color: rgba(43, 33, 26, 0.08);
}

.cabecera__interior {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--alto-cabecera);
  gap: 12px;
}

.cabecera__logo {
  font-family: var(--fuente-titulares);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-acento-oscuro);
  white-space: nowrap;
}

.nav-principal { display: none; }
.nav-principal__lista {
  display: flex;
  gap: 28px;
}
.nav-principal__lista a {
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.nav-principal__lista a:hover,
.nav-principal__lista a:focus-visible {
  border-bottom-color: var(--color-acento);
  color: var(--color-acento-oscuro);
}

.cabecera__acciones { display: none; }

.enlace-telefono {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-texto);
}

.boton-hamburguesa {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  padding: 8px;
}
.boton-hamburguesa__linea {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-texto);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.boton-hamburguesa[aria-expanded="true"] .boton-hamburguesa__linea:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.boton-hamburguesa[aria-expanded="true"] .boton-hamburguesa__linea:nth-child(2) {
  opacity: 0;
}
.boton-hamburguesa[aria-expanded="true"] .boton-hamburguesa__linea:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-movil {
  background: var(--color-fondo);
  border-top: 1px solid rgba(43,33,26,0.08);
  padding: 20px;
}
.menu-movil ul { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; }
.menu-movil a {
  display: block;
  padding: 12px 4px;
  font-size: 1.05rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(43,33,26,0.08);
}
.menu-movil__acciones {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.menu-movil__acciones .boton { width: 100%; text-align: center; }

/* --------------------------------------------------------------------------
   5. BOTONES
   -------------------------------------------------------------------------- */
.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radio-pequeno);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.1;
  transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  border: 2px solid transparent;
}
.boton:hover { transform: translateY(-1px); }

.boton--principal {
  background: var(--color-acento);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(177, 94, 59, 0.6);
}
.boton--principal:hover { background: var(--color-acento-oscuro); }

.boton--contorno {
  background: transparent;
  border-color: var(--color-acento);
  color: var(--color-acento-oscuro);
}
.boton--contorno:hover { background: rgba(177, 94, 59, 0.08); }

.boton--contorno-claro {
  background: transparent;
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}
.boton--contorno-claro:hover { background: rgba(255,255,255,0.12); }

.boton--pequeno { padding: 9px 18px; font-size: 0.85rem; }

/* --------------------------------------------------------------------------
   6. ICONOS (SVG en línea vía background para no depender de librerías)
   -------------------------------------------------------------------------- */
.icono {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
}
.icono-telefono {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B211A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/></svg>");
}
.icono-whatsapp {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFFFFF'><path d='M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.45 1.32 4.95L2.05 22l5.32-1.39a9.9 9.9 0 0 0 4.67 1.19h.01c5.46 0 9.9-4.45 9.9-9.9C21.95 6.45 17.5 2 12.04 2zm0 18.02h-.01a8.1 8.1 0 0 1-4.14-1.13l-.3-.18-3.1.81.83-3.02-.2-.31a8.13 8.13 0 0 1-1.25-4.33c0-4.5 3.67-8.16 8.18-8.16 2.18 0 4.23.85 5.77 2.4a8.1 8.1 0 0 1 2.39 5.77c0 4.51-3.67 8.15-8.17 8.15zm4.48-6.12c-.24-.12-1.45-.71-1.67-.8-.22-.08-.39-.12-.55.13-.16.24-.63.79-.77.96-.14.16-.28.18-.53.06-.24-.12-1.03-.38-1.96-1.21-.72-.64-1.21-1.44-1.35-1.68-.14-.24-.01-.37.11-.49.11-.11.24-.28.36-.42.12-.14.16-.24.24-.4.08-.16.04-.3-.02-.42-.06-.12-.55-1.33-.76-1.82-.2-.48-.4-.41-.55-.42-.14-.01-.3-.01-.46-.01-.16 0-.42.06-.64.3-.22.24-.84.82-.84 2s.86 2.32.98 2.48c.12.16 1.7 2.6 4.12 3.64.58.25 1.03.4 1.38.51.58.18 1.11.16 1.53.1.47-.07 1.45-.59 1.65-1.16.2-.57.2-1.06.14-1.16-.06-.1-.22-.16-.46-.28z'/></svg>");
}
.icono-hoja {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7A4F' stroke-width='1.8'><path d='M11 20A7 7 0 0 1 4 13V6a1 1 0 0 1 1-1h6a7 7 0 0 1 7 7v1a7 7 0 0 1-7 7z'/><path d='M4 12h9'/></svg>");
}
.icono-vista {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7A4F' stroke-width='1.8'><path d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7z'/><circle cx='12' cy='12' r='3'/></svg>");
}
.icono-familia {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7A4F' stroke-width='1.8'><circle cx='9' cy='7' r='3'/><circle cx='17' cy='9' r='2.3'/><path d='M2 21v-1a6 6 0 0 1 6-6h2a6 6 0 0 1 6 6v1'/><path d='M15 14.2A4.2 4.2 0 0 1 19 18v1'/></svg>");
}
.icono-ubicacion {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7A4F' stroke-width='1.8'><path d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z'/><circle cx='12' cy='10' r='3'/></svg>");
}
.icono-ubicacion-grande {
  width: 42px; height: 42px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B15E3B' stroke-width='1.6'><path d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z'/><circle cx='12' cy='10' r='3'/></svg>");
  margin: 0 auto 10px;
}

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__imagen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero__capa {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43,33,26,0.15) 0%, rgba(43,33,26,0.35) 55%, rgba(43,33,26,0.82) 100%);
}
.hero__contenido {
  position: relative;
  color: #fff;
  padding-bottom: 56px;
  padding-top: 40px;
}
.hero__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-dorado);
  font-weight: 600;
  margin-bottom: 10px;
}
.hero__titulo {
  font-size: clamp(1.9rem, 6vw, 3.2rem);
  max-width: 16ch;
  margin-bottom: 14px;
  color: #fff;
}
.hero__subtitulo {
  font-size: 1.05rem;
  max-width: 40ch;
  color: #F3E9DC;
  margin-bottom: 26px;
}
.hero__acciones {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero__acciones .boton { width: 100%; }

.hero__flecha {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   8. FRANJA DE CONFIANZA
   -------------------------------------------------------------------------- */
.confianza {
  background: var(--color-fondo-alterno);
  padding: 32px 0;
}
.confianza__cuadricula {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 16px;
}
.confianza__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.confianza__item p {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-texto-suave);
}

/* --------------------------------------------------------------------------
   9. SECCIONES GENERALES
   -------------------------------------------------------------------------- */
.seccion { padding: 64px 0; }
.seccion__eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-verde);
  font-weight: 600;
  margin-bottom: 8px;
}
.seccion__titulo {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  margin-bottom: 24px;
}
.seccion__cta { margin-top: 32px; text-align: center; }

/* --------------------------------------------------------------------------
   10. PLATOS DESTACADOS
   -------------------------------------------------------------------------- */
.cuadricula-platos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.tarjeta-plato {
  background: var(--color-blanco);
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra);
}
.tarjeta-plato img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--color-fondo-alterno);
}
.tarjeta-plato__cuerpo { padding: 18px 20px 22px; }
.tarjeta-plato__cuerpo h3 { font-size: 1.15rem; margin-bottom: 6px; }
.tarjeta-plato__cuerpo p { font-size: 0.92rem; color: var(--color-texto-suave); margin-bottom: 10px; }
.tarjeta-plato__precio {
  display: inline-block;
  font-weight: 700;
  color: var(--color-acento-oscuro);
  font-size: 0.98rem;
}
.tarjeta-plato__precio em {
  display: block;
  font-style: normal;
  font-weight: 400;
  font-size: 0.72rem;
  color: var(--color-texto-suave);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   11. HISTORIA
   -------------------------------------------------------------------------- */
.historia { background: var(--color-fondo-alterno); }
.historia__cuadricula { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.historia__imagen img { border-radius: var(--radio); box-shadow: var(--sombra); aspect-ratio: 4/3; object-fit: cover; }
.historia__texto p { color: var(--color-texto-suave); }
.historia__cita {
  margin: 20px 0 0;
  padding: 16px 20px;
  border-left: 3px solid var(--color-acento);
  font-family: var(--fuente-titulares);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--color-acento-oscuro);
  background: rgba(177, 94, 59, 0.06);
  border-radius: 0 var(--radio-pequeno) var(--radio-pequeno) 0;
}

/* --------------------------------------------------------------------------
   12. MUESTRA DE CARTA
   -------------------------------------------------------------------------- */
.carta__aviso {
  font-size: 0.88rem;
  color: var(--color-texto-suave);
  font-style: italic;
  margin-bottom: 24px;
}
.carta__pestanas {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 20px;
  -webkit-overflow-scrolling: touch;
}
.carta__pestana {
  flex: 0 0 auto;
  background: var(--color-blanco);
  border: 1px solid rgba(43,33,26,0.12);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-texto-suave);
  white-space: nowrap;
}
.carta__pestana[aria-selected="true"] {
  background: var(--color-acento);
  border-color: var(--color-acento);
  color: #fff;
}
.carta__lista li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(43,33,26,0.15);
  font-size: 0.98rem;
}
.carta__lista li:last-child { border-bottom: none; }
.carta__linea {
  flex: 1;
  border-bottom: 1px dotted rgba(43,33,26,0.3);
  transform: translateY(-4px);
}
.carta__lista li span:first-child { color: var(--color-texto); font-weight: 500; }
.carta__lista li span:last-child { font-weight: 700; color: var(--color-acento-oscuro); }

/* --------------------------------------------------------------------------
   13. GALERÍA
   -------------------------------------------------------------------------- */
.cuadricula-galeria {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.cuadricula-galeria img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radio-pequeno);
}

/* --------------------------------------------------------------------------
   14. OPINIONES
   -------------------------------------------------------------------------- */
.opiniones { background: var(--color-fondo-alterno); }
.opiniones__aviso {
  background: rgba(92, 42, 42, 0.08);
  border: 1px solid rgba(92, 42, 42, 0.25);
  color: var(--color-granate);
  padding: 12px 16px;
  border-radius: var(--radio-pequeno);
  font-size: 0.88rem;
  margin-bottom: 28px;
}
.cuadricula-opiniones {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.tarjeta-opinion {
  background: var(--color-blanco);
  padding: 22px;
  border-radius: var(--radio);
  box-shadow: var(--sombra);
}
.tarjeta-opinion__estrellas {
  color: var(--color-dorado);
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.tarjeta-opinion p:not(.tarjeta-opinion__autor) {
  font-size: 0.95rem;
  color: var(--color-texto-suave);
  font-style: italic;
}
.tarjeta-opinion__autor {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-texto);
  margin: 0;
}

/* --------------------------------------------------------------------------
   15. EVENTOS (módulo opcional)
   -------------------------------------------------------------------------- */
.eventos { background: rgba(107, 122, 79, 0.1); }
.eventos__cuadricula { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.eventos__texto p { color: var(--color-texto-suave); }
.eventos__imagen img { border-radius: var(--radio); box-shadow: var(--sombra); aspect-ratio: 4/3; object-fit: cover; }

/* --------------------------------------------------------------------------
   16. UBICACIÓN
   -------------------------------------------------------------------------- */
.ubicacion__cuadricula { display: grid; grid-template-columns: 1fr; gap: 32px; }
.ubicacion__dato { margin-bottom: 16px; }
.ubicacion__subtitulo { margin-top: 28px; font-size: 1.1rem; }
.tabla-horario {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 0.92rem;
}
.tabla-horario th, .tabla-horario td {
  text-align: left;
  padding: 9px 0;
  border-bottom: 1px solid rgba(43,33,26,0.1);
  font-weight: 400;
}
.tabla-horario th { color: var(--color-texto-suave); font-weight: 500; }
.ubicacion__contacto-botones {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}
.ubicacion__email { margin-top: 14px; font-size: 0.92rem; }
.ubicacion__mapa-placeholder {
  background: var(--color-fondo-alterno);
  border: 1px dashed rgba(43,33,26,0.25);
  border-radius: var(--radio);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-texto-suave);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   17. CTA FINAL
   -------------------------------------------------------------------------- */
.cta-final {
  background: var(--color-granate);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.cta-final h2 { color: #fff; font-size: clamp(1.6rem, 5vw, 2.4rem); }
.cta-final p { color: #EADCCB; max-width: 46ch; margin: 0 auto 28px; }
.cta-final__botones {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 340px;
  margin: 0 auto;
}
.cta-final__botones .boton { width: 100%; }

/* --------------------------------------------------------------------------
   18. FOOTER
   -------------------------------------------------------------------------- */
.pie {
  background: #241B15;
  color: #D8CBB8;
  padding: 48px 0 0;
}
.pie__cuadricula {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 32px;
}
.pie h3 { color: #F3E9DC; font-size: 0.95rem; font-family: var(--fuente-texto); font-weight: 700; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.pie__logo { font-family: var(--fuente-titulares); font-size: 1.3rem; color: #F3E9DC; margin-bottom: 10px; }
.pie a:hover { color: var(--color-dorado); }
.pie p { font-size: 0.9rem; margin-bottom: 8px; }

/* Botones que sustituyen temporalmente a los enlaces de contacto, redes
   sociales y páginas legales mientras los datos sean ficticios. */
.pie__enlace {
  font-size: 0.9rem;
  color: #D8CBB8;
  transition: color 0.2s ease;
}
.pie__enlace:hover,
.pie__enlace:focus-visible { color: var(--color-dorado); }

.pie__redes { display: flex; gap: 14px; margin-bottom: 20px; }
.pie__legal-titulo { margin-top: 20px; }
.pie__inferior {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 20px;
  font-size: 0.78rem;
  text-align: center;
  color: #9C8E7B;
}

/* --------------------------------------------------------------------------
   18-B. AVISO FLOTANTE (toast) — sustituye a los enlaces de contacto reales
   -------------------------------------------------------------------------- */
.aviso-flotante {
  position: fixed;
  left: 50%;
  bottom: calc(var(--alto-barra-movil) + 16px);
  transform: translate(-50%, 12px);
  max-width: min(90vw, 380px);
  background: var(--color-granate);
  color: #F8F1E4;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 12px 18px;
  border-radius: var(--radio-pequeno);
  box-shadow: var(--sombra);
  z-index: 200;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.aviso-flotante.aviso-flotante--visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (min-width: 900px) {
  .aviso-flotante { bottom: 28px; }
}

/* --------------------------------------------------------------------------
   19. BARRA FIJA INFERIOR (MÓVIL)
   -------------------------------------------------------------------------- */
.barra-movil {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: var(--alto-barra-movil);
  box-shadow: 0 -6px 20px -8px rgba(43,33,26,0.35);
}
.barra-movil__boton {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.88rem;
}
.barra-movil__boton .icono-telefono {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/></svg>");
}
.barra-movil__boton--llamar {
  background: var(--color-granate);
  color: #fff;
}
.barra-movil__boton--whatsapp {
  background: #25D366;
  color: #fff;
}

/* Ocultar la barra móvil en pantallas grandes; en su lugar se usa la cabecera */
@media (min-width: 900px) {
  .barra-movil { display: none; }
  body { padding-bottom: 0; }
}

/* --------------------------------------------------------------------------
   20. RESPONSIVE — TABLET (>= 640px)
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
  .confianza__cuadricula { grid-template-columns: repeat(4, 1fr); }
  .cuadricula-platos { grid-template-columns: repeat(2, 1fr); }
  .cuadricula-galeria { grid-template-columns: repeat(3, 1fr); }
  .cuadricula-opiniones { grid-template-columns: repeat(2, 1fr); }
  .hero__acciones { flex-direction: row; }
  .hero__acciones .boton { width: auto; }
  .cta-final__botones { flex-direction: row; max-width: none; justify-content: center; }
  .cta-final__botones .boton { width: auto; }
  .ubicacion__contacto-botones { flex-direction: row; }
}

/* --------------------------------------------------------------------------
   21. RESPONSIVE — ORDENADOR (>= 900px)
   -------------------------------------------------------------------------- */
@media (min-width: 900px) {
  .nav-principal { display: block; }
  .cabecera__acciones { display: flex; align-items: center; gap: 18px; }
  .boton-hamburguesa { display: none; }
  .menu-movil { display: none !important; }

  .hero { min-height: 82vh; }
  .hero__contenido { padding-bottom: 90px; }

  .cuadricula-platos { grid-template-columns: repeat(3, 1fr); }
  .cuadricula-galeria { grid-template-columns: repeat(3, 1fr); }
  .cuadricula-opiniones { grid-template-columns: repeat(3, 1fr); }

  .historia__cuadricula { grid-template-columns: 1fr 1fr; }
  .historia__texto { order: 2; }
  .historia__imagen { order: 1; }

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

  .ubicacion__cuadricula { grid-template-columns: 1.1fr 0.9fr; }
  .ubicacion__mapa-placeholder { min-height: 100%; }

  .pie__cuadricula { grid-template-columns: repeat(4, 1fr); }

  .seccion { padding: 88px 0; }
}

@media (min-width: 1100px) {
  .hero__titulo { max-width: 20ch; }
}
