:root {
  --primary: #fb8500;
  --primary-hover: #ff9f1c;
  --accent: #ffb703;
  --bg-dark: #0a0a0b;
  --bg-card: #141416;
  --bg-nav: rgba(10, 10, 11, 0.85);
  --text-light: #f8f9fa;
  --text-muted: #a0a0ab;
  --glass: rgba(20, 20, 22, 0.7);
  --glass-border: rgba(255, 255, 255, 0.05);
  --success: #25d366;
  --success-hover: #20ba5a;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-body);
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #aee2e4;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* HEADER & NAV */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

header.scrolled {
  padding: 5px 0;
  background: rgba(8, 8, 9, 0.95);
  box-shadow: var(--shadow-lg);
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
}
.logo-img {
  height: 110px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

header.scrolled .logo-img {
  height: 90px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--primary);
}

.nav-links a.active::after {
  width: 100%;
}

/* Floating Actions on Header */
.cart-trigger {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-light);
  padding: 10px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.cart-trigger:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.cart-count {
  background: var(--accent);
  color: var(--bg-dark);
  font-size: 0.75rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.8rem;
  cursor: pointer;
}

/* HERO SECTION with background video/image */
.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  overflow: hidden;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 11, 0.6) 0%,
    rgba(10, 10, 11, 0.8) 60%,
    var(--bg-dark) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 850px;
  animation: fadeInUp 1s ease-out;
}

.badge {
  background: rgba(251, 133, 0, 0.15);
  border: 1px solid rgba(251, 133, 0, 0.3);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #ffffff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--bg-dark);
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(251, 133, 0, 0.3);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(251, 133, 0, 0.5);
  color: #000;
}

.btn-secondary {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-light);
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

/* SECTION HEADERS */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 15px;
}

.section-title span {
  color: var(--primary);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* CATEGORIAS HIGHLIGHTS */
.categories-preview {
  padding: 100px 25px;
  background: var(--bg-dark);
}

.cat-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.cat-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 450px;
  cursor: pointer;
}

.cat-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cat-card:hover .cat-card-img {
  transform: scale(1.08);
}

.cat-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 10, 11, 0.9) 0%, rgba(10, 10, 11, 0.2) 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 35px;
  z-index: 2;
}

.cat-card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--accent);
}

.cat-card p {
  color: var(--text-light);
  opacity: 0.85;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.cat-card .explore-link {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.cat-card .explore-link i {
  transition: var(--transition);
}

.cat-card:hover .explore-link i {
  transform: translateX(5px);
}

/* MENU DIGITAL INTERACTIVO */
.menu-section {
  padding: 100px 25px;
  background: #0e0e10;
}

.menu-container {
  max-width: 1200px;
  margin: 0 auto;
}

.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-light);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
  background: var(--primary);
  color: var(--bg-dark);
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(251, 133, 0, 0.25);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.menu-item {
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.menu-item:hover {
  transform: translateY(-5px);
  border-color: rgba(251, 133, 0, 0.3);
  box-shadow: var(--shadow-lg);
}

.menu-item-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.menu-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.menu-item:hover .menu-item-img {
  transform: scale(1.05);
}

.menu-item-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary);
  color: var(--bg-dark);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
}

.menu-item-info {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.menu-item-title-price {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 15px;
}

.menu-item-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-light);
}

.menu-item-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.menu-item-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 25px;
  flex-grow: 1;
}

.menu-item-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qty-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-light);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.qty-btn:hover {
  background: var(--primary);
  color: var(--bg-dark);
  border-color: var(--primary);
}

.qty-num {
  font-weight: 700;
  width: 20px;
  text-align: center;
}

.add-cart-btn {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-light);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  flex-grow: 1;
  transition: var(--transition);
}

.add-cart-btn:hover {
  background: var(--primary);
  color: var(--bg-dark);
  border-color: var(--primary);
}

/* DESTACADO ESPECIAL */
.featured-section {
  padding: 100px 25px;
  background: linear-gradient(180deg, #0e0e10 0%, var(--bg-dark) 100%);
}

.featured-wrap {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(20, 20, 22, 0.5) 100%);
  border-radius: 32px;
  border: 1px solid var(--glass-border);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.featured-img-container {
  height: 500px;
  overflow: hidden;
}

.featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.featured-wrap:hover .featured-img {
  transform: scale(1.03);
}

.featured-info {
  padding: 50px;
}

.featured-info h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 20px;
  line-height: 1.2;
}

.featured-info p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 35px;
}

.featured-bullets {
  list-style: none;
  margin-bottom: 35px;
}

.featured-bullets li {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.featured-bullets li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
}

/* BANNER DE TRADICION */
.tradition-banner {
  padding: 100px 25px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--bg-dark);
  text-align: center;
}

.banner-content {
  max-width: 900px;
  margin: 0 auto;
}

.tradition-banner h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.2;
}

.tradition-banner p {
  font-size: 1.2rem;
  opacity: 0.9;
  font-weight: 500;
}

/* GALERIA - PREMIUM GRID */
.gallery-section {
  padding: 100px 25px;
  background: var(--bg-dark);
}

.gallery-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  height: 280px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(251, 133, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-hover {
  opacity: 1;
}

.gallery-hover span {
  background: var(--text-light);
  color: var(--bg-dark);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

/* CONTACT SECTION */
.contact-section {
  padding: 100px 25px;
  background: #0e0e10;
}

.contact-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  padding: 40px;
  border-radius: 24px;
}

.contact-info h2 {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 25px;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.info-icon {
  background: rgba(251, 133, 0, 0.1);
  border: 1px solid rgba(251, 133, 0, 0.2);
  color: var(--primary);
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-details h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.info-details p {
  margin: 0;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 35px;
}

.social-btn {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-light);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--bg-dark);
}

/* SIMULATOR MAP / CARD */
.contact-map-container {
  height: 100%;
  min-height: 400px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  text-align: center;
  background: radial-gradient(circle at center, #1b1b1e 0%, var(--bg-dark) 100%);
}

.map-placeholder h3 {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.map-placeholder p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 350px;
  margin-bottom: 30px;
}

.map-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(251, 133, 0, 0.1);
  border: 2px dashed var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
  margin-bottom: 30px;
}

.map-marker {
  font-size: 2.5rem;
  color: var(--primary);
}

/* SHOPPING CART OVERLAY */
.cart-overlay {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  height: 100vh;
  background: var(--bg-card);
  border-left: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.cart-overlay.open {
  right: 0;
}

.cart-header {
  padding: 25px;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
}

.close-cart {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.8rem;
  cursor: pointer;
  transition: var(--transition);
}

.close-cart:hover {
  color: var(--primary);
}

.cart-body {
  padding: 25px;
  flex-grow: 1;
  overflow-y: auto;
}

.cart-empty-msg {
  text-align: center;
  color: var(--text-muted);
  margin-top: 100px;
  font-size: 1.1rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item-details {
  flex-grow: 1;
  padding-right: 15px;
}

.cart-item-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
}

.cart-item-price {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
}

.cart-item-qty-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.1rem;
}

.cart-item-remove:hover {
  color: #ff3333;
}

.cart-footer {
  padding: 25px;
  border-top: 1px solid var(--glass-border);
  background: rgba(10, 10, 11, 0.5);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.cart-summary-total {
  color: var(--accent);
}

.send-order-btn {
  width: 100%;
  background: var(--success);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.send-order-btn:hover {
  background: var(--success-hover);
  transform: translateY(-2px);
}

/* BACKDROP */
.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  backdrop-filter: blur(5px);
}

.backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* FLOATING WHATSAPP BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: var(--success);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* FOOTER */
footer {
  background: #050506;
  padding: 40px 25px;
  text-align: center;
  border-top: 1px solid var(--glass-border);
}

footer p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(251, 133, 0, 0.4);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 20px rgba(251, 133, 0, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(251, 133, 0, 0);
  }
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  .featured-wrap {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .featured-img-container {
    height: 350px;
  }
  .contact-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* Can be handled by JS toggle drawer */
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(8, 8, 9, 0.97);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
  }

  .nav-links.open a {
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    width: 100%;
  }

  .menu-toggle {
    display: block;
  }