/* =============================================
   MenuAI Landing — Premium Editorial Restaurant
   Carbón cálido · Oro · Crema · Playfair Display
   ============================================= */

/* ---------- Custom Properties ---------- */
:root {
  --bg-deep: #0c0a08;
  --bg-dark: #100d0a;
  --bg-mid: #14110d;
  --bg-card: #1a160f;
  --bg-elevated: #221d15;

  --gold: #D4A017;
  --gold-light: #E8C547;
  --gold-soft: #c9a86a;
  --gold-dark: #B8860B;
  --gold-glow: rgba(212, 160, 23, 0.22);
  --gold-glow-strong: rgba(212, 160, 23, 0.42);

  --olive: #8BAE4B;
  --olive-light: #b7cc8a;
  --olive-dark: #556B2F;
  --olive-glow: rgba(139, 174, 75, 0.16);

  --purple: #9A7BFF;
  --purple-glow: rgba(154, 123, 255, 0.16);

  --cream: #f4ecdc;
  --text-primary: #f4ecdc;
  --text-secondary: #b7ac99;
  --text-muted: #79705f;

  --glass-bg: rgba(255, 250, 240, 0.035);
  --glass-bg-2: rgba(255, 250, 240, 0.06);
  --glass-border: rgba(244, 236, 220, 0.09);
  --glass-border-hover: rgba(212, 160, 23, 0.40);

  --hairline: rgba(212, 160, 23, 0.18);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1340px;
  --nav-height: 84px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Ambient depth — fixed radial gold/olive mesh behind everything (anti-flat) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 82% 8%, rgba(212,160,23,0.10) 0%, transparent 60%),
    radial-gradient(50% 40% at 8% 38%, rgba(139,174,75,0.06) 0%, transparent 60%),
    radial-gradient(55% 45% at 92% 78%, rgba(212,160,23,0.07) 0%, transparent 62%);
}

/* Fine grain texture over the whole page */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.gold { color: var(--gold); }

/* ---------- Reveal Animation ----------
   FAILSAFE: reveals only hide once <html> gets the .js class (added by
   script.js on load). If JS never runs, content stays fully visible. */
.reveal { opacity: 1; transform: none; }
.js .reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.js .reveal--delay-1 { transition-delay: 0.13s; }
.js .reveal--delay-2 { transition-delay: 0.26s; }
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 80px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 22px;
}
.section-tag::before,
.section-tag::after {
  content: '';
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.section-tag::after { background: linear-gradient(90deg, var(--gold), transparent); }
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
}
.section-desc {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: height 0.4s var(--ease), background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.navbar.is-scrolled {
  height: 64px;
  background: rgba(12, 10, 8, 0.78);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 1px 0 var(--hairline), 0 12px 40px rgba(0,0,0,0.4);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
}
.navbar__logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(145deg, var(--gold-light), var(--gold-dark));
  color: var(--bg-deep);
  border-radius: 11px;
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: 0 4px 14px var(--gold-glow);
}
.navbar__logo-text { letter-spacing: -0.5px; }
.navbar__links {
  display: flex;
  align-items: center;
  gap: 38px;
}
.navbar__links a {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: var(--text-secondary);
  transition: color 0.25s;
}
.navbar__links a:not(.btn):hover { color: var(--cream); }
.navbar__links a:not(.btn) { position: relative; }
.navbar__links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.navbar__links a:not(.btn):hover::after { width: 100%; }
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.navbar__toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle.is-active span:nth-child(2) { opacity: 0; }
.navbar__toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.2px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.35s var(--ease);
  border: none;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn__icon { width: 18px; height: 18px; }
.btn--sm { padding: 9px 22px; font-size: 0.85rem; }
.btn--lg { padding: 15px 34px; font-size: 1rem; }
.btn--xl { padding: 19px 48px; font-size: 1.1rem; border-radius: var(--radius-lg); }
.btn--full { width: 100%; }
.btn--gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 55%, var(--gold-dark) 100%);
  color: #1a1304;
  box-shadow: 0 0 24px var(--gold-glow), 0 6px 18px rgba(0,0,0,0.35);
}
.btn--gold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.45) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn--gold:hover {
  box-shadow: 0 0 44px var(--gold-glow-strong), 0 12px 30px rgba(0,0,0,0.45);
  transform: translateY(-3px);
}
.btn--gold:hover::after { transform: translateX(120%); }
.btn--ghost {
  background: rgba(255,250,240,0.02);
  color: var(--cream);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 24px var(--gold-glow);
  transform: translateY(-3px);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
  background: var(--bg-deep);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__img {
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) brightness(0.55) contrast(1.05);
  will-change: transform;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(12,10,8,0.97) 0%, rgba(12,10,8,0.78) 42%, rgba(12,10,8,0.4) 100%),
    radial-gradient(ellipse 70% 60% at 75% 30%, rgba(212,160,23,0.14) 0%, transparent 60%),
    linear-gradient(to top, var(--bg-deep) 2%, transparent 30%);
}
.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.05'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Living aurora glow — drifts slowly behind the hero copy. Lives inside the
   z-0 media layer (clipped by its overflow:hidden) so it never sits over text.
   The global reduced-motion killswitch pauses the drift; the soft glow stays. */
.hero__media::after {
  content: '';
  position: absolute;
  inset: -25%;
  pointer-events: none;
  background:
    radial-gradient(38% 42% at 72% 28%, rgba(212, 160, 23, 0.2), transparent 62%),
    radial-gradient(34% 38% at 22% 68%, rgba(107, 142, 35, 0.16), transparent 60%);
  mix-blend-mode: screen;
  filter: blur(14px);
  animation: hero-aurora 20s ease-in-out infinite alternate;
}
@keyframes hero-aurora {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.85;
  }
  50% {
    transform: translate3d(2%, -3%, 0) scale(1.08);
    opacity: 1;
  }
  100% {
    transform: translate3d(-2%, 2%, 0) scale(1.04);
    opacity: 0.9;
  }
}

/* Hero entrance — staggered rise. No base opacity:0, so when the global
   reduced-motion rule sets `animation: none` the copy simply shows in place
   (never stuck hidden). */
@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero__tag {
  animation: hero-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero__title {
  animation: hero-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}
.hero__subtitle {
  animation: hero-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
}
.hero__actions {
  animation: hero-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both;
}
.hero__trust {
  animation: hero-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both;
}
.hero__visual {
  animation: hero-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  padding: 70px 0;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 26px;
}
.hero__tag-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6.4vw, 5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 26px;
}
.hero__title--accent {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(115deg, var(--gold-light) 0%, var(--gold) 45%, var(--olive-light) 110%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__subtitle {
  font-size: 1.18rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 38px;
  max-width: 500px;
  min-height: 3.2em;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}
.hero__trust {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero__trust p {
  font-size: 0.88rem;
  color: var(--text-muted);
}
.hero__trust-avatars { display: flex; }
.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--bg-deep);
  border: 2px solid var(--bg-deep);
  margin-left: -10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.avatar:first-child { margin-left: 0; }

/* Hero Visual / Phone Mockup */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.phone-mockup {
  position: relative;
  width: 300px;
  height: 612px;
  background: linear-gradient(160deg, #2a241a, #14110d);
  border-radius: 44px;
  padding: 10px;
  border: 1px solid rgba(212,160,23,0.22);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.6),
    0 40px 90px rgba(0,0,0,0.6),
    0 0 80px rgba(212,160,23,0.10),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.phone-mockup__notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 26px;
  background: #000;
  border-radius: 0 0 16px 16px;
  z-index: 5;
}
.phone-mockup__screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 36px;
}

/* Mock Menu Inside Phone — cream editorial card */
.mock-menu {
  height: 100%;
  background: linear-gradient(180deg, #1c1810 0%, #15120c 100%);
  padding: 50px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.75rem;
}
.mock-menu__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline);
}
.mock-menu__logo {
  width: 24px;
  height: 24px;
  background: var(--gold);
  color: var(--bg-deep);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
}
.mock-menu__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
}
.mock-menu__table {
  margin-left: auto;
  font-size: 0.62rem;
  color: var(--gold);
  background: var(--gold-glow);
  padding: 3px 9px;
  border-radius: 10px;
}
.mock-menu__cats {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.mock-menu__cats::-webkit-scrollbar { display: none; }
.mock-menu__cat {
  font-size: 0.68rem;
  padding: 5px 13px;
  border-radius: 20px;
  color: var(--text-secondary);
  background: var(--glass-bg-2);
  white-space: nowrap;
  flex-shrink: 0;
}
.mock-menu__cat--active {
  background: var(--gold);
  color: var(--bg-deep);
  font-weight: 600;
}
.mock-menu__item {
  display: flex;
  gap: 10px;
  background: rgba(255,250,240,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 8px;
}
.mock-menu__item-img {
  width: 56px;
  height: 56px;
  border-radius: 9px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  background-color: #2a241a;
}
.mock-menu__item-info { flex: 1; min-width: 0; }
.mock-menu__item-info h4 {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.mock-menu__item-info p {
  font-size: 0.6rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mock-menu__item-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5px;
}
.mock-menu__price {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gold);
  font-size: 0.82rem;
}
.mock-menu__add {
  width: 22px;
  height: 22px;
  background: var(--gold);
  color: var(--bg-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.mock-menu__cart {
  margin-top: auto;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--bg-deep);
  padding: 11px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.8rem;
}
.mock-menu__cart-badge {
  background: var(--bg-deep);
  color: var(--gold);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

/* Floating Cards */
.hero__float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(26, 22, 15, 0.82);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 13px 17px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.5);
  animation: float-card 5s ease-in-out infinite;
  white-space: nowrap;
}
.hero__float-card strong { font-size: 0.82rem; font-weight: 600; }
.hero__float-card small { font-size: 0.7rem; color: var(--text-muted); display: block; }
.hero__float-card--order { top: 12%; right: -28px; animation-delay: 0s; }
.hero__float-card--ai { bottom: 16%; left: -36px; animation-delay: -2.5s; }
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero__scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold-soft);
  animation: bounce-down 2.2s ease-in-out infinite;
  z-index: 3;
}
.hero__scroll-cue i { width: 26px; height: 26px; }
@keyframes bounce-down {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* =============================================
   FEATURES — Bento editorial grid
   ============================================= */
.features {
  padding: 140px 0;
  background: var(--bg-dark);
  position: relative;
}
.features::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline), transparent);
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.glass-card--wide { grid-column: span 2; }

.glass-card {
  --mx: 50%; --my: 0%;
  background:
    radial-gradient(380px circle at var(--mx) var(--my), rgba(212,160,23,0.10), transparent 42%),
    linear-gradient(165deg, rgba(255,250,240,0.05), rgba(255,250,240,0.015)),
    var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.4s, background 0.4s;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 10px 30px rgba(0,0,0,0.25);
}
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, transparent 40%, var(--hairline) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}
.glass-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-6px);
  background: var(--glass-bg-2);
  box-shadow: 0 26px 60px rgba(0,0,0,0.4), 0 0 40px var(--gold-glow);
}
.glass-card:hover::before { opacity: 1; }
.glass-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  transition: transform 0.4s var(--ease);
}
.glass-card:hover .glass-card__icon { transform: scale(1.08) rotate(-4deg); }
.glass-card__icon i { width: 26px; height: 26px; }
.glass-card__icon--gold {
  background: var(--gold-glow);
  color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(212,160,23,0.25);
}
.glass-card__icon--green {
  background: var(--olive-glow);
  color: var(--olive-light);
  box-shadow: inset 0 0 0 1px rgba(139,174,75,0.25);
}
.glass-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.glass-card p {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* =============================================
   ONBOARDING — importa tu carta por foto (gancho)
   Reutiliza tokens glass/oro. Mobile-first.
   ============================================= */
.onboard {
  padding: 140px 0;
  background: var(--bg-deep);
  position: relative;
}
.onboard::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline), transparent);
}
.onboard__flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}
.onboard-step {
  --mx: 50%; --my: 0%;
  position: relative;
  background:
    radial-gradient(360px circle at var(--mx) var(--my), rgba(212,160,23,0.10), transparent 42%),
    linear-gradient(165deg, rgba(255,250,240,0.05), rgba(255,250,240,0.015)),
    var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 42px 30px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.4s, background 0.4s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 10px 30px rgba(0,0,0,0.25);
}
.onboard-step:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 26px 60px rgba(0,0,0,0.4), 0 0 40px var(--gold-glow);
}
.onboard-step__num {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #1a1304;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px var(--gold-glow);
}
.onboard-step__icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-md);
  background: var(--gold-glow);
  color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(212,160,23,0.25);
  display: flex; align-items: center; justify-content: center;
  margin: 8px 0 22px;
  transition: transform 0.4s var(--ease);
}
.onboard-step:hover .onboard-step__icon { transform: scale(1.06) rotate(-4deg); }
.onboard-step__icon i { width: 30px; height: 30px; }
.onboard-step__icon--green {
  background: var(--olive-glow);
  color: var(--olive-light);
  box-shadow: inset 0 0 0 1px rgba(139,174,75,0.25);
}
.onboard-step h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.onboard-step p {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.62;
  margin-bottom: 20px;
}
.onboard-step__tag {
  margin-top: auto;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--gold-light);
  background: var(--gold-glow);
  border: 1px solid rgba(212,160,23,0.2);
  padding: 6px 13px;
  border-radius: 20px;
  white-space: nowrap;
}
.onboard-step__tag--green {
  color: var(--olive-light);
  background: var(--olive-glow);
  border-color: rgba(139,174,75,0.25);
}
.onboard__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  color: var(--gold-soft);
}
.onboard__arrow i { width: 26px; height: 26px; }
.onboard__cta { text-align: center; margin-top: 56px; }
.onboard__note {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-top: 16px;
}
@media (max-width: 900px) {
  .onboard { padding: 90px 0; }
  .onboard__flow { grid-template-columns: 1fr; max-width: 440px; gap: 14px; }
  .onboard__arrow { transform: rotate(90deg); margin: 0 auto; }
  .onboard__cta { margin-top: 40px; }
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-it-works {
  padding: 140px 0;
  background: var(--bg-deep);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
}
/* connecting hairline behind the steps */
.steps::before {
  content: '';
  position: absolute;
  top: 100px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline) 15%, var(--hairline) 85%, transparent);
  z-index: 0;
}
.step { z-index: 1; }
.step { text-align: center; position: relative; }
.step__number {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 700;
  font-style: italic;
  background: linear-gradient(180deg, var(--gold) 0%, transparent 130%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.35;
  line-height: 1;
  margin-bottom: -6px;
}
.step__line { display: none; }
.step__icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(212,160,23,0.22), rgba(212,160,23,0.06));
  border: 1px solid rgba(212,160,23,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 26px;
  color: var(--gold);
  box-shadow: 0 0 30px var(--gold-glow);
}
.step__icon-wrap i { width: 30px; height: 30px; }
.step__content h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.step__content p {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 320px;
  margin: 0 auto;
}

/* =============================================
   DEMO
   ============================================= */
.demo {
  padding: 140px 0;
  background: var(--bg-mid);
  position: relative;
  overflow: hidden;
}
.demo__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.demo__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.16;
  filter: saturate(0.8) brightness(0.7);
  -webkit-mask-image: linear-gradient(105deg, transparent 30%, #000 90%);
  mask-image: linear-gradient(105deg, transparent 30%, #000 90%);
}
.demo::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,160,23,0.12) 0%, transparent 65%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}
.demo__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.demo__text { text-align: left; }
.demo__text .section-tag,
.demo__text .section-title,
.demo__text .section-desc { margin-left: 0; margin-right: 0; }
.demo__text .section-title { text-align: left; }
.demo__text .section-desc { max-width: 460px; }
.demo__stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
}
.demo__stat { display: flex; flex-direction: column; }
.demo__stat-val {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.demo__stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 8px;
  letter-spacing: 0.3px;
}

/* Demo phone extras */
.mock-menu__featured {
  background: rgba(255,250,240,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 8px;
}
.mock-menu__featured-img {
  width: 100%;
  height: 96px;
  border-radius: 9px;
  margin-bottom: 9px;
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: #2a241a;
}
.mock-menu__featured-badge {
  position: absolute;
  top: 7px;
  left: 7px;
  background: var(--gold);
  color: var(--bg-deep);
  font-size: 0.55rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mock-menu__featured h4 {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.mock-menu__featured p {
  font-size: 0.6rem;
  color: var(--text-muted);
}
.mock-menu__item--sm { padding: 6px; }
.mock-menu__item--sm .mock-menu__item-img { width: 44px; height: 44px; }
.mock-menu__ai-bubble {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(212,160,23,0.09);
  border: 1px solid rgba(212,160,23,0.18);
  border-radius: 12px;
  padding: 9px 11px;
  font-size: 0.65rem;
  color: var(--text-secondary);
  margin-top: auto;
  line-height: 1.45;
}

/* =============================================
   TEMPLATE SHOWCASE — 5 plantillas
   ============================================= */
.templates {
  padding: 140px 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.templates::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline), transparent);
}
.templates__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.template-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--bg-card);
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.4s;
  aspect-ratio: 9 / 16;
  display: flex;
  flex-direction: column;
}
.template-card:hover {
  transform: translateY(-8px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 40px var(--gold-glow);
}
/* CSS-built phone preview screens (no external image dependency) */
.template-card__screen {
  flex: 1;
  position: relative;
  overflow: hidden;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* Real template screenshot fills the screen area */
.template-card__screen:has(.template-card__shot) { padding: 0; }
.template-card__shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 0;
}
.tpl-head {
  display: flex; align-items: center; gap: 6px;
  padding-bottom: 8px;
  font-size: 0.62rem;
  font-weight: 700;
}
.tpl-dot { width: 16px; height: 16px; border-radius: 5px; display:flex; align-items:center; justify-content:center; font-size:0.5rem; font-weight:800; }
.tpl-thumb {
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  flex: 1;
  min-height: 0;
  position: relative;
}
.tpl-row { display: flex; gap: 6px; }
.tpl-chip { font-size: 0.5rem; padding: 3px 8px; border-radius: 10px; white-space: nowrap; }
.tpl-line { height: 6px; border-radius: 4px; }
/* per-template palettes */
.template-card--editorial .template-card__screen { background: linear-gradient(180deg,#16120b,#100d08); }
.template-card--editorial .tpl-dot { background: var(--gold); color:#15120b; }
.template-card--editorial .tpl-head { color: var(--gold-light); font-family: var(--font-heading); }
.template-card--editorial .tpl-chip { background: var(--gold-glow); color: var(--gold-light); }
.template-card--clasico .template-card__screen { background: linear-gradient(180deg,#f3e9d6,#e7d9bf); }
.template-card--clasico .tpl-dot { background:#7a4f1d; color:#f3e9d6; }
.template-card--clasico .tpl-head { color:#5a3c18; font-family: var(--font-heading); }
.template-card--clasico .tpl-chip { background:#dcc59b; color:#5a3c18; }
.template-card--clasico .tpl-line { background:#cbb89a; }
.template-card--moderno .template-card__screen { background: linear-gradient(180deg,#ffffff,#f1f1f3); }
.template-card--moderno .tpl-dot { background:#111; color:#fff; border-radius:50%; }
.template-card--moderno .tpl-head { color:#111; letter-spacing:1px; }
.template-card--moderno .tpl-chip { background:#111; color:#fff; }
.template-card--amoled .template-card__screen { background:#000; }
.template-card--amoled .tpl-dot { background: var(--gold); color:#000; }
.template-card--amoled .tpl-head { color: var(--gold); }
.template-card--amoled .tpl-chip { background: rgba(212,160,23,0.18); color: var(--gold-light); box-shadow: 0 0 12px var(--gold-glow); }
.template-card--tapas .template-card__screen { background: linear-gradient(180deg,#2a1410,#1c0f0c); }
.template-card--tapas .tpl-dot { background:#c4622d; color:#1c0f0c; }
.template-card--tapas .tpl-head { color:#e08a4f; }
.template-card--tapas .tpl-chip { background: rgba(196,98,45,0.2); color:#e8a06f; }
.template-card__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 16px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--glass-border);
}
.template-card__bar strong {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--cream);
}
.template-card__bar span { font-size: 0.68rem; color: var(--text-muted); display:block; }
.template-card__badge {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gold);
  background: var(--gold-glow);
  white-space: nowrap;
}
.templates__cta { text-align: center; margin-top: 56px; }

/* =============================================
   AI AGENTS
   ============================================= */
.ai-agents {
  padding: 140px 0;
  background: var(--bg-deep);
}
.agents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.agent-card {
  --mx: 50%; --my: 0%;
  background:
    radial-gradient(360px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent, var(--gold)) 14%, transparent), transparent 45%),
    linear-gradient(165deg, rgba(255,250,240,0.05), rgba(255,250,240,0.015)),
    var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.4s;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 10px 30px rgba(0,0,0,0.25);
}
.agent-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent, var(--gold));
  opacity: 0.55;
}
.agent-card--gold { --accent: var(--gold); }
.agent-card--green { --accent: var(--olive); }
.agent-card--purple { --accent: var(--purple); }
.agent-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-6px);
  box-shadow: 0 22px 56px rgba(0,0,0,0.4);
}
.agent-card__header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 24px;
}
.agent-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.agent-card__avatar i { width: 23px; height: 23px; }
.agent-card__avatar--gold { background: var(--gold-glow); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(212,160,23,0.28); }
.agent-card__avatar--green { background: var(--olive-glow); color: var(--olive-light); box-shadow: inset 0 0 0 1px rgba(139,174,75,0.28); }
.agent-card__avatar--purple { background: var(--purple-glow); color: var(--purple); box-shadow: inset 0 0 0 1px rgba(154,123,255,0.28); }
.agent-card__header h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
}
.agent-card__role {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}
.agent-card__chat {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 18px;
  max-height: 240px;
  overflow-y: auto;
  scrollbar-width: none;
}
.agent-card__chat::-webkit-scrollbar { display: none; }
.agent-card__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-top: 18px;
  border-top: 1px solid var(--glass-border);
}

/* Chat Bubbles */
.chat-bubble {
  font-size: 0.76rem;
  line-height: 1.55;
  padding: 10px 13px;
  border-radius: 14px;
  max-width: 90%;
}
.chat-bubble--user {
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  color: var(--text-primary);
}
.chat-bubble--ai {
  background: rgba(212,160,23,0.09);
  border: 1px solid rgba(212,160,23,0.16);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  color: var(--text-secondary);
}
.chat-bubble--system {
  background: rgba(154,123,255,0.09);
  border: 1px solid rgba(154,123,255,0.16);
  align-self: flex-start;
  color: var(--text-secondary);
  font-style: italic;
}

/* =============================================
   PRICING
   ============================================= */
.pricing {
  padding: 140px 0;
  background: var(--bg-mid);
}
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: start;
}
.pricing-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 42px 34px;
  position: relative;
  transition: transform 0.5s var(--ease), box-shadow 0.4s, border-color 0.4s;
}
.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 26px 60px rgba(0,0,0,0.4);
}
.pricing-card--featured {
  border-color: rgba(212,160,23,0.5);
  background:
    linear-gradient(180deg, rgba(212,160,23,0.08), rgba(212,160,23,0.02)),
    var(--glass-bg);
  box-shadow: 0 0 48px var(--gold-glow), inset 0 1px 0 rgba(232,197,71,0.2);
  transform: scale(1.04);
}
.pricing-card--featured:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow: 0 0 70px var(--gold-glow-strong), 0 26px 60px rgba(0,0,0,0.4);
}
.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--bg-deep);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 22px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 6px 18px var(--gold-glow);
}
.pricing-card__header { text-align: center; margin-bottom: 32px; }
.pricing-card__header h3 {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.pricing-card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 12px;
}
.pricing-card__currency {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold);
}
.pricing-card__amount {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--cream);
}
.pricing-card__period {
  font-size: 1rem;
  color: var(--text-muted);
}
.pricing-card__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}
.check { width: 18px; height: 18px; color: var(--olive-light); flex-shrink: 0; }
.xmark { width: 18px; height: 18px; color: var(--text-muted); flex-shrink: 0; opacity: 0.5; }
.pricing-card__feature--disabled { opacity: 0.45; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials {
  padding: 140px 0;
  background: var(--bg-deep);
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testimonial-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.4s;
  position: relative;
  overflow: hidden;
}
.testimonial-card__quote {
  position: absolute;
  top: 6px;
  right: 22px;
  font-family: var(--font-heading);
  font-size: 6rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.14;
  pointer-events: none;
}
.testimonial-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-6px);
  box-shadow: 0 22px 56px rgba(0,0,0,0.4);
}
.testimonial-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}
.star-filled {
  width: 16px;
  height: 16px;
  color: var(--gold);
  fill: var(--gold);
}
.testimonial-card blockquote {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  color: var(--cream);
  line-height: 1.7;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 28px;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 13px;
}
.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--bg-deep);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.testimonial-card__author strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 600;
}
.testimonial-card__author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  padding: 160px 0;
  background: var(--bg-mid);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section__media { position: absolute; inset: 0; z-index: 0; }
.cta-section__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.85) brightness(0.5);
}
.cta-section__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(12,10,8,0.7) 0%, rgba(12,10,8,0.94) 75%),
    linear-gradient(to bottom, var(--bg-deep), transparent 25%, transparent 75%, var(--bg-deep));
}
.cta-section__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,160,23,0.14) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.cta-section__inner { position: relative; z-index: 2; }
.cta-section__fine-print {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-top: 24px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  padding: 80px 0 36px;
  background: var(--bg-deep);
  border-top: 1px solid var(--hairline);
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 70px;
  margin-bottom: 56px;
}
.footer__brand p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 320px;
  line-height: 1.65;
}
.footer__links {
  display: grid;
  /* auto-fit soporta 3 o 4 columnas (se añadió "Contacto") sin romper el layout. */
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 36px;
}
.footer__col h4 {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 18px;
  color: var(--cream);
}
.footer__col li { margin-bottom: 11px; }
.footer__col a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.25s, padding-left 0.25s;
}
.footer__col a:hover { color: var(--gold); padding-left: 4px; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--glass-border);
}
.footer__bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer__socials { display: flex; gap: 18px; }
.footer__socials a {
  color: var(--text-muted);
  transition: color 0.25s, transform 0.25s;
}
.footer__socials a:hover { color: var(--gold); transform: translateY(-2px); }
.footer__socials i { width: 20px; height: 20px; }

/* =============================================
   NAVBAR LOGIN LINK + HERO EXTRAS
   ============================================= */
.navbar__login {
  font-weight: 600 !important;
  color: var(--cream) !important;
}
.navbar__login:hover { color: var(--gold) !important; }

.hero__bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin: -22px 0 34px;
}
.hero__bullets li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-secondary);
}
.hero__bullets i {
  width: 17px;
  height: 17px;
  color: var(--olive-light);
  flex-shrink: 0;
}

/* Hero → visir jump: "juega con el producto aquí mismo" */
.hero__play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 34px;
  padding: 12px 20px;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(212, 160, 23, 0.35);
  background: var(--gold-glow);
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.2px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.hero__play i { width: 16px; height: 16px; flex-shrink: 0; }
.hero__play-emoji { font-size: 1.05rem; animation: heroPlayPoint 1.8s ease-in-out infinite; }
.hero__play:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 0 26px var(--gold-glow-strong);
}
.hero__play:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
@keyframes heroPlayPoint {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

.inline-code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.86em;
  background: rgba(212,160,23,0.12);
  color: var(--gold-light);
  padding: 1px 7px;
  border-radius: 6px;
  border: 1px solid rgba(212,160,23,0.18);
}

/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar {
  background: var(--bg-dark);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 38px 0;
  position: relative;
}
.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px 64px;
  flex-wrap: wrap;
}
.trust-bar__metrics {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-metric { display: flex; flex-direction: column; align-items: center; text-align: center; }
.trust-metric__num {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.trust-metric__star { width: 18px; height: 18px; fill: var(--gold); color: var(--gold); }
.trust-metric__label {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 7px;
  letter-spacing: 0.3px;
}
.trust-bar__pay {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.trust-bar__pay-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted);
  font-weight: 600;
}
.trust-bar__pay-list {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  justify-content: center;
}
.pay-chip {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--glass-bg-2);
  border: 1px solid var(--glass-border);
  padding: 6px 13px;
  border-radius: 20px;
  transition: border-color 0.25s, color 0.25s;
}
.pay-chip:hover { border-color: var(--glass-border-hover); color: var(--gold); }

/* =============================================
   PRICING TEASER
   ============================================= */
.pricing-teaser {
  padding: 140px 0;
  background: var(--bg-mid);
}
.pricing-teaser__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 900px;
  margin: 0 auto 48px;
}
.pricing-teaser__card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  text-align: center;
  position: relative;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.pricing-teaser__card:hover {
  transform: translateY(-5px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 20px 48px rgba(0,0,0,0.4);
}
.pricing-teaser__card--featured {
  border-color: rgba(212,160,23,0.5);
  background: linear-gradient(180deg, rgba(212,160,23,0.08), rgba(212,160,23,0.02)), var(--glass-bg);
  box-shadow: 0 0 40px var(--gold-glow);
}
.pricing-teaser__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--bg-deep);
  font-size: 0.66rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  white-space: nowrap;
}
.pricing-teaser__card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.pricing-teaser__price {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 10px;
}
.pricing-teaser__price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}
.pricing-teaser__card--featured .pricing-teaser__price { color: var(--gold); }
.pricing-teaser__note {
  font-size: 0.86rem;
  color: var(--text-secondary);
}
.pricing-teaser__cta { text-align: center; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1080px) {
  :root { --container: 100%; }
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
    padding: 50px 0;
  }
  .hero__tag { justify-content: center; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__trust { justify-content: center; }
  .hero__float-card--order { right: 6%; top: 4%; }
  .hero__float-card--ai { left: 4%; bottom: 8%; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .glass-card--wide { grid-column: span 1; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 48px; }
  .steps::before { display: none; }
  .demo__inner { grid-template-columns: 1fr; gap: 60px; text-align: center; }
  .demo__text { order: 1; text-align: center; }
  .demo__text .section-title { text-align: center; }
  .demo__text .section-desc { margin-left: auto; margin-right: auto; }
  .demo__visual { order: 2; }
  .demo__stats { justify-content: center; }
  .agents-grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
  .templates__grid { grid-template-columns: repeat(3, 1fr); }
  .pricing__grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .pricing-card--featured { transform: none; }
  .pricing-card--featured:hover { transform: translateY(-6px); }
  .testimonials__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .footer__top { grid-template-columns: 1fr; gap: 48px; }
  .trust-bar__inner { flex-direction: column; align-items: center; gap: 30px; }
  .trust-bar__metrics { justify-content: center; gap: 36px; }
  .trust-bar__pay { align-items: center; }
  .trust-bar__pay-list { justify-content: center; }
}

@media (max-width: 768px) {
  :root { --nav-height: 68px; }
  .container { padding: 0 24px; }

  .navbar__links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0; bottom: 0;
    background: rgba(12, 10, 8, 0.97);
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
    flex-direction: column;
    padding: 48px 24px;
    gap: 28px;
    align-items: center;
    justify-content: flex-start;
  }
  .navbar__links.is-open { display: flex; }
  .navbar__links a { font-size: 1.1rem; }
  .navbar__toggle { display: flex; }

  .hero { min-height: auto; padding: 130px 0 90px; }
  .hero__subtitle { font-size: 1.05rem; min-height: auto; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__trust { flex-direction: column; text-align: center; gap: 10px; }
  .hero__float-card { display: none; }
  .phone-mockup { width: 260px; height: 540px; }

  .features, .how-it-works, .demo, .templates, .ai-agents, .pricing, .pricing-teaser, .testimonials { padding: 90px 0; }
  .templates__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .templates__cta { margin-top: 36px; }
  .cta-section { padding: 110px 0; }
  .features__grid { grid-template-columns: 1fr; }
  .section-header { margin-bottom: 52px; }
  .step__number { font-size: 4rem; }
  .demo__stats { flex-direction: column; gap: 22px; align-items: center; }
  .pricing-teaser__grid { grid-template-columns: 1fr; max-width: 360px; }
  .pricing-teaser__card--featured { order: -1; }
  .trust-bar__metrics { gap: 28px; }
  .trust-metric__num { font-size: 1.6rem; }
  .hero__bullets { justify-content: center; }

  .footer__links { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 18px; text-align: center; }
}

@media (max-width: 400px) {
  .container { padding: 0 18px; }
  .phone-mockup { width: 230px; height: 480px; }
  .glass-card { padding: 30px 24px; }
  .pricing-card { padding: 34px 24px; }
}

/* =============================================
   VISIR — Demo interactivo "Mesa" (camarero IA)
   ============================================= */
.visir {
  padding: 140px 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.visir::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(46% 40% at 88% 12%, rgba(212,160,23,0.10), transparent 62%),
    radial-gradient(42% 38% at 6% 84%, rgba(139,174,75,0.07), transparent 60%);
}
.visir__stage {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 54px;
  align-items: center;
  max-width: 1060px;
  margin: 0 auto;
}
.visir__phone-col { display: flex; justify-content: center; }
.visir__phone-col .phone-mockup { width: 320px; height: 640px; }

/* ---- Carta interactiva dentro del móvil ---- */
.visir-menu {
  height: 100%;
  background: linear-gradient(180deg, #1c1810 0%, #15120c 100%);
  padding: 46px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  --vm-card: rgba(255,250,240,0.03);
  --vm-card-border: var(--glass-border);
  --vm-text: var(--text-primary);
  --vm-muted: var(--text-muted);
  --vm-sub: var(--text-secondary);
  color: var(--vm-text);
  transition: background 0.4s var(--ease);
}
.visir-menu--light {
  background: linear-gradient(180deg, #f6efe0 0%, #efe6d2 100%);
  --vm-card: #ffffff;
  --vm-card-border: rgba(42,36,26,0.10);
  --vm-text: #2a241a;
  --vm-muted: #8a7e68;
  --vm-sub: #5c5342;
}
.visir-menu__topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline);
}
.visir-menu__logo {
  width: 26px; height: 26px;
  background: var(--gold);
  color: #1a1304;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 800;
  flex-shrink: 0;
}
.visir-menu__brand { min-width: 0; }
.visir-menu__name {
  font-family: var(--font-heading);
  font-weight: 600; font-size: 0.86rem;
  color: var(--vm-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.visir-menu__table {
  font-size: 0.6rem;
  color: var(--gold-dark);
}
.visir-menu__controls { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.visir-icon-btn {
  width: 30px; height: 30px;
  border-radius: 9px;
  border: 1px solid var(--vm-card-border);
  background: var(--vm-card);
  color: var(--vm-text);
  font-size: 0.85rem; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.visir-icon-btn:hover { border-color: var(--gold); transform: translateY(-1px); }
.visir-seg {
  display: inline-flex;
  border: 1px solid var(--vm-card-border);
  border-radius: 9px;
  overflow: hidden;
  background: var(--vm-card);
}
.visir-seg__btn {
  border: none; background: transparent;
  color: var(--vm-muted);
  font-family: var(--font-body);
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.4px;
  padding: 7px 9px;
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.visir-seg__btn.is-active { background: var(--gold); color: #1a1304; }

.visir-menu__cats {
  display: flex; gap: 6px;
  overflow-x: auto;
  padding-bottom: 3px;
  scrollbar-width: none;
}
.visir-menu__cats::-webkit-scrollbar { display: none; }
.visir-cat {
  font-family: var(--font-body);
  font-size: 0.66rem;
  padding: 6px 13px;
  border-radius: 20px;
  border: 1px solid var(--vm-card-border);
  color: var(--vm-sub);
  background: var(--vm-card);
  white-space: nowrap; flex-shrink: 0;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.visir-cat.is-active { background: var(--gold); color: #1a1304; border-color: var(--gold); font-weight: 600; }

.visir-menu__list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  position: relative;
  display: flex; flex-direction: column; gap: 8px;
  padding-right: 3px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dark) transparent;
}
.visir-menu__list::-webkit-scrollbar { width: 4px; }
.visir-menu__list::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 4px; }
.visir-menu__cat-head {
  font-family: var(--font-heading);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  padding: 4px 2px 0;
}
.visir-dish {
  display: flex; gap: 9px;
  background: var(--vm-card);
  border: 1px solid var(--vm-card-border);
  border-radius: 12px;
  padding: 8px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.visir-dish__thumb {
  width: 50px; height: 50px;
  border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(150deg, rgba(212,160,23,0.22), rgba(139,174,75,0.16));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.visir-dish__info { flex: 1; min-width: 0; }
.visir-dish__info h5 {
  font-family: var(--font-heading);
  font-size: 0.78rem; font-weight: 600;
  color: var(--vm-text);
  margin-bottom: 2px;
}
.visir-dish__info p {
  font-size: 0.6rem; line-height: 1.4;
  color: var(--vm-muted);
}
.visir-dish__bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 5px;
}
.visir-dish__price {
  font-family: var(--font-heading);
  font-weight: 700; color: var(--gold-dark);
  font-size: 0.82rem;
}
.visir-menu--light .visir-dish__price { color: #a97c0a; }
.visir-dish__add {
  width: 26px; height: 26px;
  background: var(--gold); color: #1a1304;
  border: none; border-radius: 50%;
  font-weight: 700; font-size: 0.95rem; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.visir-dish__add:hover { transform: scale(1.12); box-shadow: 0 0 14px var(--gold-glow-strong); }
.visir-dish.is-highlight {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 0 26px var(--gold-glow-strong);
  transform: translateY(-1px);
  animation: visirPulse 1.4s var(--ease) 1;
}
@keyframes visirPulse {
  0% { box-shadow: 0 0 0 1px var(--gold), 0 0 0 0 var(--gold-glow-strong); }
  55% { box-shadow: 0 0 0 1px var(--gold), 0 0 30px 6px var(--gold-glow-strong); }
  100% { box-shadow: 0 0 0 1px var(--gold), 0 0 22px var(--gold-glow); }
}
.visir-menu__cart {
  margin-top: 2px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #1a1304;
  border: none;
  padding: 12px;
  border-radius: 12px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-body);
  font-weight: 700; font-size: 0.8rem;
  cursor: pointer;
  flex-shrink: 0;
}
.visir-menu__cart-badge {
  background: #1a1304; color: var(--gold);
  min-width: 22px; height: 22px; padding: 0 5px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
}
.visir-menu__cart.is-bump { animation: visirBump 0.4s var(--ease) 1; }
@keyframes visirBump {
  0% { transform: scale(1); }
  40% { transform: scale(1.05); box-shadow: 0 0 30px var(--gold-glow-strong); }
  100% { transform: scale(1); }
}

/* ---- Panel de chat "Mesa" ---- */
.visir-chat {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex; flex-direction: column;
  min-height: 520px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.4);
}
.visir-chat__head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
}
.visir-chat__avatar {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--gold-light), var(--gold-dark));
  color: #1a1304;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 20px var(--gold-glow);
}
.visir-chat__title { display: flex; flex-direction: column; line-height: 1.3; }
.visir-chat__title strong { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; }
.visir-chat__title span { font-size: 0.72rem; color: var(--text-muted); display: inline-flex; align-items: center; gap: 6px; }
.visir-chat__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--olive);
  box-shadow: 0 0 0 0 var(--olive-glow);
  animation: visirLive 2s ease-in-out infinite;
}
@keyframes visirLive {
  0%, 100% { box-shadow: 0 0 0 0 rgba(139,174,75,0.5); }
  50% { box-shadow: 0 0 0 5px rgba(139,174,75,0); }
}
.visir-chat__log {
  flex: 1;
  min-height: 220px;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 12px;
  padding: 18px 4px 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dark) transparent;
}
.visir-chat__log::-webkit-scrollbar { width: 5px; }
.visir-chat__log::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 5px; }

.visir-msg { display: flex; gap: 9px; max-width: 90%; }
.js .visir-msg { animation: visirRise 0.45s var(--ease) 1; }
@keyframes visirRise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.visir-msg--user { align-self: flex-end; }
.visir-msg--mesa { align-self: flex-start; }
.visir-msg__avatar {
  width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--gold-light), var(--gold-dark));
  color: #1a1304;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.visir-msg__bubble {
  font-size: 0.86rem; line-height: 1.55;
  padding: 11px 14px;
  border-radius: 15px;
}
.visir-msg__bubble strong { color: var(--gold-light); font-weight: 700; }
.visir-msg--user .visir-msg__bubble {
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  border-bottom-right-radius: 5px;
  color: var(--text-primary);
}
.visir-msg--mesa .visir-msg__bubble {
  background: rgba(212,160,23,0.10);
  border: 1px solid rgba(212,160,23,0.20);
  border-bottom-left-radius: 5px;
  color: var(--text-secondary);
}
.visir-msg__bubble--typing { display: inline-flex; gap: 5px; align-items: center; padding: 14px; }
.visir-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  opacity: 0.5;
  animation: visirTyping 1.2s ease-in-out infinite;
}
.visir-dot:nth-child(2) { animation-delay: 0.18s; }
.visir-dot:nth-child(3) { animation-delay: 0.36s; }
@keyframes visirTyping {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}
.visir-cta {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 11px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #1a1304;
  border: none;
  padding: 9px 16px;
  border-radius: 11px;
  font-family: var(--font-body);
  font-weight: 700; font-size: 0.8rem;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.visir-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 22px var(--gold-glow-strong); }
.visir-cta__plus {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(26,19,4,0.18); font-size: 0.9rem;
}
.visir-cta.is-done {
  background: var(--olive-glow);
  color: var(--olive-light);
  border: 1px solid rgba(139,174,75,0.4);
  cursor: default;
}

.visir-chat__hint {
  align-self: center;
  margin: 4px 0 12px;
  font-size: 0.8rem;
  color: var(--gold-light);
  background: var(--gold-glow);
  border: 1px solid rgba(212,160,23,0.3);
  padding: 8px 16px;
  border-radius: 20px;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.visir-chat__hint.is-hidden { opacity: 0; transform: translateY(-6px); pointer-events: none; height: 0; margin: 0; padding: 0; border: 0; overflow: hidden; }

.visir-chat__suggest {
  display: flex; flex-wrap: wrap; gap: 9px;
  padding-top: 16px;
  border-top: 1px solid var(--glass-border);
}
.visir-chip {
  font-family: var(--font-body);
  font-size: 0.82rem; font-weight: 500;
  color: var(--cream);
  background: rgba(255,250,240,0.04);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: 10px 17px;
  min-height: 44px;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}
.visir-chip::before { content: '💬 '; opacity: 0.8; }
.visir-chip:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-glow); transform: translateY(-2px); }
.visir-chip:disabled { opacity: 0.45; cursor: default; transform: none; }

/* Focus visible coherente en todos los controles del widget */
.visir-cat:focus-visible,
.visir-dish__add:focus-visible,
.visir-menu__cart:focus-visible,
.visir-icon-btn:focus-visible,
.visir-seg__btn:focus-visible,
.visir-chip:focus-visible,
.visir-cta:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .visir { padding: 90px 0; }
  .visir__stage { grid-template-columns: 1fr; gap: 40px; max-width: 460px; }
  .visir__phone-col { order: 1; }
  .visir__chat-col { order: 2; }
  .visir-chat { min-height: 0; }
}
@media (max-width: 400px) {
  .visir__phone-col .phone-mockup { width: 260px; height: 540px; }
  .visir-chat { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .visir-dish.is-highlight,
  .visir-menu__cart.is-bump,
  .js .visir-msg,
  .visir-chat__dot,
  .visir-dot { animation: none !important; }
}

/* =============================================
   COMPARATIVAS — páginas vs competidores (Wave 3)
   Mobile-first. Reutiliza tokens de :root.
   ============================================= */
.cmp-hero {
  padding: calc(var(--nav-height) + 40px) 0 60px;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--hairline);
  position: relative;
}
.cmp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(52% 46% at 84% 10%, rgba(212,160,23,0.12), transparent 62%),
    radial-gradient(46% 40% at 8% 90%, rgba(139,174,75,0.07), transparent 60%);
}
.cmp-hero__inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.cmp-crumbs {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  letter-spacing: 0.3px;
}
.cmp-crumbs a { color: var(--text-secondary); }
.cmp-crumbs a:hover { color: var(--gold); }
.cmp-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5.6vw, 3.4rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.cmp-hero__lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 660px;
  margin: 0 auto 34px;
  line-height: 1.78;
}
.cmp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* Bloques de sección de las comparativas */
.cmp-block {
  padding: clamp(64px, 11vw, 120px) 0;
  position: relative;
}
.cmp-block--alt { background: var(--bg-dark); }
.cmp-block--mid { background: var(--bg-mid); }

/* Prosa legible */
.cmp-prose { max-width: 760px; margin: 0 auto; }
.cmp-prose > * + * { margin-top: 1.15em; }
.cmp-prose p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.82;
}
.cmp-prose h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 6px;
}
.cmp-prose h3 {
  font-family: var(--font-heading);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--cream);
  margin-top: 1.5em;
}
.cmp-prose strong { color: var(--cream); }
.cmp-prose ul { display: grid; gap: 13px; margin: 6px 0; }
.cmp-prose li {
  position: relative;
  padding-left: 30px;
  color: var(--text-secondary);
  line-height: 1.72;
}
.cmp-prose li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 700;
}

/* Tabla comparativa */
.cmp-table-wrap {
  max-width: 920px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}
.cmp-table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  background: var(--glass-bg);
  font-size: 0.95rem;
}
.cmp-table caption {
  caption-side: top;
  text-align: left;
  padding: 18px 20px;
  color: var(--text-muted);
  font-size: 0.82rem;
}
.cmp-table th,
.cmp-table td {
  padding: 15px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--glass-border);
}
.cmp-table thead th {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--cream);
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--hairline);
}
.cmp-table thead th:first-child {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}
.cmp-table thead th.cmp-col-menuai { color: var(--gold-light); }
.cmp-table tbody th {
  font-weight: 500;
  color: var(--cream);
  width: 34%;
}
.cmp-table td.is-menuai { background: rgba(212,160,23,0.06); color: var(--cream); }
.cmp-table tbody tr:last-child th,
.cmp-table tbody tr:last-child td { border-bottom: none; }
.cmp-yes { color: var(--olive-light); font-weight: 700; margin-right: 6px; }
.cmp-no { color: var(--text-muted); font-weight: 700; margin-right: 6px; }

/* Veredicto / dónde brilla */
.cmp-verdict {
  max-width: 840px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(212,160,23,0.10), rgba(139,174,75,0.05));
  border: 1px solid var(--glass-border-hover);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 46px);
}
.cmp-verdict h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 600;
  margin-bottom: 14px;
}
.cmp-verdict p { color: var(--text-secondary); line-height: 1.82; }
.cmp-verdict p + p { margin-top: 1em; }

/* FAQ landing (reutiliza el acordeón .cmp-faq) */
.faq { padding: 140px 0; background: var(--bg-dark); }
.faq .cmp-faq { margin-top: 3rem; }

/* FAQ */
.cmp-faq { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.cmp-faq details {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 2px 22px;
}
.cmp-faq summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  color: var(--cream);
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cmp-faq summary::-webkit-details-marker { display: none; }
.cmp-faq summary::after {
  content: '+';
  color: var(--gold);
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}
.cmp-faq details[open] summary::after { content: '\2212'; }
.cmp-faq details p {
  color: var(--text-secondary);
  line-height: 1.78;
  padding: 0 0 20px;
}

/* CTA compacta */
.cmp-cta { text-align: center; max-width: 620px; margin: 0 auto; }
.cmp-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 4.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.16;
  margin-bottom: 16px;
}
.cmp-cta p { color: var(--text-secondary); margin-bottom: 28px; line-height: 1.75; }
.cmp-cta__fine { font-size: 0.85rem; color: var(--text-muted); margin-top: 18px; }

@media (max-width: 560px) {
  .cmp-table { font-size: 0.88rem; }
  .cmp-table th, .cmp-table td { padding: 13px 13px; }
  .cmp-table tbody th { width: 40%; }
}
