:root {
  --bg: #14110f;
  --bg-2: #1c1815;
  --card: #231e1a;
  --text: #f5efe8;
  --muted: #a89d92;
  --accent: #ffb703;
  --accent-2: #ff5a36;
  --radius: 18px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: min(1120px, 92%); margin: 0 auto; }
.section { padding: clamp(60px, 9vw, 110px) 0; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; font-weight: 700;
  color: var(--accent); margin-bottom: 1rem;
}
.lead { color: var(--muted); font-size: 1.1rem; max-width: 680px; }
.gradient-text {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-block; padding: .9rem 1.8rem; border-radius: 999px; font-weight: 700;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #1a1208;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 24px rgba(255, 90, 54, .25);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(255, 90, 54, .4); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(255,255,255,.25); box-shadow: none; }
.btn-ghost:hover { border-color: var(--accent); box-shadow: none; }
.btn-dark { background: #14110f; color: var(--text); box-shadow: none; }
.btn-small { padding: .5rem 1.2rem; font-size: .9rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(4%, 20px); transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.scrolled {
  background: rgba(20, 17, 15, .85); backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.logo { font-size: 1.5rem; font-weight: 900; letter-spacing: -.03em; }
.logo span { color: var(--accent); margin: 0 .05em; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) { font-weight: 600; color: var(--muted); position: relative; transition: color .2s; }
.nav a:not(.btn):hover, .nav a.active { color: var(--text); }
.nav a.active:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--accent); border-radius: 2px;
}
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr;
  align-items: center; gap: 2rem; padding: calc(var(--header-h) + 30px) max(5%, 24px) 60px;
  overflow: hidden;
}
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .45; z-index: 0; animation: drift 14s ease-in-out infinite alternate; }
.blob-1 { width: 480px; height: 480px; background: #ff5a36; top: -120px; left: -100px; }
.blob-2 { width: 420px; height: 420px; background: #ffb703; bottom: -140px; right: 5%; animation-delay: -5s; }
.blob-3 { width: 300px; height: 300px; background: #b5179e; top: 30%; right: -80px; opacity: .3; animation-delay: -9s; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, 40px) scale(1.2); }
}

.hero-text, .hero-art { position: relative; z-index: 1; }
.hero-text h1 { margin-bottom: .4em; }
.slogan { font-size: 1.3rem; color: var(--muted); max-width: 460px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* entrada escalonada del texto */
.hero-text > * { opacity: 0; transform: translateY(30px); animation: rise .8s cubic-bezier(.2,.8,.2,1) forwards; }
.hero-text > :nth-child(1) { animation-delay: .1s; }
.hero-text > :nth-child(2) { animation-delay: .25s; }
.hero-text > :nth-child(3) { animation-delay: .45s; }
.hero-text > :nth-child(4) { animation-delay: .6s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Hamburguesa animada */
.hero-art { display: grid; place-items: center; min-height: 420px; }
.burger { width: min(520px, 100%); height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); animation: float 5s ease-in-out 2.2s infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-18px) rotate(2deg); }
}
.layer { opacity: 0; animation: drop .9s cubic-bezier(.34,1.56,.64,1) forwards; }
.l1 { animation-delay: .2s; }
.l2 { animation-delay: .4s; }
.l3 { animation-delay: .6s; }
.l4 { animation-delay: .8s; }
.l5 { animation-delay: 1s; }
.l6 { animation-delay: 1.25s; }
@keyframes drop {
  from { opacity: 0; transform: translateY(-340px); }
  to   { opacity: 1; transform: translateY(0); }
}
.shadow { animation: shadow 5s ease-in-out 2.2s infinite; transform-origin: 200px 345px; }
@keyframes shadow { 0%,100% { transform: scaleX(1); } 50% { transform: scaleX(.8); opacity: .2; } }

.ring { position: absolute; border-radius: 50%; border: 2px dashed rgba(255,183,3,.35); animation: spin 30s linear infinite; }
.ring-1 { width: 78%; aspect-ratio: 1; }
.ring-2 { width: 98%; aspect-ratio: 1; border-color: rgba(255,90,54,.25); animation-direction: reverse; animation-duration: 45s; }
@keyframes spin { to { transform: rotate(360deg); } }

.spark { position: absolute; color: var(--accent); font-size: 1.6rem; animation: twinkle 2.5s ease-in-out infinite; }
.spark-1 { top: 12%; left: 14%; }
.spark-2 { top: 22%; right: 10%; animation-delay: .8s; font-size: 2.2rem; color: var(--accent-2); }
.spark-3 { bottom: 14%; left: 22%; animation-delay: 1.5s; }
@keyframes twinkle { 0%,100% { opacity: .2; transform: scale(.7) rotate(0); } 50% { opacity: 1; transform: scale(1.2) rotate(90deg); } }

/* ---------- Marquee ---------- */
.marquee { background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #1a1208; overflow: hidden; padding: .9rem 0; transform: rotate(-1.2deg); margin: -10px -2% 0; position: relative; z-index: 2; }
.marquee-track { display: flex; gap: 2rem; width: max-content; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; animation: marquee 28s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section-head { margin-bottom: 3rem; }
.section-head h2 { max-width: 760px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; }
.feature {
  background: var(--card); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius);
  padding: 2rem 1.6rem; transition: transform .3s, border-color .3s, box-shadow .3s;
}
.feature:hover { transform: translateY(-8px); border-color: rgba(255,183,3,.5); box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.feature-icon { font-size: 2.4rem; margin-bottom: 1rem; }
.feature p { color: var(--muted); margin: 0; }

.cta { background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #1a1208; text-align: center; padding: 80px 0; }
.cta p { font-size: 1.15rem; margin-bottom: 1.8rem; }

/* ---------- Contacto ---------- */
.contact { background: var(--bg-2); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.contact-card { background: var(--card); border-radius: var(--radius); padding: 2rem; border: 1px solid rgba(255,255,255,.06); }
.contact-card p, .contact-card li { color: var(--muted); }
.link { color: var(--accent); font-weight: 700; }
.link:hover { text-decoration: underline; }
.hours, .contact-list { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px dashed rgba(255,255,255,.1); }
.hours li:last-child { border: 0; }
.contact-list li { padding: .3rem 0; }
.contact-list a:hover { color: var(--accent); }
.socials { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.2rem; }
.socials a { border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: .3rem .9rem; font-size: .88rem; transition: all .2s; }
.socials a:hover { background: var(--accent); color: #1a1208; border-color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: #0e0c0a; padding: 2.5rem 0; text-align: center; color: var(--muted); font-size: .92rem; }
.footer-inner { display: grid; gap: .5rem; justify-items: center; }
.footer-inner p { margin: 0; }
.copy { font-size: .8rem; opacity: .7; }

/* ---------- Página de la carta ---------- */
.page-hero { padding: calc(var(--header-h) + 60px) max(5%, 24px) 30px; text-align: center; display: grid; justify-items: center; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }

.promo {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; justify-content: space-between;
  background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #1a1208;
  border-radius: var(--radius); padding: 1.6rem 2rem; margin-top: 1.5rem;
  box-shadow: 0 20px 50px rgba(255,90,54,.25); position: relative; overflow: hidden;
}
.promo[hidden] { display: none; }
.promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-100%); animation: shine 4s ease-in-out infinite; }
@keyframes shine { 60%, 100% { transform: translateX(100%); } }
.promo-badge { background: #14110f; color: var(--accent); padding: .3rem 1rem; border-radius: 999px; font-weight: 800; text-transform: uppercase; font-size: .8rem; letter-spacing: .1em; }
.promo-body { flex: 1 1 260px; }
.promo-body h2 { margin: 0 0 .2em; font-size: 1.8rem; }
.promo-body p { margin: 0; font-weight: 600; }
.promo-price { font-size: 2.4rem; font-weight: 900; }

.menu-section { padding-top: 40px; }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.5rem; }
.filter {
  font: inherit; font-weight: 700; cursor: pointer; color: var(--muted); background: var(--card);
  border: 1px solid rgba(255,255,255,.1); border-radius: 999px; padding: .6rem 1.3rem; transition: all .2s;
}
.filter:hover { color: var(--text); border-color: var(--accent); }
.filter.active { background: var(--accent); color: #1a1208; border-color: var(--accent); }

.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.6rem; }
.dish { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.06); transition: transform .3s, box-shadow .3s; }
.dish:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(0,0,0,.5); }
.dish-img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #1e1a17; }
.dish-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.dish:hover .dish-img img { transform: scale(1.08); }
.tags { position: absolute; top: 12px; left: 12px; display: flex; gap: .4rem; flex-wrap: wrap; }
.tag { background: rgba(20,17,15,.85); backdrop-filter: blur(4px); color: var(--accent); font-size: .72rem; font-weight: 800; padding: .25rem .7rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.dish-body { padding: 1.3rem 1.4rem 1.5rem; }
.dish-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.dish-head h3 { margin: 0 0 .4em; }
.price { font-weight: 900; color: var(--accent); font-size: 1.15rem; white-space: nowrap; }
.dish-body p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 1.2rem;
    background: rgba(20,17,15,.97); padding: 1.8rem; transform: translateY(-120%);
    transition: transform .35s ease; box-shadow: 0 20px 30px rgba(0,0,0,.5);
  }
  .nav.open { transform: translateY(0); }
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: calc(var(--header-h) + 20px); }
  .hero-text { order: 2; }
  .hero-art { order: 1; min-height: 300px; }
  .slogan { margin-inline: auto; }
  .hero-actions { justify-content: center; }
}

/* ---------- Accesibilidad: menos movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero-text > *, .layer, .reveal { opacity: 1; transform: none; }
}
