/* ===================== FONTS ===================== */
@font-face {
  font-family: 'Gillune';
  src: url('../fonts/Gillune-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gillune';
  src: url('../fonts/Gillune-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gillune';
  src: url('../fonts/Gillune-Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gillune';
  src: url('../fonts/Gillune-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gillune';
  src: url('../fonts/Gillune-Extrabold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gillune';
  src: url('../fonts/Gillune-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ===================== TOKENS ===================== */
:root {
  --primary: #FD4C08;
  --primary-dark: #D93E02;
  --accent: #FFC759;
  --cream: #F6F1EE;
  --dark: #282828;
  --white: #FFFFFF;
  --gradient-brand: linear-gradient(75deg, var(--primary) 0%, #FF7A2E 55%, var(--accent) 100%);
  --gradient-hero-blob: radial-gradient(circle at 60% 40%, #FF8A3D 0%, var(--primary) 70%);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-card: 0 20px 40px -20px rgba(40, 40, 40, 0.18);
  --shadow-soft: 0 10px 30px -12px rgba(253, 76, 8, 0.35);
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, .brand-word, .app-restaurant-name {
  font-family: 'Gillune', 'Inter', sans-serif;
  margin: 0;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.brand-word { background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 26px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}
.btn-pill { border-radius: 999px; }
.btn-primary {
  background: var(--gradient-brand);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(253, 76, 8, 0.5); }
.btn-light {
  background: var(--white);
  color: var(--primary);
}
.btn-light:hover { transform: translateY(-2px); }
.btn-block { width: 100%; }

.eyebrow {
  display: inline-block;
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: 0 6px 16px -8px rgba(40,40,40,0.15);
  margin-bottom: 18px;
}
.hero-copy .eyebrow {
  background: var(--primary);
  color: var(--white);
  mix-blend-mode: overlay;
  box-shadow: none;
}
.eyebrow-light { background: rgba(255,255,255,0.18); color: var(--white); backdrop-filter: blur(4px); }

/* ===================== HEADER ===================== */
.site-header {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 40;
  background: transparent;
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 10px 10px 26px;
  border-radius: 999px;
  /* Liquid Glass: translucent frosted tint + heavy blur/saturate so the gradient
     behind bleeds through, a soft glass edge (inset highlights) and a specular
     sheen layer on top. */
  background: linear-gradient(180deg, rgba(255,255,255,0.42) 0%, rgba(40,30,25,0.16) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow:
    0 16px 40px -14px rgba(40,40,40,0.32),
    inset 0 1px 1px rgba(255,255,255,0.55),
    inset 0 -1px 2px rgba(40,40,40,0.1);
}
.header-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255,255,255,0.32) 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 70%, rgba(255,255,255,0.2) 100%);
  pointer-events: none;
}
.header-inner .btn { margin: 0; }
.brand-logo { height: 30px; width: auto; }
.main-nav { display: flex; gap: 28px; margin-left: auto; margin-right: 28px; font-weight: 600; font-size: 0.95rem; }
.main-nav a:hover { color: var(--primary); }
.nav-toggle { display: none; flex-direction: column; gap: 4px; width: 28px; }
.nav-toggle span { display: block; height: 2px; background: var(--dark); border-radius: 2px; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  padding: 95px 0 40px;
  overflow: hidden;
  background: var(--cream);
}
.hero-bg-layer { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-bg-circle { mix-blend-mode: normal; }
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero-title {
  font-size: 3.4rem;
  line-height: 1.2;
  font-weight: 800;
  display: flex;
  flex-direction: column;
  margin-bottom: 22px;
}
.hero-title .solid {
  color: var(--primary);
  font-size: 2.35em;
  line-height: 1.1;
  margin-bottom: 0.05em;
}
.hero-title .grad {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-text { font-size: 1.05rem; line-height: 1.6; color: #4a4642; max-width: 480px; margin-bottom: 30px; }
.hero-social-proof { display: flex; align-items: center; gap: 16px; margin-top: 34px; }
.avatar-stack { display: flex; }
.avatar { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--cream); margin-left: -12px; background: var(--primary); }
.avatar:first-child { margin-left: 0; }
.social-proof-text { display: flex; flex-direction: column; font-size: 0.85rem; color: #6a655f; }
.social-proof-text strong { color: var(--dark); font-size: 1rem; }

/* ---- phone mockups ---- */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; padding: 90px 70px 60px; }

.hero-blob-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 480px;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.hero-phone {
  width: 460px;
  max-width: none;
  position: relative;
  z-index: 2;
  margin: 40px auto;
}
/* Higher specificity than the generic [data-reveal] rule so this element's
   fine-tuned resting position (aligned with the hero blob) isn't reset to the
   generic translateY(0) — same blur/translateY treatment, different end point. */
.hero-phone[data-reveal] {
  opacity: 0;
  transform: translate(-9px, -35px);
  filter: blur(8px) drop-shadow(0 30px 50px rgba(40,40,40,0.35));
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-phone[data-reveal].is-revealed {
  opacity: 1;
  transform: translate(-9px, -65px);
  filter: blur(0) drop-shadow(0 30px 50px rgba(40,40,40,0.35));
}

.phone-mock {
  width: 240px;
  background: var(--dark);
  border-radius: 34px;
  padding: 10px;
  box-shadow: 0 40px 60px -20px rgba(40,40,40,0.45);
  position: relative;
  z-index: 2;
  margin: 70px auto;
}
.phone-notch { width: 70px; height: 16px; background: var(--dark); border-radius: 0 0 12px 12px; margin: 0 auto; position: relative; z-index: 3; }
.phone-screen { background: var(--white); border-radius: 24px; overflow: hidden; margin-top: -16px; }
.app-topbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 14px 10px; }
.app-restaurant-name { font-weight: 800; font-size: 1.1rem; color: var(--primary); }
.app-cart { font-size: 1rem; }
.app-dish-photo { aspect-ratio: 4/3; overflow: hidden; }
.app-dish-photo img { width: 100%; height: 100%; object-fit: cover; }
.app-dish-info { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px 18px; }
.app-dish-name { font-weight: 700; font-size: 0.85rem; }
.app-dish-price { font-weight: 800; font-size: 0.85rem; color: var(--primary); }

.floating-card {
  position: absolute;
  border-radius: 10px;
  padding: 14px 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  width: max-content;
  z-index: 4;
  animation: card-float 5s ease-in-out infinite;
  /* Liquid Glass: same recipe as the nav pill (frosted tint + blur/saturate +
     specular sheen) — used here because these cards float over the orange
     blob, the other spot on the page with a colorful backdrop to bleed through. */
  background: linear-gradient(180deg, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.6) 100%);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow:
    0 20px 45px -18px rgba(40,40,40,0.35),
    inset 0 1px 1px rgba(255,255,255,0.6),
    inset 0 -1px 2px rgba(40,40,40,0.06);
}
.floating-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0) 35%, rgba(255,255,255,0) 65%, rgba(255,255,255,0.18) 100%);
  pointer-events: none;
}
.floating-card strong { display: block; font-size: 0.85rem; margin-bottom: 2px; white-space: nowrap; }
.floating-card p { font-size: 0.82rem; color: var(--dark); margin-bottom: 2px; white-space: nowrap; }
.floating-card small { font-size: 0.68rem; color: #8a857f; white-space: nowrap; }
.floating-avatar { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; background: var(--primary); display: inline-block; }

.card-small { padding: 10px 14px; gap: 8px; }
.card-small strong { font-size: 0.72rem; }
.card-small p { font-size: 0.68rem; }
.card-small small { font-size: 0.6rem; }
.card-small .floating-avatar { width: 24px; height: 24px; }

.card-1 { top: 34%; left: 0%; animation-delay: 0s; }
.card-2 { bottom: 16%; right: -2%; left: auto; animation-delay: 1.4s; }

@keyframes card-float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(0, -10px) rotate(1deg); }
}

/* ===================== INNOVACIONES ===================== */
.innovaciones {
  background: var(--gradient-brand);
  padding: 60px 0 60px;
  margin-top: 0;
  text-align: center;
  position: relative;
}
.innovaciones-heading {
  font-family: 'Gillune', sans-serif;
  font-size: 4.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}
.innovaciones-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  text-align: left;
}
.innovaciones-copy { color: var(--white); }
.innovaciones-copy p { color: rgba(255,255,255,0.92); font-size: 1.02rem; line-height: 1.6; max-width: 440px; margin-bottom: 0; }
.innovaciones-visual { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.innovaciones-visual .chatbot-frame { width: 100%; }

.carousel-count {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: 'Gillune', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}
.carousel-count #slideCurrent { font-size: 1.3rem; color: var(--white); }
.carousel-count i { font-style: normal; opacity: 0.65; }

.carousel-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255,255,255,0.16);
  color: var(--white);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin: 22px auto 0;
  width: fit-content;
  animation: hint-pulse 2.4s ease-in-out infinite;
}
@keyframes hint-pulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

/* ---- carousel text slides ---- */
.innovaciones-slides {
  display: grid;
  margin-bottom: 34px;
  min-height: 230px;
}
.innovaciones-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.innovaciones-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.innovaciones-slide > * {
  opacity: 0;
  transform: translateY(18px);
}
.innovaciones-slide.is-active > * {
  animation: slide-in-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.innovaciones-slide.is-active > *:nth-child(1) { animation-delay: 0s; }
.innovaciones-slide.is-active > *:nth-child(2) { animation-delay: 0.08s; }
.innovaciones-slide.is-active > *:nth-child(3) { animation-delay: 0.16s; }
@keyframes slide-in-up {
  to { opacity: 1; transform: translateY(0); }
}
.innovaciones-title { font-size: 2.6rem; font-weight: 800; line-height: 1.15; margin: 8px 0 18px; color: var(--white); }

/* ---- carousel coverflow ---- */
.chatbot-frame {
  position: relative;
  height: 480px;
  width: 100%;
  perspective: 1600px;
}
.coverflow-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250px;
  padding: 0;
  border: none;
  background: none;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.55s ease;
  transform-style: preserve-3d;
  cursor: pointer;
}
.coverflow-item img {
  width: 100%;
  border-radius: 26px;
  display: block;
  filter: drop-shadow(0 25px 45px rgba(40,40,40,0.4));
}
.coverflow-item.is-center {
  transform: translate(-50%, -50%) translateX(0) translateZ(0) rotateY(0deg) scale(1);
  z-index: 5;
  opacity: 1;
  cursor: default;
}
.coverflow-item.is-prev {
  transform: translate(-50%, -50%) translateX(-155px) translateZ(-120px) rotateY(28deg) scale(0.78);
  z-index: 3;
  opacity: 0.6;
}
.coverflow-item.is-next {
  transform: translate(-50%, -50%) translateX(155px) translateZ(-120px) rotateY(-28deg) scale(0.78);
  z-index: 3;
  opacity: 0.6;
}
.coverflow-item.is-hidden {
  transform: translate(-50%, -50%) translateX(0) translateZ(-260px) scale(0.6);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}
.coverflow-item:hover:not(.is-center) img { filter: drop-shadow(0 25px 45px rgba(40,40,40,0.4)) brightness(1.05); }

/* ---- live AI demo card ---- */
.coverflow-item-demo { cursor: default; }
.coverflow-item-demo:not(.is-center) { cursor: pointer; }
.ai-demo-phone {
  width: 100%;
  height: 460px;
  background: var(--white);
  border-radius: 26px;
  box-shadow: 0 25px 45px rgba(40,40,40,0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-align: left;
}
.coverflow-item-demo:not(.is-center) .ai-demo-phone,
.coverflow-item-demo:not(.is-center) .split-demo-phone,
.coverflow-item-demo:not(.is-center) .menu-demo-phone { pointer-events: none; }

.ai-demo-header { display: flex; align-items: center; gap: 10px; padding: 16px 16px 12px; border-bottom: 1px solid #f0e9e2; }
.ai-demo-logo { width: 26px; height: 26px; }
.ai-demo-header strong { display: block; font-size: 0.85rem; color: var(--dark); }
.ai-demo-header span { display: block; font-size: 0.68rem; color: #8a857f; }

.ai-demo-chat { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.ai-demo-bubble { max-width: 85%; padding: 9px 12px; border-radius: 14px; font-size: 0.76rem; line-height: 1.4; }
.ai-demo-bubble-ai { background: var(--cream); color: var(--dark); border-bottom-left-radius: 4px; align-self: flex-start; }
.ai-demo-bubble-user { background: var(--gradient-brand); color: var(--white); border-bottom-right-radius: 4px; align-self: flex-end; }
.ai-demo-bubble-typing { display: flex; gap: 4px; align-items: center; padding: 11px 14px; }
.ai-demo-bubble-typing span { width: 5px; height: 5px; border-radius: 50%; background: #b5aea5; animation: typing-dot 1s ease-in-out infinite; }
.ai-demo-bubble-typing span:nth-child(2) { animation-delay: 0.15s; }
.ai-demo-bubble-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-dot { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }

.ai-demo-result { display: flex; gap: 8px; background: var(--white); border: 1px solid #f0e9e2; border-radius: 12px; padding: 8px; align-self: stretch; }
.ai-demo-result img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.ai-demo-result-name { font-size: 0.74rem; font-weight: 700; color: var(--dark); }
.ai-demo-result-price { font-size: 0.72rem; font-weight: 700; color: var(--primary); }

.ai-demo-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.ai-chip {
  font-size: 0.66rem; font-weight: 600; padding: 6px 10px; border-radius: 999px;
  background: var(--cream); color: var(--dark); border: 1px solid #f0e9e2; white-space: nowrap;
  transition: background 0.2s ease;
}
.ai-chip:hover { background: #f0e6dc; }

.ai-demo-input { display: flex; gap: 8px; padding: 10px 14px 14px; border-top: 1px solid #f0e9e2; }
.ai-demo-input input {
  flex: 1; min-width: 0; border: 1px solid #f0e9e2; border-radius: 999px; padding: 8px 14px;
  font-size: 0.76rem; font-family: inherit; background: var(--cream); color: var(--dark);
}
.ai-demo-input input:focus { outline: none; border-color: var(--primary); }
.ai-demo-input button {
  width: 32px; height: 32px; border-radius: 50%; background: var(--gradient-brand); color: var(--white);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 0.85rem;
}

/* ---- live bill-split demo ---- */
.split-demo-phone {
  width: 100%; height: 460px; background: var(--white); border-radius: 26px;
  box-shadow: 0 25px 45px rgba(40,40,40,0.4); display: flex; flex-direction: column;
  overflow: hidden; text-align: left;
}
.split-demo-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px; border-bottom: 1px solid #f0e9e2;
}
.split-demo-header strong { font-size: 0.9rem; color: var(--dark); }
.split-demo-header span { font-size: 0.76rem; font-weight: 700; color: var(--primary); }

.split-people { flex: 1; overflow-y: auto; padding: 12px 16px; display: flex; flex-direction: column; gap: 14px; }
.split-person { background: var(--cream); border-radius: 14px; padding: 12px; }
.split-person-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.split-avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
.split-avatar-alt { background: var(--dark); }
.split-person-head strong { font-size: 0.8rem; color: var(--dark); flex: 1; }
.split-person-total { font-size: 0.8rem; font-weight: 800; color: var(--primary); }
.split-items { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; min-height: 4px; }
.split-item-row { display: flex; justify-content: space-between; font-size: 0.72rem; color: #6a655f; }
.split-add {
  width: 100%; font-size: 0.72rem; font-weight: 700; padding: 7px; border-radius: 999px;
  background: var(--white); color: var(--primary); border: 1px dashed var(--primary);
}
.split-add:hover { background: #fff4ee; }
.split-demo-footer { font-size: 0.68rem; color: #8a857f; text-align: center; padding: 10px 16px 16px; }

.split-breakdown { margin: 4px 0 8px; padding-top: 8px; border-top: 1px dashed #e6dfd8; display: flex; flex-direction: column; gap: 3px; }
.split-breakdown > div { display: flex; justify-content: space-between; font-size: 0.68rem; color: #8a857f; }
.split-breakdown-total { padding-top: 4px; margin-top: 2px; border-top: 1px solid #e6dfd8; }
.split-breakdown-total span { font-weight: 800; color: var(--primary) !important; font-size: 0.76rem !important; }

/* ---- live classic/video menu demo ---- */
.menu-demo-phone {
  width: 100%; height: 460px; background: var(--white); border-radius: 26px;
  box-shadow: 0 25px 45px rgba(40,40,40,0.4); display: flex; flex-direction: column;
  overflow: hidden; text-align: left;
}
.menu-demo-tabs { display: flex; gap: 8px; padding: 14px 16px 10px; }
.menu-tab {
  flex: 1; font-size: 0.74rem; font-weight: 700; padding: 8px; border-radius: 999px;
  background: var(--cream); color: #8a857f;
}
.menu-tab.is-active { background: var(--gradient-brand); color: var(--white); }

/* ---- Carta: modern menu app ---- */
.menu-classic-app { flex: 1; display: flex; flex-direction: column; overflow: hidden; padding: 0 14px 14px; }
.menu-search {
  background: var(--cream); border-radius: 10px; padding: 9px 12px; font-size: 0.72rem;
  color: #8a857f; margin-bottom: 10px; flex-shrink: 0;
}
.menu-categories { display: flex; gap: 6px; margin-bottom: 10px; flex-shrink: 0; }
.menu-cat { font-size: 0.68rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--cream); color: #8a857f; }
.menu-cat.is-active { background: var(--gradient-brand); color: var(--white); }

.menu-list { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.menu-list-item { display: flex; align-items: center; gap: 10px; }
.menu-list-item img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.menu-list-info { flex: 1; min-width: 0; }
.menu-list-info strong { display: block; font-size: 0.74rem; color: var(--dark); }
.menu-list-info span { display: block; font-size: 0.64rem; color: #8a857f; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-list-price { font-size: 0.72rem; font-weight: 800; color: var(--primary); flex-shrink: 0; }

/* ---- Video: reels-style feed ---- */
.menu-video-feed { flex: 1; position: relative; overflow-y: auto; scroll-snap-type: y mandatory; }
.reel-item { position: relative; height: 100%; min-height: 100%; scroll-snap-align: start; background: var(--dark); }
.reel-item video { width: 100%; height: 100%; object-fit: cover; }
.reel-overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between;
  padding: 14px; background: linear-gradient(0deg, rgba(0,0,0,0.65) 0%, transparent 40%);
  pointer-events: none;
}
.reel-info { color: var(--white); pointer-events: none; }
.reel-info strong { display: block; font-size: 0.8rem; }
.reel-info span { font-size: 0.72rem; opacity: 0.9; }
.reel-actions { display: flex; flex-direction: column; gap: 12px; align-items: center; pointer-events: auto; }
.reel-like, .reel-comment {
  display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--white);
  font-size: 1.2rem; background: rgba(0,0,0,0.25); width: 40px; height: 40px; border-radius: 50%;
  justify-content: center; transition: transform 0.15s ease;
}
.reel-like:active, .reel-comment:active { transform: scale(0.9); }
.reel-like small, .reel-comment small { font-size: 0.6rem; font-weight: 700; }
.reel-like.is-liked { color: #ff4d6d; }

.reel-comments-panel {
  position: absolute; inset: 0; background: var(--white); z-index: 10;
  display: flex; flex-direction: column; border-radius: 0;
}
.reel-comments-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid #f0e9e2; }
.reel-comments-header strong { font-size: 0.85rem; color: var(--dark); }
.reel-comments-close { font-size: 0.9rem; color: #8a857f; width: 26px; height: 26px; border-radius: 50%; }
.reel-comments-close:hover { background: var(--cream); }
.reel-comments-list { flex: 1; overflow-y: auto; padding: 12px 16px; display: flex; flex-direction: column; gap: 12px; }
.reel-comment-item strong { display: block; font-size: 0.74rem; color: var(--dark); }
.reel-comment-item .stars { font-size: 0.68rem; color: var(--accent); margin: 2px 0; }
.reel-comment-item p { font-size: 0.72rem; color: #6a655f; line-height: 1.4; }

/* ---- carousel controls ---- */
.carousel-nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 32px; }
.carousel-arrows { display: flex; gap: 10px; }
.carousel-arrow {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.16); color: var(--white);
  font-size: 1.3rem; line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel-arrow:hover { background: rgba(255,255,255,0.3); transform: translateY(-2px); }

.carousel-progress { display: flex; gap: 8px; }
.carousel-progress-dot {
  position: relative;
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.25);
  overflow: hidden;
}
.carousel-progress-dot .fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: var(--white);
  border-radius: 999px;
}
.carousel-progress-dot.is-active .fill { animation: fill-progress 5s linear forwards; }
.carousel-progress-dot.is-done .fill { width: 100%; }
@keyframes fill-progress {
  from { width: 0%; }
  to { width: 100%; }
}

/* ===================== STATS ===================== */
.stats { padding: 50px 0 30px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; margin-bottom: 36px; }
.stat-number { display: block; font-family: 'Gillune', sans-serif; font-size: 200px; font-weight: 800; background: linear-gradient(180deg, #ffe4de, #fd4c08); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.stat-number small { font-size: 96px; }
.stat-label { display: block; font-size: 0.9rem; color: #6a655f; margin: 8px 0 22px; min-height: 40px; }
.stat-card { position: relative; background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 26px 22px; text-align: left; }
.stat-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; font-size: 1.2rem; margin-bottom: 14px; }
.icon-dark { background: var(--dark); }
.icon-accent { background: var(--accent); }
.icon-primary { background: var(--gradient-brand); }
.stat-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; font-family: 'Inter', sans-serif; }
.stat-card p { font-size: 0.85rem; color: #6a655f; line-height: 1.5; }

.marquee { overflow: hidden; border-top: 1px solid rgba(40,40,40,0.08); border-bottom: 1px solid rgba(40,40,40,0.08); padding: 16px 0; }
.marquee-track { display: flex; gap: 10px; white-space: nowrap; width: max-content; animation: scroll-left 32s linear infinite; font-size: 0.85rem; font-weight: 600; color: #8a857f; }
.marquee-track span:nth-child(odd) { color: var(--primary); }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===================== SECTION TITLES ===================== */
.section-title { text-align: center; font-size: 2.4rem; font-weight: 800; margin-bottom: 14px; }
.section-title .quote { background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-subtitle { text-align: center; color: #6a655f; font-size: 1.05rem; max-width: 560px; margin: 0 auto 36px; }

/* ===================== FEATURES 2x2 ===================== */
.features-2x2 { padding: 60px 0 50px; }
.cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feature-card { position: relative; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 34px; }
.feature-icon { font-size: 1.6rem; display: inline-block; margin-bottom: 12px; }
.feature-card h3 { color: var(--primary); font-size: 1.15rem; margin-bottom: 4px; font-family: 'Inter', sans-serif; font-weight: 800; }
.feature-lead { font-weight: 700; margin-bottom: 14px; }
.feature-card ul li { position: relative; padding-left: 20px; margin-bottom: 8px; font-size: 0.92rem; color: #4a4642; line-height: 1.5; }
.feature-card ul li::before { content: '•'; position: absolute; left: 0; color: var(--primary); font-weight: 800; }

/* ===================== ALL FEATURES CHECKLIST ===================== */
.all-features { padding: 50px 0; }
.checklist-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 30px; }
.checklist-col h3 { color: var(--primary); font-size: 1.1rem; margin-bottom: 18px; font-family: 'Inter', sans-serif; font-weight: 800; }
.checklist li { position: relative; padding-left: 26px; margin-bottom: 12px; font-size: 0.92rem; line-height: 1.5; }
.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  width: 18px; height: 18px;
  background: var(--gradient-brand);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.65rem;
  display: flex; align-items: center; justify-content: center;
}

/* ===================== NO HACE ===================== */
.no-hace { padding: 50px 0 70px; text-align: center; }
.no-hace .eyebrow { background: var(--gradient-brand); color: var(--white); }
.no-hace-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 30px; text-align: left; }
.no-card { position: relative; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 32px; }
.no-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #f4e3dd; color: var(--primary); font-weight: 800; margin-bottom: 16px; }
.no-card h3 { font-size: 1.1rem; margin-bottom: 8px; font-family: 'Inter', sans-serif; font-weight: 800; }
.no-card p { color: #6a655f; font-size: 0.92rem; line-height: 1.55; }

/* ===================== FOOTER ===================== */
.site-footer { background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); position: relative; overflow: hidden; padding-top: 55px; }
.footer-blob { position: absolute; right: -60px; bottom: -60px; width: 340px; opacity: 0.12; pointer-events: none; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; position: relative; z-index: 1; padding-bottom: 50px; }
.footer-logo { height: 30px; margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,0.85); font-size: 0.9rem; line-height: 1.5; margin-bottom: 16px; }
.badge-construccion { display: inline-block; background: rgba(255,255,255,0.16); padding: 6px 14px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; }
.footer-col h4 { font-size: 0.8rem; letter-spacing: 0.05em; opacity: 0.75; margin-bottom: 16px; }
.footer-col a { display: block; margin-bottom: 12px; font-size: 0.92rem; opacity: 0.92; }
.footer-col a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.18); padding: 18px 0; font-size: 0.8rem; opacity: 0.75; position: relative; z-index: 1; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a:hover { text-decoration: underline; }

/* ===================== MODAL ===================== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(40,40,40,0.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 100; opacity: 0; visibility: hidden; transition: opacity 0.2s ease;
  padding: 20px;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--white); border-radius: var(--radius-lg); padding: 36px;
  max-width: 480px; width: 100%; max-height: 90vh; overflow-y: auto;
  position: relative; transform: translateY(16px); transition: transform 0.25s ease;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.35);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-close { position: absolute; top: 18px; right: 18px; font-size: 1.1rem; color: #8a857f; width: 32px; height: 32px; border-radius: 50%; }
.modal-close:hover { background: var(--cream); }
.modal h3 { font-size: 1.5rem; margin-bottom: 8px; font-family: 'Inter', sans-serif; font-weight: 800; }
.modal-subtitle { color: #6a655f; font-size: 0.92rem; margin-bottom: 24px; }
#manuForm, #comensalForm { display: flex; flex-direction: column; gap: 16px; }
#manuForm label, #comensalForm label { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--dark); }
#manuForm input, #manuForm textarea, #comensalForm input, #comensalForm textarea {
  font-family: inherit; font-size: 0.95rem; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid #e6dfd8; background: var(--cream); resize: vertical;
}
#manuForm input:focus, #manuForm textarea:focus,
#comensalForm input:focus, #comensalForm textarea:focus { outline: none; border-color: var(--primary); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---- comensal/restaurante choice screen ---- */
.modal-back {
  display: inline-flex; align-items: center; gap: 4px; font-size: 0.8rem; font-weight: 700;
  color: #8a857f; margin-bottom: 14px;
}
.modal-back:hover { color: var(--primary); }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  background: var(--cream); border: 1.5px solid #e6dfd8; border-radius: var(--radius-md);
  padding: 20px 16px; text-align: left; transition: border-color 0.2s ease, transform 0.2s ease;
}
.choice-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.choice-icon { font-size: 1.6rem; }
.choice-card strong { font-size: 0.95rem; color: var(--dark); }
.choice-card span:last-child { font-size: 0.78rem; color: #6a655f; line-height: 1.4; }

@media (max-width: 480px) {
  .choice-grid { grid-template-columns: 1fr; }
}
.form-note { font-size: 0.78rem; color: #8a857f; text-align: center; margin-top: 4px; }

.modal-success { text-align: center; padding: 10px 0; }
.success-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; background: var(--gradient-brand); color: var(--white);
  font-size: 1.6rem; margin-bottom: 16px;
}
.modal-success p { color: #6a655f; margin: 10px 0 24px; line-height: 1.5; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 960px) {
  /* Nav switches to the hamburger menu starting here — below this, "Producto ·
     ¿Qué es Manú? · Innovaciones" plus the CTA no longer fit in one line inside
     the pill and wrap awkwardly (confirmed broken at 768px/tablet width). */
  .main-nav { display: none; }
  .header-inner .btn { display: none; }
  /* Hero copy centers once it stacks into a single column (same breakpoint as
     .hero-inner going 1fr below) instead of staying left-aligned under the
     centered phone/blob visual. */
  .hero-copy { text-align: center; }
  .hero-text { margin-left: auto; margin-right: auto; }
  .hero-social-proof { justify-content: center; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 40px; padding: 60px 20px 40px; }
  .hero-phone { width: 100%; max-width: 320px; }
  /* Same resting position as desktop, shifted 45px lower for the stacked mobile layout. */
  .hero-phone[data-reveal] { transform: translate(-14px, 10px); }
  .hero-phone[data-reveal].is-revealed { transform: translate(-14px, -20px); }
  .hero-blob-svg { width: 90%; max-width: 400px; }
  .innovaciones-inner { grid-template-columns: 1fr; text-align: center; }
  .innovaciones-copy p { margin-left: auto; margin-right: auto; }
  .innovaciones-visual { margin-top: 30px; }
  .chatbot-frame { height: 340px; }
  .coverflow-item { width: 180px; }
  .coverflow-item.is-prev { transform: translate(-50%, -50%) translateX(-90px) translateZ(-100px) rotateY(28deg) scale(0.75); }
  .coverflow-item.is-next { transform: translate(-50%, -50%) translateX(90px) translateZ(-100px) rotateY(-28deg) scale(0.75); }
  .ai-demo-phone, .split-demo-phone, .menu-demo-phone { height: 320px; }
  .ai-demo-chips { padding-bottom: 8px; }
  .ai-chip { font-size: 0.6rem; padding: 5px 8px; }
  .stats-grid { grid-template-columns: 1fr; gap: 40px; }
  .stat-number { font-size: 100px; }
  .stat-number small { font-size: 48px; }
  .cards-grid { grid-template-columns: 1fr; }
  .checklist-grid { grid-template-columns: 1fr; gap: 30px; }
  .no-hace-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 720px) {
  .hero-title { font-size: 2.4rem; }
  .hero-visual { flex-direction: column; align-items: center; }
  /* Keep the testimonial cards pinned to the blob/phone edges (same composition
     as desktop) instead of stacking them full-width below the visual. */
  .floating-card { max-width: 60%; }
  .floating-card p, .floating-card small { white-space: normal; }
  .card-1 { top: 38%; left: -4%; }
  .card-2 { bottom: 10%; right: -4%; }
  .field-row { grid-template-columns: 1fr; }
  .innovaciones-title { font-size: 2rem; }
  .innovaciones-heading { font-size: 2.6rem; }
  .carousel-nav { flex-direction: column; justify-content: center; gap: 22px; }
  .carousel-count { justify-content: center; }
  .section-title { font-size: 1.8rem; }
}

/* mobile nav open state */
.main-nav.open {
  display: flex; flex-direction: column; position: absolute; top: calc(100% + 10px); left: 0; right: 0;
  padding: 20px 24px; gap: 18px;
  border-radius: var(--radius-md);
  /* Liquid Glass, same recipe as the nav pill: this panel drops over the hero's
     gradient background, so the frosted blur has something worth bleeding through. */
  background: linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(40,30,25,0.14) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow:
    0 16px 40px -14px rgba(40,40,40,0.32),
    inset 0 1px 1px rgba(255,255,255,0.55),
    inset 0 -1px 2px rgba(40,40,40,0.1);
}
.main-nav.open::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255,255,255,0.32) 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 70%, rgba(255,255,255,0.2) 100%);
  pointer-events: none;
}

/* ===================== PREMIUM CARD TILT EFFECT ===================== */
/* Applied via JS (js/main.js) to .stat-card, .feature-card, .no-card.
   Layout, spacing, radius, typography and colors of these cards are untouched —
   only `transform` (per-frame, JS-driven) and `box-shadow`/opacity (CSS-eased) are added. */
.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow 0.45s cubic-bezier(.22,1,.36,1);
}
.tilt-card.is-hovering { box-shadow: 0 30px 60px -22px rgba(40,40,40,0.3); }

/* Needed so .tilt-glow (absolute, inset:0) anchors to the card/button/badge itself.
   .floating-card is excluded — it already has its own position:absolute for hero placement. */
.tilt-card:not(.floating-card) { position: relative; }

.tilt-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.30), rgba(255,255,255,0.08) 25%, transparent 55%),
    linear-gradient(135deg, rgba(255,255,255,0.10), transparent 60%);
}
.tilt-card.is-hovering .tilt-glow { opacity: 1; }

/* Subtle internal parallax — icon pops slightly more than heading, heading more than body text */
.tilt-card .stat-icon, .tilt-card .feature-icon, .tilt-card .no-icon,
.tilt-card h3, .tilt-card p, .tilt-card ul {
  transition: transform 0.45s cubic-bezier(.22,1,.36,1);
}
.tilt-card.is-hovering .stat-icon,
.tilt-card.is-hovering .feature-icon,
.tilt-card.is-hovering .no-icon { transform: translateZ(26px); }
.tilt-card.is-hovering h3 { transform: translateZ(16px); }
.tilt-card.is-hovering p,
.tilt-card.is-hovering ul { transform: translateZ(10px); }

@media (prefers-reduced-motion: reduce) {
  .tilt-card, .tilt-card .stat-icon, .tilt-card .feature-icon, .tilt-card .no-icon,
  .tilt-card h3, .tilt-card p, .tilt-card ul { transition: none !important; }
}

/* ===================== SCROLL-REVEAL MOTION SYSTEM ===================== */
/* Reusable across the whole page — driven by js/reveal.js via two attributes:
     data-reveal        -> a single element that fades/slides/un-blurs in on its own
     data-reveal-group   -> a container whose direct children each become a reveal
                            item, auto-staggered ~90ms apart (capped at 500ms total)
   One-time only (elements are unobserved after their first reveal). */
[data-reveal],
[data-reveal-group] > * {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(8px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1); /* keeps .tilt-card's hover lift working on cards that are also reveal items */
  will-change: opacity, transform, filter;
}
[data-reveal].is-revealed,
[data-reveal-group] > *.is-revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Small built-in stagger for the common "heading -> supporting line" pairing,
   used by section titles/eyebrows followed by a subtitle (pure CSS, no JS timers) */
[data-reveal] + [data-reveal] { transition-delay: 0.09s; }
[data-reveal] + [data-reveal] + [data-reveal] { transition-delay: 0.18s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal-group] > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    transition-delay: 0s !important;
  }
}
