/* ==========================================================================
   PIZZA MAKXX — premium street-food theme
   Order: 1. Variables  2. Base  3. Components  4. Sections  5. Utilities
          6. Motion  7. Media queries
   ========================================================================== */

/* ==========================================================================
   1. VARIABLES
   ========================================================================== */
:root {
  /* Brand palette */
  --mx-red: #E3141B;
  --mx-red-bright: #FF4D52;       /* red used for text on dark (AA contrast) */
  --mx-yellow: #FFC20E;
  --mx-orange: #F57C00;
  --mx-green: #1E9B3A;
  --mx-green-bright: #2FBF52;
  --mx-nonveg: #B8452A;
  --mx-charcoal: #0E0E10;
  --mx-surface: #18181B;
  --mx-surface-2: #212126;
  --mx-line: rgba(255, 255, 255, .08);
  --mx-cream: #FFF6E5;
  --mx-text: #F4F4F5;
  --mx-text-muted: #A1A1AA;
  --mx-whatsapp: #25D366;

  /* Type */
  --font-head: "Bricolage Grotesque", "Archivo Black", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-script: "Kaushan Script", cursive;

  /* Shape & depth */
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
  --glow: 0 18px 60px -12px rgba(245, 124, 0, .45);
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Bootstrap overrides */
  --bs-body-bg: var(--mx-charcoal);
  --bs-body-color: var(--mx-text);
  --bs-body-font-family: var(--font-body);
  --bs-body-line-height: 1.65;
  --bs-border-radius: var(--radius-sm);
  --bs-border-radius-lg: var(--radius);
  --bs-link-color: var(--mx-yellow);
  --bs-link-color-rgb: 255, 194, 14;
  --bs-link-hover-color: #fff;
  --bs-link-hover-color-rgb: 255, 255, 255;
  --bs-emphasis-color: #fff;
  --bs-secondary-color: var(--mx-text-muted);
  --bs-border-color: var(--mx-line);
  --bs-focus-ring-color: rgba(255, 194, 14, .5);
}

/* ==========================================================================
   2. BASE
   ========================================================================== */
html {
  scroll-padding-top: calc(var(--nav-h) + 12px);
  overflow-x: clip;
}

body {
  background: var(--mx-charcoal);
  color: var(--mx-text);
  font-family: var(--font-body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Subtle film grain over everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5, .h5 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.08;
  color: #fff;
}

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

a { text-underline-offset: 3px; }

::selection { background: var(--mx-yellow); color: var(--mx-charcoal); }

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

main:focus { outline: none; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 10000;
  padding: .75rem 1.25rem;
  background: var(--mx-yellow);
  color: var(--mx-charcoal);
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ==========================================================================
   3. COMPONENTS
   ========================================================================== */

/* ---------- Buttons ---------- */
.btn {
  --bs-btn-font-weight: 700;
  --bs-btn-border-radius: 999px;
  --bs-btn-padding-x: 1.25rem;
  --bs-btn-padding-y: .65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  letter-spacing: .01em;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s;
}
.btn-lg { --bs-btn-padding-x: 1.6rem; --bs-btn-padding-y: .85rem; --bs-btn-font-size: 1.05rem; --bs-btn-border-radius: 999px; }
.btn-sm { --bs-btn-padding-x: 1rem; --bs-btn-padding-y: .5rem; --bs-btn-font-size: .875rem; --bs-btn-border-radius: 999px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-mx-yellow {
  --bs-btn-bg: var(--mx-yellow);
  --bs-btn-color: var(--mx-charcoal);
  --bs-btn-border-color: var(--mx-yellow);
  --bs-btn-hover-bg: #FFD24D;
  --bs-btn-hover-color: var(--mx-charcoal);
  --bs-btn-hover-border-color: #FFD24D;
  --bs-btn-active-bg: #E6AE00;
  --bs-btn-active-color: var(--mx-charcoal);
  --bs-btn-active-border-color: #E6AE00;
  box-shadow: 0 10px 30px -10px rgba(255, 194, 14, .6);
}

.btn-mx-whatsapp {
  --bs-btn-bg: var(--mx-whatsapp);
  --bs-btn-color: #062B12;
  --bs-btn-border-color: var(--mx-whatsapp);
  --bs-btn-hover-bg: #3BE07A;
  --bs-btn-hover-color: #062B12;
  --bs-btn-hover-border-color: #3BE07A;
  --bs-btn-active-bg: #1EB458;
  --bs-btn-active-color: #062B12;
  --bs-btn-active-border-color: #1EB458;
}

.btn-mx-outline {
  --bs-btn-color: #fff;
  --bs-btn-border-color: rgba(255, 255, 255, .45);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-color: var(--mx-charcoal);
  --bs-btn-hover-border-color: #fff;
  --bs-btn-active-bg: #e5e5e5;
  --bs-btn-active-color: var(--mx-charcoal);
  backdrop-filter: blur(6px);
}

.btn-icon {
  --bs-btn-padding-x: 0;
  --bs-btn-padding-y: 0;
  width: 42px;
  height: 42px;
}

.btn-round {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--mx-surface-2);
  --bs-btn-border-color: var(--mx-line);
  --bs-btn-hover-bg: var(--mx-yellow);
  --bs-btn-hover-color: var(--mx-charcoal);
  --bs-btn-padding-x: 0;
  --bs-btn-padding-y: 0;
  width: 48px;
  height: 48px;
}

/* ---------- Brand bits ---------- */
.script-tag {
  font-family: var(--font-script);
  color: var(--mx-yellow);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  line-height: 1.3;
  transform: rotate(-3deg);
  display: inline-block;
}

/* Yellow brush-stroke highlight behind key words */
.brush {
  position: relative;
  display: inline-block;
  z-index: 0;
  padding: 0 .18em;
  color: var(--mx-charcoal);
  white-space: nowrap;
}
.brush::before {
  content: "";
  position: absolute;
  inset: .08em -.05em .02em;
  z-index: -1;
  background: var(--mx-yellow);
  transform: skew(-8deg) rotate(-1.2deg);
  clip-path: polygon(2% 8%, 22% 2%, 48% 6%, 74% 0, 98% 6%, 100% 48%, 97% 94%, 70% 100%, 44% 95%, 18% 100%, 0 92%, 3% 50%);
  border-radius: 4px;
}

/* Red angled section labels (like the printed menu) */
.mx-label {
  display: inline-block;
  margin-bottom: 1rem;
  padding: .4rem 1.4rem .4rem 1rem;
  background: var(--mx-red);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}

.section-title {
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  margin-bottom: 1.25rem;
}
.section-lead {
  color: var(--mx-text-muted);
  font-size: 1.1rem;
  max-width: 640px;
  margin-inline: auto;
}
.sub-title { font-size: clamp(1.4rem, 3vw, 1.9rem); }

.glow { box-shadow: var(--glow); }

/* ---------- Logo + fallback ---------- */
.logo-fallback {
  display: inline-flex;
  flex-direction: column;
  font-family: var(--font-head);
  font-weight: 800;
  line-height: .95;
  letter-spacing: .02em;
}
.logo-fallback[hidden] { display: none; }
.lf-red { color: var(--mx-red-bright); font-size: 1.15rem; }
.lf-yellow { color: var(--mx-yellow); font-size: 1.15rem; }

/* ---------- Veg / non-veg / egg indicators (Indian standard) ---------- */
.diet {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 3px;
  background: #fff;
  vertical-align: -2px;
}
.diet::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.diet--veg { color: var(--mx-green); }
.diet--nonveg { color: var(--mx-nonveg); }
.diet--nonveg::after {
  width: 0;
  height: 0;
  border-radius: 0;
  background: none;
  border-left: 4.5px solid transparent;
  border-right: 4.5px solid transparent;
  border-bottom: 8px solid currentColor;
}
.diet--egg { color: #E0A800; }

.badge-egg {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-left: .35rem;
  padding: .05rem .5rem;
  border-radius: 999px;
  background: rgba(255, 194, 14, .14);
  color: var(--mx-yellow);
  font-size: .72rem;
  font-weight: 700;
  vertical-align: 2px;
}
.badge-egg::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mx-yellow);
}

/* ---------- Forms (dark) ---------- */
.form-control,
.form-select,
.input-group-text {
  background-color: var(--mx-surface-2);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
}
.form-select {
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23FFC20E' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}
.form-select option { background: var(--mx-surface); color: #fff; }
.input-group-text { color: var(--mx-text-muted); }
.form-control::placeholder { color: #8b8b94; }
.form-control:focus,
.form-select:focus {
  background-color: var(--mx-surface-2);
  color: #fff;
  border-color: var(--mx-yellow);
  box-shadow: 0 0 0 .25rem rgba(255, 194, 14, .2);
}
.form-label { font-weight: 500; color: #e4e4e7; }
.form-text { color: var(--mx-text-muted); }
.invalid-feedback { color: #FF8A8D; }
.was-validated .form-control:invalid,
.was-validated .form-select:invalid,
.form-control.is-invalid { border-color: #FF6B6F; }
.was-validated .form-control:valid,
.was-validated .form-select:valid { border-color: var(--mx-green-bright); }

.form-check-input {
  background-color: var(--mx-surface-2);
  border-color: rgba(255, 255, 255, .3);
}
.form-check-input:checked { background-color: var(--mx-green); border-color: var(--mx-green); }
.form-check-input:focus { box-shadow: 0 0 0 .25rem rgba(30, 155, 58, .3); border-color: var(--mx-green-bright); }

/* ---------- Offcanvas (dark) ---------- */
.mx-offcanvas {
  --bs-offcanvas-bg: var(--mx-surface);
  --bs-offcanvas-color: var(--mx-text);
  --bs-offcanvas-border-color: var(--mx-line);
  --bs-offcanvas-width: min(400px, 92vw);
}
.mx-offcanvas .offcanvas-title { font-family: var(--font-head); font-weight: 800; }

/* ---------- Toast ---------- */
.mx-toast {
  --bs-toast-bg: var(--mx-surface-2);
  --bs-toast-color: #fff;
  --bs-toast-border-color: rgba(255, 194, 14, .35);
  --bs-toast-border-radius: var(--radius-sm);
  --bs-toast-max-width: 340px;
  box-shadow: var(--shadow);
  margin-bottom: 4.5rem; /* clear the floating buttons on mobile */
}

/* ==========================================================================
   4. SECTIONS
   ========================================================================== */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
.section--alt {
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(227, 20, 27, .10), transparent 70%),
    radial-gradient(700px 400px at 0% 100%, rgba(245, 124, 0, .08), transparent 70%),
    var(--mx-surface);
}

/* ---------- Navbar ---------- */
.mx-nav {
  --bs-navbar-padding-y: .75rem;
  min-height: var(--nav-h);
  background: linear-gradient(to bottom, rgba(14, 14, 16, .75), transparent);
  transition: background-color .3s, backdrop-filter .3s, box-shadow .3s, padding .3s;
}
.mx-nav.is-scrolled {
  --bs-navbar-padding-y: .4rem;
  background: rgba(14, 14, 16, .86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .8);
  border-bottom: 1px solid var(--mx-line);
}
.mx-brand { padding: 0; margin-right: 1rem; }
.mx-brand img { width: 58px; height: 58px; transition: width .3s, height .3s; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .5)); }
.mx-nav.is-scrolled .mx-brand img { width: 48px; height: 48px; }

.mx-nav .nav-link {
  position: relative;
  color: #e4e4e7;
  font-weight: 500;
  padding: .5rem .9rem !important;
}
.mx-nav .nav-link::after {
  content: "";
  position: absolute;
  left: .9rem;
  right: .9rem;
  bottom: .2rem;
  height: 3px;
  border-radius: 3px;
  background: var(--mx-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.mx-nav .nav-link:hover,
.mx-nav .nav-link.active { color: #fff; }
.mx-nav .nav-link:hover::after,
.mx-nav .nav-link.active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }

.mx-toggler {
  border: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
}
.mx-toggler span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; }
.mx-toggler span:nth-child(2) { width: 14px; margin-left: 6px; background: var(--mx-yellow); }
.mx-toggler:focus { box-shadow: none; }

.offcanvas-cta { display: grid; gap: .75rem; margin-top: 1.5rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 5rem;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg, .hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero__bg img { animation: heroZoom 18s var(--ease) both; }
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 14, 16, .94) 0%, rgba(14, 14, 16, .75) 45%, rgba(14, 14, 16, .35) 100%),
    linear-gradient(0deg, var(--mx-charcoal) 0%, transparent 35%);
}
.hero__content { position: relative; max-width: 1140px; }
.hero__title {
  font-size: clamp(2.6rem, 8vw, 5.6rem);
  line-height: 1.02;
  margin: .5rem 0 1.25rem;
  max-width: 14ch;
  text-shadow: 0 6px 30px rgba(0, 0, 0, .5);
}
.hero__title .brush { text-shadow: none; }
.hero__sub {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: #e4e4e7;
  max-width: 34rem;
  margin-bottom: 2rem;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.75rem; }
.hero__stats {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .5rem 0;
  list-style: none;
  margin: 0;
  padding: .85rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(24, 24, 27, .6);
  border: 1px solid var(--mx-line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--mx-text-muted);
  font-size: .95rem;
}
.hero__stats li { padding: 0 1rem; }
.hero__stats li + li { border-left: 1px solid rgba(255, 255, 255, .15); }
.hero__stats strong { color: var(--mx-yellow); font-family: var(--font-head); font-size: 1.25rem; margin-right: .25rem; }

.hero__float {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(245, 124, 0, .55), 0 0 0 6px rgba(255, 255, 255, .06);
  will-change: transform;
}
.hero__float img { width: 100%; height: 100%; object-fit: cover; }
.hero__float--a { width: 250px; height: 250px; right: 6%; top: 22%; animation: floatY 7s ease-in-out infinite; }
.hero__float--b { width: 170px; height: 170px; right: 24%; bottom: 12%; animation: floatY 8s ease-in-out infinite reverse; }

.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  translate: -50% 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  animation: bob 2.2s ease-in-out infinite;
}

/* ---------- About ---------- */
.collage {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}
.collage figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.collage figure:hover img { transform: scale(1.06); }
.collage__a { grid-row: span 2; aspect-ratio: 3 / 4; }
.collage__b, .collage__c { aspect-ratio: 1 / 1; }
.collage__badge {
  position: absolute;
  left: -8px;
  bottom: -18px;
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--mx-red);
  color: #fff;
  text-align: center;
  line-height: 1.1;
  box-shadow: 0 16px 40px -12px rgba(227, 20, 27, .7);
  border: 4px solid var(--mx-charcoal);
  rotate: -8deg;
}
.collage__badge strong { display: block; font-family: var(--font-head); font-size: 2rem; }
.collage__badge span { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }

.about-copy p { color: #d4d4d8; }
.about-copy strong { color: #fff; }

.highlight {
  height: 100%;
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius);
  background: var(--mx-surface);
  border: 1px solid var(--mx-line);
  transition: transform .3s var(--ease), border-color .3s;
}
.highlight:hover { transform: translateY(-4px); border-color: rgba(255, 194, 14, .4); }
.highlight i {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: var(--mx-charcoal);
  background: var(--mx-yellow);
}
.highlight h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.highlight p { margin: 0; color: var(--mx-text-muted); font-size: .92rem; }

/* ---------- Vision & Mission ---------- */
.vm-card {
  position: relative;
  height: 100%;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--mx-surface-2), var(--mx-charcoal));
  border: 1px solid var(--mx-line);
  overflow: hidden;
  isolation: isolate;
}
.vm-card::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -90px;
  top: -90px;
  border-radius: 50%;
  z-index: -1;
  filter: blur(10px);
  opacity: .35;
}
.vm-card--vision::before { background: radial-gradient(circle, var(--mx-yellow), transparent 65%); }
.vm-card--mission::before { background: radial-gradient(circle, var(--mx-red), transparent 65%); }
.vm-card__icon {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  margin-bottom: 1.25rem;
  font-size: 1.6rem;
}
.vm-card--vision .vm-card__icon { background: var(--mx-yellow); color: var(--mx-charcoal); }
.vm-card--mission .vm-card__icon { background: var(--mx-red); color: #fff; }
.vm-card h3 { font-size: 1.75rem; margin-bottom: .85rem; }
.vm-card p { color: #d4d4d8; font-size: 1.05rem; margin: 0; }

/* ---------- Menu ---------- */
.menu-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .75rem 1.5rem;
  margin: 2rem auto 1.25rem;
  max-width: 720px;
}
.menu-search { position: relative; flex: 1 1 280px; }
.menu-search i {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  translate: 0 -50%;
  color: var(--mx-text-muted);
  pointer-events: none;
}
.menu-search .form-control { padding-left: 2.75rem; border-radius: 999px; }
.veg-switch { display: flex; align-items: center; gap: .6rem; margin: 0; padding-left: 0; }
.veg-switch .form-check-input { width: 2.75em; height: 1.4em; margin: 0; float: none; cursor: pointer; }
.veg-switch .form-check-label { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; cursor: pointer; }

.menu-pills {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding: .5rem .25rem 1rem;
  margin: 0 -.25rem 1.5rem;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: #3f3f46 transparent;
  -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
          mask-image: linear-gradient(90deg, #000 92%, transparent);
}
.menu-pill {
  flex: none;
  scroll-snap-align: start;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: var(--mx-surface);
  color: #e4e4e7;
  font-weight: 500;
  font-size: .92rem;
  white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.menu-pill:hover { border-color: var(--mx-yellow); color: #fff; }
.menu-pill[aria-pressed="true"] {
  background: var(--mx-red);
  border-color: var(--mx-red);
  color: #fff;
  box-shadow: 0 8px 22px -10px rgba(227, 20, 27, .8);
}

.menu-list { display: grid; gap: 1.75rem; }

.menu-cat {
  border-radius: var(--radius);
  background: var(--mx-surface);
  border: 1px solid var(--mx-line);
  overflow: hidden;
}
.menu-cat__banner {
  position: relative;
  height: 150px;
  overflow: hidden;
}
.menu-cat__banner img { width: 100%; height: 100%; object-fit: cover; }
.menu-cat__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 14, 16, .92) 0%, rgba(14, 14, 16, .45) 60%, rgba(14, 14, 16, .15) 100%);
}
.menu-cat__head {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 1.25rem 1.5rem;
}
.menu-cat__title {
  display: inline-block;
  margin: 0;
  padding: .3rem 1.6rem .3rem .9rem;
  background: var(--mx-red);
  color: #fff;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  text-transform: uppercase;
  letter-spacing: .02em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
}
.menu-cat__note {
  display: block;
  margin-top: .5rem;
  color: var(--mx-cream);
  font-size: .9rem;
  font-weight: 500;
}
.menu-cat__body { padding: 1rem 1.5rem 1.5rem; }
.menu-sub {
  display: inline-block;
  margin: 1rem 0 .5rem;
  padding: .2rem .8rem;
  border-radius: 6px;
  background: var(--mx-yellow);
  color: var(--mx-charcoal);
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 800;
}
.menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 2.5rem;
}
.menu-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .1);
}
.menu-item__body { flex: 1; min-width: 0; }
.menu-item__name { font-weight: 500; color: #fff; }
.menu-item__note { display: block; color: var(--mx-text-muted); font-size: .8rem; }
.menu-item__price {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--mx-yellow);
  white-space: nowrap;
}
.menu-item__price--ask { color: var(--mx-text-muted); font-family: var(--font-body); font-weight: 700; font-size: .9rem; }

.btn-add {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 194, 14, .14);
  color: var(--mx-yellow);
  font-size: 1.05rem;
  transition: background-color .2s, color .2s, transform .2s var(--ease);
}
.btn-add:hover { background: var(--mx-yellow); color: var(--mx-charcoal); transform: scale(1.08); }
.btn-add.is-added { background: var(--mx-green); color: #fff; }

.menu-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--mx-text-muted);
  border: 1px dashed rgba(255, 255, 255, .15);
  border-radius: var(--radius);
}
.menu-empty i { font-size: 2rem; display: block; margin-bottom: .5rem; color: var(--mx-yellow); }

.menu-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.5rem;
  margin-top: 1.75rem;
  color: var(--mx-text-muted);
  font-size: .88rem;
}
.menu-legend > span { display: inline-flex; align-items: center; gap: .4rem; }

/* ---------- Bestsellers ---------- */
.carousel-nav { display: flex; gap: .5rem; }
.best-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78%, 300px);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(1rem, calc((100vw - 1320px) / 2 + .75rem));
  padding: .5rem max(1rem, calc((100vw - 1320px) / 2 + .75rem)) 1.5rem;
  scrollbar-width: none;
}
.best-track::-webkit-scrollbar { display: none; }
.best-track:focus-visible { outline-offset: -3px; }
.best-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--mx-charcoal);
  border: 1px solid var(--mx-line);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.best-card:hover { transform: translateY(-6px); box-shadow: var(--glow); }
.best-card__media { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; }
.best-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.best-card:hover .best-card__media img { transform: scale(1.07); }
.best-card__media .diet { position: absolute; top: 1rem; left: 1rem; width: 20px; height: 20px; }
.best-card__flag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: .25rem .7rem;
  border-radius: 999px;
  background: var(--mx-red);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.best-card__body { display: flex; flex-direction: column; gap: .5rem; padding: 1.15rem 1.25rem 1.35rem; flex: 1; }
.best-card__body h3 { font-size: 1.2rem; margin: 0; }
.best-card__body p { color: var(--mx-text-muted); font-size: .9rem; margin: 0; flex: 1; }
.best-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: .5rem; }
.best-card__price { font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; color: var(--mx-yellow); }

/* ---------- Franchise ---------- */
.model-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--mx-surface);
  border: 1px solid var(--mx-line);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.model-card:hover { transform: translateY(-6px); box-shadow: var(--glow); border-color: rgba(255, 194, 14, .35); }
.model-card--featured { border-color: rgba(227, 20, 27, .55); }
.model-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.model-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.model-card:hover .model-card__media img { transform: scale(1.06); }
.model-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--mx-surface), transparent 55%); }
.model-card__tag {
  position: absolute;
  left: 1.25rem;
  bottom: .75rem;
  z-index: 1;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--mx-yellow);
  text-shadow: 0 4px 20px rgba(0, 0, 0, .6);
}
.model-card__ribbon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  padding: .3rem .8rem;
  border-radius: 999px;
  background: var(--mx-red);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
}
.model-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.5rem 1.6rem; }
.model-card__body h3 { font-size: 1.5rem; display: flex; align-items: center; gap: .55rem; }
.model-card__body h3 i { color: var(--mx-yellow); font-size: 1.3rem; }
.model-card__body ul { list-style: none; padding: 0; margin: .5rem 0 1.5rem; flex: 1; }
.model-card__body li { position: relative; padding: .3rem 0 .3rem 1.6rem; color: #d4d4d8; }
.model-card__body li::before {
  content: "\2713"; /* ✓ */
  position: absolute;
  left: 0;
  top: .3rem;
  font-weight: 700;
  color: var(--mx-green-bright);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .85rem;
  margin: 0;
}
.benefits li {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--mx-surface);
  border: 1px solid var(--mx-line);
  font-weight: 500;
  line-height: 1.3;
}
.benefits i {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(227, 20, 27, .15);
  color: var(--mx-red-bright);
  font-size: 1.2rem;
}

.empower-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  background: linear-gradient(100deg, var(--mx-red) 0%, #B80F15 55%, var(--mx-orange) 130%);
  box-shadow: 0 20px 50px -20px rgba(227, 20, 27, .7);
  text-align: center;
}
.empower-band i { font-size: 2rem; color: var(--mx-yellow); }
.empower-band p { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.1rem, 2.4vw, 1.45rem); color: #fff; }
.empower-band strong { color: var(--mx-yellow); }

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 0;
  counter-reset: step;
}
.timeline li {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 4.75rem;
  border-radius: var(--radius);
  background: var(--mx-surface);
  border: 1px solid var(--mx-line);
}
.timeline__num {
  position: absolute;
  left: 1.25rem;
  top: 1.25rem;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mx-yellow);
  color: var(--mx-charcoal);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
}
.timeline h4 { font-size: 1.15rem; margin-bottom: .3rem; }
.timeline p { margin: 0; color: var(--mx-text-muted); font-size: .92rem; }

/* ---------- Enquiry ---------- */
.enquiry-form {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius);
  background: var(--mx-charcoal);
  border: 1px solid var(--mx-line);
  box-shadow: var(--shadow);
}
.enquiry-points li { display: flex; gap: .65rem; align-items: center; padding: .35rem 0; color: #d4d4d8; }
.enquiry-points i { color: var(--mx-green-bright); }

/* ---------- Gallery ---------- */
.gallery { columns: 2 160px; column-gap: 1rem; margin: 0; }
.gallery li { break-inside: avoid; margin-bottom: 1rem; }
.gallery__item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mx-surface);
  cursor: zoom-in;
}
.gallery__item img { display: block; width: 100%; height: auto; transition: transform .6s var(--ease), filter .4s; }
.gallery__item::after {
  content: "+";
  font-weight: 300;
  font-size: 2.6rem;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(14, 14, 16, .45);
  opacity: 0;
  transition: opacity .3s;
}
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.06); }
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1090;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  background: rgba(8, 8, 10, .94);
  backdrop-filter: blur(6px);
}
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox__figure img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  border-radius: var(--radius);
  box-shadow: var(--glow);
}
.lightbox__figure figcaption { margin-top: 1rem; color: #d4d4d8; }
.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 1.3rem;
  transition: background-color .2s, color .2s;
}
.lightbox__btn:hover { background: var(--mx-yellow); color: var(--mx-charcoal); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 1rem; top: 50%; translate: 0 -50%; }
body.no-scroll { overflow: hidden; }

/* ---------- Contact ---------- */
.contact-list li { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-list > li > i {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--mx-red);
  color: #fff;
  font-size: 1.2rem;
}
.contact-list h3 { font-size: 1rem; margin-bottom: .25rem; color: var(--mx-text-muted); font-family: var(--font-body); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.contact-list address, .contact-list p, .contact-list a { margin: 0; color: #fff; font-size: 1.05rem; }
.contact-list a { text-decoration: none; font-weight: 700; }
.contact-list a:hover { color: var(--mx-yellow); }

.map-wrap {
  height: 100%;
  min-height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--mx-line);
  box-shadow: var(--shadow);
  background: var(--mx-surface-2);
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  filter: invert(.9) hue-rotate(180deg) saturate(.7) brightness(.95) contrast(.9);
}

/* ---------- Footer ---------- */
.footer {
  padding: 4rem 0 6rem;
  background: #09090B;
  border-top: 3px solid var(--mx-red);
}
.footer__brand { display: inline-block; }
/* Full lockup (logo + tagline) sits on its own white tile */
.footer__brand picture img {
  display: block;
  width: 168px;
  height: auto;
  padding: .5rem;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 40px -18px rgba(255, 194, 14, .45);
}
.footer__title {
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--mx-yellow);
  margin-bottom: 1rem;
}
.footer__links li { margin-bottom: .55rem; color: var(--mx-text-muted); font-size: .95rem; }
.footer__links a { color: #d4d4d8; text-decoration: none; }
.footer__links a:hover { color: var(--mx-yellow); }
.footer__links i { color: var(--mx-yellow); margin-right: .35rem; }
.footer__links--cols { columns: 2; column-gap: 1rem; }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--mx-surface-2);
  color: #fff;
  text-decoration: none;
  transition: background-color .2s, color .2s, transform .2s;
}
.socials a:hover { background: var(--mx-yellow); color: var(--mx-charcoal); transform: translateY(-3px); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--mx-line);
  font-size: .9rem;
}

/* ---------- Floating buttons ---------- */
.fabs {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1030;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}
.fab {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .7);
  transition: transform .25s var(--ease), opacity .25s, visibility .25s;
}
.fab:hover { transform: scale(1.08); }
.fab--wa { background: var(--mx-whatsapp); color: #fff; animation: pulse 2.4s infinite; }
.fab--cart { background: var(--mx-yellow); color: var(--mx-charcoal); }
.fab--cart.bump { animation: bump .45s var(--ease); }
.fab--top {
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  background: var(--mx-surface-2);
  color: #fff;
  border: 1px solid var(--mx-line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}
.fab--top.is-visible { opacity: 1; visibility: visible; transform: none; }
.fab__count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--mx-red);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  line-height: 22px;
  border: 2px solid var(--mx-charcoal);
}

/* ---------- Cart drawer ---------- */
.cart-drawer .offcanvas-body { display: flex; flex-direction: column; }
.cart-list { margin: 0; }
.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .35rem 1rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--mx-line);
}
.cart-line__name { display: flex; align-items: center; gap: .5rem; font-weight: 500; }
.cart-line__price { font-weight: 700; color: var(--mx-yellow); text-align: right; }
.cart-line__unit { color: var(--mx-text-muted); font-size: .82rem; }
.qty {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  justify-self: end;
}
.qty button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--mx-surface-2);
  color: #fff;
}
.qty button:hover { background: var(--mx-yellow); color: var(--mx-charcoal); }
.qty output { min-width: 26px; text-align: center; font-weight: 700; }
.cart-empty { text-align: center; margin: auto 0; padding: 2rem 0; color: var(--mx-text-muted); }
.cart-empty i { font-size: 3rem; color: var(--mx-yellow); }
.cart-empty[hidden], .cart-footer[hidden] { display: none; }
.cart-footer { margin-top: auto; padding-top: 1.25rem; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.15rem; margin-bottom: .5rem; }
.cart-total strong { font-family: var(--font-head); font-size: 1.6rem; color: var(--mx-yellow); }
.cart-note { font-size: .85rem; color: var(--mx-text-muted); }
.btn-clear { color: var(--mx-text-muted); font-weight: 500; text-decoration: none; }
.btn-clear:hover { color: #FF8A8D; transform: none; }

/* ==========================================================================
   5. UTILITIES
   ========================================================================== */
.text-yellow { color: var(--mx-yellow) !important; }
.text-muted-mx { color: var(--mx-text-muted) !important; }

/* ==========================================================================
   6. MOTION
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes floatY { 0%, 100% { translate: 0 0; } 50% { translate: 0 -16px; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .6), 0 12px 30px -8px rgba(0, 0, 0, .7); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), 0 12px 30px -8px rgba(0, 0, 0, .7); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 12px 30px -8px rgba(0, 0, 0, .7); }
}
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.2); } 100% { transform: scale(1); } }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   7. MEDIA QUERIES (mobile-first)
   ========================================================================== */
@media (max-width: 399.98px) {
  .hero__stats { display: grid; padding: .85rem 1rem; }
  .hero__stats li { padding: 0; }
  .hero__stats li + li { border-left: 0; }
  .hero__ctas .btn { width: 100%; }
  .brush { white-space: normal; }
  .menu-cat__body { padding: .75rem 1rem 1.25rem; }
  .menu-cat__head { padding: 1rem; }
}

@media (min-width: 576px) {
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .gallery { columns: 2; }
}

@media (min-width: 768px) {
  .menu-items { grid-template-columns: 1fr 1fr; }
  .menu-cat__banner { height: 180px; }
  .benefits { grid-template-columns: repeat(3, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .gallery { columns: 3; }
  .fabs { right: 1.5rem; bottom: 1.5rem; }
  .mx-toast { margin-bottom: 0; }
}

@media (min-width: 992px) {
  .benefits { grid-template-columns: repeat(4, 1fr); }
  .benefits li:last-child { grid-column: span 1; }
  .timeline { grid-template-columns: repeat(4, 1fr); }
  .timeline::before {
    content: "";
    position: absolute;
    top: 42px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--mx-yellow) 0 10px, transparent 10px 18px);
    opacity: .5;
    z-index: 0;
  }
  .timeline li { padding: 4.75rem 1.25rem 1.5rem; text-align: center; z-index: 1; }
  .timeline__num { left: 50%; translate: -50% 0; }
  .gallery { columns: 4; }
  .collage__badge { left: -24px; }
}

@media (min-width: 1200px) {
  .mx-nav .offcanvas { --bs-offcanvas-bg: transparent; }
  .best-track { grid-auto-columns: 300px; }
}

@media (max-width: 1199.98px) {
  .mx-offcanvas .navbar-nav .nav-link {
    font-family: var(--font-head);
    font-size: 1.6rem;
    padding: .55rem 0 !important;
  }
  .mx-offcanvas .navbar-nav .nav-link::after { left: 0; right: auto; width: 40px; }
}

@media (min-width: 1600px) {
  .hero__float--a { width: 300px; height: 300px; right: 10%; }
  .hero__float--b { right: 28%; }
}
