/* ==========================================================================
   PEQUEÑA VENECIA RESTAURANTE - MANRESA
   Estilos CSS Optimizados, Centrados y Totalmente Responsive (Mobile-First)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. RESET & VARIABLES GLOBALES
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Paleta de colores */
  --primary: #e63946;
  --primary-hover: #c82333;
  --secondary: #f4a261;
  --dark: #121212;
  --dark-surface: #1a1a1a;
  --dark-card: #242424;
  --dark-border: rgba(255, 255, 255, 0.08);
  --text-light: #f8f9fa;
  --text-muted: #b0b0b0;
  --gold: #ffb703;
  --whatsapp: #25d366;
  --whatsapp-hover: #1da851;

  /* Tipografía y medidas */
  --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --border-radius-sm: 8px;
  --border-radius: 16px;
  --border-radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.7);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Evitar scroll cuando el menú móvil está abierto */
body.menu-open {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   2. NAVBAR & NAVEGACIÓN
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.5rem;
  background-color: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--dark-border);
  transition: var(--transition);
}

/* Logo Header Agrandado */
.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 65px; /* Agrandado visiblemente */
  width: 65px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--secondary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.nav-logo img:hover {
  transform: scale(1.05);
}

/* Menú móvil desplegable */
.nav-links {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 340px;
  height: 100vh;
  background-color: var(--dark-surface);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding: 6rem 2rem 2rem 2rem;
  gap: 1.25rem;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.8);
  transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  overflow-y: auto;
  z-index: 999;
}

.nav-links.active {
  right: 0;
}

/* Overlay para oscurecer el fondo al abrir menú móvil */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 998;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav-links a {
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--secondary);
}

.nav-links .nav-whatsapp {
  background-color: var(--whatsapp);
  color: #fff;
  padding: 0.85rem 1.2rem;
  border-radius: 30px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  border-bottom: none;
  box-shadow: var(--shadow-sm);
}

.nav-links .nav-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  color: #fff;
}

/* Botón Hamburguesa */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background-color: var(--text-light);
  border-radius: 3px;
  transition: var(--transition);
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: var(--secondary);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10deg);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: var(--secondary);
}

/* --------------------------------------------------------------------------
   3. HERO SECTION (CENTRADOS PERFECTOS Y LOGO CENTRAL)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.25rem 3rem 1.25rem;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -2;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.75) 0%, rgba(18, 18, 18, 0.92) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 850px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Logo en el centro del Hero */
.hero-logo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin: 0 auto 1.5rem auto;
  border: 4px solid var(--secondary);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.hero h1 {
  font-size: 2.1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
  margin-bottom: 0.8rem;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero h2 {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.5;
  max-width: 650px;
}

/* Botones Centrados */
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

.btn-primary, .btn-secondary {
  width: 100%;
  padding: 0.95rem 1.8rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:active {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--whatsapp);
  color: #fff;
}

.btn-secondary:hover,
.btn-secondary:active {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   4. SECCIÓN MARCA / NOSOTROS
   -------------------------------------------------------------------------- */
.brand-section {
  padding: 4.5rem 1.25rem;
  background-color: var(--dark-surface);
}

.brand-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.brand-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  max-height: 380px;
}

.brand-content span {
  color: var(--secondary);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
}

.brand-content h2 {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0.4rem 0;
}

.brand-content h3 {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 1rem;
}

.brand-content p {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--dark-card);
  padding: 1rem 1.2rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--dark-border);
}

.feature i {
  font-size: 1.6rem;
  color: var(--secondary);
  flex-shrink: 0;
}

.feature h4 {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

.feature p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   5. CARTA Y PLATOS
   -------------------------------------------------------------------------- */
.menu-section {
  padding: 4.5rem 1.25rem;
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  margin-bottom: 2.5rem;
  text-align: center;
}

.section-title span {
  color: var(--secondary);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-title h2 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-top: 0.2rem;
}

.section-title p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.3rem;
}

.food-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.food-card {
  background-color: var(--dark-card);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--dark-border);
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: var(--transition);
}

.food-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.food-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.food-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.food-info p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
  line-height: 1.4;
}

.food-info strong {
  font-size: 1.35rem;
  color: var(--secondary);
  margin-bottom: 1rem;
  display: block;
}

.order-btn {
  background-color: var(--whatsapp);
  color: #fff;
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
}

.order-btn:hover,
.order-btn:active {
  background-color: var(--whatsapp-hover);
}

.all-menu {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 0.85rem 2rem;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.all-menu:hover,
.all-menu:active {
  background-color: var(--secondary);
  color: var(--dark);
}

/* --------------------------------------------------------------------------
   6. NUESTRA COCINA
   -------------------------------------------------------------------------- */
.kitchen {
  padding: 4.5rem 1.25rem;
  background-color: var(--dark-surface);
}

.kitchen-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.kitchen-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  max-height: 380px;
}

.kitchen-content span {
  color: var(--secondary);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.kitchen-content h2 {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0.4rem 0 1rem 0;
}

.kitchen-content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.kitchen-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-top: 1.8rem;
}

.kitchen-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background-color: var(--dark-card);
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--dark-border);
}

.kitchen-item i {
  font-size: 1.4rem;
  color: var(--secondary);
  margin-top: 2px;
  flex-shrink: 0;
}

.kitchen-item h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.kitchen-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
}


/* --------------------------------------------------------------------------
   SECCIÓN DESAYUNOS Y GALERÍA EN ABANICO (3D)
   -------------------------------------------------------------------------- */
.breakfast {
  padding: 4.5rem 1.25rem;
  background: linear-gradient(180deg, #181818 0%, #121212 100%);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}

.breakfast-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

.breakfast-content {
  text-align: left;
  width: 100%;
}

.breakfast-subtitle {
  color: var(--gold);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.4rem;
}

.breakfast-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-light);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.breakfast-description {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Grilla de items */
.breakfast-items-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.breakfast-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background-color: var(--dark-card);
  padding: 1rem 1.2rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--dark-border);
  transition: var(--transition);
}

.breakfast-item:hover {
  border-color: rgba(255, 183, 3, 0.4);
  transform: translateY(-2px);
}

.breakfast-item i {
  font-size: 1.5rem;
  color: var(--gold);
  margin-top: 2px;
  flex-shrink: 0;
}

.breakfast-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.2rem;
}

.breakfast-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

/* Acciones */
.breakfast-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.breakfast-badge-extra {
  font-family: cursive, sans-serif;
  font-size: 1.1rem;
  color: var(--secondary);
  font-weight: 700;
  transform: rotate(-3deg);
}

/* --------------------------------------------------------------------------
   ESTILOS DEL ABANICO (FAN GALLERY) Y TARJETAS
   -------------------------------------------------------------------------- */
.breakfast-fan-gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 2.5rem 0;
  perspective: 1000px;
}

.fan-card {
  position: relative;
  width: 130px;
  height: 230px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  border: 2px solid var(--dark-border);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s ease;
  background-color: var(--dark-card);
}

.fan-card img,
.fan-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Efectos de posición del Abanico */
.fan-left {
  transform: rotate(-10deg) translateY(12px) scale(0.92);
  margin-right: -25px;
  z-index: 1;
}

.fan-center {
  transform: translateY(-18px) scale(1.1);
  z-index: 3;
  border-color: var(--gold);
  box-shadow: 0 15px 35px rgba(255, 183, 3, 0.3);
}

.fan-right {
  transform: rotate(10deg) translateY(12px) scale(0.92);
  margin-left: -25px;
  z-index: 2;
}

/* Interacción al pasar el cursor */
.fan-card:hover {
  transform: translateY(-22px) scale(1.18) rotate(0deg) !important;
  z-index: 10 !important;
  border-color: var(--secondary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
}

.fan-tag {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(18, 18, 18, 0.85);
  color: var(--text-light);
  padding: 0.25rem 0.55rem;
  border-radius: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.fan-tag.highlight {
  background: var(--gold);
  color: #000;
  border: none;
}

.fan-zoom-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.65);
  color: var(--text-light);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.fan-card:hover .fan-zoom-icon {
  opacity: 1;
}


/* ==========================================================================
   SECCIÓN ENTRECOT DESTACADO
   ========================================================================== */
.entrecot-section {
  padding: 4.5rem 1.25rem;
  background: linear-gradient(135deg, #181818 0%, #121212 100%);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}

.entrecot-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}

/* Multimedia (Imagen/Vídeo) */
.entrecot-media {
  position: relative;
  width: 100%;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 183, 3, 0.25);
}

.entrecot-media img,
.entrecot-media video {
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.entrecot-media:hover img,
.entrecot-media:hover video {
  transform: scale(1.03);
}

.entrecot-badge-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

/* Contenido */
.entrecot-content {
  width: 100%;
  text-align: left;
}

.entrecot-subtitle {
  color: var(--gold);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.4rem;
}

.entrecot-title {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--text-light);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.entrecot-description {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

/* Detalles clave */
.entrecot-details {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.entrecot-detail-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--dark-card);
  padding: 0.6rem 1rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--dark-border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.entrecot-detail-item i {
  color: var(--secondary);
  font-size: 1rem;
}

/* Fila de precio y botón */
.entrecot-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--dark-surface);
  padding: 1.2rem 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--dark-border);
  flex-wrap: wrap;
}

.entrecot-price {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-amount {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.entrecot-actions {
  flex-grow: 1;
}

.entrecot-btn {
  width: 100%;
  justify-content: center;
  background-color: var(--whatsapp);
}

.entrecot-btn:hover {
  background-color: var(--whatsapp-hover);
}

/* Adaptación Desktop */
@media (min-width: 850px) {
  .entrecot-container {
    flex-direction: row;
    gap: 4rem;
  }

  .entrecot-media,
  .entrecot-content {
    flex: 1;
  }

  .entrecot-media img,
  .entrecot-media video {
    max-height: 450px;
  }

  .entrecot-title {
    font-size: 2.6rem;
  }

  .entrecot-actions {
    flex-grow: 0;
  }

  .entrecot-btn {
    width: auto;
    padding: 0.85rem 1.8rem;
  }
}
/* --------------------------------------------------------------------------
   ESTILOS DEL MODAL (LIGHTBOX)
   -------------------------------------------------------------------------- */
.media-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}

.media-modal.active {
  display: flex;
}

.modal-content {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 0 30px rgba(255, 183, 3, 0.3);
  border: 1px solid var(--dark-border);
}

.modal-content img,
.modal-content video {
  max-width: 100%;
  max-height: 85vh;
  display: block;
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #fff;
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--gold);
}

/* RESPONSIVE DESKTOP Y TABLET */
@media (min-width: 650px) {
  .fan-card {
    width: 170px;
    height: 290px;
  }

  .fan-left { margin-right: -15px; }
  .fan-right { margin-left: -15px; }

  .fan-tag {
    font-size: 0.78rem;
    padding: 0.35rem 0.75rem;
  }
}

@media (min-width: 850px) {
  .breakfast-container {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }

  .breakfast-content,
  .breakfast-fan-gallery {
    flex: 1;
  }

  .breakfast-items-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .breakfast-title {
    font-size: 2.4rem;
  }

  .fan-card {
    width: 185px;
    height: 320px;
  }
}
/* --------------------------------------------------------------------------
   7. MÁS CONSUMIDO (SECCIÓN VÍDEOS PREMIUM 9:16)
   -------------------------------------------------------------------------- */
.popular {
  padding: 4.5rem 1.25rem;
  text-align: center;
  background: linear-gradient(180deg, #121212 0%, #1a1a1a 100%);
  position: relative;
}

.popular-header h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text-light);
}

.popular-header p {
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Wrapper general del carrusel */
.video-carousel-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Contenedor de vídeos con scroll horizontal suave en móvil */
.video-grid-container {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  width: 100%;
  padding: 0.5rem 0;
  -webkit-overflow-scrolling: touch;
}

.video-grid-container::-webkit-scrollbar {
  display: none; /* Oculta la barra de scroll */
}

/* Tarjeta individual del vídeo (Mantener relación de aspecto 9:16) */
.video-card {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: flex;
  justify-content: center;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 280px; /* Ancho ajustado para vista tipo Reel */
  aspect-ratio: 9 / 16;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: var(--dark-card);
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Etiqueta flotante inferior */
.video-badge {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(18, 18, 18, 0.85);
  color: var(--text-light);
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* Flechas de navegación (visibles en móvil) */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(244, 162, 97, 0.9);
  color: var(--dark);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
}

.carousel-arrow:active {
  transform: translateY(-50%) scale(0.9);
}

.prev-arrow {
  left: -8px;
}

.next-arrow {
  right: -8px;
}

/* --------------------------------------------------------------------------
   RESPONSIVE PARA ESCRITORIO Y TABLETS
   -------------------------------------------------------------------------- */
@media (min-width: 850px) {
  .video-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    overflow-x: visible;
  }

  .video-card {
    flex: initial;
  }

  .video-wrapper {
    max-width: 100%;
  }

  /* Se ocultan las flechas en PC ya que entran los 3 vídeos simultáneamente */
  .carousel-arrow {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   8. TESTIMONIOS (OPINIONES)
   -------------------------------------------------------------------------- */
.reviews-section {
  padding: 4.5rem 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.reviews-header {
  margin-bottom: 2.5rem;
}

.reviews-header span {
  color: var(--secondary);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.reviews-header h2 {
  font-size: 1.9rem;
  font-weight: 800;
}

.reviews-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.review-card {
  background-color: var(--dark-card);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  text-align: left;
  border: 1px solid var(--dark-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  letter-spacing: 2px;
}

.review-card p {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.client {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.client i {
  font-size: 1.8rem;
  color: var(--secondary);
}

.client h4 {
  font-size: 0.92rem;
  margin-bottom: 0;
}

.client span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.reviews-button {
  margin-top: 2.2rem;
  display: flex;
  justify-content: center;
}

.google-reviews-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-color: var(--dark-surface);
  padding: 0.85rem 1.6rem;
  border-radius: 30px;
  border: 1px solid var(--dark-border);
  font-weight: 600;
  font-size: 0.88rem;
  width: 100%;
  max-width: 340px;
}

.google-reviews-btn:hover,
.google-reviews-btn:active {
  background-color: var(--dark-card);
  color: var(--secondary);
}

/* --------------------------------------------------------------------------
   9. BOTÓN FLOTANTE WHATSAPP (MÓVIL & DESKTOP)
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 990;
}

.whatsapp-text {
  display: none;
  background-color: var(--dark-card);
  color: var(--text-light);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  border: 1px solid var(--dark-border);
  white-space: nowrap;
}

.whatsapp-icon {
  width: 56px;
  height: 56px;
  background-color: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.85rem;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
}

.whatsapp-float:active .whatsapp-icon {
  transform: scale(0.95);
}

/* --------------------------------------------------------------------------
   10. FOOTER (LOGO AGRANDADO)
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--dark-surface);
  border-top: 1px solid var(--dark-border);
  padding: 4rem 1.25rem 2rem 1.25rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

/* Logo Agrandado en Footer */
.footer-brand img {
  height: 80px; /* Tamaño agrandado */
  width: 80px;
  border-radius: 50%;
  margin-bottom: 1rem;
  object-fit: cover;
  border: 2px solid var(--secondary);
}

.footer-brand h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-column h4 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.6rem;
}

.footer-column ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-column ul li a:hover {
  color: var(--text-light);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.footer-social a {
  width: 42px;
  height: 42px;
  background-color: var(--dark-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 1px solid var(--dark-border);
}

.footer-social a:hover,
.footer-social a:active {
  background-color: var(--primary);
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.8rem;
  border-top: 1px solid var(--dark-border);
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* --------------------------------------------------------------------------
   11. ANIMACIONES REVEAL
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   12. MEDIA QUERIES (TABLETS Y DESKTOP)
   -------------------------------------------------------------------------- */

/* TABLETS (Desde 600px) */
@media (min-width: 600px) {
  .food-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .kitchen-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-actions {
    flex-direction: row;
    justify-content: center;
    max-width: 100%;
  }

  .btn-primary, .btn-secondary {
    width: auto;
  }

  .popular div {
    flex-direction: row;
    justify-content: center;
  }

  .popular span {
    width: auto;
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* DESKTOP PEQUEÑO / TABLET HORIZONTAL (Desde 768px) */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 2.75rem;
  }

  .hero h2 {
    font-size: 1.15rem;
  }

  .brand-content h2,
  .kitchen-content h2 {
    font-size: 2.1rem;
  }

  .section-title h2,
  .reviews-header h2 {
    font-size: 2.3rem;
  }

  .whatsapp-text {
    display: block;
  }

  .whatsapp-float:hover .whatsapp-icon {
    transform: scale(1.1);
    background-color: var(--whatsapp-hover);
  }
}

/* DESKTOP ESTÁNDAR (Desde 992px) - MENÚ Y NAVBAR AJUSTADOS */
@media (min-width: 992px) {
  .navbar {
    padding: 0.8rem 5%;
  }

  .menu-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    gap: 2.2rem;
    box-shadow: none;
    overflow-y: visible;
  }

  .nav-links a {
    padding: 0;
    border-bottom: none;
    font-size: 0.9rem;
  }

  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
  }

  .nav-links a:hover::after,
  .nav-links a.active::after {
    width: 100%;
  }

  .nav-links .nav-whatsapp {
    margin-top: 0;
    padding: 0.65rem 1.4rem;
  }

  .nav-links .nav-whatsapp::after {
    display: none;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .brand-section,
  .kitchen,
  .menu-section,
  .reviews-section {
    padding: 6rem 5%;
  }

  .brand-container,
  .kitchen-wrapper {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }

  .brand-image,
  .brand-content,
  .kitchen-image,
  .kitchen-content {
    flex: 1;
  }

  .brand-image img,
  .kitchen-image img {
    max-height: none;
  }

  .food-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-container {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
  }
}