:root {
  color-scheme: dark;
  /* Curated Luxury Persian Culinary Obsidian Palette */
  --canvas: #091714;
  --surface: #10241f;
  --surface-muted: #162f29;
  --surface-elevated: #1a3831;
  --forest-deep: #071310;
  --forest: #0d221c;
  --forest-soft: #183830;
  --ink: #f2f7f4;
  --ink-secondary: #a2b7af;
  --ink-muted: #728b80;
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-dark: rgba(255, 255, 255, 0.12);
  --lime: #c8e64e;
  --lime-hover: #d8f55d;
  --ember: #ef6f48;
  --ember-glow: rgba(239, 111, 72, 0.22);
  --success: #34a872;

  --font-display: 'Estedad', 'Vazirmatn', system-ui, -apple-system, sans-serif;
  --font-body: 'Vazirmatn', 'Estedad', Tahoma, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Vazirmatn', monospace;

  --radius-outer: 14px;
  --radius-inner: 10px;
  --radius-control: 8px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 10px 30px -8px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06);
  --shadow-card-hover: 0 16px 40px -10px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(200, 230, 78, 0.35);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-family: var(--font-body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body {
  margin: 0;
  background-color: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
  width: 100%;
}

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

h1, h2, h3, h4, p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1, h2, h3 {
  font-family: var(--font-display);
  text-wrap: balance;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
  max-width: 100%;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

.container {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.section-block {
  padding-block: clamp(56px, 7vw, 96px);
}

/* ==========================================================================
   TOP BAR CONTRACT (1 Row, 3 Zones)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: rgba(13, 31, 27, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline-dark);
  color: #ffffff;
}

.header-inner {
  width: min(1240px, calc(100% - 48px));
  min-height: 72px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wordmark {
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 22px);
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  flex-shrink: 0;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
  min-width: 0;
}

.desktop-nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
  padding-block: 4px;
  border-bottom: 2px solid transparent;
  transition: color 150ms var(--ease-out), border-color 150ms var(--ease-out);
}

.desktop-nav a:hover {
  color: #ffffff;
  border-bottom-color: var(--lime);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.mobile-menu-toggle {
  display: none;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-control);
  background: transparent;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.mobile-drawer {
  border-top: 1px solid var(--hairline-dark);
  background: var(--forest-deep);
  padding: 16px 20px 24px;
}

.mobile-drawer[hidden] {
  display: none;
}

.mobile-drawer nav {
  display: grid;
  gap: 8px;
}

.mobile-drawer a {
  padding: 10px 4px;
  border-bottom: 1px solid var(--hairline-dark);
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.mobile-drawer .mobile-drawer-cta {
  margin-top: 8px;
  padding: 12px;
  border-bottom: 0;
  text-align: center;
  background: var(--lime);
  color: var(--forest-deep);
  font-weight: 600;
  border-radius: var(--radius-control);
}

/* ==========================================================================
   BUTTONS & CONTROLS
   ========================================================================== */
.btn {
  min-height: 46px;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  text-align: center;
  transition: transform 150ms var(--ease-out), background-color 150ms var(--ease-out);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 13px;
}

.btn-lime {
  background-color: var(--lime);
  color: var(--forest-deep);
}

.btn-lime:hover {
  background-color: var(--lime-hover);
}

.btn-primary {
  background-color: var(--forest);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--forest-soft);
}

.site-header .btn-primary {
  background-color: var(--lime);
  color: var(--forest-deep);
}

.site-header .btn-primary:hover {
  background-color: var(--lime-hover);
}

.btn-block {
  width: 100%;
  white-space: normal;
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: var(--forest-deep);
  color: #ffffff;
  padding-block: clamp(44px, 6vw, 84px);
  border-bottom: 1px solid var(--hairline-dark);
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-backdrop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.72;
  filter: saturate(1.25) brightness(1.05) contrast(1.05);
  transform: scale(1.02);
  animation: hero-ambient 24s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-backdrop-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 65% 45%, rgba(235, 105, 45, 0.22) 0%, transparent 60%),
    linear-gradient(to left, rgba(13, 31, 27, 0.76) 0%, rgba(13, 31, 27, 0.52) 48%, rgba(13, 31, 27, 0.28) 100%),
    linear-gradient(to bottom, rgba(13, 31, 27, 0.7) 0%, transparent 18%, transparent 78%, rgba(13, 31, 27, 0.95) 100%);
}

@keyframes hero-ambient {
  0% {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.08) translate3d(-1%, -1.2%, 0);
  }
  100% {
    transform: scale(1.04) translate3d(0.8%, -0.5%, 0);
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(32px, 4.5vw, 56px);
  align-items: center;
}

.hero-copy,
.hero-showcase-card {
  min-width: 0;
}

.hero-title-box {
  background: linear-gradient(135deg, rgba(8, 22, 18, 0.28) 0%, rgba(6, 17, 14, 0.38) 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 4px solid var(--lime);
  border-radius: var(--radius-outer);
  padding: clamp(22px, 3.2vw, 36px);
  margin-bottom: 28px;
  box-shadow:
    0 16px 40px -10px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.hero-title-box::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(200, 230, 78, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

.editorial-kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--lime);
  margin-bottom: 14px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9);
}

.hero-title-box h1 {
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.34;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: 0.005em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.9);
}

.hero-title-box .hero-lead {
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.95);
  max-width: 60ch;
  margin-bottom: 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.hero-cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-bottom: 36px;
}

.text-action-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  padding-block: 4px;
  border-bottom: 1px solid rgba(200, 230, 78, 0.45);
  white-space: nowrap;
  transition: color 150ms var(--ease-out), border-color 150ms var(--ease-out);
}

.text-action-link:hover {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

.hero-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 16px 20px;
  background: rgba(10, 26, 22, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-inner);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   EXECUTIVE FRAMED HEADER BOX (CONSISTENT LUXURY PLAQUE)
   ========================================================================== */
.framed-header-box {
  background: linear-gradient(135deg, rgba(16, 36, 30, 0.82) 0%, rgba(9, 23, 19, 0.9) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 4px solid var(--lime);
  border-radius: var(--radius-outer);
  padding: clamp(20px, 2.8vw, 32px);
  box-shadow:
    0 18px 44px -10px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.framed-header-box::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(200, 230, 78, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.proof-metric {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.proof-metric strong {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: #ffffff;
}

.proof-metric span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.68);
}

/* Hero Right Visual Anchor */
.hero-showcase-card {
  background-color: var(--forest);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-outer);
  overflow: hidden;
}

.showcase-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--hairline-dark);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.showcase-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.quick-jump-btn,
.link-btn {
  border: 0;
  background: transparent;
  color: var(--lime);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  white-space: nowrap;
}

.quick-jump-btn:hover,
.link-btn:hover {
  text-decoration: underline;
}

.showcase-media-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 240px;
  background-color: #18352e;
  overflow: hidden;
}

.showcase-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.showcase-media-scrim {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(16px, 2.5vw, 24px);
  background: linear-gradient(
    to top,
    rgba(9, 22, 19, 0.94) 0%,
    rgba(9, 22, 19, 0.55) 60%,
    rgba(9, 22, 19, 0.08) 100%
  );
}

.media-kicker {
  font-size: 12px;
  color: var(--lime);
  margin-bottom: 6px;
}

.media-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.media-title-row > div {
  min-width: 0;
  flex: 1 1 220px;
}

.media-title-row h2 {
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.media-title-row p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.media-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--lime);
  white-space: nowrap;
}

.showcase-live-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 14px 18px;
  background-color: rgba(0, 0, 0, 0.22);
  font-size: 13px;
}

.live-order-readout {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--lime);
  display: inline-block;
  flex-shrink: 0;
}

/* ==========================================================================
   2. INTERACTIVE SANDBOX SECTION
   ========================================================================== */
.sandbox-section {
  background: radial-gradient(circle at 85% 15%, rgba(200, 230, 78, 0.03) 0%, transparent 45%), var(--canvas);
  border-bottom: 1px solid var(--hairline);
}

.sandbox-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 32px;
  margin-bottom: 28px;
}

.sandbox-title-group {
  max-width: 600px;
  min-width: 0;
}

.section-kicker {
  font-size: 13px;
  font-weight: 600;
  color: var(--lime);
  margin-bottom: 10px;
}

.sandbox-title-group h2,
.section-header-split h2,
.roi-calculator-box h2,
.faq-intro h2 {
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.35;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.75;
  margin: 0;
  max-width: 62ch;
}

.sandbox-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}

.segmented-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  background-color: #0b1a16;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-inner);
  max-width: 100%;
}

.seg-tab {
  min-height: 40px;
  padding: 8px 14px;
  border: 0;
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--ink-secondary);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  flex: 1 1 auto;
  text-align: center;
  transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out);
}

.seg-tab:hover {
  color: #ffffff;
}

.seg-tab.is-active {
  background-color: var(--forest-soft);
  color: var(--lime);
}

.sandbox-status-line {
  font-size: 12px;
  color: var(--ink-muted);
  margin: 0;
}

/* Workspace Container */
.app-workspace {
  background-color: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-outer);
  overflow: hidden;
  max-width: 100%;
  box-shadow: var(--shadow-card);
}

.workspace-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 14px 20px;
  background-color: var(--forest-deep);
  color: #ffffff;
  font-size: 13px;
  border-bottom: 1px solid var(--hairline);
}

.workspace-identity {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.workspace-brand {
  color: var(--lime);
}

.workspace-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.workspace-reset-btn {
  border: 0;
  background: transparent;
  color: var(--lime);
  font-size: 12px;
  cursor: pointer;
  padding: 2px 4px;
}

.workspace-reset-btn:hover {
  text-decoration: underline;
}

.workspace-panel {
  padding: clamp(16px, 2.5vw, 28px);
}

.workspace-panel[hidden] {
  display: none;
}

/* Panel 1: Customer Storefront Layout */
.storefront-workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.catalog-column,
.cart-column {
  min-width: 0;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hairline);
}

.category-filter-bar,
.status-filter-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-btn {
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-control);
  background-color: #0b1a16;
  color: var(--ink-secondary);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out), border-color 150ms var(--ease-out);
}

.filter-btn:hover {
  color: #ffffff;
  border-color: rgba(200, 230, 78, 0.3);
}

.filter-btn.is-active {
  background-color: var(--forest-soft);
  border-color: var(--lime);
  color: var(--lime);
}

.search-input-wrap {
  flex: 1 1 220px;
  min-width: 0;
}

.catalog-search {
  width: 100%;
  min-height: 38px;
  padding: 6px 12px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-control);
  background-color: #081512;
  color: #ffffff;
  font-size: 13px;
}

.catalog-search:focus {
  border-color: var(--lime);
  outline: none;
  box-shadow: 0 0 0 2px rgba(200, 230, 78, 0.2);
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: linear-gradient(180deg, #132a24 0%, #0d1e1a 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-inner);
  overflow: hidden;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.45);
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out), border-color 300ms var(--ease-out);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 230, 78, 0.35);
  box-shadow: var(--shadow-card-hover);
}

.product-card[hidden] {
  display: none;
}

.product-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: #091714;
  overflow: hidden;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms var(--ease-out);
}

.product-card:hover .product-card-media img {
  transform: scale(1.06);
}

.product-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.product-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: var(--lime);
  margin-bottom: 6px;
}

.product-card-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.product-card-body p {
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
}

.product-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--lime);
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #081512;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-control);
  padding: 2px 4px;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 4px;
  background-color: transparent;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color 150ms var(--ease-out);
}

.qty-btn:hover {
  color: var(--lime);
}

.qty-btn-add {
  background-color: var(--forest-soft);
  color: #ffffff;
}

.qty-btn-add:hover {
  background-color: var(--lime);
  color: var(--forest-deep);
}

.qty-value {
  min-width: 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

.empty-search-state {
  padding: 32px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 14px;
}

/* Cart Column */
.cart-box {
  background: linear-gradient(180deg, #132a24 0%, #0d1e1a 100%);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-inner);
  padding: 20px;
  position: sticky;
  top: 96px;
  box-shadow: var(--shadow-card);
}

.cart-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 14px;
}

.cart-box-header h3 {
  font-size: 16px;
  color: #ffffff;
  margin: 0;
}

.cart-box-header span {
  font-size: 13px;
  color: var(--lime);
}

.cart-items-list {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  max-height: 220px;
  overflow-y: auto;
}

.cart-line-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--hairline);
}

.cart-line-item strong {
  display: block;
  color: #ffffff;
}

.cart-line-item small {
  color: var(--ink-secondary);
  font-size: 12px;
}

.cart-summary-rows {
  display: grid;
  gap: 8px;
  padding-block: 12px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 16px;
  font-size: 13px;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--ink-secondary);
}

.summary-total {
  font-size: 15px;
  color: var(--lime);
  font-weight: 700;
  padding-top: 6px;
}

.quick-checkout-form {
  display: grid;
  gap: 12px;
}

.field-label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  min-width: 0;
}

.field-label input,
.clean-select {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-control);
  background-color: #081512;
  color: #ffffff;
  font-size: 13px;
}

.field-label input:focus,
.clean-select:focus {
  border-color: var(--lime);
  outline: none;
  box-shadow: 0 0 0 2px rgba(200, 230, 78, 0.2);
}

.checkout-hint {
  font-size: 12px;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.6;
}

/* Panel 2: Kitchen Operations */
.ops-kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.kpi-block {
  padding: 16px;
  background: linear-gradient(180deg, #132a24 0%, #0d1e1a 100%);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-inner);
  display: grid;
  gap: 4px;
  min-width: 0;
  transition: transform 250ms var(--ease-out), border-color 250ms var(--ease-out);
}

.kpi-block:hover {
  transform: translateY(-2px);
  border-color: rgba(200, 230, 78, 0.25);
}

.kpi-block span {
  font-size: 12px;
  color: var(--ink-muted);
}

.kpi-block strong {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  color: var(--lime);
}

.kpi-block small {
  font-size: 12px;
  color: var(--ink-secondary);
}

.orders-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hairline);
}

.orders-helper-text {
  font-size: 13px;
  color: var(--ink-muted);
}

.orders-queue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.order-ticket {
  padding: 18px;
  background: linear-gradient(180deg, #132a24 0%, #0d1e1a 100%);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-inner);
  display: grid;
  gap: 12px;
  min-width: 0;
}

.ticket-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline);
}

.ticket-id-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-muted);
}

.ticket-id-group strong {
  font-size: 15px;
  color: #ffffff;
}

.ticket-status-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--lime);
}

.ticket-items {
  font-size: 14px;
  color: #ffffff;
  font-weight: 500;
}

.ticket-address {
  font-size: 12px;
  color: var(--ink-secondary);
}

.ticket-progress-track {
  height: 6px;
  background-color: #081512;
  border-radius: 3px;
  overflow: hidden;
}

.ticket-progress-fill {
  height: 100%;
  background-color: var(--lime);
  transition: transform 200ms var(--ease-out);
  transform-origin: right center;
}

.ticket-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 12px;
  padding-top: 8px;
}

.ticket-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.ticket-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--lime);
}

/* Panel 3: Delivery & Tracking */
.delivery-workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.delivery-controls-col,
.delivery-map-col {
  min-width: 0;
}

.delivery-box {
  background: linear-gradient(180deg, #132a24 0%, #0d1e1a 100%);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-inner);
  padding: clamp(16px, 2.5vw, 24px);
  display: grid;
  gap: 18px;
}

.delivery-box-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
}

.muted-label {
  display: block;
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.delivery-box-head h3 {
  font-size: 18px;
  color: #ffffff;
  margin: 0;
}

.delivery-state-text {
  font-size: 13px;
  color: var(--lime);
}

.delivery-address-line {
  font-size: 14px;
  color: var(--ink-secondary);
  margin: 0;
}

.location-consent-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding: 14px 16px;
  background-color: #091714;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-control);
}

.location-consent-box strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.location-consent-box p {
  font-size: 12px;
  color: var(--ink-muted);
  margin: 0;
}

.consent-toggle-btn {
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-control);
  background-color: var(--surface-muted);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.consent-toggle-btn.is-enabled {
  background-color: var(--forest);
  color: #ffffff;
}

.delivery-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--hairline);
}

.eta-readout {
  font-size: 13px;
  color: var(--ink-secondary);
}

.schematic-map-container {
  position: relative;
  height: 100%;
  min-height: 300px;
  background-color: var(--forest-deep);
  color: #ffffff;
  border-radius: var(--radius-inner);
  padding: clamp(18px, 2.5vw, 28px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  overflow: hidden;
}

.schematic-map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.schematic-route-track {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  margin-block: auto;
}

.route-node {
  position: relative;
  padding: 12px 16px;
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-control);
  background-color: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  transition: transform 150ms var(--ease-out), border-color 150ms var(--ease-out);
}

.route-node.is-reached {
  border-color: var(--lime);
  background-color: rgba(200, 230, 78, 0.1);
}

.node-title {
  font-size: 14px;
  font-weight: 600;
}

.route-node small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.schematic-map-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline-dark);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   3. CORE CAPABILITIES BENTO GRID
   ========================================================================== */
.capabilities-section {
  background: radial-gradient(circle at 15% 30%, rgba(239, 111, 72, 0.05) 0%, transparent 60%), var(--forest-deep);
  border-bottom: 1px solid var(--hairline);
}

.section-header-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 48px;
  margin-bottom: 40px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.bento-span-7 {
  grid-column: span 7;
  min-width: 0;
}

.bento-span-5 {
  grid-column: span 5;
  min-width: 0;
}

.bento-card {
  background: linear-gradient(180deg, #122822 0%, #0c1c18 100%);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-outer);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.45);
  transition: transform 300ms var(--ease-out), border-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 230, 78, 0.35);
  box-shadow: var(--shadow-card-hover);
}

.bento-card-content {
  padding: clamp(22px, 3vw, 36px);
}

.bento-index {
  font-size: 13px;
  font-weight: 600;
  color: var(--lime);
  margin-bottom: 10px;
}

.bento-card h3 {
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.4;
  margin-bottom: 12px;
  color: #ffffff;
}

.bento-card p {
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.clean-feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  font-size: 14px;
  color: #ffffff;
}

.clean-feature-list li {
  position: relative;
  padding-right: 20px;
}

.clean-feature-list li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: var(--lime);
  font-weight: 700;
}

.bento-media-card {
  position: relative;
  min-height: 360px;
  background-color: var(--forest-deep);
  color: #ffffff;
}

.bento-media-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms var(--ease-out);
}

.bento-media-card:hover img {
  transform: scale(1.04);
}

.bento-media-scrim {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: clamp(22px, 3vw, 36px);
  background: linear-gradient(
    to top,
    rgba(9, 22, 19, 0.95) 0%,
    rgba(9, 22, 19, 0.68) 65%,
    transparent 100%
  );
}

.bento-media-scrim .bento-index {
  color: var(--lime);
}

.bento-media-scrim h3 {
  color: #ffffff;
}

.bento-media-scrim p {
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 0;
}

.bento-inline-stat {
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.bento-inline-stat strong {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--lime);
}

.bento-inline-stat span {
  font-size: 13px;
  color: var(--ink-secondary);
}

.sub-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
}

.sub-capabilities-grid strong {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: #ffffff;
}

.sub-capabilities-grid p {
  font-size: 13px;
  margin: 0;
  line-height: 1.7;
}

/* ==========================================================================
   4. PROOF OF IMPACT & CASE STUDIES
   ========================================================================== */
.proof-section {
  background-color: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.case-card {
  background: linear-gradient(180deg, #122822 0%, #0c1c18 100%);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-outer);
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.45);
  transition: transform 300ms var(--ease-out), border-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 230, 78, 0.3);
  box-shadow: var(--shadow-card-hover);
}

.case-metric-header {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hairline);
}

.case-metric-header strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 34px);
  font-weight: 700;
  color: var(--lime);
  line-height: 1.2;
  margin-bottom: 4px;
}

.case-metric-header span {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-secondary);
}

.case-quote {
  font-size: 14px;
  line-height: 1.85;
  color: #ffffff;
  margin: 0;
  flex: 1;
}

.case-author {
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
  display: grid;
  gap: 4px;
}

.case-author strong {
  font-size: 14px;
  color: #ffffff;
}

.case-author span {
  font-size: 12px;
  color: var(--ink-muted);
}

/* ==========================================================================
   5. ROI CALCULATOR & LEAD CAPTURE FORM
   ========================================================================== */
.calculator-section {
  background-color: var(--forest-deep);
  color: #ffffff;
}

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 4.5vw, 48px);
  align-items: start;
}

.roi-calculator-box,
.demo-request-box {
  min-width: 0;
}

.roi-calculator-box .section-kicker,
.demo-request-box .section-kicker {
  color: var(--lime);
}

.roi-calculator-box h2 {
  color: #ffffff;
}

.roi-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.slider-group {
  margin-bottom: 26px;
}

.slider-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 10px;
  font-size: 14px;
}

.slider-label-row strong {
  color: var(--lime);
  font-size: 16px;
}

.clean-range {
  width: 100%;
  accent-color: var(--lime);
  cursor: pointer;
}

.slider-scale {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 6px;
}

.roi-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.roi-result-item {
  padding: 20px;
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-inner);
  background-color: rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 6px;
  min-width: 0;
}

.roi-result-item span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.roi-result-item strong {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  color: #ffffff;
}

.roi-highlight {
  border-color: rgba(200, 230, 78, 0.5);
  background-color: rgba(200, 230, 78, 0.08);
}

.roi-highlight strong {
  color: var(--lime);
}

.roi-highlight small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* Lead Capture Form Box */
.demo-request-box {
  background: linear-gradient(180deg, #132a24 0%, #0d1e1a 100%);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-outer);
  padding: clamp(22px, 3vw, 36px);
  box-shadow: var(--shadow-card);
}

.demo-request-box h3 {
  font-size: clamp(20px, 2.2vw, 24px);
  color: #ffffff;
  margin-bottom: 10px;
}

.form-intro {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
  margin-bottom: 22px;
}

.lead-form {
  display: grid;
  gap: 16px;
}

.lead-form .field-label {
  color: rgba(255, 255, 255, 0.9);
}

.lead-form input,
.lead-form .clean-select {
  background-color: #081512;
  border-color: var(--hairline-dark);
  color: #ffffff;
}

.lead-form input:focus,
.lead-form .clean-select:focus {
  border-color: var(--lime);
  outline: none;
  box-shadow: 0 0 0 2px rgba(200, 230, 78, 0.2);
}

.lead-form input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.form-row-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.form-status-msg {
  font-size: 13px;
  margin: 4px 0 0;
  min-height: 20px;
  color: var(--lime);
}

.form-status-msg.is-error {
  color: #ff9b82;
}

/* ==========================================================================
   6. FAQ SECTION
   ========================================================================== */
.faq-section {
  background: linear-gradient(180deg, var(--forest-deep) 0%, #091714 100%);
  border-bottom: 1px solid var(--hairline);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: start;
}

.faq-intro,
.faq-accordion {
  min-width: 0;
}

.faq-intro p:last-child {
  color: var(--ink-secondary);
  font-size: 15px;
  line-height: 1.8;
}

.faq-accordion details {
  border-top: 1px solid var(--hairline);
  transition: background-color 200ms var(--ease-out);
}

.faq-accordion details[open] {
  background-color: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-inner);
}

.faq-accordion details:last-child {
  border-bottom: 1px solid var(--hairline);
}

.faq-accordion summary {
  padding: 18px 0;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 150ms var(--ease-out);
}

.faq-accordion summary:hover {
  color: var(--lime);
}

.faq-accordion summary::-webkit-details-marker {
  display: none;
}

.faq-accordion summary::after {
  content: "+";
  font-size: 20px;
  color: var(--lime);
  flex-shrink: 0;
}

.faq-accordion details[open] summary::after {
  content: "−";
}

.faq-accordion details p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-secondary);
  margin: 0 0 20px;
  max-width: 65ch;
}

/* ==========================================================================
   ENGINEERING MOTION: SMOOTH SCROLL REVEALS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 100ms;
}

.reveal-delay-2 {
  transition-delay: 200ms;
}

.reveal-delay-3 {
  transition-delay: 300ms;
}

.reveal-delay-4 {
  transition-delay: 400ms;
}

/* ==========================================================================
   QUIET FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--forest-deep);
  color: rgba(255, 255, 255, 0.78);
  padding-block: 44px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 36px;
}

.footer-brand-col {
  max-width: 420px;
}

.footer-brand-col p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin: 8px 0 0;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--lime);
}

.footer-copy small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Tablet, Split-Screen, Mobile)
   ========================================================================== */
@media (max-width: 1040px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .hero-grid,
  .storefront-workspace-grid,
  .delivery-workspace-grid,
  .calculator-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .bento-span-7,
  .bento-span-5 {
    grid-column: span 12;
  }

  .cart-box {
    position: static;
  }
}

@media (max-width: 768px) {
  .container,
  .header-inner {
    width: calc(100% - 32px);
  }

  .hero-proof-strip {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .segmented-tabs {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .seg-tab {
    width: 100%;
    text-align: right;
    padding-inline: 14px;
  }

  .orders-queue-grid,
  .menu-cards-grid {
    grid-template-columns: 1fr;
  }

  .ticket-actions {
    width: 100%;
  }

  .ticket-actions .filter-btn,
  .ticket-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .header-actions .btn-primary {
    padding: 8px 10px;
    font-size: 12px;
  }

  .hero-cta-row .btn {
    width: 100%;
  }

  .showcase-media-frame {
    aspect-ratio: auto;
    min-height: 270px;
  }

  .delivery-actions-bar .btn {
    width: 100%;
  }
}

/* ==========================================================================
   MOBILE FLOATING QUICK-NAV DOCK (BOTTOM DOCK)
   ========================================================================== */
.mobile-floating-dock {
  display: none;
}

@media (max-width: 860px) {
  .mobile-floating-dock {
    display: block;
    position: fixed;
    bottom: max(14px, env(safe-area-inset-bottom, 14px));
    left: 50%;
    transform: translate(-50%, 140%);
    width: calc(100% - 24px);
    max-width: 400px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition:
      transform 340ms cubic-bezier(0.16, 1, 0.3, 1),
      opacity 280ms var(--ease-out),
      visibility 280ms;
  }

  .mobile-floating-dock.is-visible {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
  }

  .dock-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 4px;
    background: rgba(9, 23, 19, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 6px 8px;
    box-shadow:
      0 18px 42px -8px rgba(0, 0, 0, 0.85),
      0 0 0 1px rgba(200, 230, 78, 0.22);
  }

  .dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 10px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
    flex: 1;
    text-align: center;
    transition: background 150ms var(--ease-out), color 150ms var(--ease-out);
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
  }

  .dock-item svg {
    display: block;
    width: 17px;
    height: 17px;
    stroke: currentColor;
  }

  .dock-item:active {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
  }

  .dock-item-highlight {
    background: var(--lime);
    color: var(--forest-night) !important;
    font-weight: 700;
    padding: 7px 14px;
    box-shadow: 0 4px 14px rgba(200, 230, 78, 0.35);
  }

  .dock-item-highlight svg {
    stroke: var(--forest-night);
  }

  .dock-item-highlight:active {
    background: #b8e03e;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
