/* ===== VARIABLES ===== */
:root {
  --naranja: #FF6B00;
  --naranja-claro: #FFF0E6;
  --dorado: #FFB800;
  --verde-wa: #25D366;
  --oscuro: #1A1A1A;
  --gris-texto: #555555;
  --gris-claro: #F8F8F8;
  --blanco: #FFFFFF;
  --sombra: 0 4px 20px rgba(255,107,0,0.15);
  --font-title: 'Fredoka One', cursive;
  --font-body: 'Nunito', sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: #fff; color: var(--oscuro); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== TOP BANNER ===== */
.top-banner {
  position: relative;
  z-index: 1001;
  height: 38px;
  background: var(--dorado);
  color: var(--oscuro);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 1rem;
  position: sticky;
  top: 0;
}
.top-banner-btn {
  background: var(--naranja);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}
.top-banner-btn:hover { background: var(--oscuro); }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 38px;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  padding: 0 5%;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo img { height: 50px; }
#navMenu {
  display: flex;
  gap: 1.8rem;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.nav-link {
  font-family: var(--font-title);
  font-size: 1rem;
  color: var(--oscuro);
  transition: color 0.2s, border-bottom 0.2s;
  padding-bottom: 2px;
}
.nav-link:hover {
  color: var(--naranja);
  border-bottom: 2px solid var(--naranja);
}
.nav-actions { display: flex; align-items: center; gap: 0.6rem; }
.btn-llamar {
  background: var(--naranja);
  color: #fff;
  border-radius: 25px;
  padding: 8px 18px;
  font-family: var(--font-title);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.2s;
}
.btn-llamar:hover { background: #e55a00; }
.btn-carrito {
  background: var(--oscuro);
  color: var(--dorado);
  border-radius: 25px;
  padding: 8px 16px;
  font-family: var(--font-title);
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-carrito:hover { background: #333; }
#cart-count {
  background: var(--naranja);
  color: #fff;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 0.75rem;
}
#lang-btn {
  background: transparent;
  border: 2px solid var(--naranja);
  color: var(--naranja);
  border-radius: 20px;
  padding: 6px 14px;
  font-family: var(--font-title);
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.2s, color 0.2s;
}
#lang-btn:hover { background: var(--naranja); color: #fff; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 5px; }
.hamburger span { display: block; width: 25px; height: 2px; background: var(--naranja); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; margin: 5px 0; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,7px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-7px); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  background: url('img/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(255,107,0,0.4));
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 20px 1.5rem;
  max-width: 860px;
  margin: 0 auto;
}
@keyframes heartbeat {
  0%,100% { transform: scale(1); }
  14% { transform: scale(1.1); }
  28% { transform: scale(1); }
  42% { transform: scale(1.06); }
  70% { transform: scale(1); }
}
.hero-logo { animation: heartbeat 2s ease-in-out infinite !important; }
@media (max-width: 768px) {
  .hero-logo { width: 110px !important; max-width: 110px !important; height: 110px !important; }
}
.hero-badge {
  display: inline-block;
  background: rgba(255,184,0,0.9);
  color: var(--oscuro);
  padding: 6px 18px;
  border-radius: 20px;
  font-family: var(--font-title);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-title);
  font-size: 3.2rem;
  color: var(--dorado);
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  margin-bottom: 8px;
}
.hero-sub { color: #fff; font-size: 1.1rem; margin-bottom: 4px; }
.hero-sub-en { color: var(--dorado); font-style: italic; font-size: 0.95rem; margin-bottom: 12px; }
.hero-tagline { color: rgba(255,255,255,0.85); font-size: 0.9rem; margin-bottom: 24px; }
.hero-call-box {
  background: rgba(0,0,0,0.55);
  border: 2px solid var(--dorado);
  border-radius: 16px;
  padding: 20px 30px;
  display: inline-block;
  margin-bottom: 20px;
}
.hero-call-box p {
  color: var(--dorado);
  font-family: var(--font-title);
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn-call-hero {
  background: var(--naranja);
  color: #fff;
  font-family: var(--font-title);
  font-size: 1.2rem;
  padding: 13px 26px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(255,107,0,0.5);
  transition: background 0.2s, color 0.2s;
}
.btn-call-hero:hover { background: var(--dorado); color: var(--oscuro); }
.hero-sec-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-sec {
  border: 2px solid #fff;
  color: #fff;
  padding: 10px 22px;
  border-radius: 25px;
  font-family: var(--font-title);
  transition: background 0.2s, color 0.2s;
}
.btn-sec:hover { background: #fff; color: var(--naranja); }
.btn-wa-hero {
  background: var(--verde-wa);
  color: #fff;
  padding: 10px 22px;
  border-radius: 25px;
  font-family: var(--font-title);
  transition: background 0.2s;
}
.btn-wa-hero:hover { background: #1ebe5d; }

/* ===== INFO BAR ===== */
.info-bar {
  background: var(--naranja);
  padding: 14px 5%;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}
.info-item { display: flex; align-items: center; gap: 6px; }

/* ===== SECTION COMMONS ===== */
.sec-header { text-align: center; margin-bottom: 2.5rem; }
.sec-header h2 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  color: var(--naranja);
}
.sec-line { width: 60px; height: 4px; background: var(--naranja); margin: 8px auto 16px; border-radius: 2px; }
.sec-sub { color: var(--gris-texto); font-size: 0.95rem; }

/* ===== MENÚ ===== */
.sec-menu { background: #fff; padding: 70px 5%; }
.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .menu-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 14px;
  }
}
.menu-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid #FFE0CC;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.menu-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(255,107,0,0.2); }
.menu-card img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 14px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-family: var(--font-title); color: var(--oscuro); font-size: 1rem; margin-bottom: 4px; }
.card-price { color: var(--naranja); font-weight: 800; font-size: 1.15rem; margin-bottom: 6px; }
.card-body p { color: #777; font-size: 0.8rem; line-height: 1.4; margin-bottom: 10px; }
.btn-add {
  width: 100%;
  background: var(--naranja);
  color: #fff;
  font-family: var(--font-title);
  font-size: 0.95rem;
  padding: 9px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: auto;
  transition: background 0.2s, color 0.2s;
}
.btn-add:hover { background: var(--dorado); color: var(--oscuro); }

/* ===== CATEGORY FILTERS ===== */
.category-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 35px;
  padding: 0 10px;
}

.filter-btn {
  background: transparent;
  border: 2px solid #FF6B00;
  color: #FF6B00;
  font-family: 'Fredoka One';
  font-size: 1rem;
  padding: 10px 24px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.filter-btn:hover,
.filter-btn.active {
  background: #FF6B00;
  color: #fff;
}
.menu-card.hidden { display: none !important; }

@media (max-width: 600px) {
  .category-filters {
    gap: 8px;
    margin-bottom: 24px;
  }
  .filter-btn {
    font-size: 0.82rem;
    padding: 8px 14px;
  }
}

/* ===== CARRITO ===== */
#cart-panel {
  position: fixed;
  right: -400px;
  top: 0;
  width: 360px;
  height: 100vh;
  background: #fff;
  border-left: 3px solid var(--naranja);
  z-index: 2000;
  transition: right 0.3s ease;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 30px rgba(0,0,0,0.2);
}
#cart-panel.open { right: 0; }
.cart-header {
  background: var(--naranja);
  color: #fff;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-header h3 { font-family: var(--font-title); font-size: 1.2rem; margin: 0; }
#close-cart { background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }
#cart-items { flex: 1; overflow-y: auto; padding: 15px; }
.cart-empty { text-align: center; padding: 2rem 1rem; color: #999; }
.cart-empty p { margin-top: 0.5rem; font-size: 0.9rem; }
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #FFE0CC;
  gap: 0.5rem;
}
.cart-item-name { font-family: var(--font-body); font-weight: 700; color: var(--oscuro); font-size: 0.9rem; flex: 1; }
.cart-item-controls { display: flex; align-items: center; gap: 8px; }
.qty-btn {
  background: var(--naranja);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-footer { padding: 15px; border-top: 2px solid #FFE0CC; }
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-title);
  font-size: 1.2rem;
  color: var(--oscuro);
  margin-bottom: 12px;
}
#cart-total { color: var(--naranja); }
#whatsapp-order {
  width: 100%;
  background: var(--verde-wa);
  color: #fff;
  font-family: var(--font-title);
  font-size: 1rem;
  padding: 14px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
#whatsapp-order:hover { background: #1ebe5d; }
#cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 1999; display: none; }
#cart-overlay.show { display: block; }

/* ===== REELS ===== */
.sec-reels { background: var(--naranja); padding: 70px 5%; }
.sec-title-white { font-family: var(--font-title); font-size: 2.2rem; color: #fff; text-align: center; }
.sec-sub-white { color: rgba(255,255,255,0.85); text-align: center; margin-top: 0.25rem; font-size: 0.95rem; margin-bottom: 0; }
.reels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1100px;
  margin: 30px auto;
}
.reel-wrapper {
  position: relative;
  padding-bottom: 177.77%;
  height: 0;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.sound-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
}
.sound-btn:hover { background: rgba(255,107,0,0.8); }
.reel-wrapper video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 14px;
}
.reels-socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}
.reels-socials a { color: #fff; font-size: 2.2rem; transition: transform 0.2s, opacity 0.2s; }
.reels-socials a:hover { transform: scale(1.2); opacity: 0.8; }

/* ===== CATERING ===== */
.sec-catering { background: var(--naranja-claro); padding: 70px 5%; }
.sec-catering .sec-header h2 { color: var(--naranja); }
.catering-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
.catering-img img {
  width: 100%;
  border-radius: 16px;
  height: 500px;
  object-fit: cover;
  box-shadow: 0 8px 30px rgba(255,107,0,0.2);
}
.catering-list { list-style: none; margin-top: 1.5rem; }
.catering-list li {
  padding: 0.55rem 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--oscuro);
  border-bottom: 1px solid #FFE0CC;
}
.catering-form-box {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.catering-form-box input,
.catering-form-box select,
.catering-form-box textarea {
  border: 2px solid #FFE0CC;
  border-radius: 8px;
  padding: 12px;
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--oscuro);
  outline: none;
  background: #fff;
  transition: border-color 0.2s;
}
.catering-form-box input:focus,
.catering-form-box select:focus,
.catering-form-box textarea:focus { border-color: var(--naranja); }
.btn-catering-wa {
  background: var(--verde-wa);
  color: #fff;
  font-family: var(--font-title);
  font-size: 1.05rem;
  padding: 14px;
  border-radius: 12px;
  border: none;
  width: 100%;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-catering-wa:hover { background: #1ebe5d; }

/* ===== RESEÑAS ===== */
.sec-reviews { background: var(--gris-claro); padding: 70px 5%; }
.google-logo {
  font-size: 1.8rem;
  letter-spacing: -1px;
  margin-bottom: 10px;
}
.reviews-rating { text-align: center; margin-bottom: 8px; }
.rating-num { font-size: 3rem; font-weight: 900; color: var(--oscuro); }
.rating-stars { color: var(--dorado); font-size: 1.5rem; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.review-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  border: 1px solid #FFE0CC;
}
.review-top { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.review-avatar { border-radius: 50%; width: 50px; height: 50px; object-fit: cover; flex-shrink: 0; }
.review-top strong { display: block; color: var(--oscuro); font-size: 0.95rem; }
.review-stars-sm { color: var(--dorado); font-size: 0.9rem; }
.review-card p { font-size: 0.88rem; color: var(--gris-texto); line-height: 1.6; }

/* ===== NOSOTROS ===== */
.sec-nosotros { background: var(--naranja); padding: 70px 5%; text-align: center; }
.nosotros-inner { max-width: 700px; margin: 0 auto; }
.sec-nosotros h2 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 20px;
}
.sec-nosotros p {
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer { background: var(--oscuro); padding: 50px 5% 20px; color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 30px;
}
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-name { font-family: var(--font-title); font-size: 1.1rem; color: var(--dorado); }
.footer-tagline { color: #aaa; font-size: 0.85rem; }
.footer-col h4 { font-family: var(--font-title); color: var(--dorado); font-size: 1rem; margin-bottom: 4px; }
.footer-col a { font-size: 0.88rem; color: #aaa; display: block; transition: color 0.2s; }
.footer-col a:hover { color: var(--naranja); }
.footer-socials { display: flex; gap: 14px; margin-top: 6px; }
.footer-socials a { font-size: 1.4rem; }
.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 0;
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: #aaa;
}

/* ===== WHATSAPP FLOTANTE ===== */
@keyframes pulse-wa {
  0%,100% { box-shadow: 0 4px 15px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 25px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0.1); }
}
#whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background: var(--verde-wa);
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  animation: pulse-wa 2s infinite;
  transition: transform 0.2s;
}
#whatsapp-float:hover { transform: scale(1.1); }

/* ===== FADE-IN ===== */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .reels-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .catering-layout { grid-template-columns: 1fr; }
  .catering-img img { height: 280px; }
}

@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-actions #lang-btn { display: none; }
  #navMenu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 103px;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    gap: 1.2rem;
    z-index: 999;
  }
  #navMenu.open { display: flex; }
  .hero-title { font-size: 2rem; }
  .hero-call-box { padding: 16px 20px; }
  .hero-btns { flex-direction: column; }
  .btn-call-hero { width: 100%; text-align: center; }
  .info-bar { flex-direction: column; gap: 0.75rem; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .menu-grid { grid-template-columns: 1fr; }
  .reels-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  #cart-panel { width: 100%; right: -100%; }
  .sec-menu, .sec-reels, .sec-catering, .sec-reviews, .sec-nosotros { padding: 50px 5%; }
  .top-banner { font-size: 10px; }
}
