/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #ffffff;
  --paper:     #fff6ee;
  --ink:       #201a14;
  --ink-soft:  #4a3f31;
  --ink-mute:  #8a7c6a;

  --brand:       #e8551e;   /* MAZ orange, from real storefront signage */
  --brand-dark:  #b23e12;
  --brand-light: #ff8a4c;
  --yellow:      #ffc72c;
  --yellow-dark: #e6a800;
  --black:       #1c1712;
  --whatsapp:    #25d366;
  --whatsapp-dark: #1da851;
  --line:        rgba(32,26,20,0.1);

  --display: "Baloo 2", "Arial Rounded MT Bold", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --nav-h: 76px;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-card: 0 10px 24px rgba(32,20,8,0.08), 0 2px 6px rgba(32,20,8,0.06);
  --shadow-card-hover: 0 22px 40px rgba(232,85,30,0.22), 0 8px 16px rgba(32,20,8,0.1);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  text-wrap: balance; line-height: 1.05; letter-spacing: -0.01em;
  font-family: var(--display); font-weight: 800;
}
ul { list-style: none; padding: 0; }
::selection { background: var(--yellow); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .7rem 1.2rem; background: var(--black); color: #fff;
  z-index: 9999; font-weight: 700; border-radius: 999px;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { max-width: 1360px; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 960px) { .container { padding-inline: 2.5rem; } }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--sans); font-weight: 700; font-size: .82rem; letter-spacing: .02em;
  background: var(--yellow); color: var(--black);
  padding: .4rem .9rem; border-radius: 999px;
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

[data-reveal] {
  opacity: 0; transform: translateY(26px) scale(.98);
  transition: opacity .7s var(--ease-soft), transform .7s var(--ease-soft);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

.section { padding-block: 3.2rem; }
@media (min-width: 960px) { .section { padding-block: 5rem; } }
.section-paper { background: var(--paper); }
.section-head { max-width: 46rem; margin-bottom: 2.4rem; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-top: .7rem; }

/* =============================================================
   4. Typography
   ============================================================= */
.h-xl { font-size: clamp(2.4rem, 7.6vw, 5.6rem); line-height: 0.98; }
.h-xl em { font-style: normal; color: var(--brand); -webkit-text-stroke: 0; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 56ch; }

/* =============================================================
   5. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: 1rem 1.7rem;
  font-family: var(--sans); font-weight: 700; font-size: .95rem;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform .3s var(--ease-bounce), box-shadow .3s var(--ease-out), background-color .2s, color .2s;
  box-shadow: var(--shadow-card);
}
.btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: var(--shadow-card-hover); }
.btn:active { transform: translateY(0) scale(.99); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--whatsapp-dark); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-dark { background: var(--black); color: #fff; }

/* =============================================================
   7. Nav
   ============================================================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--black);
  height: var(--nav-h);
  box-shadow: 0 2px 0 rgba(0,0,0,0.08);
}
.nav .container {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.nav-logo { display: inline-flex; align-items: center; }
.nav-logo img { height: 40px; width: auto; }
.nav-links {
  display: none;
  align-items: center; gap: 1.9rem;
  font-family: var(--sans); font-weight: 600; font-size: .92rem;
  color: rgba(255,255,255,0.82);
}
@media (min-width: 960px) { .nav-links { display: flex; } }
.nav-link { position: relative; padding: .3rem 0; transition: color .2s; }
.nav-link:hover { color: var(--yellow); }
.nav-cta { display: none; }
@media (min-width: 720px) { .nav-cta { display: inline-flex; padding: .75rem 1.3rem; font-size: .88rem; } }
.nav-burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
@media (min-width: 960px) { .nav-burger { display: none; } }
.nav-burger-icon { width: 20px; height: 2px; background: #fff; position: relative; border-radius: 2px; }
.nav-burger-icon::before, .nav-burger-icon::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: #fff; border-radius: 2px;
}
.nav-burger-icon::before { top: -6px; }
.nav-burger-icon::after { top: 6px; }

.nav-mobile {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 90;
  background: var(--black); color: #fff;
  display: grid; align-content: center; gap: 1.6rem;
  padding: 2rem 1.5rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .5s var(--ease-soft);
}
.nav-mobile[data-open="true"] { clip-path: inset(0); }
.nav-mobile a { font-family: var(--display); font-size: 2rem; }
.nav-mobile .btn { align-self: start; }

/* =============================================================
   8. Hero carousel + sub bar
   ============================================================= */
.hero-carousel {
  position: relative;
  overflow: hidden;
  background: var(--black);
  aspect-ratio: 16/7;
}
@media (max-width: 719px) { .hero-carousel { aspect-ratio: 4/3; } }
.carousel-track {
  display: flex; height: 100%;
  transition: transform .6s var(--ease-soft);
  will-change: transform;
}
.carousel-slide { flex: none; width: 100%; height: 100%; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.carousel-arrow {
  position: absolute; top: 50%; translate: 0 -50%;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,0,0,0.4); color: #fff;
  display: grid; place-items: center;
  font-size: 1.6rem; line-height: 1;
  transition: background-color .2s, transform .2s;
}
.carousel-arrow:hover { background: rgba(0,0,0,0.65); transform: translateY(-50%) scale(1.06); }
.carousel-arrow-prev { left: .8rem; }
.carousel-arrow-next { right: .8rem; }
.carousel-dots {
  position: absolute; left: 50%; bottom: 1rem; translate: -50% 0;
  display: flex; gap: .5rem;
}
.carousel-dots button {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.45);
  transition: background-color .2s, transform .2s;
}
.carousel-dots button.is-active { background: var(--yellow); transform: scale(1.25); }

.hero-sub { background: var(--paper); border-bottom: 1px solid var(--line); }
.hero-sub-inner {
  display: flex; flex-direction: column; gap: 1.6rem;
  padding-block: 2rem;
}
@media (min-width: 960px) {
  .hero-sub-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 2.4rem; }
}
.hero-sub-copy { display: flex; flex-direction: column; gap: .8rem; max-width: 42rem; }
.hero-sub-copy .h-lg { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* =============================================================
   9. Pillars
   ============================================================= */
.pillars-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.3rem;
}
@media (min-width: 720px) { .pillars-grid { grid-template-columns: repeat(3, 1fr); } }
.pillar {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: .9rem;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.pillar-icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--brand); color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 1.3rem;
}
.pillar:nth-child(2) .pillar-icon { background: var(--yellow); color: var(--black); }
.pillar:nth-child(3) .pillar-icon { background: var(--black); color: #fff; }
.pillar h3 { font-size: 1.2rem; }
.pillar p { color: var(--ink-soft); }

/* =============================================================
   9b. Weekly promotions — B2B thumbnail gallery
   ============================================================= */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 152px));
  gap: .9rem;
  justify-content: start;
}
@media (min-width: 640px) { .promo-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 168px)); gap: 1.1rem; } }

.promo-card {
  position: relative;
  display: block;
  width: 100%; padding: 0; margin: 0; text-align: left;
  border-radius: var(--radius-sm);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-card);
  aspect-ratio: 1;
  transition: transform .35s var(--ease-soft), box-shadow .35s var(--ease-out);
}
.promo-card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s var(--ease-soft);
  will-change: transform;
}
.promo-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20,16,12,.5) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .3s var(--ease-out);
}
.promo-card-icon {
  position: absolute; right: .5rem; bottom: .5rem;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.94); color: var(--ink);
  display: grid; place-items: center; font-size: .95rem;
  opacity: 0; transform: scale(.6);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-bounce);
}
@media (hover: hover) and (pointer: fine) {
  .promo-card:hover, .promo-card:focus-visible {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
  }
  .promo-card:hover img, .promo-card:focus-visible img { transform: scale(1.16); }
  .promo-card:hover::after, .promo-card:focus-visible::after { opacity: 1; }
  .promo-card:hover .promo-card-icon, .promo-card:focus-visible .promo-card-icon { opacity: 1; transform: scale(1); }
}

/* Lightbox */
.lightbox {
  border: 0; border-radius: var(--radius); padding: 0;
  max-width: min(92vw, 640px); background: transparent;
  overscroll-behavior: contain;
}
.lightbox::backdrop { background: rgba(20,16,12,.72); backdrop-filter: blur(2px); }
.lightbox-inner {
  position: relative; background: #fff; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-card-hover);
}
.lightbox-inner img { width: 100%; height: auto; display: block; }
.lightbox-close {
  position: absolute; top: .7rem; right: .7rem; z-index: 1;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(20,16,12,.6); color: #fff;
  display: grid; place-items: center; font-size: 1rem;
  transition: background-color .2s, transform .2s;
}
.lightbox-close:hover { background: var(--brand); transform: scale(1.06); }

/* =============================================================
   10. Categories
   ============================================================= */
.cat-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
@media (min-width: 640px)  { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
.cat-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.4rem 1.1rem;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: .7rem;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.cat-card:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--shadow-card-hover); }
.cat-emoji {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.4rem;
  background: var(--paper);
  transition: transform .3s var(--ease-bounce);
}
.cat-card:hover .cat-emoji { transform: rotate(-10deg) scale(1.08); }
.cat-card h3 { font-size: 1rem; font-family: var(--sans); font-weight: 700; }
.cat-card p { font-size: .85rem; color: var(--ink-mute); }

/* =============================================================
   11. Gallery
   ============================================================= */
.gallery-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.2rem;
}
@media (min-width: 640px)  { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.gallery-item img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  transition: transform .7s var(--ease-soft);
}
@media (hover: hover) and (pointer: fine) {
  .gallery-item:hover img { transform: scale(1.08); }
}
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.72), transparent);
  color: #fff; font-weight: 600; font-size: .85rem;
  padding: 1.6rem .9rem .7rem;
}
.gallery-tag {
  position: absolute; top: .8rem; left: .8rem;
  background: var(--yellow); color: var(--black);
  font-weight: 800; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 999px;
}

/* =============================================================
   12. Location / contact
   ============================================================= */
.loc-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-card);
  padding: 2rem 1.6rem; display: flex; flex-direction: column; gap: 1.3rem;
}
@media (min-width: 960px) { .loc-card { padding: 2.6rem; } }
.loc-row { display: flex; gap: .9rem; align-items: flex-start; }
.loc-icon {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  background: var(--paper); display: grid; place-items: center; font-size: 1.1rem;
}
.loc-row .label { font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-mute); }
.loc-row .value { font-size: 1.02rem; }
.loc-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); min-height: 340px; }
.loc-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

.loc-layout { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
@media (min-width: 960px) { .loc-layout { grid-template-columns: 1fr 1.2fr; } }

/* =============================================================
   12b. Contact form
   ============================================================= */
.contact-form {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-card);
  padding: 1.8rem 1.4rem; display: flex; flex-direction: column; gap: 1.2rem;
  max-width: 52rem;
}
@media (min-width: 960px) { .contact-form { padding: 2.6rem; } }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label {
  font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em;
  color: var(--ink-mute);
}
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  border: 2px solid var(--line); border-radius: var(--radius-sm);
  padding: .8rem .9rem; background: var(--paper);
  transition: border-color .2s, background-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background: #fff;
}
.field textarea { resize: vertical; min-height: 110px; }
.field-full { grid-column: 1 / -1; }
.field-honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.field-check {
  display: flex; align-items: flex-start; gap: .7rem;
  font-size: .92rem; color: var(--ink-soft);
}
.field-check input { margin-top: .2rem; width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.field-check a { color: var(--brand); text-decoration: underline; }

.contact-form .btn { align-self: flex-start; }

.contact-success {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-card);
  padding: 2rem; margin-top: 1.4rem; max-width: 52rem;
  border-left: 6px solid var(--whatsapp);
}
.contact-success h3 { color: var(--ink); margin-bottom: .4rem; }
.contact-success p { color: var(--ink-soft); }

/* =============================================================
   13. Final CTA
   ============================================================= */
.final-cta {
  background: var(--black);
  border-radius: var(--radius);
  padding: 3rem 1.5rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1.4rem;
  color: #fff;
  position: relative;
  overflow: clip;
}
.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(232,85,30,0.35), transparent 55%),
              radial-gradient(circle at 85% 80%, rgba(255,199,44,0.25), transparent 55%);
  pointer-events: none;
}
@media (min-width: 960px) { .final-cta { padding: 4.5rem 2.5rem; } }
.final-cta h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); max-width: 20ch; position: relative; }
.final-cta .lede { color: rgba(255,255,255,0.82); position: relative; }
.final-cta .hero-actions { position: relative; justify-content: center; }

/* =============================================================
   14. Footer
   ============================================================= */
.footer {
  background: var(--black); color: rgba(255,255,255,0.72);
  padding: 2.6rem 1.25rem 2rem;
  display: flex; flex-direction: column; gap: 1.8rem;
}
@media (min-width: 960px) { .footer { padding: 3rem 2.5rem 2.2rem; flex-direction: row; justify-content: space-between; align-items: flex-end; } }
.footer-brand { height: 46px; width: auto; }
.footer-meta { font-size: .88rem; display: flex; flex-direction: column; gap: .4rem; }
.footer-meta a:hover { color: var(--yellow); }

/* =============================================================
   15. Floating WhatsApp button
   ============================================================= */
.float-whatsapp {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 24px rgba(37,211,102,0.45);
  transition: transform .3s var(--ease-bounce), box-shadow .3s var(--ease-out);
}
.float-whatsapp:hover { transform: scale(1.08); box-shadow: 0 16px 32px rgba(37,211,102,0.55); }
.float-whatsapp svg { width: 30px; height: 30px; }

/* =============================================================
   16. Legal page
   ============================================================= */
.legal { max-width: 46rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.legal-body { display: flex; flex-direction: column; gap: 1rem; color: var(--ink-soft); }
.legal-body h2 { font-family: var(--sans); font-weight: 700; font-size: 1.15rem; color: var(--ink); margin-top: .6rem; }
.legal-body p { line-height: 1.7; }
.legal-body a { color: var(--brand); text-decoration: underline; }
.legal-updated { font-size: .85rem; color: var(--ink-mute); font-style: italic; }

