:root {
  --orange: #F4791C;
  --orange-dark: #C7590F;
  --yellow: #FFC72C;
  --black: #171310;
  --charcoal: #241E19;
  --cream: #FFF7EE;
  --white: #FFFFFF;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;

  --font-display: 'Anton', sans-serif;
  --font-script: 'Kalam', cursive;
  --font-body: 'Poppins', sans-serif;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2 {
  font-family: var(--font-display);
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }

.btn--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(244,121,28,.4);
}
.btn--primary:hover { background: var(--orange-dark); }

.btn--outline {
  background: transparent;
  border-color: var(--black);
  color: var(--black);
}
.btn--outline:hover { background: var(--black); color: var(--white); }

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

.icon { width: 20px; height: 20px; }

.btn--sm { padding: 9px 18px; font-size: 13px; }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  border-bottom: 3px solid var(--orange);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 20px;
  padding-top: calc(10px + env(safe-area-inset-top));
}
.topbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- Botón icono (compartir) ---------- */
.icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.12);
  color: var(--white);
  cursor: pointer;
  transition: background .15s ease;
}
.icon-btn:hover { background: rgba(255,255,255,.22); }
.icon-btn .toast {
  position: absolute;
  top: 120%;
  right: 0;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.icon-btn.is-copied .toast { opacity: 1; transform: translateY(0); }

/* ---------- Banner de instalación ---------- */
:root { --ibh: 0px; }
body { padding-top: var(--ibh); transition: padding-top .3s ease; }

.install-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--cream);
  border-bottom: 3px solid var(--orange);
  padding: 12px 16px;
  padding-top: calc(12px + env(safe-area-inset-top));
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
  transform: translateY(-100%);
  transition: transform .3s ease;
}
.install-banner.is-visible { transform: translateY(0); }
.install-banner__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  flex-shrink: 0;
}
.install-banner__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-grow: 1;
  min-width: 0;
}
.install-banner__text strong { font-size: 14px; }
.install-banner__text span { font-size: 12px; color: #6b5d50; }
.install-banner__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.install-banner__close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--black);
  font-size: 15px;
  cursor: pointer;
}
.install-banner__close:hover { background: rgba(0,0,0,.06); }

@media (max-width: 480px) {
  .install-banner__text span { display: none; }
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}
.brand__logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--orange);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: var(--font-display); font-size: 16px; letter-spacing: .03em; text-transform: uppercase; }
.brand__text small { color: var(--yellow); font-size: 11px; }

.topnav { display: flex; gap: 22px; }
.topnav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  opacity: .85;
}
.topnav a:hover { opacity: 1; color: var(--yellow); }

.topnav__cta { padding: 10px 18px; font-size: 14px; }

@media (max-width: 720px) {
  .topnav { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 90px 0 70px;
  text-align: center;
}
.hero__inner { max-width: 720px; margin: 0 auto; }
.badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-script);
  font-size: 18px;
  padding: 6px 18px;
  border-radius: 999px;
  transform: rotate(-3deg);
  margin-bottom: 18px;
}
.badge--dark { background: var(--orange); color: var(--white); }

.hero h1 {
  font-size: clamp(34px, 6vw, 58px);
  margin-bottom: 18px;
}
.hero__lead {
  font-size: 17px;
  opacity: .95;
  margin-bottom: 30px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Menú ---------- */
.menu { padding: 70px 0; }
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  text-align: center;
  color: var(--black);
}
.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--orange);
  margin: 14px auto 0;
  border-radius: 4px;
}
.section-lead {
  text-align: center;
  color: #6b5d50;
  margin-top: 10px;
  margin-bottom: 36px;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.tab {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 999px;
  border: 2px solid var(--orange);
  background: transparent;
  color: var(--orange-dark);
  cursor: pointer;
  transition: all .15s ease;
}
.tab.is-active, .tab:hover {
  background: var(--orange);
  color: var(--white);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.meat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 4px 14px rgba(23,19,16,.08);
  border: 1px solid rgba(23,19,16,.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.meat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(23,19,16,.14);
}
.meat-card__name {
  font-family: var(--font-display);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--black);
}
.meat-card__note {
  font-size: 13px;
  color: #8a7a6c;
  margin: 0;
  flex-grow: 1;
}
.meat-card .btn { justify-content: center; margin-top: 6px; }

/* ---------- Eventos ---------- */
.eventos {
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 90px 0;
  text-align: center;
}
.eventos__inner { max-width: 640px; margin: 0 auto; }
.eventos h2 {
  font-size: clamp(28px, 4.5vw, 42px);
  margin: 16px 0;
}
.eventos p { font-size: 16px; opacity: .95; margin-bottom: 26px; }

/* ---------- Ubicación ---------- */
.ubicacion { padding: 70px 0; background: var(--white); }
.ubicacion__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}
.ubicacion__info .section-title { text-align: left; }
.ubicacion__info .section-title::after { margin-left: 0; }
.direccion { font-size: 16px; margin: 18px 0; line-height: 1.5; }
.direccion span { color: #8a7a6c; font-size: 14px; }
.direccion a { color: var(--orange-dark); font-weight: 600; text-decoration: none; }
.ubicacion__map {
  height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
@media (max-width: 800px) {
  .ubicacion__inner { grid-template-columns: 1fr; }
  .ubicacion__map { height: 260px; }
}

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--white); padding: 34px 0; text-align: center; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.footer__logo { width: 56px; height: 56px; border-radius: 50%; margin-bottom: 8px; border: 2px solid var(--orange); }
.footer p { margin: 2px 0; font-size: 14px; }
.footer__muted { color: #9a897a; font-size: 13px; }

/* ---------- FAB WhatsApp ---------- */
.fab-whatsapp {
  position: fixed;
  bottom: calc(22px + env(safe-area-inset-bottom));
  right: calc(22px + env(safe-area-inset-right));
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(37,211,102,.5);
  z-index: 60;
  animation: pulse 2.4s infinite;
  text-decoration: none;
}
.fab-whatsapp .icon { width: 30px; height: 30px; }
.fab-whatsapp:hover { background: var(--whatsapp-dark); }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55), 0 8px 22px rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0), 0 8px 22px rgba(37,211,102,.5); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 8px 22px rgba(37,211,102,.5); }
}

@media (max-width: 480px) {
  .fab-whatsapp {
    width: 54px;
    height: 54px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    right: calc(16px + env(safe-area-inset-right));
  }
}

/* ---------- Ajustes móviles ---------- */
@media (max-width: 600px) {
  .container { padding: 0 16px; }

  .brand__logo { width: 36px; height: 36px; }
  .brand__text strong { font-size: 13px; }
  .brand__text small { display: none; }

  .topnav__cta { padding: 9px 14px; font-size: 13px; }

  .hero { padding: 60px 0 46px; }
  .hero__lead { font-size: 15px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }

  .menu { padding: 50px 0; }
  .eventos { padding: 60px 0; }
  .ubicacion { padding: 50px 0; }

  .tabs { gap: 8px; }
  .tab { padding: 9px 18px; font-size: 13px; }
}

@media (max-width: 360px) {
  .topnav__cta-label { display: none; }
  .topnav__cta { padding: 10px; width: 40px; height: 40px; justify-content: center; }
}
