@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Manrope:wght@400;500;600;700;800&display=swap');

*,*::before,*::after{box-sizing:border-box}

:root{
  --bg:#140f0c;
  --bg-elevated:#1f1712;
  --surface:#2a1f18;
  --text:#f6efe6;
  --text-muted:#c4b4a3;
  --brand:#f0a202;
  --brand-hot:#e4572e;
  --accent:#ffd166;
  --line:rgba(246,239,230,.12);
  --success:#3ddc97;
  --font-display:'Archivo Black',sans-serif;
  --font-body:'Manrope',system-ui,sans-serif;
}

html{scroll-behavior:smooth}

body{
  margin:0;min-height:100vh;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%,rgba(240,162,2,.18),transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%,rgba(228,87,46,.16),transparent 50%),
    linear-gradient(180deg,#1a120e 0%,var(--bg) 40%,#0e0b09 100%);
  color:var(--text);
  font-family:var(--font-body);
}

a{color:inherit;text-decoration:none}
::selection{background:rgba(240,162,2,.35);color:#fff}

/* ─── Animations ─── */
@keyframes rise-in{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
@keyframes glow-pulse{0%,100%{box-shadow:0 0 0 0 rgba(240,162,2,.35)}50%{box-shadow:0 0 0 12px rgba(240,162,2,0)}}
.animate-rise{animation:rise-in .7s ease-out both}
.animate-rise-delay{animation:rise-in .8s ease-out .15s both}
.cta-pulse{animation:glow-pulse 2.4s ease-in-out infinite}

/* ─── Header ─── */
.site-header{
  position:sticky;top:0;z-index:50;
  border-bottom:1px solid rgba(246,239,230,.08);
  background:rgba(20,15,12,.8);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
}
.header-inner{max-width:72rem;margin:0 auto;padding:1rem 1.25rem}
.header-top{display:flex;align-items:center;justify-content:space-between;gap:.75rem}
.logo{font-family:var(--font-display);font-size:1.5rem;letter-spacing:-.02em;transition:color .2s}
.logo:hover{color:var(--brand)}
.nav-desktop{display:none;align-items:center;gap:2rem;font-size:.875rem;font-weight:500;color:var(--text-muted)}
.nav-desktop a:hover{color:var(--text)}
.header-actions{display:flex;align-items:center;gap:.5rem}
.btn-cart{
  position:relative;border-radius:.375rem;border:1px solid var(--line);
  padding:.5rem .75rem;font-size:.875rem;font-weight:600;
  color:var(--text);background:transparent;cursor:pointer;transition:border-color .2s;
}
.btn-cart:hover{border-color:rgba(240,162,2,.5)}
.cart-badge{
  position:absolute;top:-.5rem;right:-.5rem;
  min-width:1.25rem;height:1.25rem;
  display:none;align-items:center;justify-content:center;
  border-radius:9999px;background:var(--brand);
  font-size:.75rem;font-weight:700;color:#1a120e;padding:0 .25rem;
}
.cart-badge.show{display:flex}
.btn-order-sm{
  border:none;border-radius:.375rem;background:var(--brand);
  padding:.5rem .75rem;font-size:.875rem;font-weight:700;
  color:#1a120e;cursor:pointer;transition:background .2s;
}
.btn-order-sm:hover{background:var(--accent)}
.nav-mobile{display:flex;gap:1.25rem;margin-top:.75rem;font-size:.875rem;font-weight:500;color:var(--text-muted)}
.nav-mobile a:hover{color:var(--text)}

@media(min-width:768px){
  .nav-desktop{display:flex}
  .nav-mobile{display:none}
}

/* ─── Hero ─── */
.hero{position:relative;min-height:calc(100vh - 4.5rem);overflow:hidden}
.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(to right,#140f0c,rgba(20,15,12,.85),rgba(20,15,12,.35))}
.hero-content{
  position:relative;max-width:72rem;margin:0 auto;
  display:flex;flex-direction:column;justify-content:flex-end;
  min-height:calc(100vh - 4.5rem);
  padding:6rem 1.25rem 4rem;
}
.hero-tag{font-size:.875rem;font-weight:600;text-transform:uppercase;letter-spacing:.28em;color:var(--brand)}
.hero-title{margin:.75rem 0 0;font-family:var(--font-display);font-size:clamp(3rem,8vw,6rem);line-height:.95;letter-spacing:-.02em}
.hero-title span{display:block;color:var(--brand)}
.hero-sub{margin:1.5rem 0 0;max-width:28rem;font-size:1.125rem;line-height:1.6;color:var(--text-muted)}
.hero-actions{margin:2.5rem 0 0;display:flex;flex-wrap:wrap;gap:1rem}
.btn-primary{
  border:none;border-radius:.375rem;background:var(--brand);
  padding:.75rem 1.5rem;font-size:.875rem;font-weight:700;
  text-transform:uppercase;letter-spacing:.05em;color:#1a120e;
  cursor:pointer;transition:background .2s;
}
.btn-primary:hover{background:var(--accent)}
.btn-outline{
  border:1px solid var(--line);border-radius:.375rem;background:transparent;
  padding:.75rem 1.5rem;font-size:.875rem;font-weight:600;
  color:var(--text);cursor:pointer;transition:border-color .2s;
}
.btn-outline:hover{border-color:rgba(246,239,230,.4)}

@media(min-width:640px){
  .hero-content{justify-content:center;padding-bottom:6rem}
}

/* ─── Thumbnail strip ─── */
.thumb-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:rgba(14,11,9,.6);padding:1rem 0}
.thumb-scroll{max-width:72rem;margin:0 auto;display:flex;gap:1rem;overflow-x:auto;padding:0 1.25rem}
.thumb-scroll::-webkit-scrollbar{display:none}
.thumb-item{flex-shrink:0;width:10rem;height:7rem;border-radius:.375rem;overflow:hidden;position:relative}
.thumb-item img{width:100%;height:100%;object-fit:cover}
@media(min-width:640px){.thumb-item{width:13rem;height:9rem}}

/* ─── How it works ─── */
.how-section{max-width:72rem;margin:0 auto;padding:5rem 1.25rem}
.how-section h2{font-family:var(--font-display);font-size:clamp(1.75rem,4vw,2.25rem)}
.how-section>p{margin:.75rem 0 0;max-width:36rem;color:var(--text-muted)}
.how-grid{margin:2.5rem 0 0;display:grid;gap:2rem}
@media(min-width:640px){.how-grid{grid-template-columns:repeat(3,1fr)}}
.how-card{border-top:1px solid var(--line);padding:1.25rem 0 0}
.how-card .step{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.2em;color:var(--brand)}
.how-card h3{margin:.75rem 0 0;font-family:var(--font-display);font-size:1.5rem}
.how-card p{margin:.5rem 0 0;font-size:.875rem;line-height:1.6;color:var(--text-muted)}

/* ─── Menu section ─── */
.menu-section{max-width:72rem;margin:0 auto;padding:3.5rem 1.25rem}
.menu-header p.tag{font-size:.875rem;font-weight:600;text-transform:uppercase;letter-spacing:.24em;color:var(--brand)}
.menu-header h1{margin:.75rem 0 0;font-family:var(--font-display);font-size:clamp(2rem,5vw,3rem)}
.menu-header .sub{margin:1rem 0 0;color:var(--text-muted)}
.menu-images{margin:2rem 0 0;display:grid;gap:1rem;grid-template-columns:1fr 1fr}
.menu-images .img-wrap{position:relative;aspect-ratio:16/10;overflow:hidden;border-radius:.375rem;border:1px solid var(--line)}
.menu-images img{width:100%;height:100%;object-fit:cover;object-position:top}
.categories{margin:3rem 0 0}
.category{margin-bottom:4rem}
.category h2{font-family:var(--font-display);font-size:1.875rem;color:var(--brand)}
.category>p{margin:.5rem 0 0;font-size:.875rem;color:var(--text-muted)}
.products{margin:1rem 0 0;border-top:1px solid var(--line)}

/* Product card */
.product{
  display:grid;gap:1rem;padding:1.5rem 0;
  border-bottom:1px solid var(--line);
  transition:background .2s;
}
.product:hover{background:rgba(255,255,255,.02)}
@media(min-width:640px){.product{grid-template-columns:140px 1fr;align-items:center}}
.product-img{position:relative;aspect-ratio:4/3;overflow:hidden;border-radius:.375rem;background:var(--surface)}
@media(min-width:640px){.product-img{aspect-ratio:1}}
.product-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.product:hover .product-img img{transform:scale(1.05)}
.product-img .placeholder{display:flex;height:100%;align-items:center;justify-content:center;font-size:.75rem;text-transform:uppercase;letter-spacing:.16em;color:var(--text-muted)}
.product-info{display:flex;flex-direction:column;gap:.75rem}
@media(min-width:640px){.product-info{flex-direction:row;align-items:flex-start;justify-content:space-between}}
.product-text{max-width:36rem}
.product-text h3{font-family:var(--font-display);font-size:1.5rem;letter-spacing:-.01em;transition:color .2s}
.product:hover .product-text h3{color:var(--brand)}
.product-text p{margin:.5rem 0 0;font-size:.875rem;line-height:1.6;color:var(--text-muted)}
.product-actions{display:flex;align-items:center;gap:1rem}
@media(min-width:640px){.product-actions{flex-direction:column;align-items:flex-end}}
.price{font-size:1.125rem;font-weight:600;color:var(--accent)}
.btn-add{
  border:1px solid rgba(240,162,2,.4);border-radius:.375rem;background:transparent;
  padding:.375rem .75rem;font-size:.875rem;font-weight:600;
  color:var(--brand);cursor:pointer;transition:all .2s;
}
.btn-add:hover{border-color:var(--brand);background:var(--brand);color:#1a120e}
.btn-add.added{background:var(--success);border-color:var(--success);color:#1a120e;pointer-events:none}

/* ─── Location section ─── */
.location-section{max-width:72rem;margin:0 auto;padding:3.5rem 1.25rem}
.location-section .tag{font-size:.875rem;font-weight:600;text-transform:uppercase;letter-spacing:.24em;color:var(--brand)}
.location-section h1{margin:.75rem 0 0;font-family:var(--font-display);font-size:clamp(2rem,5vw,3rem)}
.location-section>p{margin:1rem 0 0;max-width:36rem;color:var(--text-muted)}
.location-grid{margin:2.5rem 0 0;display:grid;gap:2rem}
@media(min-width:1024px){.location-grid{grid-template-columns:.9fr 1.1fr}}
.info-card{border:1px solid var(--line);background:rgba(42,31,24,.3);padding:1.5rem}
.info-card .label{font-size:.875rem;text-transform:uppercase;letter-spacing:.16em;color:var(--brand)}
.info-card .value{margin:.5rem 0 0;font-size:1.25rem;font-weight:600}
.info-card .value a{transition:color .2s}
.info-card .value a:hover{color:var(--brand)}
.info-card .section{margin-top:2rem}
.info-buttons{margin-top:1.5rem;display:flex;flex-wrap:wrap;gap:.75rem}
.btn-whatsapp{
  border:none;border-radius:.375rem;background:#25D366;
  padding:.5rem 1rem;font-size:.875rem;font-weight:700;
  color:#fff;cursor:pointer;transition:background .2s;
}
.btn-whatsapp:hover{background:#1ebe57}
.btn-maps{
  border:1px solid rgba(240,162,2,.4);border-radius:.375rem;background:transparent;
  padding:.5rem 1rem;font-size:.875rem;font-weight:600;
  color:var(--brand);cursor:pointer;transition:border-color .2s;
}
.btn-maps:hover{border-color:var(--brand)}
.map-frame{overflow:hidden;border-radius:.375rem;border:1px solid var(--line)}
.map-frame iframe{width:100%;height:360px;border:0}
@media(min-width:640px){.map-frame iframe{height:420px}}

/* ─── Social icons ─── */
.social-icons{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.75rem}
.social-icons a{
  display:inline-flex;width:2.75rem;height:2.75rem;
  align-items:center;justify-content:center;
  border-radius:.375rem;border:1px solid var(--line);
  color:var(--text-muted);transition:all .2s;
}
.social-icons a:hover{border-color:rgba(240,162,2,.5);background:rgba(240,162,2,.1);color:var(--brand)}
.social-icons svg{width:1.25rem;height:1.25rem}

/* ─── Footer ─── */
.site-footer{margin-top:6rem;border-top:1px solid var(--line);background:#0e0b09}
.footer-inner{
  max-width:72rem;margin:0 auto;padding:2.5rem 1.25rem;
  display:flex;flex-direction:column;gap:2rem;
}
@media(min-width:640px){.footer-inner{flex-direction:row;align-items:flex-end;justify-content:space-between}}
.footer-brand{font-family:var(--font-display);font-size:1.5rem;color:var(--brand)}
.footer-info{margin:.5rem 0 0;max-width:24rem;font-size:.875rem;color:var(--text-muted);line-height:1.6}
.footer-info a{transition:color .2s}
.footer-info a:hover{color:var(--brand)}
.footer-links{display:flex;flex-wrap:wrap;gap:1.5rem;font-size:.875rem;color:var(--text-muted)}
@media(min-width:640px){.footer-links{justify-content:flex-end}}
.footer-links a:hover{color:var(--text)}
.footer-right{display:flex;flex-direction:column;gap:1.25rem}
@media(min-width:640px){.footer-right{align-items:flex-end}}

/* ─── WhatsApp floating btn ─── */
.wa-float{
  position:fixed;bottom:1.25rem;right:1.25rem;z-index:50;
  display:flex;width:3.5rem;height:3.5rem;
  align-items:center;justify-content:center;
  border-radius:9999px;background:#25D366;
  color:#fff;box-shadow:0 4px 14px rgba(0,0,0,.35);
  transition:transform .2s,background .2s;
}
.wa-float:hover{transform:scale(1.05);background:#1ebe57}
.wa-float svg{width:1.75rem;height:1.75rem}

/* ─── Cart drawer ─── */
.cart-overlay{
  position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.6);
  opacity:0;pointer-events:none;transition:opacity .3s;
}
.cart-overlay.open{opacity:1;pointer-events:auto}
body.cart-open .wa-float{visibility:hidden;pointer-events:none}
.cart-drawer{
  position:fixed;top:0;right:0;z-index:101;
  width:min(24rem,90vw);height:100%;
  background:var(--bg-elevated);border-left:1px solid var(--line);
  transform:translateX(100%);transition:transform .3s;
  display:flex;flex-direction:column;
}
.cart-drawer.open{transform:translateX(0)}
.cart-header{display:flex;align-items:center;justify-content:space-between;padding:1.25rem;border-bottom:1px solid var(--line)}
.cart-header h2{font-family:var(--font-display);font-size:1.25rem}
.btn-close{background:none;border:none;color:var(--text-muted);font-size:1.5rem;cursor:pointer;padding:.25rem}
.btn-close:hover{color:var(--text)}
.cart-body{flex:1;overflow-y:auto;padding:1.25rem}
.cart-empty{text-align:center;color:var(--text-muted);padding:3rem 0;font-size:.875rem}
.cart-item{display:flex;gap:1rem;padding:.75rem 0;border-bottom:1px solid var(--line)}
.cart-item-img{width:3.5rem;height:3.5rem;border-radius:.375rem;overflow:hidden;flex-shrink:0;background:var(--surface)}
.cart-item-img img{width:100%;height:100%;object-fit:cover}
.cart-item-info{flex:1;min-width:0}
.cart-item-info h4{font-size:.875rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cart-item-info .item-price{font-size:.8rem;color:var(--accent);margin-top:.125rem}
.cart-qty{display:flex;align-items:center;gap:.5rem;margin-top:.375rem}
.cart-qty button{
  width:1.5rem;height:1.5rem;border-radius:.25rem;
  border:1px solid var(--line);background:transparent;
  color:var(--text);font-size:.875rem;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
}
.cart-qty button:hover{border-color:var(--brand)}
.cart-qty span{font-size:.875rem;font-weight:600;min-width:1.25rem;text-align:center}
.cart-footer{padding:1.25rem;border-top:1px solid var(--line)}
.cart-total{display:flex;justify-content:space-between;font-size:1rem;font-weight:700;margin-bottom:1rem}
.cart-total .total-amount{color:var(--accent)}
.btn-wa-order{
  display:flex;width:100%;align-items:center;justify-content:center;gap:.5rem;
  border:none;border-radius:.375rem;background:#25D366;
  padding:.75rem;font-size:.9rem;font-weight:700;
  color:#fff;cursor:pointer;text-decoration:none;box-sizing:border-box;
  transition:background .2s;
}
.btn-wa-order:hover{background:#1ebe57}
.btn-wa-order svg{width:1.25rem;height:1.25rem}
.btn-clear{
  display:block;margin:.75rem auto 0;background:none;border:none;
  font-size:.8rem;color:var(--text-muted);cursor:pointer;
}
.btn-clear:hover{color:var(--brand-hot)}

/* ─── Sections (pages) ─── */
.page-section{display:none}
.page-section.active{display:block}

/* ─── Nav active state ─── */
.nav-link.active{color:var(--brand) !important}
