/* Wolf Burgers — Hamburguesas (9 de Julio 1506, Bahía Blanca)
   Identidad de fuego ahumado y acero oscuro / basalto.
   Paleta: carbón basalto (#0f1115), cobre fuego (#c2410c), detalles en blanco humo (#f8fafc).
   Tipografía: Sora (títulos potentes) + Work Sans (lectura moderna y ágil). */

:root {
  --fondo: #0f1115;
  --fondo-seccion: #14171d;
  --tarjeta: #1a1d24;
  --tarjeta-hover: #222630;
  --borde: #2d333f;
  --primario: #c2410c;
  --primario-hover: #9a3412;
  --primario-claro: #ea580c;
  --primario-suave: rgba(194, 65, 12, 0.15);
  --estrella: #f59e0b;
  --texto: #f8fafc;
  --texto-suave: #94a3b8;
  --texto-oscuro: #ffffff;
  --enlace: #fb923c;
  --enlace-hover: #fdba74;
  --sombra: 0 10px 28px rgba(0, 0, 0, 0.55);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 74px;
}

body {
  margin: 0;
  background-color: var(--fondo);
  color: var(--texto);
  font-family: 'Work Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Regla obligatoria: hidden prevalece sobre todo */
[hidden] {
  display: none !important;
}

/* Tipografías de encabezados */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', sans-serif;
  color: var(--texto);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 0;
}

/* Enlaces siempre estilizados con la paleta de la app */
a {
  color: var(--enlace);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover, a:focus-visible {
  color: var(--enlace-hover);
  text-decoration: underline;
}

.enlace-accion {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--enlace);
}

.enlace-accion:hover {
  color: var(--enlace-hover);
  text-decoration: underline;
}

/* Textos chicos que no sean botones (regla dura obligatoria) */
.chico:not(.btn) {
  font-size: 0.875rem;
  color: var(--texto-suave);
}

/* Botones con contraste medido: texto #ffffff sobre #c2410c da 5.18:1 (superior a 4.5:1) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none !important;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease, border-color 0.2s ease, color 0.2s ease;
  line-height: 1.2;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primario {
  background-color: var(--primario);
  color: #ffffff;
}

.btn-primario:hover, .btn-primario:focus-visible {
  background-color: var(--primario-hover);
  color: #ffffff;
}

.btn-borde {
  background-color: transparent;
  color: var(--texto);
  border: 2px solid var(--primario);
}

.btn-borde:hover, .btn-borde:focus-visible {
  background-color: var(--primario);
  color: #ffffff;
}

.btn-grande {
  padding: 0.95rem 1.8rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.btn.chico {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

/* Barra superior fija */
#barra {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background-color: rgba(15, 17, 21, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--borde);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  z-index: 1000;
}

.barra-marca {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.barra-logo {
  font-family: 'Sora', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--texto);
}

.barra-rubro {
  font-size: 0.8rem;
  color: var(--texto-suave);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

@media (max-width: 480px) {
  .barra-rubro {
    display: none;
  }
}

/* Portada */
#portada {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: calc(64px + 3rem) 1.25rem 4rem 1.25rem;
}

.filtro-oscuro {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 17, 21, 0.78) 0%, rgba(15, 17, 21, 0.92) 100%);
}

.portada-contenido {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.kicker {
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--enlace);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.portada-contenido h2 {
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem 0;
  color: #ffffff;
}

.bajada {
  font-size: clamp(1.15rem, 3vw, 1.4rem);
  color: #e2e8f0;
  margin: 0 0 1.25rem 0;
  font-weight: 500;
}

.calificacion {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background-color: rgba(26, 29, 36, 0.9);
  border: 1px solid var(--borde);
  border-radius: 30px;
  padding: 0.45rem 1rem;
  margin-bottom: 1.8rem;
}

.estrella {
  color: var(--estrella);
  font-size: 1.1rem;
}

.rating-valor {
  font-weight: 700;
  color: #ffffff;
}

.sep {
  color: var(--texto-suave);
  opacity: 0.6;
}

.valoraciones-texto {
  font-size: 0.9rem;
  color: var(--texto-suave);
}

.portada-acciones {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Secciones generales */
.seccion {
  padding: 4.5rem 1.25rem;
}

.seccion-tarjetas {
  background-color: var(--fondo-seccion);
}

.contenedor {
  max-width: 1040px;
  margin: 0 auto;
}

.contenedor.centro {
  text-align: center;
}

.encabezado-seccion {
  margin-bottom: 2.2rem;
}

.encabezado-seccion.centro {
  text-align: center;
}

.subtitulo {
  font-family: 'Sora', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--enlace);
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  margin-bottom: 0.4rem;
}

.encabezado-seccion h3 {
  font-size: clamp(1.75rem, 4vw, 2.3rem);
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.aclaracion-galeria {
  font-size: 0.95rem;
  color: var(--texto-suave);
  margin: 0;
}

/* Grilla de información */
.grilla-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.tarjeta-info {
  background-color: var(--tarjeta);
  border: 1px solid var(--borde);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.tarjeta-info:hover {
  transform: translateY(-2px);
  border-color: rgba(194, 65, 12, 0.4);
  background-color: var(--tarjeta-hover);
}

.icono-info {
  font-size: 1.6rem;
  line-height: 1;
  color: var(--primario-claro);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.info-texto {
  flex: 1;
}

.info-texto strong {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 1.05rem;
  color: var(--texto);
  margin-bottom: 0.3rem;
}

.info-texto p {
  margin: 0;
  color: var(--texto-suave);
  font-size: 0.95rem;
  line-height: 1.45;
}

.bloque-horarios {
  background-color: var(--tarjeta);
  border: 1px solid var(--borde);
  border-left: 4px solid var(--primario);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
}

.bloque-horarios h4 {
  font-size: 1.05rem;
  margin: 0 0 0.35rem 0;
}

.nota-horarios {
  margin: 0;
  color: var(--texto-suave);
  font-size: 0.95rem;
}

/* Galería de fotos */
.grilla-fotos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.foto {
  position: relative;
  aspect-ratio: 4 / 3;
  border: none;
  padding: 0;
  background-color: var(--tarjeta);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.foto:hover, .foto:focus-visible {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.foto:hover img {
  transform: scale(1.05);
}

/* Ubicación */
.direccion-destacada {
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  font-weight: 600;
  color: var(--texto);
  margin: 0 0 1.8rem 0;
}

.acciones-ubicacion {
  display: flex;
  justify-content: center;
}

/* Sección Instalar */
.seccion.instalar {
  background: linear-gradient(180deg, var(--fondo-seccion) 0%, var(--fondo) 100%);
  border-top: 1px solid var(--borde);
}

#icono-app {
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  margin-bottom: 1.25rem;
}

.instalar h3 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin-bottom: 0.75rem;
}

.instalar p {
  max-width: 520px;
  margin: 0 auto 1.75rem auto;
  color: var(--texto-suave);
  line-height: 1.5;
}

.instalar-ayuda {
  margin-top: 1.25rem !important;
  padding: 0.9rem 1.25rem;
  background-color: var(--tarjeta);
  border: 1px solid var(--borde);
  border-radius: 8px;
  display: inline-block;
  color: var(--texto) !important;
}

/* Pie de página */
#pie {
  background-color: #090a0d;
  border-top: 1px solid var(--borde);
  padding: 3rem 1.25rem 2.5rem 1.25rem;
}

.pie-contenido {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.pie-info h4 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.pie-info p {
  margin: 0 0 0.35rem 0;
  color: var(--texto-suave);
  font-size: 0.92rem;
}

.pie-rubro {
  color: var(--texto) !important;
  font-weight: 500;
}

.pie-legal {
  text-align: right;
}

.pie-legal p {
  margin: 0 0 0.35rem 0;
}

@media (max-width: 640px) {
  .pie-legal {
    text-align: left;
  }
}

/* Visor modal para fotos */
.visor {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.visor.abierto {
  display: flex;
  opacity: 1;
}

.visor img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8);
}

.visor-pie {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--texto);
  font-size: 0.95rem;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.visor-cerrar {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: rgba(26, 29, 36, 0.7);
  border: 1px solid var(--borde);
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.visor-cerrar:hover {
  background-color: var(--primario);
  transform: scale(1.05);
}

/* Aviso flotante de instalación */
.aviso-instalar {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  max-width: 460px;
  margin: 0 auto;
  background-color: var(--tarjeta);
  border: 1px solid var(--borde);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  z-index: 1500;
  animation: deslizarArriba 0.3s ease-out;
}

@keyframes deslizarArriba {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.aviso-instalar img {
  border-radius: 10px;
  flex-shrink: 0;
}

.aviso-cuerpo {
  flex: 1;
  min-width: 0;
}

.aviso-titulo {
  font-family: 'Sora', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0 0 0.15rem 0;
  color: var(--texto);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.aviso-sub {
  margin: 0;
  line-height: 1.3;
}

.aviso-cerrar {
  background: transparent;
  border: none;
  color: var(--texto-suave);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  line-height: 1;
  transition: color 0.2s ease;
}

.aviso-cerrar:hover {
  color: var(--texto);
}
