:root {
  --bg: rgb(242, 242, 242);
  --text: #000;
  --muted: #555;
  --active: #FBBA30;
  --delivery: #FA0050;
  --white: #fff;
  --shadow: 0 18px 42px rgba(0,0,0,.12);
  --shadow-lg: 0 30px 80px rgba(0,0,0,.14);
  --radius: 28px;
  --radius-sm: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; overflow-x: hidden; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(251,186,48,.16), transparent 30%),
    radial-gradient(circle at 92% 18%, rgba(250,0,80,.08), transparent 26%),
    var(--bg);
  overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; height: auto; }

.topbar {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 50;
  width: min(1120px, calc(100% - 32px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 12px 14px 12px 20px;
  border-radius: 24px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 18px 48px rgba(0,0,0,.10);
  backdrop-filter: blur(16px);
}
.topbar-logo { display: inline-flex; align-items: center; text-decoration: none; }
.topbar-logo img { width: 142px; display: block; }
.topbar-links { display: flex; justify-content: center; align-items: center; gap: 6px; }
.topbar-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 13px;
  border-radius: 13px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: background .18s ease, transform .18s ease;
}
.topbar-links a:hover { background: rgba(0,0,0,.07); transform: translateY(-1px); }
.topbar-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px 8px 16px;
  border-radius: 15px;
  background: var(--active);
  color: #111;
  box-shadow: 0 12px 28px rgba(251,186,48,.28);
  text-decoration: none;
  font-weight: 900;
}
.topbar-order img { width: 32px; height: 32px; border-radius: 10px; object-fit: cover; }
.topbar-order i { font-size: 24px; line-height: 1; }

main { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding-top: 132px; }
.hero {
  min-height: calc(100svh - 132px);
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, .82fr);
  align-items: center;
  gap: clamp(34px, 6vw, 72px);
  padding: clamp(38px, 5vw, 72px) 0 clamp(64px, 8vw, 104px);
}
.status {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  width: fit-content;
  padding: 10px 16px;
  border-radius: 14px;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}
.status.open { background: var(--active); color: #000; }
.status.closed { background: #111; color: #fff; }
.status::before { content: ''; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: currentColor; }

h1, h2 { margin: 0; font-weight: 900; letter-spacing: -.07em; line-height: .92; text-wrap: balance; }
h1 { max-width: 780px; margin-top: 28px; font-size: clamp(50px, 7vw, 94px); }
h2 { max-width: 820px; font-size: clamp(38px, 5.4vw, 72px); }
.lead { max-width: 620px; margin: 24px 0 0; color: #1f1f1f; font-size: clamp(18px, 2vw, 23px); line-height: 1.42; font-weight: 500; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 12px 22px 12px 14px;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(0,0,0,.14);
  transition: transform .18s ease, box-shadow .18s ease;
}
.hero-btn:hover { transform: translateY(-2px); box-shadow: 0 22px 44px rgba(0,0,0,.18); }
.hero-btn img { width: 36px; height: 36px; object-fit: cover; border-radius: 10px; }
.hero-btn i {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.hero-btn.maps { background: #111; color: #fff; }
.hero-btn.delivery { background: var(--active); color: #111; box-shadow: 0 16px 36px rgba(251,186,48,.28); }

.hero-mascot { justify-self: center; position: relative; isolation: isolate; }
.hero-mascot::before {
  content: '';
  position: absolute;
  inset: 12% -10% 7% -5%;
  z-index: -1;
  border-radius: 42% 58% 46% 54%;
  background: var(--active);
  box-shadow: var(--shadow-lg);
  transform: rotate(-7deg);
}
.hero-mascot::after { content: ''; position: absolute; left: 14%; right: 8%; bottom: 0; height: 24px; border-radius: 50%; background: rgba(0,0,0,.14); filter: blur(8px); z-index: -1; }
.hero-mascot img { width: min(360px, 78vw); filter: drop-shadow(0 24px 20px rgba(0,0,0,.16)); animation: mascot-float 5s ease-in-out infinite; }

.order-strip { margin: 0 auto clamp(76px, 9vw, 118px); padding: clamp(8px, 1.4vw, 16px) 0; display: flex; justify-content: center; align-items: center; }
.pedidos-btn {
  position: relative;
  width: min(680px, 100%);
  margin-inline: auto;
  min-height: clamp(68px, 8vw, 88px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 18px clamp(96px, 13vw, 132px) 18px clamp(24px, 4vw, 44px);
  border-radius: 24px;
  background: var(--delivery);
  color: #fff;
  text-decoration: none;
  font-size: clamp(26px, 3.6vw, 48px);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 26px 60px rgba(250,0,80,.26);
  transition: transform .18s ease, box-shadow .18s ease;
}
.pedidos-btn:hover { transform: translateY(-3px); box-shadow: 0 36px 82px rgba(250,0,80,.34); }
.pedidos-btn img {
  position: absolute;
  right: clamp(-8px, 1vw, 16px);
  top: 50%;
  width: clamp(78px, 9vw, 102px);
  height: clamp(78px, 9vw, 102px);
  object-fit: cover;
  border-radius: 24px;
  transform: translateY(-50%) rotate(5deg);
  box-shadow: 0 18px 38px rgba(0,0,0,.22);
  animation: pedidos-bob 2.8s ease-in-out infinite;
}

.map-section, .gallery-section, .reviews-section, .hours-wrap { margin-bottom: clamp(84px, 10vw, 130px); padding: clamp(8px, 2vw, 18px) 0; }
.section-head { margin-bottom: clamp(30px, 5vw, 52px); }
.section-head.center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.section-head.center h2 { margin-inline: auto; }
.review-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  min-height: 54px;
  padding: 14px 22px;
  border-radius: 18px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-weight: 900;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.review-cta:hover { transform: translateY(-2px); box-shadow: 0 24px 54px rgba(0,0,0,.14); }
.review-cta i { color: var(--active); font-size: 20px; }


.map-frame { overflow: hidden; border-radius: 30px; box-shadow: var(--shadow-lg); background: #ddd; }
.map-frame iframe { display: block; width: 100%; height: clamp(340px, 48vw, 540px); border: 0; }

.reviews-feed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.reviews-feed article {
  min-height: 198px;
  padding: 28px;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.stars { color: var(--active); letter-spacing: 3px; font-size: 28px; line-height: 1; text-shadow: 0 8px 22px rgba(251,186,48,.32); }
.reviews-feed p { margin: 22px 0; color: #222; font-size: 17px; line-height: 1.46; font-weight: 500; }
.reviews-feed strong { font-size: 14px; color: var(--muted); }

.hours-section { max-width: 680px; margin: 0 auto; padding: clamp(28px, 4vw, 42px); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-lg); }
.hours-section > p { margin: 0 0 24px; color: #222; font-weight: 700; text-align: center; }
.hours-board { display: grid; grid-template-columns: 1fr; gap: 9px; }
.hours-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #f4f4f4;
  font-size: 15px;
  min-height: 46px;
}
.hours-row span { font-weight: 850; }
.hours-row strong { text-align: right; font-weight: 850; }
.hours-row.today { background: #111; color: #fff; box-shadow: 0 16px 34px rgba(0,0,0,.16); }
.hours-section small { display: block; margin-top: 16px; color: #7a5600; font-weight: 800; text-align: center; }

.footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 32px;
  padding: 26px 0 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  color: #333;
  font-weight: 700;
  text-align: center;
}
.footer a { text-decoration: none; font-weight: 900; }
.footer a:hover { text-decoration: underline; }
.footer-social { display: flex; gap: 14px; align-items: center; justify-content: center; }
.footer-social a {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 21px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.footer-social a:hover { transform: translateY(-2px); box-shadow: 0 20px 42px rgba(0,0,0,.16); text-decoration: none; }
.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: var(--active);
  color: #111;
  text-decoration: none;
  font-size: 36px;
  box-shadow: 0 18px 46px rgba(251,186,48,.34);
  transition: transform .18s ease, box-shadow .18s ease;
}
.floating-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 56px rgba(251,186,48,.42);
}

@keyframes mascot-float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1.5deg); } }
@keyframes pedidos-bob { 0%, 100% { transform: translateY(-50%) rotate(5deg); } 50% { transform: translateY(-64%) rotate(-3deg); } }

@media (max-width: 920px) {
  .topbar { grid-template-columns: auto auto; }
  .topbar-links { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; text-align: center; padding-top: 34px; }
  .status, .hero-actions { margin-inline: auto; justify-content: center; }
  .lead { margin-inline: auto; }
  .hero-mascot { order: -1; }
  .reviews-feed { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 92px; }
  main { width: min(100% - 24px, 1120px); padding-top: 104px; }
  .topbar { top: 10px; width: calc(100% - 20px); border-radius: 20px; padding: 10px 10px 10px 14px; }
  .topbar-logo img { width: 116px; }
  .topbar-order { min-height: 42px; padding: 7px 8px 7px 13px; border-radius: 14px; }
  .topbar-order img { width: 30px; height: 30px; }
  .topbar-order i { font-size: 23px; }
  h1 { font-size: clamp(42px, 12vw, 64px); }
  h2 { font-size: clamp(34px, 10vw, 54px); }
  .status { min-height: 34px; font-size: 12px; padding: 8px 12px; border-radius: 12px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-btn { justify-content: center; }
  .pedidos-btn { min-height: 72px; padding: 18px 74px 18px 20px; border-radius: 22px; font-size: clamp(22px, 7vw, 31px); }
  .pedidos-btn img { right: 0; width: 76px; height: 76px; border-radius: 20px; }
  .hours-section { padding: 20px; border-radius: 22px; }
  .hours-row { font-size: 14px; padding: 11px 13px; }
  .footer { flex-direction: column; justify-content: center; text-align: center; }
  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    font-size: 32px;
  }
}

/* Galería de platos recuperada sin integración externa */
.gallery-section {
  margin-bottom: clamp(84px, 10vw, 130px);
  padding: clamp(8px, 2vw, 18px) 0;
}
.food-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
}
.food-gallery figure {
  margin: 0;
  height: clamp(280px, 33vw, 430px);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #ddd;
  transform: translateZ(0);
}
.food-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.food-gallery figure:hover img { transform: scale(1.045); }
@media (max-width: 920px) {
  .food-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .food-gallery figure { height: clamp(260px, 58vw, 420px); }
}
@media (max-width: 620px) {
  .food-gallery { gap: 12px; }
  .food-gallery figure { border-radius: 22px; }
  .topbar-links a[href^="tel"] { display: none; }
}
