/* ==========================================================================
   A La Chingada — styles.css
   ========================================================================== */

:root {
  --black: #0D0D0D;
  --black2: #1A1A1A;
  --red: #E4002B;
  --red-dark: #B5001F;
  --green: #39B54A;
  --green-dark: #2C8C39;
  --gold: #FFC72C;
  --white: #FFFFFF;
  --gray: #B8B8B4;

  --font-display: 'Bungee', sans-serif;
  --font-body: 'Poppins', sans-serif;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.35);
  --shadow-md: 0 6px 20px rgba(0,0,0,0.45);
  --shadow-lg: 0 12px 34px rgba(0,0,0,0.55);
}

* { box-sizing: border-box; }

html {
  overflow-x: hidden;
  width: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  width: 100%;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
}

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  font-weight: 400;
  margin: 0;
}

p, span, a, button, input, textarea, select, label {
  font-family: var(--font-body);
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-body); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 70px 0;
}

.section--alt {
  background: var(--black2);
}

.section-title {
  text-align: center;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  color: var(--gold);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 1rem;
}

.section-title .accent { color: var(--red); }
.section-title .accent-green { color: var(--green); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.4px;
  font-size: 0.95rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn--red {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn--red:hover { background: var(--red-dark); }

.btn--green {
  background: var(--green);
  color: var(--white);
}
.btn--green:hover { background: var(--green-dark); }

.btn--outline {
  background: rgba(255,255,255,0.06);
  border: 2px solid var(--white);
  color: var(--white);
}
.btn--outline:hover { background: rgba(255,255,255,0.16); }

.btn--whatsapp {
  background: #25D366;
  color: var(--white);
}
.btn--whatsapp:hover { background: #1DAE54; }

.btn--small { padding: 9px 18px; font-size: 0.8rem; }
.btn--block { width: 100%; }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 24px;
  border-bottom: 1px solid #262626;
  transition: box-shadow .25s ease, padding .25s ease;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  padding: 5px 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.nav-brand img {
  height: 46px;
  width: 46px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-brand span {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  color: var(--red);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  color: var(--white);
  font-size: 0.92rem;
  position: relative;
}

.nav-links a:hover { color: var(--green); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-pill {
  display: flex;
  border: 2px solid var(--green);
  border-radius: 50px;
  overflow: hidden;
}

.lang-pill button {
  border: none;
  background: transparent;
  padding: 5px 12px;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--white);
}

.lang-pill button.active {
  background: var(--green);
  color: var(--black);
}

.nav-call {
  background: var(--red);
  color: var(--white);
  padding: 9px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.nav-call:hover { background: var(--red-dark); }
.nav-call .call-text { white-space: nowrap; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span {
  width: 24px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.mobile-nav {
  position: fixed;
  top: 62px;
  left: 0; right: 0;
  background: var(--black2);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  padding: 16px 24px;
  gap: 14px;
  transform: translateY(-120%);
  transition: transform .3s ease;
  z-index: 999;
  max-height: calc(100vh - 62px);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a {
  font-weight: 600;
  font-size: 1.05rem;
  padding: 6px 0;
  border-bottom: 1px solid #2a2a2a;
  color: var(--white);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 20px 80px;
}

.hero-bg-parallax {
  /* Efecto parallax: esta capa se mueve más lento que el scroll (vía
     JS, transform translateY) dando sensación de profundidad. Se
     hace más alta que el hero (-12% arriba y abajo) para que nunca
     se vea un hueco al desplazarse. */
  position: absolute;
  top: -12%;
  left: 0;
  right: 0;
  height: 124%;
  background: url('img/hero.png') center/cover no-repeat;
  z-index: 0;
  will-change: transform;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(227,6,19,0) 45%, rgba(227,6,19,0.2) 100%),
    linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 740px;
}

.hero-logo {
  /* CORREGIDO: el cliente pidió reducir un 35% (390px -> 254px) tras
     ver el logo real de la marca en el hero, se veía muy grande. */
  width: 254px;
  height: 254px;
  object-fit: contain;
  animation: heartbeat 1.2s ease-in-out infinite;
}

@keyframes heartbeat {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.hero-title {
  color: var(--red);
  -webkit-text-stroke: 1.5px #fff;
  text-shadow:
    2px 2px 0 #000,
    -2px 2px 0 #000,
    2px -2px 0 #000,
    -2px -2px 0 #000;
  font-size: clamp(2rem, 7.5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: 1px;
}

.hero-tagline {
  color: var(--white);
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  opacity: 0.95;
  max-width: 560px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

.hero-actions .btn { font-size: clamp(0.9rem, 2.4vw, 1.05rem); padding: 16px 30px; }

@media (max-width: 600px) {
  .hero-logo { width: 185px; height: 185px; }
}

/* ==========================================================================
   Bestsellers slider
   ========================================================================== */
.bestsellers {
  padding: 60px 0 40px;
  background: var(--black);
}

.bestsellers-viewport {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.bestsellers-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: bsScroll 28s linear infinite;
}

.bestsellers-track:hover { animation-play-state: paused; }

@keyframes bsScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.bs-card {
  width: 190px;
  flex-shrink: 0;
  background: var(--black2);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--red);
}

.bs-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.bs-card-body {
  padding: 10px 12px 14px;
  text-align: center;
}

.bs-card-body h4 {
  font-size: 0.82rem;
  font-family: var(--font-body);
  font-weight: 600;
}

/* ==========================================================================
   Menu tabs + grid
   ========================================================================== */
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.menu-tab {
  padding: 9px 20px;
  border-radius: 50px;
  border: 2px solid var(--green);
  background: transparent;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--white);
  transition: background .2s ease, color .2s ease;
}

.menu-tab.active,
.menu-tab:hover {
  background: var(--green);
  color: var(--black);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 900px) {
  .menu-grid { grid-template-columns: repeat(4, 1fr); }
}

.menu-card {
  background: var(--black2);
  border: 1px solid #333;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.menu-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md), 0 0 0 2px var(--red);
}

.menu-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 20px;
  text-transform: uppercase;
  z-index: 2;
}

.menu-card-body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.menu-card-body h4 {
  font-size: 0.95rem;
  line-height: 1.25;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
}

.menu-card-desc {
  font-size: 0.75rem;
  color: var(--gray);
  min-height: 0;
}

.menu-card-note {
  font-size: 0.68rem;
  font-style: italic;
  color: var(--gold);
}

.menu-card-extras {
  font-size: 0.7rem;
  color: var(--gray);
  line-height: 1.5;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 8px 10px;
}
.menu-card-extras strong { color: var(--white); }

.menu-card-price {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--green);
  font-size: 1rem;
  letter-spacing: 0.3px;
}

.menu-card select {
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid #3a3a3a;
  /* 16px evita el zoom automático de iOS Safari al abrir el select */
  font-size: 16px;
  background: #101010;
  color: var(--white);
  /* width:100% es clave en mobile: sin esto el <select> se dimensiona
     según la opción más larga (ej. "Papas con Chorizo — $12.99") y
     se desborda de la tarjeta en pantallas angostas de 2 columnas. */
  width: 100%;
  max-width: 100%;
}

.add-to-cart-btn {
  margin-top: auto;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 10px 14px;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.3px;
  font-size: 0.78rem;
  transition: background .2s ease;
}
.add-to-cart-btn:hover { background: var(--red-dark); }

/* ==========================================================================
   Cart drawer + floating cart button
   ========================================================================== */
.cart-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 58px;
  height: 58px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 1500;
  border: none;
  font-size: 1.5rem;
  color: var(--white);
  transition: transform .2s ease;
}
.cart-float:hover { transform: scale(1.08); }
.cart-float.bounce { animation: cartBounce .5s ease; }
@keyframes cartBounce {
  0%,100% { transform: scale(1); }
  30% { transform: scale(1.3); }
  55% { transform: scale(0.9); }
  75% { transform: scale(1.15); }
}

.cart-float-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 50%;
  min-width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--black);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-panel {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: min(400px, 92vw);
  background: var(--black2);
  z-index: 1999;
  box-shadow: 8px 0 30px rgba(0,0,0,0.5);
  transform: translateX(-100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #333;
}
.cart-panel.open { transform: translateX(0); }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #333;
}

.cart-header h3 { font-size: 1.1rem; color: var(--gold); font-family: var(--font-display); font-weight: 400; }

.cart-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--white);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-empty {
  text-align: center;
  color: #999;
  margin-top: 40px;
}

.cart-item {
  display: flex;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid #2a2a2a;
  padding-bottom: 12px;
}

.cart-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-info h5 {
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--white);
}

.cart-item-info .cart-item-price {
  color: var(--green);
  font-weight: 700;
  font-size: 0.82rem;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-control button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #3a3a3a;
  background: #101010;
  color: var(--white);
  font-weight: 700;
}

.cart-item-remove {
  background: none;
  border: none;
  color: #777;
  font-size: 1.1rem;
}
.cart-item-remove:hover { color: var(--red); }

.cart-footer {
  padding: 16px 20px 22px;
  border-top: 1px solid #333;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-totals {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
}

.cart-footer-actions {
  display: flex;
  gap: 10px;
}
.cart-footer-actions .btn { flex: 1; }

/* ==========================================================================
   Menu card note bar (extra carne)
   ========================================================================== */

/* ==========================================================================
   Especiales table
   ========================================================================== */
.especiales-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
}

@media (min-width: 700px) {
  .especiales-grid { grid-template-columns: repeat(5, 1fr); }
}

.especial-card {
  background: var(--black2);
  border: 1px solid #333;
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
}

.especial-day {
  color: var(--red);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
  margin-bottom: 8px;
  letter-spacing: 0.4px;
}

.especial-desc {
  font-size: 0.82rem;
  color: var(--white);
  margin-bottom: 4px;
}

.especial-price {
  color: var(--green);
  font-weight: 700;
  font-size: 0.9rem;
}

/* ==========================================================================
   BBQ section
   ========================================================================== */
.bbq-section {
  background: var(--black2);
}

.bbq-badge-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  margin: 0 auto 30px;
  display: flex;
  width: fit-content;
}

/* ==========================================================================
   Kids menu — fondo divertido tipo confeti, solo en esta sección,
   combinando con la paleta roja/verde del sitio (pedido del cliente)
   ========================================================================== */
.kids-section {
  position: relative;
  background-color: var(--black2);
  background-image:
    radial-gradient(circle, rgba(228,0,43,0.28) 3px, transparent 3px),
    radial-gradient(circle, rgba(57,181,74,0.28) 3px, transparent 3px),
    radial-gradient(circle, rgba(255,255,255,0.10) 2px, transparent 2px);
  background-size: 46px 46px, 46px 46px, 26px 26px;
  background-position: 0 0, 23px 23px, 10px 10px;
}

.kids-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 700px) {
  .kids-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Videos — clips cortos, tamaño chico (no gigante), 2 por fila en
   mobile, con botón de play/pause + botón de mute independientes
   (el cliente pidió ambos, no solo autoplay con mute como en otros
   proyectos).
   ========================================================================== */
.videos-section { background: var(--black2); }

.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 620px;
  margin: 0 auto;
}

@media (min-width: 700px) {
  .videos-grid { grid-template-columns: repeat(4, 1fr); max-width: 900px; }
}

.video-card {
  position: relative;
  aspect-ratio: 9 / 16;
  max-width: 210px;
  width: 100%;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  border: 1px solid #333;
  box-shadow: var(--shadow-sm);
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play-btn {
  /* Se mantiene siempre visible (no solo en hover, que no existe en
     touch) y cambia de ícono ▶/⏸ según el estado, así el usuario
     puede pausar tocando el mismo botón en mobile. */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  border: 2px solid var(--white);
  color: var(--white);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, opacity .2s ease;
}
.video-play-btn:hover { background: var(--red); }
.video-card.playing .video-play-btn { opacity: 0.55; }

.video-mute-btn {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  border: none;
  color: var(--white);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease;
}
.video-mute-btn:hover { background: var(--red); }

/* ==========================================================================
   Catering
   ========================================================================== */
.catering {
  position: relative;
  background: url('img/catering.png') center/cover no-repeat;
  padding: 80px 0;
}

.catering::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,13,13,0.72), rgba(13,13,13,0.9));
}

.catering .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 900px) {
  .catering .container { grid-template-columns: 1fr 1fr; align-items: center; }
}

.catering-intro h2 { color: var(--gold); text-align: left; margin-bottom: 14px; }
.catering-intro p { color: var(--white); font-size: 1rem; line-height: 1.7; }

.catering-form {
  background: var(--black2);
  border: 1px solid #333;
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.catering-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.catering-form input,
.catering-form select,
.catering-form textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #3a3a3a;
  background: #101010;
  color: var(--white);
  /* 16px (1rem) evita que iOS Safari haga zoom automático al enfocar
     el campo — con menos de 16px el navegador hace zoom in solo. */
  font-size: 16px;
  font-family: var(--font-body);
  width: 100%;
}

.catering-form textarea { resize: vertical; min-height: 90px; }

.catering-form .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 520px) {
  .catering-form .form-row.two { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.reviews-header svg { width: 28px; height: 28px; }
.reviews-header .reviews-rating {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--gold);
}
.reviews-header .reviews-stars { color: var(--gold); font-size: 1.1rem; }

.reviews-disclaimer {
  text-align: center;
  font-size: 0.78rem;
  color: #888;
  margin-top: 24px;
}

.reviews-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.review-card {
  background: var(--black2);
  border: 1px solid #333;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.review-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.review-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.review-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.review-name { font-weight: 700; font-size: 0.88rem; color: var(--white); }
.review-stars { color: var(--gold); font-size: 0.85rem; }
.review-google-badge {
  font-size: 0.65rem;
  color: var(--gray);
  background: rgba(255,255,255,0.06);
  padding: 2px 8px;
  border-radius: 20px;
  align-self: flex-start;
}
.review-text { font-size: 0.83rem; color: var(--gray); line-height: 1.55; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--gray);
}

.contact-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.social-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--black2);
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.social-circle:hover { background: var(--gold); transform: translateY(-3px); }
.social-circle svg { width: 20px; height: 20px; fill: var(--white); }
.social-circle:hover svg { fill: var(--black); }

.delivery-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.delivery-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--black2);
  border: 1px solid #333;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  transition: border-color .2s ease, transform .2s ease;
}
.delivery-badge:hover { border-color: var(--gold); transform: translateY(-2px); }

.contact-map iframe {
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #333;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--black);
  color: #ccc;
  padding: 40px 0 20px;
  text-align: center;
  border-top: 1px solid #262626;
}

.footer-credit {
  font-weight: 700;
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.footer-credit a { color: var(--gold); }
.footer-credit a:hover { text-decoration: underline; }

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 18px 0;
}

.footer p { font-size: 0.85rem; color: #b0b0aa; margin: 4px 0; }

.footer-bottom {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #262626;
  font-size: 0.75rem;
  color: #777;
}

/* ==========================================================================
   Floating WhatsApp button (bottom-right, cart float is bottom-left)
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 1500;
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ==========================================================================
   Mobile optimizations (critical)
   ========================================================================== */
@media (max-width: 600px) {
  /* El nombre "A La Chingada" en rojo se mantiene visible junto al
     logo en móvil (no se oculta por completo), solo se reduce de
     tamaño para no chocar con ES/EN/teléfono/hamburguesa. */
  .nav-brand img { height: 36px; width: 36px; }
  .nav-brand span {
    font-size: 0.7rem;
    max-width: 90px;
    line-height: 1.15;
  }
  .navbar { padding: 8px 14px; }
  .nav-call .call-text { display: none; }
  .nav-call { padding: 9px 11px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-actions { gap: 6px; }
  .lang-pill button { padding: 5px 8px; font-size: 0.72rem; }
  .section { padding: 50px 0; }
}

@media (max-width: 360px) {
  /* Último recurso en pantallas muy angostas para evitar que el
     navbar se desborde. */
  .nav-brand span { display: none; }
}

@media (max-width: 480px) {
  .hero { padding: 110px 16px 60px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .cart-float, .whatsapp-float { width: 50px; height: 50px; }
}

@media (max-width: 380px) {
  /* Pantallas muy angostas (iPhone SE y similares): el logo del
     hero (285px) se ve muy ajustado contra los bordes, se reduce un
     poco más solo en este rango. */
  .hero-logo { width: 143px; height: 143px; }
  .container { padding: 0 14px; }
}
