/* Mac's Asados al Barril — index.html */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  padding: var(--space-8) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-black);
}
.hero-video { overflow: hidden; }
@media (max-width: 560px) {
  .hero { padding: var(--space-6) 0 var(--space-7); }
  .hero-scroll { display: none; }
}
.hero-video, .hero-video video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,16,13,0.72) 0%, rgba(20,16,13,0.4) 40%, rgba(20,16,13,0.9) 100%);
}
.hero-content { position: relative; z-index: 3; color: var(--color-white); padding: 0 var(--space-5); max-width: 760px; display: flex; flex-direction: column; align-items: center; }
.hero-logo {
  width: min(340px, 62vw);
  margin-bottom: var(--space-5);
  filter: drop-shadow(0 8px 30px rgba(0,0,0,0.5)) drop-shadow(0 0 22px rgba(245,166,35,0.5)) drop-shadow(0 0 44px rgba(245,166,35,0.25));
}
.hero-content .hero-eyebrow { font-family: var(--font-display); letter-spacing: 0.22em; font-size: var(--fs-sm); color: var(--color-orange-light); text-shadow: 0 0 10px rgba(245,166,35,0.6); margin-bottom: var(--space-3); }
.hero-content h1 { font-family: var(--font-script); font-weight: 400; font-size: clamp(2.4rem, 7vw, var(--fs-4xl)); margin-bottom: var(--space-3); line-height: 1.05; }
.hero-content .hero-subtitle { font-family: var(--font-voice); font-weight: 500; font-size: var(--fs-lg); color: rgba(251,243,230,0.92); max-width: 44ch; margin: 0 auto var(--space-7); }
.hero-actions { display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: var(--space-6); left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: var(--space-2);
  color: rgba(251,243,230,0.75); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.1em;
  animation: bob 2.2s ease-in-out infinite;
}
.hero-scroll svg { width: 20px; height: 20px; }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- Story / Nosotros ---------- */
.story {
  position: relative;
  padding: var(--space-9) 0;
  color: var(--color-white);
  text-align: center;
}
.story-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.story-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,13,0.82), rgba(20,16,13,0.93)); }
.story .container { position: relative; z-index: 2; max-width: 760px; }
.story .section-eyebrow { justify-content: center; }
.story .section-eyebrow::before { display: none; }
.story h2 { color: var(--color-white); margin-bottom: var(--space-5); }
.story p { color: rgba(251,243,230,0.88); font-size: var(--fs-md); line-height: 1.7; }
.story-badges { display: flex; gap: var(--space-6); justify-content: center; flex-wrap: wrap; margin-top: var(--space-7); }
.story-badge { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); }
.story-badge svg { width: 30px; height: 30px; color: var(--color-orange); }
.story-badge span { font-family: var(--font-display); letter-spacing: 0.06em; font-size: var(--fs-sm); color: rgba(251,243,230,0.85); }

/* ---------- Menu teaser ---------- */
.menu-teaser { padding: var(--space-9) 0; background: var(--color-cream); }
.teaser-head { text-align: center; max-width: 640px; margin: 0 auto var(--space-7); }
.teaser-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
@media (max-width: 980px) { .teaser-grid { grid-template-columns: 1fr 1fr; } }

.teaser-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  box-shadow: var(--shadow-sm);
  background: var(--color-charcoal);
}
.teaser-card img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-base); }
.teaser-card:hover img { transform: scale(1.08); }
.teaser-card-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,13,0) 35%, rgba(20,16,13,0.92) 100%); }
.teaser-card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--space-5); color: var(--color-white); }
.teaser-card-body h3 { font-family: var(--font-display); font-size: var(--fs-lg); letter-spacing: 0.03em; margin-bottom: var(--space-2); }
.teaser-card-cta { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-orange-light); }
.teaser-card-cta svg { width: 14px; height: 14px; transition: transform var(--transition-fast); }
.teaser-card:hover .teaser-card-cta svg { transform: translateX(4px); }

.teaser-mobile-cta { display: none; margin: var(--space-6) auto 0; color: var(--color-text-dark); }

/* En mobile las 4 fotos pasan a una cuadrícula 2x2 compacta (foto cuadrada +
   etiqueta debajo) en vez de 4 tarjetas altas apiladas, para que quepan sin
   tener que hacer tanto scroll. */
@media (max-width: 560px) {
  .teaser-grid { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .teaser-card {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    background: var(--color-white);
    border: 1px solid rgba(122, 107, 91, 0.18);
    border-radius: var(--radius-lg);
    padding: var(--space-2);
    box-shadow: var(--shadow-sm);
  }
  .teaser-card img { aspect-ratio: 1 / 1; height: auto; border-radius: var(--radius-md); }
  .teaser-card-scrim { display: none; }
  .teaser-card-body { position: static; padding: 0 var(--space-1) var(--space-1); color: var(--color-text-dark); }
  .teaser-card-body h3 {
    font-size: var(--fs-xs);
    font-family: var(--font-voice);
    font-weight: 700;
    letter-spacing: normal;
    text-align: center;
    background: none;
    padding: 0;
    margin-bottom: 0;
  }
  .teaser-card-cta { display: none; }
  .teaser-mobile-cta { display: flex; }
}

/* ---------- Instagram / social ---------- */
.social-cta { padding: var(--space-8) 0; background: var(--color-cream-2); text-align: center; }
.social-cta .section-eyebrow { justify-content: center; }
.social-cta .section-eyebrow::before { display: none; }
.social-cta h2 { margin-bottom: var(--space-3); }
.social-cta p { color: var(--color-text-muted); max-width: 52ch; margin: 0 auto var(--space-6); }

/* ---------- Location ---------- */
.location { padding: var(--space-9) 0; background: var(--color-cream); }
.location-head { text-align: center; max-width: 620px; margin: 0 auto var(--space-7); }
.location-tabs { display: flex; justify-content: center; gap: var(--space-2); flex-wrap: wrap; margin-bottom: var(--space-6); }
.location-tab {
  background: var(--color-white); border: 1px solid rgba(122,107,91,0.25);
  padding: 0.65rem 1.3rem; border-radius: var(--radius-pill);
  font-family: var(--font-voice); font-size: var(--fs-sm); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--color-text-muted);
}
.location-tab.is-active { background: var(--color-orange-deep); border-color: var(--color-orange-deep); color: var(--color-white); }
.location-panels { position: relative; }
.location-panel { display: none; }
.location-panel.is-active { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: stretch; }
@media (max-width: 860px) { .location-panel.is-active { grid-template-columns: 1fr; } }
.location-info { background: var(--color-white); border-radius: var(--radius-lg); padding: var(--space-7); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.location-info h3 { font-family: var(--font-script); font-weight: 400; font-size: var(--fs-2xl); color: var(--color-orange-deep); margin-bottom: var(--space-5); }
.location-row { display: flex; gap: var(--space-4); margin-bottom: var(--space-5); }
.location-row svg { width: 20px; height: 20px; color: var(--color-orange); flex-shrink: 0; margin-top: 2px; }
.location-row h4 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-muted); margin-bottom: 4px; }
.location-row p { font-size: var(--fs-sm); }
.location-actions { margin-top: auto; display: flex; gap: var(--space-3); flex-wrap: wrap; }
.location-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); min-height: 320px; }
.location-map iframe { width: 100%; height: 100%; border: 0; min-height: 320px; }

/* ---------- CTA final ---------- */
.cta-final {
  position: relative;
  padding: var(--space-9) 0;
  background: var(--color-black);
  color: var(--color-white);
  text-align: center;
}
/* Tarjeta con la foto real del letrero de neón "Permitido chuparse los
   dedos": se mantiene en su propia proporción (no a todo el ancho) para que
   las dos líneas del neón se vean completas y sin recortar. La foto (el
   archivo) incluye harto ladrillo vacío debajo del texto; el recorte siempre
   ancla arriba (background-position: top) para que el escritorio muestre
   justo el texto + un margen, y el móvil pueda usar una tarjeta más alta
   (más abajo) sin tocar el recorte de escritorio. */
.cta-final-wrap { position: relative; }
.cta-final-card {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  aspect-ratio: 1035 / 760;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-size: cover;
  background-position: top center;
}
.cta-final-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  max-width: 760px; margin: 0 auto;
  padding: var(--space-6) var(--space-6) var(--space-7);
}
.cta-final-body p { max-width: 42ch; margin: 0 auto var(--space-5); color: rgba(251,243,230,0.95); font-size: var(--fs-md); text-shadow: 0 1px 6px rgba(0,0,0,0.6); }
/* La tarjeta llega a su ancho máximo (760px) recién cerca de los ~808px de
   viewport; por debajo de eso se va angostando y el texto queda muy pegado
   al "los dedos", así que esta versión más alta cubre todo ese rango, no
   solo celulares. */
@media (max-width: 820px) {
  /* Tarjeta más alta: dentro de la misma foto, revela más ladrillo vacío
     debajo del neón para que el texto quepa adentro sin taparlo, pero sin
     pasarse: justo lo necesario para el texto + botón, no más. */
  .cta-final-card { aspect-ratio: 1035 / 1100; }
  .cta-final-body { padding: var(--space-5) var(--space-5) var(--space-6); }
  .cta-final-body p { font-size: var(--fs-base); }
}
