* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --orange: #E85D04;
  --orange-dark: #D45204;
  --yellow: #FAA307;
  --red: #DC2F02;
  --cream: #FFF8F0;
  --dark: #1A1A1A;
  --gray: #6B6B6B;
  --light-gray: #F5F0EB;
  --white: #FFFFFF;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --nav-height: 70px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

#burgerCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 3.2rem;
  letter-spacing: 2px;
  color: var(--dark);
  margin-bottom: 12px;
}

.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  margin: 0 auto;
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(232,93,4,0.35);
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232,93,4,0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

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

.btn-small {
  padding: 8px 20px;
  font-size: 0.85rem;
  background: var(--orange);
  color: var(--white);
  border-radius: 50px;
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-small:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 18px 44px;
  font-size: 1.1rem;
}

.wa-icon {
  width: 22px;
  height: 22px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(26,26,26,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 1px;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 6px;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  background: linear-gradient(135deg, #1A1A1A 0%, #2D1B00 50%, #1A1A1A 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(232,93,4,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(250,163,7,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('../imagenes/fondo_restaurante.jpg') center/cover no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-logo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--orange);
  box-shadow: 0 0 40px rgba(232,93,4,0.3);
  margin-bottom: 24px;
  animation: pulse-soft 3s ease-in-out infinite;
}

@keyframes pulse-soft {
  0%, 100% { box-shadow: 0 0 40px rgba(232,93,4,0.3); }
  50% { box-shadow: 0 0 60px rgba(232,93,4,0.5); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 5rem;
  letter-spacing: 4px;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.hero h1 span {
  color: var(--orange);
}

.hero-tagline {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--yellow);
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.nosotros-text p {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.8;
}

.nosotros-features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 1.2rem;
}

.nosotros-img img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  height: 400px;
}

.section-menu {
  background: var(--light-gray);
}

.menu-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}

.tab-btn {
  padding: 12px 28px;
  border: 2px solid rgba(0,0,0,0.08);
  background: var(--white);
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray);
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.tab-btn.active {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  box-shadow: 0 4px 16px rgba(232,93,4,0.3);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.menu-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(20px);
}

.menu-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

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

.menu-card-body {
  padding: 18px 20px 22px;
}

.menu-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.menu-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.5px;
  color: var(--dark);
  line-height: 1.2;
}

.menu-card-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--red);
  white-space: nowrap;
  margin-left: 12px;
}

.menu-card-desc {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-card-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 50px;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu-card-add:hover {
  background: var(--orange-dark);
  transform: scale(1.04);
}

.menu-card-add.added {
  background: #2E7D32;
}

.section-gallery {
  background: var(--cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  cursor: pointer;
  aspect-ratio: 1;
  opacity: 0;
  transform: scale(0.95);
}

.gallery-item.visible {
  opacity: 1;
  transform: scale(1);
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-schedule {
  background: var(--light-gray);
}

.horarios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.horarios-card,
.ubicacion-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.horarios-card h3,
.ubicacion-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--dark);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
}

.schedule-table tr {
  border-bottom: 1px solid var(--light-gray);
}

.schedule-table td {
  padding: 10px 0;
  font-size: 0.95rem;
}

.schedule-table .time {
  text-align: right;
  font-weight: 600;
  color: var(--orange);
}

.schedule-table tr.today-highlight {
  background: rgba(220, 47, 2, 0.06);
}

.schedule-table tr.today-highlight td {
  color: var(--red);
  font-weight: 700;
  padding: 12px 6px;
  box-shadow:
    inset 0 4px 0 var(--red),
    inset 0 -4px 0 var(--red);
}

.schedule-table tr.today-highlight td:first-child {
  padding-left: 14px;
  box-shadow:
    inset 4px 0 0 var(--red),
    inset 0 4px 0 var(--red),
    inset 0 -4px 0 var(--red);
  border-radius: 12px 0 0 12px;
}

.schedule-table tr.today-highlight td:last-child {
  padding-right: 14px;
  box-shadow:
    inset -4px 0 0 var(--red),
    inset 0 4px 0 var(--red),
    inset 0 -4px 0 var(--red);
  border-radius: 0 12px 12px 0;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.status-badge.open {
  background: #E8F5E9;
  color: #2E7D32;
}

.status-badge.closed {
  background: #FFEBEE;
  color: #C62828;
}

.envio-info {
  margin-top: 20px;
  padding: 12px 18px;
  background: #E8F5E9;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: #2E7D32;
}

.direccion {
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.6;
}

.map-container {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 16px;
}

.section-contact {
  background: linear-gradient(135deg, var(--dark) 0%, #2D1B00 100%);
  text-align: center;
}

.section-contact .section-tag {
  background: var(--yellow);
  color: var(--dark);
}

.section-contact .section-header h2 {
  color: var(--white);
}

.section-contact .divider {
  background: linear-gradient(90deg, var(--yellow), var(--orange));
}

.contact-content {
  max-width: 550px;
  margin: 0 auto;
}

.contact-content p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.footer {
  background: var(--dark);
  padding: 60px 0 0;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-bottom: 12px;
}

.footer-brand h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

.footer-links h5,
.footer-hours h5 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-hours p {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  padding: 4px 0;
}

.envio-gratis {
  color: #25D366 !important;
  font-weight: 600;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
}

@media (max-width: 968px) {
  .nosotros-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .nosotros-img img {
    height: 280px;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: rgba(26,26,26,0.98);
    padding: 20px;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-links.open a {
    padding: 12px 20px;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 3.2rem;
  }
  .hero-tagline {
    font-size: 1.05rem;
  }
  .section-header h2 {
    font-size: 2.4rem;
  }
  .menu-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section {
    padding: 60px 0;
  }
  .horarios-card,
  .ubicacion-card {
    padding: 24px;
  }
  .btn-lg {
    padding: 14px 30px;
    font-size: 1rem;
  }
}

.floating-btns {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
}

.float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(0,0,0,0.28);
}

.float-wa {
  background: #25D366;
}

.float-wa:hover {
  background: #20BD5A;
}

.float-rappi {
  background: #E60046;
}

.float-rappi:hover {
  background: #CC003E;
}

.rappi-link {
  color: #E60046;
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.3s ease;
}

.rappi-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.float-cart {
  background: var(--orange);
  transition: all 0.3s ease;
  display: none;
}

.float-cart:hover {
  background: var(--orange-dark);
}

.float-cart.show {
  display: flex;
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
  animation: cartAppear 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

@keyframes cartAppear {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(220,47,2,0.4);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  background: var(--white);
  border-radius: 20px 20px 0 0;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.15);
}

.cart-modal.open {
  transform: translateY(0);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--light-gray);
  flex-shrink: 0;
}

.cart-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: var(--dark);
}

.cart-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--light-gray);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--gray);
}

.cart-close:hover {
  background: var(--gray);
  color: var(--white);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-empty {
  text-align: center;
  padding: 40px 20px;
}

.cart-empty-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 12px;
}

.cart-empty p {
  font-size: 1rem;
  color: var(--dark);
  font-weight: 600;
}

.cart-empty-sub {
  font-size: 0.85rem !important;
  color: var(--gray) !important;
  font-weight: 400 !important;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--light-gray);
}

.cart-item-img {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

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

.cart-item-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 2px;
}

.cart-item-price {
  font-size: 0.82rem;
  color: var(--gray);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--light-gray);
  background: var(--white);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: var(--dark);
}

.qty-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.qty-btn.minus {
  color: var(--red);
  border-color: var(--light-gray);
}

.qty-btn.minus:hover {
  border-color: var(--red);
  color: var(--red);
}

.qty-num {
  font-weight: 600;
  font-size: 0.95rem;
  min-width: 20px;
  text-align: center;
}

.cart-item-subtotal {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--red);
  min-width: 55px;
  text-align: right;
}

.cart-footer {
  padding: 16px 24px 24px;
  border-top: 1px solid var(--light-gray);
  flex-shrink: 0;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.cart-total span:first-child {
  font-weight: 600;
  font-size: 1rem;
}

.cart-total span:last-child {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--red);
  letter-spacing: 1px;
}

.cart-wa-btn {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 1rem;
}

.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.menu-card.hidden-item {
  display: none;
}
