/* GastroBar.click — Hoja de Estilos de Alta Conversión y Diseño UI/UX Prom Max
   Optimizada bajo estándares SEO + GEO 2026 de ImpulsoWeb
   Regla de Oro: Cero emojis como iconos (solo SVGs vectoriales)
   Preservación estricta de formatos naturales de imágenes (16:9, 1:1, 9:16) */

:root {
  --primary: #FF6B35;
  --primary-dark: #E55A2B;
  --primary-glow: rgba(255, 107, 53, 0.25);
  --primary-light: #FFF4ED;
  --accent-cyan: #22D3EE;
  --accent-cyan-glow: rgba(34, 211, 238, 0.35);
  --dark-bg: #0F172A;
  --dark-surface: #1E293B;
  --dark-card: #090D16;
  --dark-border: rgba(255, 255, 255, 0.08);
  --light-bg: #F8FAFC;
  --light-surface: #FFFFFF;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  --border-light: #E2E8F0;
  /* Cáscara "cockpit" oscura del header/hero — no reemplaza el sistema claro
     de las secciones de contenido, conviven a propósito (ver GastroBar.click CLAUDE.md) */
  --void-bg: #06080D;
  --void-surface: #0B0F17;
  --void-elevated: #121826;
  --void-border: rgba(255, 255, 255, 0.09);
  --void-text: #F2F5F9;
  --void-text-muted: #9BA8BC;
  --grid-line: rgba(255, 255, 255, 0.055);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 28px -6px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.16);
  --shadow-glow: 0 20px 40px -10px rgba(255, 107, 53, 0.35);
  --font-body: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --header-height: 104px;
}

@media (max-width: 991px) {
  :root {
    --header-height: 76px;
  }
}

/* Reset & Base — Fijación de Contenedor Móvil estilo App Nativa */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  touch-action: pan-y;
  overscroll-behavior-x: none;
}
body {
  font-family: var(--font-body);
  background-color: var(--light-bg);
  color: var(--text-main);
  line-height: 1.6;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  overflow-x: clip;
  position: relative;
  touch-action: pan-y;
  overscroll-behavior-x: none;
  padding-top: var(--header-height);
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: all 0.2s ease; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Tipografía */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 16px; }
h3 { font-size: 1.35rem; margin-bottom: 10px; }
p.lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--text-muted); line-height: 1.65; max-width: 780px; margin: 0 auto 28px; }

/* Badges y Píldoras */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid rgba(255, 107, 53, 0.25);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}
.badge-pill svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; }

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 10px 24px -6px rgba(255, 107, 53, 0.45);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px rgba(255, 107, 53, 0.6);
}
.btn-outline {
  background: #fff;
  color: var(--text-main);
  border: 1.5px solid var(--border-light);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* NAVBAR SUPERIOR — fija permanente en PC y Móvil, estilo cockpit oscuro */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(6, 8, 13, 0.94);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--void-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  padding: 8px 0;
  transition: all 0.25s ease;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand-logo img {
  height: 86px;
  width: auto;
  max-width: none;
  object-fit: contain;
  transition: transform 0.2s ease;
}
.brand-logo:hover img {
  transform: scale(1.02);
}
.mobile-header-cta {
  display: none !important;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--void-text-muted);
  padding: 8px 16px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: rgba(255, 107, 53, 0.12);
}

/* Dropdown Gastrobar */
.dropdown-holder {
  position: relative;
}
.dropdown-trigger {
  cursor: pointer;
}
.dropdown-trigger svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.5;
  transition: transform 0.2s ease;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--void-elevated);
  border: 1px solid var(--void-border);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.55);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 120;
}
.dropdown-holder:hover .dropdown-menu,
.dropdown-holder:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-holder:hover .dropdown-trigger svg {
  transform: rotate(180deg);
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--void-text);
  transition: background 0.15s, color 0.15s;
}
.dropdown-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}
.dropdown-item:hover {
  background: rgba(255, 107, 53, 0.12);
  color: var(--primary);
}

/* HERO SECTION — cockpit oscuro con textura de grid técnico y glow dual (naranja + cian) */
.hero-section {
  position: relative;
  padding: 44px 0 78px;
  background: var(--void-bg);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-section::before {
  /* Textura de grid técnico — refuerza la lectura "tecnológica" sin recurrir a neón literal */
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -2;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, #000 40%, transparent 100%);
}
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 15%, rgba(255, 107, 53, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 84% 8%, rgba(34, 211, 238, 0.16) 0%, transparent 40%);
}
.hero-copy {
  max-width: 900px;
  margin: 0 auto;
}
.hero-copy .badge-pill {
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.3);
  color: var(--accent-cyan);
}
.hero-copy h1 {
  margin-bottom: 14px;
  color: var(--void-text);
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.18;
}
.hero-copy h1 span.highlight {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary), #FFB199);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-copy .hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  color: var(--accent-cyan);
  line-height: 1.38;
  margin: 0 auto 22px;
  max-width: 840px;
  letter-spacing: -0.01em;
}

/* ==========================================================
   VIDEO COMERCIAL HERO PROMINENTE (DEBAJO DEL TÍTULO)
   ========================================================== */
.hero-video-wrapper {
  max-width: 880px;
  margin: 26px auto 30px;
  position: relative;
  z-index: 5;
}
.hero-video-card {
  background: var(--void-surface);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 24px 60px -12px rgba(0, 0, 0, 0.75),
    0 0 50px -10px var(--primary-glow);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-video-card:hover {
  border-color: rgba(255, 107, 53, 0.4);
  box-shadow: 
    0 30px 70px -12px rgba(0, 0, 0, 0.85),
    0 0 60px -5px rgba(255, 107, 53, 0.35);
}
.video-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: rgba(18, 24, 38, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.video-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}
.video-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.video-dots span:nth-child(1) { background: #EF4444; }
.video-dots span:nth-child(2) { background: #F59E0B; }
.video-dots span:nth-child(3) { background: #10B981; }
.video-title-tag {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--void-text-muted);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.video-sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 107, 53, 0.15);
  color: var(--primary);
  border: 1px solid rgba(255, 107, 53, 0.35);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.video-sound-toggle:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}
.video-element-wrapper {
  position: relative;
  width: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-commercial-video {
  width: 100%;
  height: auto;
  max-height: 520px;
  display: block;
  object-fit: contain;
  background: #000;
}

/* DESCRIPCIÓN LEAD REFINADA TIPOGRÁFICAMENTE */
.hero-lead-refined {
  font-size: clamp(1.05rem, 1.75vw, 1.22rem) !important;
  line-height: 1.75 !important;
  color: #E2E8F0 !important;
  max-width: 840px !important;
  margin: 0 auto 30px !important;
  font-weight: 450 !important;
  letter-spacing: -0.01em;
}
.hero-lead-refined strong {
  color: #FFFFFF;
  font-weight: 700;
}
.hero-lead-refined .lead-sub {
  display: block;
  margin-top: 8px;
  color: #94A3B8;
  font-size: 0.95em;
  font-weight: 500;
}
.hero-copy p.lead {
  color: var(--void-text-muted);
}
.hero-metrics-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 28px 0 8px;
  flex-wrap: wrap;
}
.metric-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--void-text);
}
.metric-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.14);
  border: 1px solid rgba(255, 107, 53, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.metric-icon svg { width: 18px; height: 18px; stroke: var(--primary); fill: none; stroke-width: 2.2; }

/* Escenario de dispositivos reales Hero (index.html) */
.hero-device-stage {
  position: relative;
  max-width: 1040px;
  margin: 44px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.hero-device {
  position: relative;
  border-radius: 20px;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  background: #000;
}
.hero-device:hover,
.hero-device.active,
.hero-device:focus {
  transform: translateY(-10px) scale(1.02);
  z-index: 10;
  box-shadow: 0 40px 90px -15px rgba(255, 107, 53, 0.45), 0 0 0 2px var(--primary);
}
.hero-device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.hero-device.device-kds {
  flex: 1.8;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
}
.hero-device.device-mesero {
  flex: 1;
  aspect-ratio: 9 / 16.2;
  border-radius: 28px;
}
.hero-device.device-domicilio {
  flex: 1;
  aspect-ratio: 9 / 16.2;
  border-radius: 28px;
}
.hero-device-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(6, 8, 13, 0.85);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: fit-content;
  pointer-events: none;
}
.hero-live-badge {
  position: absolute;
  top: -24px;
  right: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--void-elevated);
  border: 1px solid var(--void-border);
  color: var(--void-text);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,0.5);
}
@media (max-width: 900px) {
  .hero-device-stage {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 16px 20px 24px;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .hero-device-stage::-webkit-scrollbar { display: none; }
  .hero-device.device-kds {
    min-width: 80vw;
    scroll-snap-align: center;
  }
  .hero-device.device-mesero {
    min-width: 62vw;
    scroll-snap-align: center;
  }
  .hero-device.device-domicilio {
    min-width: 62vw;
    scroll-snap-align: center;
  }
  .hero-live-badge {
    position: static;
    margin: 0 auto 12px;
    width: fit-content;
  }
}

/* ==========================================================
   HERO VIDEO COMERCIAL JUSTIFICADO Y MARCO SAAS PRÉMIUM
   ========================================================== */
.hero-video-wrapper {
  max-width: 960px;
  width: 100%;
  margin: 26px auto 34px;
  padding: 0 12px;
  box-sizing: border-box;
}

.hero-video-card {
  background: #0B1120;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 107, 53, 0.4);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.75), 0 0 45px rgba(255, 107, 53, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-video-card:hover {
  box-shadow: 0 35px 80px -12px rgba(0, 0, 0, 0.85), 0 0 60px rgba(255, 107, 53, 0.3);
}

.video-top-bar {
  background: #111A2E;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 12px;
}

.video-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.video-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.video-dots span:nth-child(1) { background: #FF5F56; }
.video-dots span:nth-child(2) { background: #FFBD2E; }
.video-dots span:nth-child(3) { background: #27C93F; }

.video-title-tag {
  font-size: 0.86rem;
  font-weight: 700;
  color: #F8FAFC;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
}

.video-sound-toggle {
  background: rgba(255, 107, 53, 0.18);
  border: 1px solid rgba(255, 107, 53, 0.5);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.video-sound-toggle:hover {
  background: var(--primary);
  color: #FFFFFF;
  transform: scale(1.04);
}

.video-element-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-commercial-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}

/* ==========================================================
   SMARTPHONE SHOWCASE MOCKUP 2 (IPHONE FRAME CON FASES)
   ========================================================== */
.phone-showcase-section {
  padding: 50px 0 70px;
  background: var(--void-bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Contenedor Showcase Multi-Rol Mockup 2 */
.module-showcase-wrapper,
.phone-showcase-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 30px auto 0;
  max-width: 920px;
  width: 100%;
  box-sizing: border-box;
}

/* Selector de Pestañas / Fases */
.stage-tabs-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  width: 100%;
  max-width: 780px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--void-border);
  border-radius: 999px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  justify-content: center;
  flex-wrap: wrap;
}
.stage-tabs-nav::-webkit-scrollbar { display: none; }

.stage-tab-btn {
  padding: 10px 18px;
  background: none;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--void-text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.stage-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.stage-tab-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 16px var(--primary-glow);
}

/* Chasis Smartphone (Meseros, Domicilios - 9:16) */
.smartphone-showcase-frame,
.iphone-device-frame {
  max-width: 380px;
  width: 100%;
  aspect-ratio: 9 / 16.15;
  background: #000000;
  border-radius: 36px;
  padding: 0;
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.12);
  position: relative;
  user-select: none;
  margin: 0 auto;
  overflow: hidden;
}

/* Chasis Tablet (Cocina KDS - 16:9) */
.tablet-showcase-frame,
.tablet-device-frame {
  max-width: 860px;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 35px 80px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.12);
  position: relative;
  user-select: none;
  margin: 0 auto;
  overflow: hidden;
}

/* Chasis Desktop Monitor (Panel POS - 16:10) */
.desktop-showcase-frame,
.desktop-device-frame {
  max-width: 860px;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #070B14;
  border-radius: 18px;
  padding: 0;
  box-shadow: 0 35px 80px -15px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.12);
  position: relative;
  user-select: none;
  margin: 0 auto;
  overflow: hidden;
}

/* Viewport y Track */
.showcase-viewport,
.iphone-screen-viewport,
.tablet-screen-viewport,
.desktop-screen-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #000;
}

.showcase-track,
.iphone-screen-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-slide,
.iphone-screen-slide {
  height: 100%;
  width: 100%;
  flex-shrink: 0;
  position: relative;
  background: #000;
}

.showcase-slide img,
.iphone-screen-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.desktop-showcase-frame .showcase-slide img,
.desktop-device-frame .iphone-screen-slide img,
.desktop-device-frame .showcase-slide img {
  object-fit: contain;
  background: #070B14;
}

.tap-zoom-pill {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  pointer-events: auto;
  z-index: 10;
  transition: transform 0.2s, background 0.2s;
}
.tap-zoom-pill:hover {
  background: var(--primary);
  transform: translateX(-50%) scale(1.05);
}

.showcase-nav-arrows,
.iphone-nav-arrows {
  position: absolute;
  top: 50%;
  left: -24px;
  right: -24px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 30;
}

.showcase-nav-arrows button,
.iphone-nav-arrows button {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  transition: all 0.2s ease;
}

.showcase-nav-arrows button:hover,
.iphone-nav-arrows button:hover {
  background: var(--primary);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .showcase-nav-arrows,
  .iphone-nav-arrows {
    left: 4px;
    right: 4px;
  }
  .stage-tabs-nav {
    justify-content: flex-start;
    border-radius: 14px;
  }
}

/* ==========================================================
   MODAL LIGHTBOX PRO MAX (ZOOM HD & PANTALLA COMPLETA)
   ========================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 16, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 9999;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lightbox-modal.open {
  display: flex;
  opacity: 1;
}

.lightbox-topbar {
  width: 100%;
  max-width: 920px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.lightbox-title-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.lightbox-tag {
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--primary);
  color: #fff;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.lightbox-title-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.lb-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}

.lb-btn:hover {
  background: var(--primary);
}

.lightbox-stage {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 10px 0;
}

.lightbox-img-wrapper {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.25s ease;
  cursor: zoom-in;
}

.lightbox-img-wrapper.zoomed {
  transform: scale(1.6);
  cursor: zoom-out;
}

.lightbox-img-wrapper img {
  max-width: 100%;
  max-height: 78vh;
  display: block;
  object-fit: contain;
}

.lightbox-bottombar {
  font-size: 0.78rem;
  color: var(--void-text-muted);
  text-align: center;
}

/* HERO BANNER POS 2 — Formato Nativo 16:9 Completo */
.hero-banner-container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  padding: 12px;
  background: linear-gradient(145deg, #1E293B, #090D16);
  box-shadow: 0 35px 70px -15px rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}
.banner-frame-16-9 {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner-frame-16-9 img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Visible al 100% en su proporción nativa sin recortes */
  display: block;
}
.banner-badge-floating {
  position: absolute;
  bottom: 20px;
  left: 24px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}
.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: pulseLive 2s infinite;
}
@keyframes pulseLive {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* ANSWER CAPSULE (SEO + GEO 2026) */
.answer-capsule-box {
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin: 48px auto;
  max-width: 1080px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.capsule-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.capsule-header svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.capsule-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #1E293B;
  font-weight: 500;
}
.capsule-content strong { color: var(--primary-dark); font-weight: 800; }

/* INTRODUCCIÓN GENERAL GASTROBAR */
.intro-section {
  padding: 70px 0;
  background: #fff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.mv-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mv-card {
  background: var(--light-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  border-left: 4px solid var(--primary);
}
.mv-card h4 { font-size: 1.15rem; color: var(--text-main); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.mv-card h4 svg { width: 18px; height: 18px; stroke: var(--primary); fill: none; stroke-width: 2.2; }
.mv-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

.benefits-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}
.benefit-item svg {
  width: 18px;
  height: 18px;
  stroke: #10B981;
  fill: none;
  stroke-width: 2.5;
  flex-shrink: 0;
  margin-top: 2px;
}

/* SUBNAV STICKY GASTROBAR (Acceso Rápido a los 4 Módulos) */
.subnav-sticky {
  position: sticky;
  top: 73px;
  z-index: 90;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.subnav-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 12px;
}
.subnav-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #CBD5E1;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.subnav-pill svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.subnav-pill:hover, .subnav-pill.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.4);
}

/* SECCIONES DE MÓDULOS */
.module-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-light);
  scroll-margin-top: 130px;
}
.module-section.alt-bg {
  background: #FFFFFF;
}

.module-head {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 48px;
}
.module-head h2 { color: #090D16; }

/* PROPORCIONES ESTRICTAS DE IMÁGENES */
.ratio-16-9 {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #090D16;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  display: block;
}
.ratio-1-1 {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #090D16;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  display: block;
}
.ratio-9-16 {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #090D16;
  border-radius: var(--radius-md);
  margin: 0 auto;
  display: block;
}

/* MOCKUP SIMULADORES */
/* Smartphone (9:16) */
.phone-mockup-frame {
  width: 100%;
  max-width: 330px;
  border-radius: 40px;
  background: #18181B;
  padding: 10px;
  border: 3px solid #3F3F46;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.35);
  margin: 0 auto;
  position: relative;
}
.phone-notch {
  width: 90px;
  height: 18px;
  background: #09090b;
  border-radius: 0 0 12px 12px;
  margin: 0 auto 6px;
}
.phone-screen {
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 9 / 16;
  display: flex;
  flex-direction: column;
}

/* KDS Monitor Industrial (16:9) */
.kds-monitor-frame {
  width: 100%;
  max-width: 960px;
  border-radius: 20px;
  background: #27272A;
  padding: 14px;
  border: 3px solid #52525B;
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.4);
  margin: 0 auto;
}
.kds-screen {
  border-radius: 12px;
  overflow: hidden;
  background: #09090b;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
}

/* MOCKUP INTERACTIVO PANEL (Sección más extensa) */
.panel-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.sidebar-breakdown-box {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.sidebar-feature-row {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-light);
}
.sidebar-feature-row:last-child { border-bottom: none; }
.feature-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon-circle svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }
.feature-desc h4 { font-size: 1.05rem; margin-bottom: 4px; color: var(--text-main); }
.feature-desc p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

.interactive-mockup-window {
  background: #0F172A;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  color: #fff;
}
.window-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1E293B;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.window-controls { display: flex; gap: 8px; }
.win-dot { width: 11px; height: 11px; border-radius: 50%; }
.win-dot.red { background: #EF4444; }
.win-dot.yellow { background: #F59E0B; }
.win-dot.green { background: #10B981; }
.window-title { font-size: 0.85rem; font-weight: 700; color: #94A3B8; font-family: monospace; }

.mockup-tabs-bar {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
}
.mockup-tab-btn {
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #94A3B8;
  border-bottom: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.mockup-tab-btn.active {
  color: #fff;
  border-bottom-color: var(--primary);
  background: rgba(255, 107, 53, 0.1);
}

.mockup-body-tab {
  padding: 24px;
  display: none;
}
.mockup-body-tab.active {
  display: block;
}

/* Widgets del Dashboard Mockup */
.kpi-row-compact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.kpi-compact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 14px;
}
.kpi-compact-card span { font-size: 0.75rem; color: #94A3B8; display: block; text-transform: uppercase; }
.kpi-compact-card strong { font-size: 1.15rem; color: #fff; font-family: var(--font-heading); }

/* Simulador Arqueo Ciego */
.arqueo-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.dinero-counter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
}
.denominacion-badge {
  font-weight: 800;
  color: #FCD34D;
  font-size: 0.9rem;
}
.counter-inputs {
  display: flex;
  align-items: center;
  gap: 6px;
}
.counter-btn {
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #fff;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}
.counter-btn:hover { background: var(--primary); }
.counter-val {
  width: 32px;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Catálogo Mockup URLs */
.catalog-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 8px;
}
.catalog-item-info { display: flex; align-items: center; gap: 12px; }
.catalog-thumb { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.catalog-slug-badge { font-family: monospace; font-size: 0.75rem; color: #38BDF8; background: rgba(56, 189, 248, 0.15); padding: 2px 8px; border-radius: 4px; }
.btn-copy-url { background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 0.78rem; font-weight: 700; padding: 6px 12px; border-radius: 6px; }
.btn-copy-url:hover { background: var(--primary); }

/* MOCKUP INTERACTIVO MESEROS (Traslado de Mesas) */
.mesas-map-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 14px;
}
.mesa-tile-btn {
  border-radius: 12px;
  padding: 12px 6px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.mesa-tile-btn:hover { transform: scale(1.05); }
.mesa-tile-btn.libre { background: #ECFDF5; border: 2px solid #10B981; color: #065F46; }
.mesa-tile-btn.ocupada { background: #FEF2F2; border: 2px solid #EF4444; color: #991B1B; box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2); }
.mesa-tile-btn.reservada { background: #FFFBEB; border: 2px solid #F59E0B; color: #92400E; }
.mesa-num { font-size: 1.1rem; font-weight: 800; }
.mesa-status-txt { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.mesa-total-txt { font-size: 0.8rem; font-weight: 800; }

.comanda-active-box {
  background: #fff;
  border-top: 1px solid var(--border-light);
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.comanda-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.comanda-items-list {
  flex: 1;
  overflow-y: auto;
  max-height: 140px;
  margin-bottom: 12px;
}
.comanda-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  padding: 4px 0;
  border-bottom: 1px dashed var(--border-light);
}
.btn-trasladar-mesa {
  background: #3B82F6;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-trasladar-mesa:hover { background: #2563EB; }

/* Modal Traslado de Mesa */
.modal-traslado-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 20px;
}
.modal-traslado-overlay.active { display: flex; }
.modal-traslado-box {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 18px;
  width: 100%;
  text-align: center;
}

/* MOCKUP INTERACTIVO COCINA (KDS Táctil Kanban) */
.kds-kanban-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 16px;
  flex: 1;
  overflow-x: auto;
}
.kds-col {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
}
.kds-col-header {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.kds-col.nuevos .kds-col-header { color: #FBBF24; border-top: 3px solid #FBBF24; }
.kds-col.cocina .kds-col-header { color: #38BDF8; border-top: 3px solid #38BDF8; }
.kds-col.listos .kds-col-header { color: #34D399; border-top: 3px solid #34D399; }
.kds-col.entregados .kds-col-header { color: #94A3B8; border-top: 3px solid #94A3B8; }
.kds-orders-container {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.kds-card {
  background: #1E293B;
  border-radius: 8px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  cursor: pointer;
  transition: transform 0.15s ease;
}
.kds-card:hover { transform: translateY(-2px); border-color: var(--primary); }
.kds-card-head { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 0.82rem; font-weight: 800; }
.kds-card-timer { font-size: 0.75rem; font-weight: 700; color: #FCD34D; display: flex; align-items: center; gap: 4px; }
.kds-card-items { font-size: 0.78rem; color: #CBD5E1; line-height: 1.4; margin-bottom: 10px; }
.kds-advance-btn {
  width: 100%;
  padding: 6px 0;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* MOCKUP INTERACTIVO DOMICILIOS (Waze / Maps + Cambio) */
.domi-list-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.domi-order-card {
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.domi-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.domi-client-name { font-weight: 800; font-size: 0.95rem; color: var(--text-main); }
.domi-status-tag { font-size: 0.72rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; text-transform: uppercase; }
.domi-status-tag.en-camino { background: #DBEAFE; color: #1E40AF; }
.domi-status-tag.entregado { background: #D1FAE5; color: #065F46; }
.domi-address-row { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.domi-address-row svg { width: 14px; height: 14px; stroke: var(--primary); fill: none; stroke-width: 2; flex-shrink: 0; }
.domi-gps-buttons {
  display: flex;
  gap: 8px;
  margin: 10px 0;
}
.btn-gps {
  flex: 1;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--border-light);
  background: #fff;
  color: var(--text-main);
}
.btn-gps.waze { border-color: #38BDF8; color: #0284C7; }
.btn-gps.maps { border-color: #34D399; color: #059669; }
.domi-payment-box {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.8rem;
  color: #92400E;
  margin-bottom: 10px;
}

/* FAQ SECTION */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}
.faq-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.faq-card h3 { font-size: 1.05rem; color: var(--text-main); margin-bottom: 8px; display: flex; align-items: flex-start; gap: 10px; }
.faq-card h3 svg { width: 20px; height: 20px; stroke: var(--primary); fill: none; stroke-width: 2.2; flex-shrink: 0; margin-top: 2px; }
.faq-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; }

/* MODAL SOLICITAR DEMO (ALTA CONVERSIÓN Y VISIBILIDAD TOTAL) */
.demo-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 8, 13, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999 !important; /* Siempre sobre la barra de navegación (z-index: 1000) */
  padding: 30px 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.demo-modal-overlay.open { display: flex; }
.demo-modal-box {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.15);
  position: relative;
  border: 1px solid var(--border-light);
  margin: auto;
  max-height: calc(100vh - 50px);
  overflow-y: auto;
  animation: modalPopIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalPopIn {
  from { opacity: 0; transform: scale(0.94) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@media (max-width: 600px) {
  .demo-modal-box {
    padding: 26px 18px;
    border-radius: 20px;
  }
}
.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  border: 1px solid var(--border-light);
  transition: all 0.2s ease;
  z-index: 10;
}
.modal-close-btn:hover {
  color: var(--primary);
  background: var(--primary-light);
  border-color: rgba(255, 107, 53, 0.3);
  transform: rotate(90deg);
}

/* ==========================================================
   BARRA INFERIOR MÓVIL TIPO APP NATIVA (reemplaza la hamburguesa)
   Mismo patrón visual que restaurante/panel/mesero.php (.bottom-nav-mobile /
   .bnm-btn) — barra fija abajo con iconos, no un menú de página web.
   ========================================================== */
.bottom-nav-mobile { display: none; }
@media (max-width: 991px) {
  .bottom-nav-mobile {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(60px + env(safe-area-inset-bottom, 0px));
    padding: 6px 4px calc(4px + env(safe-area-inset-bottom, 0px));
    background: var(--void-elevated);
    border-top: 1px solid var(--void-border);
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.4);
    z-index: 250;
    backdrop-filter: blur(16px);
  }
}
.bnm-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: none;
  border: none;
  color: var(--void-text-muted);
  font-size: 10.5px;
  font-weight: 700;
  font-family: inherit;
  padding: 4px 2px;
  cursor: pointer;
}
.bnm-btn svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 2; }
.bnm-btn.active { color: var(--primary); }
.bnm-btn.bnm-cta {
  color: #fff;
}
.bnm-btn.bnm-cta .bnm-cta-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.5);
  margin-bottom: 1px;
}
.bnm-btn.bnm-cta .bnm-cta-icon svg { width: 17px; height: 17px; stroke: #fff; }
.bnm-btn.bnm-cta { color: var(--primary); }

/* Hoja inferior (bottom sheet) con los 4 módulos — se abre desde el tab "Gastrobar" */
.module-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 15, 0.6);
  z-index: 260;
  display: none;
}
.module-sheet-overlay.open { display: block; }
.module-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 261;
  background: var(--void-elevated);
  border: 1px solid var(--void-border);
  border-bottom: none;
  border-radius: 22px 22px 0 0;
  padding: 10px 14px calc(20px + env(safe-area-inset-bottom, 0px));
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
.module-sheet.open { transform: translateY(0); }
.module-sheet-handle {
  width: 36px;
  height: 4px;
  border-radius: 99px;
  background: var(--void-border);
  margin: 6px auto 16px;
}
.module-sheet-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--void-text-muted);
  padding: 0 10px 10px;
}
.module-sheet-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 10px;
  color: var(--void-text);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 12px;
}
.module-sheet-item svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }
.module-sheet-item.active { background: rgba(255, 107, 53, 0.14); color: var(--primary); }

/* LIGHTBOX de captura ampliada (clic en cualquier foto de una galería de módulo) */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 15, 0.93);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 32px;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.65);
}
.lightbox-close-btn {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.2s, border-color 0.2s;
}
.lightbox-close-btn:hover { background: var(--primary); border-color: var(--primary); }

/* FOOTER */
.site-footer {
  background: var(--dark-bg);
  color: #94A3B8;
  padding: 60px 0 30px;
  border-top: 1px solid var(--dark-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img { height: 68px; width: auto; margin-bottom: 16px; }
.footer-links h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.88rem; color: #94A3B8; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-designer-link {
  color: var(--primary) !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.footer-designer-link:hover {
  color: #FFB199 !important;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .intro-grid, .panel-grid-layout, .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .subnav-sticky { top: 68px; }
  .hero-section { padding: 40px 0; }
  .kpi-row-compact { grid-template-columns: 1fr 1fr; }
  .kds-kanban-board { grid-template-columns: repeat(2, 280px); }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .main-nav .nav-link:not(.btn) { display: none; }
  .hero-metrics-bar { gap: 16px; }
  .kpi-row-compact { grid-template-columns: 1fr; }
  .arqueo-calc-grid { grid-template-columns: 1fr; }
}

/* =======================================================
   UI/UX PRO MAX — COMPONENTES DE DISEÑO MULTI-PÁGINA
   ======================================================= */

/* 1. MIGA DE PAN (BREADCRUMB) */
.breadcrumb-nav {
  padding: 16px 0;
  margin-bottom: 24px;
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb-item {
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s;
}
.breadcrumb-item:hover { color: var(--primary); }
.breadcrumb-item.active { color: var(--text-main); font-weight: 700; }
.breadcrumb-sep { width: 14px !important; height: 14px !important; min-width: 14px !important; min-height: 14px !important; max-width: 14px !important; max-height: 14px !important; fill: none !important; stroke: #94A3B8 !important; stroke-width: 2 !important; display: inline-block !important; vertical-align: middle !important; flex-shrink: 0 !important; }

/* 2. CABECERAS DE PÁGINA INDEPENDIENTE (PAGE HERO) */
.page-hero {
  background: radial-gradient(circle at 50% 0%, rgba(255, 107, 53, 0.08), transparent 70%), var(--light-bg);
  padding: 48px 0 36px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 48px;
}
.page-hero-inner { max-width: 860px; margin: 0 auto; }
.page-hero h1 { margin-bottom: 18px; color: var(--text-main); }
.page-hero p.lead { margin-bottom: 24px; }

/* 3. SLIDER FOTOGRÁFICO INTERACTIVO DE ALTA CONVERSIÓN */
.photo-slider-wrapper {
  background: #0B132B;
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 36px 0 54px;
  color: #fff;
}
.photo-slider-header, .slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 12px;
}
.photo-slider-title, .slider-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}
.photo-slider-title svg, .slider-badge svg { width: 22px; height: 22px; stroke: var(--primary); fill: none; stroke-width: 2; }
.slider-indicator {
  font-size: 0.85rem;
  font-weight: 700;
  color: #94A3B8;
  font-variant-numeric: tabular-nums;
}
.slider-indicator .slide-current { color: var(--primary); }
/* .slider-track-container es el contenedor real usado en meseros/cocina/domicilios/panel.html
   — antes no existía en el CSS, por eso el carrusel no recortaba nada y se veía roto
   (todas las fotos amontonadas, sin fondo, sin encuadre). Comparte reglas con .slider-stage. */
.slider-stage, .slider-track-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 440px;
}
.slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.slider-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 16px;
}
.slider-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
  display: block;
  margin: 0 auto;
  cursor: zoom-in;
  transition: transform 0.25s ease;
}
.slider-slide img:hover { transform: scale(1.015); }
@media (max-width: 640px) {
  .slider-stage, .slider-track-container { height: 340px; }
}
.slider-caption {
  margin-top: 14px;
  text-align: center;
  font-size: 0.92rem;
  color: #CBD5E1;
  background: rgba(15, 23, 42, 0.75);
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.slider-caption svg { width: 15px; height: 15px; stroke: var(--primary); fill: none; stroke-width: 2; }
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
  backdrop-filter: blur(8px);
}
.slider-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.08);
}
.slider-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }
.slider-indicators, .slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  padding: 0;
}
.slider-dot.active {
  width: 28px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 10px rgba(255, 107, 53, 0.6);
}

/* 3b2. SIMULADOR COMANDERA DE meseros.html — mismo problema: .phone-header/
   .table-selector-strip/.phone-order-list/.btn-action-mobile no tenian regla. */
.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 10px;
  border-bottom: 1px solid #E2E8F0;
  flex-shrink: 0;
}
.phone-brand { font-family: var(--font-heading); font-weight: 700; font-size: 0.92rem; color: #0F172A; }
.table-selector-strip {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  overflow-x: auto;
  flex-shrink: 0;
}
.table-chip-btn {
  flex-shrink: 0;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1.5px solid #E2E8F0;
  background: #F8FAFC;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}
.table-chip-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.phone-order-list {
  flex: 1;
  overflow-y: auto;
  padding: 6px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.order-item-row strong { display: block; font-size: 0.85rem; color: #0F172A; }
.phone-footer-actions {
  flex-shrink: 0;
  padding: 12px 14px;
  border-top: 1px solid #E2E8F0;
  background: #F8FAFC;
}
.phone-total-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #475569;
  margin-bottom: 10px;
}
.phone-total-bar strong { font-size: 1.05rem; color: #0F172A; }
.btn-action-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 10px;
  font-size: 0.76rem;
  font-weight: 800;
  text-align: center;
}
.btn-action-mobile.primary { background: var(--primary); color: #fff; }
.btn-action-mobile.outline { background: #fff; border: 1.5px solid #E2E8F0; color: #475569; }

/* 3b3. SIMULADOR MÓVIL DE domicilios.html — .phone-frame-container/
   .phone-app-header/.phone-screen-content no tenian regla; se usa un frame
   oscuro (mismo tono cálido #181513 que ya usaba el contenido interno). */
.phone-frame-container {
  width: 100%;
  max-width: 330px;
  border-radius: 40px;
  background: #18181B;
  padding: 10px;
  border: 3px solid #3F3F46;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  margin: 0 auto;
}
.phone-screen-content {
  border-radius: 30px;
  overflow-y: auto;
  background: #181513;
  aspect-ratio: 9 / 16;
  padding: 16px;
}
.phone-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

/* 3c. SIMULADOR KDS DE cocina.html — clases reales del HTML (.kds-ticket-card,
   .kds-grid-columns, etc.) no tenian NINGUNA regla CSS, por eso se veia como
   texto plano apilado sin tarjetas. Colores del semáforo tomados tal cual de
   restaurante/panel/cocina.php (--st-listo/--st-prep/--st-urgente), no inventados. */
.kds-monitor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.badge-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
}
.badge-status-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; }
.badge-status-pill.online { background: rgba(30, 156, 104, 0.18); color: #34D399; }
.badge-status-pill.online::before { background: #34D399; }

.kds-grid-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  padding: 18px;
}
.kds-ticket-card {
  background: #181613;
  border: 1px solid #2E2A24;
  border-radius: 14px;
  padding: 16px;
  border-top: 3px solid #423C34;
}
.kds-ticket-card.time-ok { border-top-color: #1E9C68; }
.kds-ticket-card.time-warn { border-top-color: #E3A431; }
.kds-ticket-card.time-alert { border-top-color: #DC372C; box-shadow: 0 0 0 1px rgba(220, 55, 44, 0.35); }
.kds-ticket-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.kds-ticket-mesa { display: block; font-weight: 800; font-size: 0.95rem; color: #F7F2EB; }
.kds-ticket-id { display: block; font-family: monospace; font-size: 0.75rem; color: #A89E92; margin-top: 2px; }
.kds-timer-badge {
  flex-shrink: 0;
  font-family: monospace;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.kds-timer-badge.ok { background: rgba(30, 156, 104, 0.16); color: #34D399; }
.kds-timer-badge.warn { background: rgba(227, 164, 49, 0.18); color: #FBBF24; }
.kds-timer-badge.alert { background: rgba(220, 55, 44, 0.18); color: #F87171; }
.kds-items-list { margin-bottom: 14px; }
.kds-item-row { display: flex; align-items: baseline; gap: 8px; }
.kds-item-qty { font-weight: 800; color: var(--primary); font-size: 0.85rem; flex-shrink: 0; }
.kds-item-name { font-weight: 700; font-size: 0.88rem; color: #F7F2EB; }
.kds-item-notes { font-size: 0.78rem; color: #A89E92; margin: 3px 0 0 26px; font-style: italic; }
.kds-btn-dispatch {
  width: 100%;
  padding: 10px 0;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: var(--primary);
  color: #fff;
  transition: background 0.2s;
}
.kds-btn-dispatch:hover { background: var(--primary-dark); }

/* 4. MOCKUP REALISTA DEL PANEL DESKTOP CON LOS 14 MÓDULOS */
.desktop-pos-wrapper {
  background: #020617;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
  margin: 40px 0 60px;
}
.desktop-window-bar {
  background: #0F172A;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.window-controls { display: flex; gap: 8px; }
.win-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.win-dot.red { background: #EF4444; }
.win-dot.yellow { background: #F59E0B; }
.win-dot.green { background: #10B981; }
.window-url-bar {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.8rem;
  color: #94A3B8;
  font-family: monospace;
  display: flex;
  align-items: center;
  gap: 8px;
}
.window-url-bar svg { width: 12px; height: 12px; stroke: #10B981; fill: none; stroke-width: 2.5; }

.desktop-pos-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 720px;
  background: #F1F5F9;
}
.pos-sidebar-real {
  background: #FFFFFF;
  border-right: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  padding: 20px 14px;
  overflow-y: auto;
  gap: 4px;
}
.pos-brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 6px 18px;
  border-bottom: 1px solid #E2E8F0;
  margin-bottom: 12px;
}
.pos-brand-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-family: var(--font-heading);
  box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}
.pos-brand-title { font-size: 0.95rem; font-weight: 800; color: #0F172A; line-height: 1.1; }
.pos-brand-sub { font-size: 0.72rem; color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.pos-status-badge {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 700;
  background: #DCFCE7;
  color: #166534;
  padding: 3px 8px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.pos-status-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16A34A;
}

.pos-group-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 10px 4px;
}
.pos-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  width: 100%;
  text-align: left;
}
.pos-nav-item svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }
.pos-nav-item:hover { background: #F8FAFC; color: var(--primary); border-color: #E2E8F0; }
.pos-nav-item.active {
  background: linear-gradient(135deg, #FF6B35, #E55A2B);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}
.pos-nav-item .badge-count {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 800;
  background: #E2E8F0;
  color: #0F172A;
  padding: 2px 7px;
  border-radius: 999px;
}
.pos-nav-item.active .badge-count { background: #fff; color: var(--primary-dark); }

.pos-main-viewport, .pos-main-content {
  padding: 24px;
  overflow-y: auto;
  background: #F8FAFC;
}
.pos-view-pane { display: none; }
.pos-view-pane.active { display: block; animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

/* Elementos internos del viewport del Mockup — .pos-pane-head es el nombre real
   que usa panel.html (12 pestañas), .pos-pane-header el de index.html; mismo look. */
.pos-pane-header, .pos-pane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #E2E8F0;
  flex-wrap: wrap;
  gap: 12px;
}
.pos-pane-header h3, .pos-pane-head h3 { font-size: 1.3rem; color: #0F172A; }
.pos-pane-header p, .pos-pane-head p { font-size: 0.88rem; color: #64748B; max-width: 480px; }

.pos-kpi-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.kpi-mini-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 18px;
}
.kpi-label { font-size: 0.78rem; font-weight: 700; color: #64748B; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 8px; }
.kpi-val { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: #0F172A; }
.kpi-sub { font-size: 0.8rem; font-weight: 600; color: #64748B; margin-top: 4px; }
.kpi-sub.positive { color: #059669; }

.badge-status-pill.info { background: rgba(56, 189, 248, 0.15); color: #0284C7; }
.badge-status-pill.info::before { background: #0284C7; }
.badge-status-pill.warning { background: rgba(245, 158, 11, 0.15); color: #B45309; }
.badge-status-pill.warning::before { background: #B45309; }

/* 5. COMPARADOR VISUAL DE MENÚS QR (CLÁSICA VS MODERNA V2) */
.menu-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin: 32px 0;
}
.menu-option-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  position: relative;
}
.menu-option-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.menu-option-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
}
.menu-option-card h4 { font-size: 1.2rem; margin-bottom: 10px; color: #0F172A; }
.menu-option-card p { font-size: 0.92rem; color: #64748B; margin-bottom: 18px; flex: 1; }
.menu-features-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.menu-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #334155;
}
.menu-features-list li svg { width: 16px; height: 16px; stroke: #10B981; fill: none; stroke-width: 2.5; flex-shrink: 0; }

/* 6. HABLADOR QR VERTICAL 9:16 PARA IMPRIMIR EN MESAS */
.hablador-preview-box {
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: 20px;
  padding: 24px;
  max-width: 320px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  aspect-ratio: 9 / 16;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hablador-qr-img {
  width: 140px;
  height: 140px;
  margin: 16px auto;
  background: #fff;
  padding: 8px;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 7. ACORDEONES DE FAQ — clases reales usadas por faq.html (.faq-item/.faq-question/
   .faq-answer); las anteriores .faq-accordion-* quedaron sin uso en ningún HTML y
   por eso el acordeón de la página se veía sin estilo alguno ("nuclear"). */
.faq-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  background: var(--void-elevated);
  border: 1px solid var(--void-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
}
.faq-item.active {
  border-color: rgba(255, 107, 53, 0.4);
  background: #161C29;
}
.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--void-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 16px;
}
.faq-question svg {
  width: 18px;
  height: 18px;
  stroke: var(--void-text-muted);
  fill: none;
  stroke-width: 2.5;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  stroke: var(--primary);
}
.faq-answer {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--void-text-muted);
  line-height: 1.65;
  display: none;
}
.faq-item.active .faq-answer { display: block; }

/* 8. FICHA DE CONTACTO & WHATSAPP */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.contact-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.contact-card .contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.contact-card .contact-icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 2; }
.contact-card h4 { font-size: 1.15rem; margin-bottom: 8px; color: #0F172A; }
.contact-card p { font-size: 0.9rem; color: #64748B; margin-bottom: 14px; }

/* =======================================================
   MÓDULO DE MARKETING PWA & NOTIFICACIONES PUSH NATIVAS
   ======================================================= */

/* Barra fija de instalación PWA */
.pwa-install-bar {
  background: linear-gradient(135deg, #0F172A, #1E293B);
  color: #fff;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
  z-index: 99;
  position: relative;
  flex-wrap: wrap;
  gap: 10px;
}
.pwa-install-bar .pwa-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pwa-install-bar img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.btn-install-pwa {
  background: var(--primary);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}
.btn-install-pwa:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.btn-install-pwa svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; }

/* Simulación de Notificación Push Nativa */
.push-preview-card {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 16px 20px;
  color: #fff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  max-width: 420px;
  margin: 18px auto;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
}
.push-preview-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #fff;
  padding: 4px;
  flex-shrink: 0;
}
.push-preview-icon img { width: 100%; height: 100%; object-fit: contain; }
.push-preview-body { flex: 1; min-width: 0; }
.push-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
  font-size: 0.75rem;
  color: #94A3B8;
  font-weight: 600;
}
.push-preview-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
}
.push-preview-text {
  font-size: 0.82rem;
  color: #CBD5E1;
  line-height: 1.35;
}

/* Modal y Pop-ups de Marketing Interactivos */
.marketing-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 250;
  padding: 20px;
}
.marketing-popup-overlay.open { display: flex; animation: fadeIn 0.25s ease; }
.marketing-popup-box {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  max-width: 460px;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  border: 1px solid var(--border-light);
}
.popup-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 10;
}
.popup-close-btn:hover { background: #0F172A; }
.popup-close-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.5; }

/* Pop-up 1: Reloj Vivo */
.countdown-box {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 14px 0;
}
.countdown-unit {
  background: #0F172A;
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  min-width: 50px;
  text-align: center;
}
.countdown-unit .time-val { font-size: 1.2rem; font-weight: 800; font-family: monospace; color: #FF6B35; }
.countdown-unit .time-lbl { font-size: 0.65rem; color: #94A3B8; text-transform: uppercase; }

/* Pop-up 7: Cupón Troquelado */
.coupon-troquelado {
  border: 2px dashed #FF6B35;
  background: #FFF4ED;
  padding: 12px 18px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0;
}
.coupon-code {
  font-family: monospace;
  font-size: 1.15rem;
  font-weight: 800;
  color: #E55A2B;
  letter-spacing: 0.08em;
}
.btn-copy-code {
  background: #FF6B35;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  border: none;
}




/* ==========================================================
   NAVEGACIÓN MÓVIL (HAMBURGUESA, DRAWER Y ACCORDION)
   ========================================================== */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 105;
}
.hamburger-btn .ham-line {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--void-text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger-btn.active .ham-line:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}
.hamburger-btn.active .ham-line:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.active .ham-line:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(85vw, 360px);
  height: 100vh;
  height: 100dvh;
  background: var(--void-surface);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  padding: 20px;
}
.mobile-nav-drawer.open {
  right: 0;
}
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--void-border);
  margin-bottom: 16px;
}
.mobile-nav-close {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--void-text);
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--void-text);
  transition: background 0.15s ease;
}
.mobile-nav-link:hover, .mobile-nav-link.active {
  background: rgba(255, 107, 53, 0.14);
  color: var(--primary);
}
.mobile-accordion-item {
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--void-border);
}
.mobile-accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: none;
  background: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--void-text);
  cursor: pointer;
}
.mobile-accordion-btn .chevron-rot {
  transition: transform 0.25s ease;
}
.mobile-accordion-item.open .chevron-rot {
  transform: rotate(180deg);
}
.mobile-accordion-body {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 6px 12px 12px 28px;
}
.mobile-accordion-item.open .mobile-accordion-body {
  display: flex;
}
.mobile-sublink {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--void-text-muted);
}
.mobile-sublink:hover, .mobile-sublink.active {
  color: var(--primary);
  background: rgba(255, 107, 53, 0.14);
}
.mobile-nav-cta {
  padding-top: 20px;
  border-top: 1px solid var(--void-border);
  margin-top: 20px;
}
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 190;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.mobile-nav-backdrop.open {
  display: block;
  opacity: 1;
}

/* ==========================================================
   SISTEMA RESPONSIVO INTEGRAL (TABLETS & MÓVILES)
   ========================================================== */

@media (max-width: 991px) {
  .desktop-nav {
    display: none !important;
  }
  /* Sin menú hamburguesa en móvil, a propósito — la navegación vive en la
     barra inferior fija (mismo patrón que restaurante/panel/mesero.php),
     para que se sienta como app nativa y no como página web con hamburguesa. */
  .hamburger-btn, .mobile-nav-drawer, .mobile-nav-backdrop {
    display: none !important;
  }
  .site-header {
    padding: 6px 0;
  }
  .nav-wrap {
    justify-content: space-between;
  }
  .brand-logo img {
    height: 62px;
  }
  .mobile-header-cta {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 999px;
  }
  body {
    padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px));
  }
  .bnm-btn:active {
    transform: scale(0.92);
    transition: transform 0.1s ease;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  /* meseros.html trae grid-template-columns:360px 1fr como estilo inline
     (gap:40px); sin esta regla el mockup de teléfono se queda fijo en 360px
     y el texto de al lado se aplasta contra el borde. */
  .meseros-interactive-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
  }
  .features-grid-3, .benefits-grid, .values-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px !important;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }

  /* POS Admin Panel Mockup en Tablet/Móvil — a pedido del dueño (2026-09-28) el
     panel NO se reacomoda (sidebar arriba, contenido abajo): es una herramienta
     de escritorio y reacomodarla "desparrama" la información. En su lugar se
     ve el mockup EXACTO de escritorio (960px de ancho fijo, nunca se reparte
     distinto) reducido con transform:scale al ancho real del celular —
     calculado por initPanelMockupScale() en js/app.js — como una miniatura
     nítida del PC, no una versión "app" reorganizada. El usuario puede hacer
     zoom con los dedos (viewport permite hasta 5x) para leer o tocar más preciso.
     .pos-mockup-scale-holder reserva el alto ya escalado para no dejar hueco. */
  .pos-mockup-scale-holder {
    overflow: hidden;
    width: 100%;
  }
  .desktop-pos-wrapper {
    width: 960px;
    max-width: none;
    transform-origin: top left;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: clip !important;
    width: 100% !important;
    max-width: 100vw !important;
  }
  .hero-video-wrapper {
    margin: 18px 0 24px !important;
  }
  .hero-video-card {
    border-radius: 14px !important;
  }
  .video-top-bar {
    padding: 8px 12px !important;
  }
  .video-title-tag {
    font-size: 0.72rem !important;
  }
  .video-sound-toggle {
    padding: 3px 10px !important;
    font-size: 0.72rem !important;
  }
  .container {
    padding: 0 16px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  h1 {
    font-size: clamp(1.6rem, 6.2vw, 2.2rem) !important;
  }
  h2 {
    font-size: clamp(1.35rem, 5vw, 1.8rem) !important;
  }
  h3 {
    font-size: 1.15rem !important;
  }
  p.lead {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    margin-bottom: 18px !important;
  }
  
  .hero-metrics-bar {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    padding: 12px !important;
  }
  .metric-item {
    font-size: 0.78rem !important;
    gap: 6px !important;
  }
  .metric-icon {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
  }

  .features-grid-3, .benefits-grid, .values-grid, .kds-board {
    grid-template-columns: 1fr !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  /* Subnav Sticky en Móvil */
  .subnav-pills {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 6px !important;
    padding: 6px 0 !important;
  }
  .subnav-pills::-webkit-scrollbar {
    display: none;
  }
  .subnav-pill {
    flex-shrink: 0 !important;
    font-size: 0.78rem !important;
    padding: 6px 12px !important;
  }

  /* Billetes en Móvil */
  .billetes-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .billete-card {
    padding: 8px !important;
  }
  .billete-img-wrap {
    height: 55px !important;
  }

  /* Mesas en Móvil */
  .mesas-grid-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .mesa-tile-btn {
    padding: 10px 6px !important;
  }

  /* Domicilios en Móvil */
  .domi-gps-buttons {
    flex-direction: column !important;
    gap: 6px !important;
  }
  .btn-gps {
    width: 100% !important;
    justify-content: center !important;
  }

  .table-responsive {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  .pwa-install-bar {
    padding: 8px 12px !important;
    font-size: 0.76rem !important;
  }

  /* Smartphone Showcase Mockup 2 en Móvil */
  .iphone-device-frame {
    width: 285px !important;
    height: 550px !important;
    border-radius: 40px !important;
    padding: 10px !important;
  }
  .stage-tabs-nav {
    border-radius: 14px !important;
    padding: 4px !important;
  }
  .stage-tab-btn {
    padding: 8px 10px !important;
    font-size: 0.74rem !important;
  }
  .iphone-nav-arrows {
    left: -12px !important;
    right: -12px !important;
  }
  .iphone-nav-arrows button {
    width: 38px !important;
    height: 38px !important;
  }
}

@media (max-width: 480px) {
  .hero-metrics-bar {
    grid-template-columns: 1fr !important;
  }
  /* Botones "Agendar Demostración de ..." de los paneles CTA de cierre
     (panel/meseros/cocina/domicilios): con nowrap + el padding de 30px del
     panel que los envuelve, el texto largo se sale del viewport en
     teléfonos angostos (320-360px). */
  .btn.btn-abrir-demo {
    white-space: normal;
    text-align: center;
    max-width: 100%;
  }
}

/* ==========================================================
   FORMULARIO DE DEMOSTRACIÓN (WHATSAPP) + BOTÓN FLOTANTE
   Se construyen desde js/app.js (initDemoModal). Formulario en 2 pasos,
   panel de marca a la izquierda y campos a la derecha; sin scroll.
   ========================================================== */
.dm-box [hidden] { display: none !important; }
.dm-box {
  position: relative;
  display: grid;
  grid-template-columns: 340px 1fr;
  width: min(900px, 100%);
  margin: auto;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.12);
  animation: modalPopIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.dm-ico { width: 18px; height: 18px; flex-shrink: 0; }
.dm-ico-sm { width: 16px; height: 16px; }

.dm-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: #F1F5F9;
  color: #475569;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.dm-close:hover { background: #E2E8F0; color: #0F172A; }
.dm-close:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

/* Panel de marca */
.dm-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 30px;
  color: #fff;
  background:
    radial-gradient(440px 340px at 0% 0%, rgba(255, 107, 53, 0.38), transparent 62%),
    radial-gradient(320px 260px at 100% 100%, rgba(34, 211, 238, 0.14), transparent 65%),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(160deg, #0B0F17 0%, #121826 60%, #1B1410 100%);
}
.dm-logo { display: block; width: 172px; height: auto; }
.dm-brand-body { display: flex; flex-direction: column; gap: 16px; }
.dm-kicker {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 138, 92, 0.45);
  background: rgba(255, 107, 53, 0.14);
  color: #FFB08F;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dm-brand h3 {
  margin: 0;
  color: #fff;
  font-size: 1.75rem;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.dm-benefits { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.dm-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #DCE3EE;
  font-size: 0.86rem;
  line-height: 1.35;
}
.dm-check {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.2);
  border: 1px solid rgba(255, 138, 92, 0.5);
  color: #FF9A72;
}
.dm-brand-foot { margin: 0; font-size: 0.78rem; color: var(--void-text-muted); }

/* Formulario Simplificado Un Solo Paso */
.dm-form {
  display: flex;
  flex-direction: column;
  min-height: auto;
  padding: 26px 32px 22px;
  background: #fff;
}
.dm-form-header {
  margin-bottom: 16px;
}
.dm-form-header h4 {
  font-size: 1.18rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 4px;
}
.dm-form-header p {
  font-size: 0.84rem;
  color: #64748B;
  margin: 0;
  line-height: 1.35;
}
.dm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.dm-grid-1 { grid-template-columns: 1fr; }
.dm-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }

.dm-field label {
  display: block;
  margin-bottom: 6px;
  color: #0F172A;
  font-size: 0.8125rem;
  font-weight: 700;
}
.dm-input-wrap { position: relative; }
.dm-ico-in {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748B;
  pointer-events: none;
}
.dm-input-wrap input,
.dm-input-wrap select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1.5px solid #8896AB;
  border-radius: 12px;
  background: #F8FAFC;
  color: #0F172A;
  font: inherit;
  font-size: 16px; /* 16px evita el zoom automático de iOS al enfocar */
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.dm-input-wrap.has-ico input,
.dm-input-wrap.has-ico select { padding-left: 42px; }
.dm-input-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}
.dm-input-wrap input::placeholder { color: #64748B; opacity: 1; }
.dm-input-wrap input:hover,
.dm-input-wrap select:hover { border-color: #F0581F; }
.dm-input-wrap input:focus-visible,
.dm-input-wrap select:focus-visible {
  outline: none;
  border-color: var(--primary);
  background-color: #fff;
  box-shadow: 0 0 0 4px var(--primary-glow);
}
.dm-input-wrap input[aria-invalid="true"],
.dm-input-wrap select[aria-invalid="true"] {
  border-color: #B91C1C;
  background-color: #FEF2F2;
  box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.14);
}
.demo-error {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #FEF2F2;
  color: #B91C1C;
  font-size: 0.85rem;
  font-weight: 600;
}

.dm-actions { display: flex; margin-top: 18px; padding-top: 0; }
.dm-btn-send {
  width: 100%;
  flex: 1;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #F0581F, #C94A18);
  color: #fff;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 16px 30px -12px rgba(240, 88, 31, 0.8);
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}
.dm-btn-send:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 20px 34px -12px rgba(240, 88, 31, 0.9); }
.dm-btn-send:focus-visible { outline: 3px solid #0F172A; outline-offset: 3px; }
.dm-privacy {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  color: #475569;
  font-size: 0.78rem;
}
.dm-privacy .dm-ico { color: #16A34A; }

/* Celular y pantallas angostas: se apila y el panel de marca queda como cabecera */
@media (max-width: 820px) {
  .demo-modal-overlay { padding: 12px; }
  .dm-box { grid-template-columns: 1fr; width: min(520px, 100%); border-radius: 22px; }
  .dm-brand { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 64px 14px 18px; }
  .dm-logo { width: 128px; }
  .dm-brand-body { gap: 0; }
  .dm-kicker, .dm-benefits, .dm-brand-foot { display: none; }
  .dm-brand h3 { font-size: 1.02rem; line-height: 1.25; font-weight: 700; }
  .dm-close { top: 12px; right: 12px; background: rgba(255, 255, 255, 0.14); color: #fff; }
  .dm-close:hover { background: rgba(255, 255, 255, 0.24); color: #fff; }
  .dm-form { min-height: 0; padding: 16px 18px 18px; }
  .dm-grid { grid-template-columns: 1fr; gap: 11px; }
  .dm-grid-3 { gap: 8px; margin-top: 11px; }
  .dm-input-wrap input, .dm-input-wrap select { min-height: 46px; }
  .dm-actions { margin-top: 14px; padding-top: 0; }
  .dm-btn-send { min-height: 50px; }
  .dm-privacy { margin-top: 10px; }
}
@media (max-width: 820px) and (max-height: 640px) {
  .dm-privacy { display: none; }
  .dm-brand { padding-top: 12px; padding-bottom: 10px; }
  .dm-grid { gap: 8px; }
}
@media (min-width: 821px) and (max-height: 680px) {
  .dm-brand { padding: 22px 26px; gap: 14px; }
  .dm-brand h3 { font-size: 1.45rem; }
  .dm-benefits li { padding: 7px 10px; }
  .dm-form { min-height: 0; padding: 20px 28px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .dm-box { animation: none; }
}

/* Botón flotante de WhatsApp (color de marca) */
.wa-fab {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 60px;
  min-width: 60px;
  padding: 0 15px;
  border: none;
  border-radius: 999px;
  /* naranja de marca un punto más profundo para que el ícono y el texto blancos tengan contraste suficiente */
  background: linear-gradient(135deg, #F0581F, #C94A18);
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 28px -6px rgba(255, 107, 53, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
  transition: transform var(--duration-fast, 150ms), box-shadow var(--duration-fast, 150ms);
}
.wa-fab svg { flex-shrink: 0; }
.wa-fab-label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition: max-width 0.3s ease, opacity 0.2s ease, margin-left 0.3s ease;
}
.wa-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--primary);
  opacity: 0;
  animation: waFabPulse 2.6s ease-out infinite;
  pointer-events: none;
}
.wa-fab:hover,
.wa-fab:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -6px rgba(255, 107, 53, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
}
.wa-fab:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (hover: hover) and (min-width: 992px) {
  .wa-fab:hover .wa-fab-label,
  .wa-fab:focus-visible .wa-fab-label {
    max-width: 200px;
    opacity: 1;
    margin-left: 10px;
    margin-right: 4px;
  }
}
@keyframes waFabPulse {
  0% { transform: scale(1); opacity: 0.55; }
  70%, 100% { transform: scale(1.5); opacity: 0; }
}
/* En móvil sube para no tapar la barra inferior de navegación */
@media (max-width: 991px) {
  .wa-fab {
    right: 16px;
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    height: 56px;
    min-width: 56px;
    padding: 0 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wa-fab::before { animation: none; }
  .wa-fab, .wa-fab-label { transition: none; }
}

.dm-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #FFF4ED;
  border: 1px solid #FFD9C4;
  color: #7A2E0E;
}
.dm-callout svg { flex-shrink: 0; margin-top: 2px; color: #C94A18; }
.dm-callout p { margin: 0; font-size: 0.85rem; line-height: 1.5; }
.dm-callout strong { color: #5E230A; }
@media (max-width: 820px) { .dm-callout { display: none; } }
@media (max-width: 820px) and (max-height: 600px) {
  /* teléfonos muy bajos: el título queda solo para lectores de pantalla y todo cabe sin scroll */
  .dm-brand h3 { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .dm-brand { padding-top: 12px; padding-bottom: 8px; }
  .dm-steps { margin-bottom: 10px; }
  .dm-actions { padding-top: 12px; }
}

/* ==========================================================
   TUTORIAL INTERACTIVO DE LOS MOCKUPS (js/tutorial.js)
   Cada guía vive DENTRO del mockup de su rol: el panel administrativo tiene
   un botón de guía en el encabezado de cada pestaña; meseros, cocina y
   domiciliarios tienen una barra de guías dentro de su propia pantalla.
   ========================================================== */
/* Botón de guía en el encabezado de cada pestaña del panel */
.gbt-slot { margin-left: auto; }
.pos-pane-head { flex-wrap: wrap; gap: 10px; }

/* Barra de guías dentro del mockup de un solo rol (mesero, cocina, domiciliario) */
.gbt-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255, 107, 53, 0.08);
  border-bottom: 1px solid rgba(255, 107, 53, 0.22);
}
.kds-monitor-header .gbt-bar { border-bottom: none; border-top: 1px solid rgba(255, 107, 53, 0.22); }
.gbt-bar-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #FF9A72;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-right: 2px;
}

/* El chip de guía (botón que inicia el tutorial) */
.gbt-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 138, 92, 0.55);
  background: transparent;
  color: #FF9A72;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.gbt-chip svg { flex-shrink: 0; }
.gbt-chip:hover { border-color: transparent; background: linear-gradient(135deg, #F0581F, #C94A18); color: #fff; }
.gbt-chip:focus-visible { outline: 3px solid #F0581F; outline-offset: 2px; }
.gbt-chip.is-done { border-color: rgba(16, 185, 129, 0.5); color: #6EE7B7; }
.gbt-chip.is-done:hover { background: linear-gradient(135deg, #10B981, #0D9668); color: #04140d; }
/* Botón sólido dentro de una pestaña clara del panel (fondo blanco) */
.gbt-chip.gbt-chip-solid { border-color: rgba(240, 88, 31, 0.35); background: #FFF4ED; color: #C94A18; }
.gbt-chip.gbt-chip-solid:hover { border-color: transparent; background: linear-gradient(135deg, #F0581F, #C94A18); color: #fff; }
.gbt-chip.gbt-chip-solid.is-done { border-color: rgba(16, 185, 129, 0.4); background: #ECFDF5; color: #0F9D6B; }
.gbt-chip.gbt-chip-solid.is-done:hover { background: linear-gradient(135deg, #10B981, #0D9668); color: #fff; }

/* Capa del tutorial: oscurece, ilumina y explica */
.gbt { position: fixed; inset: 0; z-index: 2147483000; pointer-events: none; font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
.gbt *, .gbt *::before, .gbt *::after { box-sizing: border-box; }
.gbt-b { position: fixed; background: rgba(6, 8, 13, 0.78); pointer-events: auto; transition: left 0.3s ease, top 0.3s ease, width 0.3s ease, height 0.3s ease; }
.gbt-cover { position: fixed; pointer-events: auto; background: transparent; cursor: not-allowed; }
.gbt-ring {
  position: fixed;
  border: 3px solid #FF6B35;
  border-radius: 14px;
  box-shadow: 0 0 0 6px rgba(255, 107, 53, 0.28);
  pointer-events: none;
  transition: left 0.3s ease, top 0.3s ease, width 0.3s ease, height 0.3s ease;
}
.gbt-ring::after { content: ""; position: absolute; inset: -3px; border-radius: 14px; border: 3px solid #FF6B35; animation: gbtPulso 1.6s ease-out infinite; }
@keyframes gbtPulso { from { opacity: 0.8; transform: scale(1); } to { opacity: 0; transform: scale(1.1); } }
.gbt-globo {
  position: fixed;
  pointer-events: auto;
  padding: 18px 18px 12px;
  border-radius: 18px;
  background: #fff;
  color: #0F172A;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.75);
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  transition: left 0.3s ease, top 0.3s ease;
}
.gbt-paso { display: inline-flex; padding: 3px 10px; border-radius: 999px; background: #FFE9DD; color: #B8410F; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.gbt-globo h5 { margin: 8px 34px 6px 0; font-family: 'Bricolage Grotesque', 'Figtree', sans-serif; font-size: 1.1rem; font-weight: 800; line-height: 1.25; color: #0F172A; }
.gbt-globo p { margin: 0 0 12px; color: #334155; font-size: 0.9rem; line-height: 1.5; }
.gbt-tip { display: grid; grid-template-columns: 20px 1fr; gap: 8px; margin-bottom: 12px; padding: 8px 10px; border-radius: 10px; background: #E8F0FE; color: #1E3A8A; font-size: 0.8rem; line-height: 1.4; }
.gbt-aviso { margin-bottom: 12px; padding: 8px 10px; border-radius: 10px; background: #FEF1DC; color: #7A4A06; font-size: 0.8rem; line-height: 1.4; }
.gbt-barra { display: flex; gap: 5px; margin-bottom: 12px; }
.gbt-barra i { flex: 1; height: 5px; border-radius: 999px; background: #E2E8F0; }
.gbt-barra i.h { background: #F0581F; }
.gbt-pie { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gbt-x { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 12px; background: transparent; color: #64748B; cursor: pointer; }
.gbt-x:hover { background: #F1F5F9; }
.gbt-btn { min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1.5px solid #CBD5E1; background: #fff; color: #0F172A; font: inherit; font-size: 0.85rem; font-weight: 700; cursor: pointer; }
.gbt-btn:hover { border-color: #F0581F; }
.gbt-btn.pri { margin-left: auto; border-color: transparent; background: linear-gradient(135deg, #F0581F, #C94A18); color: #fff; }
.gbt-btn[disabled] { opacity: 0.4; cursor: default; }
.gbt-saltar { min-height: 44px; padding: 0 6px; border: 0; background: transparent; color: #475569; font: inherit; font-size: 0.8rem; font-weight: 600; text-decoration: underline; cursor: pointer; }
.gbt-globo button:focus-visible { outline: 3px solid #F0581F; outline-offset: 2px; }
.gbt-ok { display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 6px; border-radius: 50%; background: #10B981; color: #04140d; }
@media (max-width: 700px) {
  .gbt-globo { left: 12px !important; right: 12px; width: auto !important; padding: 16px 14px 10px; }
  .gbt-btn.pri { margin-left: 0; flex: 1 1 100%; order: 3; }
}
@media (prefers-reduced-motion: reduce) {
  .gbt-b, .gbt-ring, .gbt-globo, .gbt-card { transition: none; }
  .gbt-ring::after { animation: none; }
}

/* ==========================================================
   PÁGINA DE PLANES Y PRECIOS (planes.html)
   ========================================================== */
.pricing-toggle {
  display: flex;
  justify-content: center;
  gap: 6px;
  max-width: 480px;
  margin: 0 auto;
  padding: 6px;
  background: var(--light-bg);
  border: 1px solid var(--border-light);
  border-radius: 999px;
}
.pricing-toggle-btn {
  position: relative;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  white-space: nowrap;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.pricing-toggle-btn.is-active {
  background: #fff;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}
.pricing-toggle-btn:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.pricing-toggle-badge {
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  color: #0F9D6B;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.pricing-toggle-btn:not(.is-active) .pricing-toggle-badge { background: rgba(16, 185, 129, 0.12); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  background: #fff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(255, 107, 53, 0.35); }
.pricing-card.is-featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  transform: scale(1.035);
  z-index: 1;
}
.pricing-card.is-featured:hover { transform: scale(1.035) translateY(-4px); }
.pricing-card-ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 18px -4px rgba(255, 107, 53, 0.55);
}
.pricing-card-head { text-align: center; margin-bottom: 20px; }
.pricing-card-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--primary-light);
  color: var(--primary-dark);
}
.pricing-card-icon svg { width: 26px; height: 26px; }
.is-featured .pricing-card-icon { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; }
.pricing-card-head h2 { font-size: 1.25rem; margin-bottom: 8px; }
.pricing-card-head p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.5; min-height: 42px; }

.pricing-price { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin-bottom: 4px; }
.pricing-price-amount { font-family: 'Bricolage Grotesque', sans-serif; font-size: 2.1rem; font-weight: 800; color: var(--text-main); }
.pricing-price-period { font-size: 0.8rem; font-weight: 700; color: var(--text-muted); }
.pricing-price-note {
  min-height: 18px;
  margin: 0 0 18px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0F9D6B;
}
.pricing-price-note[hidden] { display: none; }
.pricing-price:not(:has(+ .pricing-price-note:not([hidden]))) { margin-bottom: 22px; }

.pricing-features { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; flex: 1; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text-main); line-height: 1.4; }
.pricing-features li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: #0F9D6B; }

.pricing-compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border-light); box-shadow: var(--shadow-sm); }
.pricing-compare { width: 100%; min-width: 560px; border-collapse: collapse; background: #fff; }
.pricing-compare th, .pricing-compare td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--border-light); font-size: 0.88rem; }
.pricing-compare thead th { background: var(--light-bg); color: var(--text-main); font-weight: 800; }
.pricing-compare tbody th { text-align: left; font-weight: 700; color: var(--text-main); }
.pricing-compare tbody tr:last-child th, .pricing-compare tbody tr:last-child td { border-bottom: none; }
.pricing-compare td.is-yes svg { width: 20px; height: 20px; color: #0F9D6B; }
.pricing-compare td.is-no { color: #CBD5E1; font-weight: 800; }

.dataphone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dataphone-card {
  padding: 26px 24px;
  background: #fff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.dataphone-card.is-note { background: var(--light-bg); border-style: dashed; }
.dataphone-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(34, 211, 238, 0.12);
  color: var(--accent-cyan);
}
.dataphone-card.is-note .dataphone-icon { background: rgba(100, 116, 139, 0.14); color: #64748B; }
.dataphone-icon svg { width: 24px; height: 24px; }
.dataphone-tag { display: inline-block; margin-bottom: 8px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; color: var(--primary-dark); }
.dataphone-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.dataphone-card p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.55; }

@media (max-width: 991px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.is-featured { transform: none; order: -1; }
  .pricing-card.is-featured:hover { transform: translateY(-4px); }
  .dataphone-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .pricing-toggle { flex-direction: column; border-radius: 20px; }
  .pricing-toggle-btn { flex-direction: row; }
}

/* ==========================================================
   TABLA "QUÉ INCLUYE" POR MÓDULO (panel, meseros, cocina, domicilios)
   Extraída línea a línea del centro de ayuda real de la aplicación,
   para que el cliente sepa exactamente qué está comprando.
   ========================================================== */
.feature-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.feature-table { width: 100%; min-width: 620px; border-collapse: collapse; background: #fff; }
.feature-table th, .feature-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border-light); font-size: 0.87rem; vertical-align: top; }
.feature-table thead th { background: var(--light-bg); color: var(--text-main); font-weight: 800; white-space: nowrap; }
.feature-table tbody tr:last-child td { border-bottom: none; }
.feature-table td.feature-cat {
  width: 170px;
  font-weight: 800;
  color: var(--primary-dark);
  background: var(--primary-light);
  border-right: 1px solid var(--border-light);
}
.feature-table td.feature-name { width: 220px; font-weight: 700; color: var(--text-main); }
.feature-table td.feature-desc { color: var(--text-muted); line-height: 1.55; }
/* TABLAS DE FUNCIONALIDADES: SIEMPRE HORIZONTAL CON DESPLAZAMIENTO SUAVE
   A pedido del dueño: NO se apila en tarjetas, se mantiene exactamente horizontal */
.feature-table-wrap {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  background: #fff;
  margin: 20px 0;
}
.feature-table {
  min-width: 650px !important;
  width: 100%;
  border-collapse: collapse;
}

/* ==========================================================
   PRICING BILLING TOGGLE (UI/UX PRO MAX - HIGH CONTRAST)
   ========================================================== */
.billing-toggle-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0B1120;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  padding: 8px 20px;
  gap: 16px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.12);
  margin: 26px auto 0;
  transition: all 0.25s ease;
}
.billing-toggle-container:hover {
  border-color: rgba(240, 88, 31, 0.4);
  box-shadow: 0 12px 30px -5px rgba(240, 88, 31, 0.2);
}
.billing-toggle-label {
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #94A3B8;
}
.billing-toggle-label.active {
  color: #FFFFFF !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.billing-toggle-label.inactive {
  color: #64748B !important;
}
.billing-toggle-label:hover {
  color: #E2E8F0;
}
.billing-switch {
  position: relative;
  display: inline-block;
  width: 58px;
  height: 32px;
  flex-shrink: 0;
}
.billing-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.billing-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 34px;
}
.billing-slider::before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 3px;
  bottom: 3px;
  background-color: #FFFFFF;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.billing-switch input:focus-visible + .billing-slider {
  outline: 3px solid #F0581F;
  outline-offset: 2px;
}
.billing-switch input:checked + .billing-slider {
  background-color: #F0581F;
  border-color: #F0581F;
  box-shadow: 0 0 16px rgba(240, 88, 31, 0.6);
}
.billing-switch input:checked + .billing-slider::before {
  transform: translateX(26px);
}
.discount-pill {
  background: linear-gradient(135deg, #10B981, #059669);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================
   MODAL DE PAGO OFICIAL IMPULSOWEB (1:1 FIDELIDAD)
   ========================================================== */
.iw-pay-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
}
.iw-pay-overlay.active {
  opacity: 1;
  visibility: visible;
}
.iw-pay-modal {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 24px;
  width: 100%;
  max-width: 580px;
  max-height: 92vh;
  max-height: 92dvh;
  overflow-y: auto;
  box-shadow: 0 25px 70px -10px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.05);
  transform: translateY(22px) scale(0.97);
  transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  box-sizing: border-box;
}
.iw-pay-overlay.active .iw-pay-modal {
  transform: translateY(0) scale(1);
}
.iw-pay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid #E2E8F0;
  position: sticky;
  top: 0;
  background: #FFFFFF;
  z-index: 10;
}
.iw-pay-title-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.iw-pay-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #059669;
  display: flex;
  align-items: center;
  gap: 6px;
}
.iw-pay-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  font-family: 'Figtree', sans-serif;
}
.iw-pay-close {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #64748B;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}
.iw-pay-close:hover {
  background: #E2E8F0;
  color: #0F172A;
  transform: scale(1.05);
}
.iw-pay-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Selector de Fases / Hitos */
.iw-milestone-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 16px;
}
.iw-milestone-label {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #475569;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.iw-milestone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.iw-milestone-btn {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 6px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.iw-milestone-btn:hover {
  border-color: #F59E0B;
  background: #FFFBEB;
}
.iw-milestone-btn.active {
  background: #FFFBEB !important;
  border-color: #F59E0B !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
}
.iw-m-pct {
  font-size: 1.15rem;
  font-weight: 800;
  color: #D97706;
}
.iw-m-tag {
  font-size: 0.72rem;
  color: #64748B;
  font-weight: 600;
  line-height: 1.2;
}
.iw-m-val {
  font-size: 0.85rem;
  font-weight: 800;
  color: #0F172A;
}

/* Opcional: Selector de Implementación para Planes Mensuales */
.iw-impl-toggle-box {
  background: #FFFBEB;
  border: 1.5px solid #FDE68A;
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.iw-impl-toggle-box:hover {
  border-color: #F59E0B;
}
.iw-impl-toggle-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.iw-impl-toggle-left input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #D97706;
  cursor: pointer;
}
.iw-impl-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #92400E;
}
.iw-impl-sub {
  font-size: 0.74rem;
  color: #B45309;
}
.iw-impl-price {
  font-size: 0.88rem;
  font-weight: 800;
  color: #92400E;
  white-space: nowrap;
}

/* Resumen de Precios Abono */
.iw-price-summary {
  background: #F0F7FF;
  border: 1px solid #BAE6FD;
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.iw-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.iw-price-main-lbl {
  font-size: 0.95rem;
  font-weight: 700;
  color: #334155;
}
.iw-price-main-val {
  font-size: 1.65rem;
  font-weight: 900;
  color: #0F172A;
  font-family: 'Figtree', sans-serif;
}
.iw-price-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid #E0F2FE;
  font-size: 0.78rem;
}
.iw-fee-chip-free {
  color: #0284C7;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.iw-fee-chip-gateway {
  color: #64748B;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.iw-fee-chip-free strong, .iw-fee-chip-gateway strong {
  font-weight: 800;
  color: #0F172A;
  font-size: 0.88rem;
}

/* Etiqueta Métodos */
.iw-methods-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.iw-methods-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #E2E8F0;
}

/* Métodos de Pago Cards */
.iw-payment-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.iw-payment-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.22s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}
.iw-payment-card:hover {
  transform: translateY(-2px);
  border-color: #CBD5E1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* Tarjeta Recomendada: Datáfono Bold & QR Bre-B */
.iw-card-recommended {
  border: 2px solid #0052FF !important;
  border-radius: 14px !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  box-shadow: 0 6px 20px rgba(0, 82, 255, 0.12);
}
.iw-card-rec-header {
  background: #0052FF;
  color: #FFFFFF;
  padding: 6px 18px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}
.iw-card-rec-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.iw-card-rec-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 18px;
  box-sizing: border-box;
  background: #FFFFFF;
}

.iw-card-left {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}
.iw-logo-box {
  width: 68px;
  height: 44px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 6px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}
.iw-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.iw-card-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.iw-card-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.iw-card-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.25;
}
.iw-card-subtitle {
  font-size: 0.74rem;
  color: #64748B;
  line-height: 1.25;
}
.iw-pill-list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.iw-pill {
  font-size: 0.66rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #475569;
}

/* Columna Derecha de Tarifas y CTA */
.iw-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
  text-align: right;
}
.iw-badge-commission {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.70rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}
.iw-badge-commission.zero {
  background: #DCFCE7;
  color: #15803D;
  border: 1px solid #86EFAC;
}
.iw-badge-commission.surcharge {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}
.iw-card-amount {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0F172A;
}
.iw-arrow-indicator {
  font-size: 0.76rem;
  font-weight: 700;
  color: #0052FF;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: transform 0.2s ease;
}
.iw-payment-card:hover .iw-arrow-indicator {
  transform: translateX(3px);
}

.iw-pay-footer {
  padding: 12px 24px 20px;
  font-size: 0.74rem;
  color: #64748B;
  line-height: 1.5;
  text-align: center;
  border-top: 1px solid #E2E8F0;
}

/* ── MODAL VISOR QR BOLD SONOS (0% RECARGO) ── */
.iw-qr-modal {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  width: 94vw;
  max-width: 580px;
  max-height: 92vh;
  box-shadow: 0 35px 85px -10px rgba(0, 0, 0, 0.4);
  display: none;
  flex-direction: column;
  overflow-y: auto;
  position: relative;
  box-sizing: border-box;
}
.iw-qr-topbar {
  background: #F8FAFC;
  padding: 14px 20px;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-shrink: 0;
}
.iw-inpage-back {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #0F172A;
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.iw-inpage-back:hover {
  background: #F1F5F9;
  border-color: #94A3B8;
}
.iw-qr-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.iw-qr-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.iw-qr-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
}
.iw-qr-desc {
  font-size: 0.85rem;
  color: #64748B;
  margin: 0;
  max-width: 460px;
  line-height: 1.45;
}
.iw-qr-amount-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #DCFCE7;
  border: 1px solid #86EFAC;
  color: #15803D;
  font-size: 1rem;
  font-weight: 800;
  padding: 7px 18px;
  border-radius: 30px;
  margin-top: 4px;
}
.iw-qr-img-box {
  background: #FFFFFF;
  padding: 12px;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.iw-qr-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  display: block;
}
.iw-qr-actions {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-top: 8px;
  flex-wrap: wrap;
}
.iw-qr-actions > * {
  flex: 1;
  min-width: 140px;
}

@media (max-width: 600px) {
  .iw-pay-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .iw-pay-modal, .iw-qr-modal, .iw-inpage-modal {
    border-radius: 20px 20px 0 0 !important;
    max-height: 92vh !important;
  }
  .iw-milestone-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
  }
  .iw-milestone-btn {
    padding: 8px 4px;
  }
  .iw-m-pct {
    font-size: 1rem;
  }
  .iw-m-tag {
    font-size: 0.65rem;
  }
  .iw-m-val {
    font-size: 0.74rem;
  }
  .iw-card-rec-body, .iw-payment-card {
    padding: 12px 14px;
  }
}

/* ── MARCO FLOTANTE IN-PAGE CHECKOUT ONLINE (BOLD & dLOCAL GO) ── */
.iw-inpage-modal {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 22px;
  width: 96vw;
  max-width: 1060px;
  height: 92vh;
  height: 92dvh;
  max-height: 960px;
  box-shadow: 0 35px 85px -10px rgba(0, 0, 0, 0.4);
  display: none;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
  animation: iwInpagePop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes iwInpagePop {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.iw-inpage-topbar {
  background: #F8FAFC;
  padding: 12px 20px;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.iw-inpage-security {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #10B981;
}

.iw-inpage-security svg {
  width: 16px;
  height: 16px;
}

.iw-inpage-gateway {
  font-size: 0.76rem;
  color: #475569;
  background: #F1F5F9;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.iw-inpage-external {
  background: rgba(240, 88, 31, 0.12);
  border: 1px solid rgba(240, 88, 31, 0.3);
  color: #F0581F;
  padding: 7px 14px;
  border-radius: 9px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.iw-inpage-external:hover {
  background: #F0581F;
  border-color: #F0581F;
  color: #FFFFFF;
}

.iw-inpage-body {
  flex: 1;
  width: 100%;
  height: calc(100% - 58px);
  display: flex;
  flex-direction: column;
  position: relative;
  background: #FFFFFF;
  overflow: hidden;
}

.iw-inpage-body iframe {
  width: 100%;
  height: 100%;
  flex: 1;
  border: none;
  display: block;
  background: #FFFFFF;
}

.iw-inpage-loader {
  position: absolute;
  inset: 0;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 10;
}

.iw-spinner-lg {
  width: 36px;
  height: 36px;
  border: 3.5px solid #E2E8F0;
  border-radius: 50%;
  border-top-color: #F0581F;
  animation: iwSpin 0.7s linear infinite;
}

@keyframes iwSpin {
  to { transform: rotate(360deg); }
}

.iw-loader-txt {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0F172A;
}

.iw-loader-sub {
  font-size: 0.76rem;
  color: #64748B;
}

.iw-btn-loading {
  opacity: 0.65;
  pointer-events: none;
  filter: grayscale(40%);
}

/* ==============================================================================
   GASTROBAR.CLICK — COMPONENTES DE ALCANCE TECNOLÓGICO Y FUNCIONALIDADES
   Web Adaptable (PC / Móvil Rappi) + Facturación Electrónica DIAN + 16 Módulos
   ============================================================================== */

/* 1. SECCIÓN WEB ADAPTABLE (PC Web vs Móvil Web App Rappi) */
.gb-adaptive-container {
  margin: 48px auto;
}

.gb-adaptive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 28px;
}

@media (max-width: 860px) {
  .gb-adaptive-grid {
    grid-template-columns: 1fr;
  }
}

.gb-adaptive-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gb-adaptive-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
}

.gb-adaptive-card.highlight {
  border-color: #FF6B35;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF9F6 100%);
}

.gb-adaptive-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.gb-adaptive-badge.pc {
  background: rgba(59, 130, 246, 0.12);
  color: #2563EB;
}

.gb-adaptive-badge.mobile {
  background: rgba(255, 107, 53, 0.14);
  color: #E55A2B;
}

.gb-adaptive-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 12px;
  line-height: 1.25;
}

.gb-adaptive-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
}

.gb-adaptive-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gb-adaptive-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.45;
}

.gb-adaptive-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.gb-rappi-callout {
  background: #FFF1EB;
  border: 1px dashed #FF6B35;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
  color: #9A3412;
  font-weight: 600;
}

/* 2. TARJETA / BANNER DIAN FACTURACIÓN ELECTRÓNICA */
.gb-dian-banner {
  background: linear-gradient(135deg, #0B1728 0%, #132238 60%, #0F1D30 100%);
  border: 1.5px solid rgba(59, 130, 246, 0.35);
  border-radius: 22px;
  padding: 34px 30px;
  margin: 40px auto;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px -8px rgba(11, 23, 40, 0.4);
}

.gb-dian-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(59, 130, 246, 0.45);
  color: #93C5FD;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 14px;
}

.gb-dian-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.3;
}

.gb-dian-text {
  font-size: 0.94rem;
  color: #CBD5E1;
  line-height: 1.65;
  max-width: 900px;
  margin-bottom: 22px;
}

.gb-dian-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.gb-dian-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.gb-dian-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.2);
  color: #60A5FA;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gb-dian-item-content h4 {
  font-size: 0.92rem;
  color: #FFFFFF;
  font-weight: 700;
  margin-bottom: 4px;
}

.gb-dian-item-content p {
  font-size: 0.82rem;
  color: #94A3B8;
  line-height: 1.45;
  margin: 0;
}

/* 3. GRILLA COMPLETA DE 16 FUNCIONALIDADES */
.gb-features-16-wrapper {
  margin: 50px auto;
}

.gb-features-16-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.gb-feat-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.gb-feat-card:hover {
  transform: translateY(-3px);
  border-color: #CBD5E1;
  box-shadow: var(--shadow-md);
}

.gb-feat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.gb-feat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gb-feat-icon.orange { background: rgba(255, 107, 53, 0.12); color: #FF6B35; }
.gb-feat-icon.blue { background: rgba(59, 130, 246, 0.12); color: #3B82F6; }
.gb-feat-icon.emerald { background: rgba(16, 185, 129, 0.12); color: #10B981; }
.gb-feat-icon.purple { background: rgba(168, 85, 247, 0.12); color: #A855F7; }
.gb-feat-icon.amber { background: rgba(245, 158, 11, 0.12); color: #D97706; }
.gb-feat-icon.cyan { background: rgba(6, 182, 212, 0.12); color: #0891B2; }
.gb-feat-icon.slate { background: rgba(71, 85, 105, 0.12); color: #475569; }

.gb-feat-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  line-height: 1.25;
}

.gb-feat-desc {
  font-size: 0.86rem;
  color: #64748B;
  line-height: 1.55;
  margin: 0;
}

/* 4. TABLA COMPARATIVA (PLANES vs 16 FUNCIONALIDADES)
   A pedido del dueño: estrictamente horizontal, 4 columnas íntegras sin deformar */
.gb-table-scroll-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-radius: 99px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  margin: 0 auto 16px;
  width: fit-content;
}
@media (max-width: 768px) {
  .gb-table-scroll-hint {
    display: flex;
  }
}

.gb-matrix-container {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  margin-top: 16px;
}

.gb-matrix-table {
  width: 100%;
  min-width: 760px !important; /* Estricto horizontal: NUNCA se deforma en móvil */
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.gb-matrix-table th {
  padding: 18px 20px;
  background: #F8FAFC;
  color: #0F172A;
  font-weight: 800;
  border-bottom: 2px solid #E2E8F0;
  white-space: nowrap;
}

.gb-matrix-table th.center,
.gb-matrix-table td.center {
  text-align: center;
}

.gb-matrix-table th.highlight-col,
.gb-matrix-table td.highlight-col {
  background: #FFF7F3;
  color: #0F172A;
}

.gb-matrix-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #F1F5F9;
  color: #334155;
  vertical-align: middle;
}

.gb-matrix-table tr:last-child td {
  border-bottom: none;
}

.gb-matrix-table tr:hover td {
  background: #F8FAFC;
}

.gb-matrix-table tr:hover td.highlight-col {
  background: #FFEDE5;
}

.gb-check-icon {
  width: 20px;
  height: 20px;
  color: #059669;
  display: inline-block;
  vertical-align: middle;
}

.gb-cross-icon {
  width: 20px;
  height: 20px;
  color: #CBD5E1;
  display: inline-block;
  vertical-align: middle;
}

/* 5. CUOTAS DE USUARIOS Y DISPOSITIVOS INCLUIDOS */
.gb-quota-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 14px 16px;
  margin: 18px 0;
  text-align: left;
}

.gb-quota-box.highlight {
  border-color: rgba(255,107,53,0.35);
  background: #FFF9F6;
}

.gb-quota-box-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.gb-quota-box.highlight .gb-quota-box-title {
  color: var(--primary);
}

.gb-quota-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.gb-quota-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0F172A;
}

.gb-quota-pill strong {
  color: var(--primary);
  font-weight: 800;
}

.gb-quota-pill.primary {
  border-color: rgba(255,107,53,0.3);
  background: #FFFFFF;
  color: #0F172A;
}

.gb-quota-extra {
  font-size: 0.77rem;
  color: #64748B;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.4;
  margin-top: 6px;
}

.gb-quota-box.highlight .gb-quota-extra {
  color: #9A3412;
}

.gb-quota-banner {
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 20px;
  padding: 24px 28px;
  margin: 30px 0;
}
/* ==========================================================
   SIMULADOR INTERACTIVO DEL PANEL ADMINISTRATIVO
   Ajuste equilibrado: contenedor estándar, alta fidelidad
   ========================================================== */
.panel-simulator-wrapper {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1.5px solid #2F2722;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  background: #14110F;
}

.panel-simulator-toolbar {
  background: #1C1714;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #2F2722;
  gap: 12px;
}

.panel-simulator-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-simulator-dots .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.panel-simulator-dots .dot.red { background: #EF4444; }
.panel-simulator-dots .dot.yellow { background: #F59E0B; }
.panel-simulator-dots .dot.green { background: #10B981; }

.panel-simulator-title {
  color: #F1F5F9;
  font-size: 0.82rem;
  font-weight: 600;
  margin-left: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.panel-simulator-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-panel-fullscreen {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  background: rgba(255,107,53,0.15);
  border: 1px solid rgba(255,107,53,0.35);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-panel-fullscreen:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

/* SECCIÓN ANCHA PARA SIMULADOR EN VIVO (16:9 UI/UX PRO MAX) */
.panel-simulator-section-wide {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.panel-simulator-header-wrap {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 24px auto;
}

.panel-simulator-scale-box {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #0E0C0B;
}

.panel-simulator-frame {
  width: 1440px;
  height: 810px;
  position: relative;
  background: #0E0C0B;
  transform-origin: top left;
}

.panel-simulator-frame iframe {
  width: 1440px;
  min-width: 1440px;
  height: 810px;
  border: none;
  display: block;
}

@media (max-width: 991px) {
  .panel-simulator-section-wide {
    padding: 0 12px;
    margin-bottom: 40px;
  }
  .panel-simulator-scale-box {
    overflow: hidden !important;
  }
  .panel-simulator-frame {
    width: 1440px !important;
    height: 810px !important;
    overflow: hidden !important;
  }
  .panel-simulator-frame iframe {
    width: 1440px !important;
    min-width: 1440px !important;
    height: 810px !important;
  }
}

@media (max-width: 768px) {
  .panel-simulator-title {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .panel-simulator-toolbar {
    padding: 8px 12px;
  }
  .panel-simulator-title {
    display: none;
  }
}

/* CÁPSULA GEO ÚNICA COLAPSIBLE (EN INDEX.HTML) - UI/UX PRO MAX ANTI-DESBORDE */
details.answer-capsule-box {
  padding: 0 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 1080px !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  border: 1.5px solid var(--primary) !important;
  background: #FFFFFF !important;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.08) !important;
  margin: 36px auto !important;
}
details.answer-capsule-box summary.capsule-header {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
  padding: 16px 20px;
  background: #FFF9F6;
  border-bottom: 1px solid rgba(255, 107, 53, 0.12);
  margin-bottom: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  gap: 12px;
}
details.answer-capsule-box summary.capsule-header::-webkit-details-marker {
  display: none;
}
.capsule-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.35;
}
.capsule-header-title svg {
  flex-shrink: 0;
}
.capsule-toggle-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(255, 107, 53, 0.12);
  border: 1px solid rgba(255, 107, 53, 0.25);
  padding: 4px 10px;
  border-radius: 99px;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
}
.capsule-toggle-hint .hint-arrow {
  transition: transform 0.25s ease;
}
details[open] .capsule-toggle-hint .hint-arrow {
  transform: rotate(180deg);
}
details.answer-capsule-box .capsule-body {
  padding: 20px 22px 22px;
  background: #FFFFFF;
  box-sizing: border-box !important;
  width: 100% !important;
}
details.answer-capsule-box .capsule-content {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #334155;
  margin: 0;
}
@media (max-width: 640px) {
  details.answer-capsule-box {
    margin: 24px auto !important;
    border-radius: 14px !important;
  }
  details.answer-capsule-box summary.capsule-header {
    padding: 12px 14px !important;
    gap: 8px !important;
  }
  .capsule-header-title {
    font-size: 0.84rem !important;
    gap: 6px !important;
  }
  .capsule-header-title svg {
    width: 16px !important;
    height: 16px !important;
  }
  .capsule-toggle-hint {
    font-size: 0.7rem !important;
    padding: 3px 7px !important;
    gap: 4px !important;
  }
  details.answer-capsule-box .capsule-body {
    padding: 14px 14px 16px !important;
  }
  details.answer-capsule-box .capsule-content {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
  }
}

/* ==========================================================
   14 MÓDULOS EN FORMATO ACORDEÓN INDIVIDUAL (PANEL.HTML)
   UI/UX PRO MAX - Colapso limpio por módulo con icono y título
   ========================================================== */
.gb-mod-accordion-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

@media (min-width: 900px) {
  .gb-mod-accordion-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    align-items: start;
  }
}

.gb-mod-acc {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.gb-mod-acc:hover {
  border-color: #CBD5E1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}

.gb-mod-acc[open] {
  border-color: rgba(240, 88, 31, 0.45);
  box-shadow: 0 6px 18px rgba(240, 88, 31, 0.1);
}

.gb-mod-acc-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  background: #F8FAFC;
  transition: background 0.2s ease;
  gap: 12px;
}

.gb-mod-acc-summary::-webkit-details-marker {
  display: none;
}

.gb-mod-acc:hover .gb-mod-acc-summary {
  background: #F1F5F9;
}

.gb-mod-acc[open] .gb-mod-acc-summary {
  background: #FFF7F3;
  border-bottom: 1px solid #FED7AA;
}

.gb-mod-acc-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.gb-mod-acc-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gb-mod-acc-icon.orange { background: rgba(240, 88, 31, 0.12); color: #F0581F; }
.gb-mod-acc-icon.blue { background: rgba(59, 130, 246, 0.12); color: #3B82F6; }
.gb-mod-acc-icon.emerald { background: rgba(16, 185, 129, 0.12); color: #10B981; }
.gb-mod-acc-icon.green { background: rgba(34, 197, 94, 0.12); color: #16A34A; }
.gb-mod-acc-icon.orange-dark { background: rgba(234, 88, 12, 0.12); color: #EA580C; }
.gb-mod-acc-icon.sky { background: rgba(14, 165, 233, 0.12); color: #0EA5E9; }
.gb-mod-acc-icon.purple { background: rgba(168, 85, 247, 0.12); color: #9333EA; }
.gb-mod-acc-icon.pink { background: rgba(236, 72, 153, 0.12); color: #DB2777; }
.gb-mod-acc-icon.blue-dark { background: rgba(37, 99, 235, 0.12); color: #2563EB; }
.gb-mod-acc-icon.amber { background: rgba(217, 119, 6, 0.12); color: #D97706; }
.gb-mod-acc-icon.slate { background: rgba(71, 85, 105, 0.12); color: #475569; }
.gb-mod-acc-icon.indigo { background: rgba(99, 102, 241, 0.12); color: #6366F1; }
.gb-mod-acc-icon.teal { background: rgba(20, 184, 166, 0.12); color: #0D9488; }
.gb-mod-acc-icon.rose { background: rgba(244, 63, 94, 0.12); color: #E11D48; }

.gb-mod-acc-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  line-height: 1.35;
}

.gb-mod-acc-chevron {
  width: 18px;
  height: 18px;
  color: #64748B;
  transition: transform 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}

.gb-mod-acc[open] .gb-mod-acc-chevron {
  transform: rotate(180deg);
  color: #F0581F;
}

.gb-mod-acc-body {
  padding: 16px 20px 18px;
  background: #FFFFFF;
}

.gb-mod-acc-body p {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================
   MOCKUP 1: SMART ACCORDIONS CATEGORIZADOS PARA MÓVIL
   UI/UX PRO MAX - Responsivo iOS & Android
   ========================================================== */
.gb-smart-accordion-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.gb-accordion-card {
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.gb-accordion-card[open] {
  border-color: rgba(255, 107, 53, 0.45);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.12);
}

.gb-accordion-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  background: #111C33;
  transition: background-color 0.2s ease;
  min-height: 52px;
}

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

.gb-accordion-summary:hover {
  background: #162444;
}

.gb-acc-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gb-acc-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gb-acc-icon.orange { background: rgba(255, 107, 53, 0.18); color: #FF6B35; }
.gb-acc-icon.emerald { background: rgba(16, 185, 129, 0.18); color: #10B981; }
.gb-acc-icon.blue { background: rgba(59, 130, 246, 0.18); color: #3B82F6; }
.gb-acc-icon.purple { background: rgba(168, 85, 247, 0.18); color: #C084FC; }

.gb-acc-title-wrap {
  text-align: left;
}

.gb-acc-title {
  font-family: var(--font-heading, 'Sora', sans-serif);
  font-size: 1.12rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.25;
}

.gb-acc-subtitle {
  font-size: 0.78rem;
  color: #94A3B8;
  margin-top: 3px;
}

.gb-acc-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gb-acc-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 107, 53, 0.15);
  color: #FF8C5A;
  border: 1px solid rgba(255, 107, 53, 0.25);
  white-space: nowrap;
}

.gb-acc-chevron {
  width: 22px;
  height: 22px;
  stroke: #CBD5E1;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.gb-accordion-card[open] .gb-acc-chevron {
  transform: rotate(180deg);
  stroke: #FF6B35;
}

.gb-accordion-body {
  padding: 18px 20px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0B1120;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.gb-subfeature-card {
  background: #111A2E;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.gb-subfeature-card:hover {
  border-color: rgba(255, 107, 53, 0.3);
  transform: translateY(-2px);
}

.gb-subfeature-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gb-subfeature-num {
  font-size: 0.72rem;
  font-weight: 800;
  color: #FF8C5A;
  background: rgba(255, 107, 53, 0.12);
  padding: 2px 7px;
  border-radius: 6px;
}

.gb-subfeature-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.gb-subfeature-desc {
  font-size: 0.84rem;
  color: #E2E8F0;
  line-height: 1.55;
  margin: 0;
}

/* Canales de Venta - Estilo de Alto Contraste */
.gb-canales-card {
  background: #111A2E;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  transition: transform 0.2s, border-color 0.2s;
}

.gb-canales-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 107, 53, 0.35);
}

.gb-canales-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.gb-canales-card p {
  color: #F1F5F9;
  font-size: 0.86rem;
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================
   SUPERFICIES ESPECIALIZADAS: RESPONSIVO DESKTOP & MÓVIL
   En Desktop: 4 columnas paralelas elegantes.
   En Móvil iOS & Android: Acordeones colapsables compactos para erradicar el chorrero.
   ========================================================== */
.gb-surfaces-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.gb-surface-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.gb-surface-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 107, 53, 0.3);
}

.gb-surface-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  cursor: default;
  outline: none;
}

.gb-surface-summary::-webkit-details-marker {
  display: none;
}

.gb-surface-sum-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gb-surface-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gb-surface-icon.orange { background: rgba(255, 107, 53, 0.12); color: #FF6B35; }
.gb-surface-icon.emerald { background: rgba(16, 185, 129, 0.12); color: #10B981; }
.gb-surface-icon.blue { background: rgba(59, 130, 246, 0.12); color: #3B82F6; }
.gb-surface-icon.purple { background: rgba(168, 85, 247, 0.12); color: #A855F7; }

.gb-surface-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  line-height: 1.25;
}

.gb-surface-tag {
  font-size: 0.74rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-top: 4px;
}

.gb-surface-chevron {
  display: none; /* Oculto en desktop */
  width: 22px;
  height: 22px;
  stroke: #64748B;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.gb-surface-body {
  display: block;
  margin-top: 14px;
}

.gb-surface-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 18px;
}

.gb-surface-link {
  color: var(--primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.gb-surface-link:hover {
  gap: 10px;
}

/* Grilla de Canales de Venta */
.gb-canales-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: left;
}

/* ==========================================================
   ADAPTACIONES RESPONSIVAS MÓVILES (iOS SAFARI & ANDROID CHROME)
   ========================================================== */
@media (max-width: 991px) {
  .gb-surfaces-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .gb-canales-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 768px) {
  /* SUPERFICIES EN MÓVIL: Acordeones colapsables para erradicar el chorrero */
  .gb-surfaces-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
  }
  .gb-surface-card {
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    transform: none !important;
  }
  .gb-surface-card[open] {
    border-color: rgba(255, 107, 53, 0.4);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.1);
  }
  .gb-surface-summary {
    padding: 14px 16px;
    cursor: pointer;
    min-height: 54px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
  }
  .gb-surface-sum-left {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
  }
  .gb-surface-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
  .gb-surface-title {
    font-size: 0.98rem;
  }
  .gb-surface-tag {
    font-size: 0.7rem;
    margin-top: 2px;
  }
  .gb-surface-chevron {
    display: block;
    stroke: #94A3B8;
  }
  .gb-surface-card[open] .gb-surface-chevron {
    transform: rotate(180deg);
    stroke: var(--primary);
  }
  .gb-surface-body {
    padding: 4px 16px 16px;
    margin-top: 0;
    border-top: 1px solid #F1F5F9;
  }
  .gb-surface-desc {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 12px;
  }
  .gb-surface-link {
    font-size: 0.85rem;
  }

  /* CANALES DE VENTA EN MÓVIL: Grilla 2x2 compacta de alto impacto */
  .gb-canales-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .gb-canales-card {
    padding: 14px 12px !important;
    border-radius: 14px !important;
  }
  .gb-canales-card h4 {
    font-size: 0.92rem !important;
    margin-bottom: 4px !important;
  }
  .gb-canales-card p {
    font-size: 0.78rem !important;
    line-height: 1.4 !important;
  }

  /* MOCKUP 1: SMART ACCORDIONS EN MÓVIL */
  .gb-smart-accordion-container {
    gap: 12px;
    margin-top: 20px;
  }
  .gb-accordion-summary {
    padding: 14px 16px;
    min-height: 54px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .gb-acc-left {
    gap: 10px;
    min-width: 0;
    flex: 1;
  }
  .gb-acc-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
  .gb-acc-title {
    font-size: 0.98rem;
  }
  .gb-acc-subtitle {
    font-size: 0.74rem;
    color: #CBD5E1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 190px;
  }
  .gb-acc-right {
    gap: 8px;
    flex-shrink: 0;
  }
  .gb-acc-badge {
    font-size: 0.68rem;
    padding: 3px 8px;
  }
  .gb-acc-chevron {
    width: 20px;
    height: 20px;
  }
  .gb-accordion-body {
    padding: 12px 12px 16px;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .gb-subfeature-card {
    padding: 14px 12px;
    border-radius: 12px;
  }
  .gb-subfeature-title {
    font-size: 0.92rem;
  }
  .gb-subfeature-desc {
    font-size: 0.82rem;
    line-height: 1.48;
  }
}

@media (max-width: 480px) {
  .gb-acc-subtitle {
    display: none;
  }
  .gb-canales-card {
    padding: 12px 10px !important;
  }
  .gb-canales-card h4 {
    font-size: 0.86rem !important;
  }
  .gb-canales-card p {
    font-size: 0.75rem !important;
  }
}

@media (max-width: 350px) {
  .gb-canales-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================
   PLANES.HTML: SECCIONES COLAPSABLES Y ESQUEMA FINANCIERO
   UI/UX PRO MAX - Alto contraste y protección de desborde
   ========================================================== */

/* ACORDEONES COLAPSABLES EN PLANES.HTML */
.gb-collapsible-section {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  margin-bottom: 32px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
  box-sizing: border-box;
}
.gb-collapsible-section[open] {
  border-color: #CBD5E1;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}
.gb-collapsible-header {
  list-style: none;
  cursor: pointer;
  user-select: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #F8FAFC;
  transition: background 0.2s ease;
  box-sizing: border-box;
}
.gb-collapsible-header::-webkit-details-marker {
  display: none;
}
.gb-collapsible-header:hover {
  background: #F1F5F9;
}
.gb-collapsible-section[open] .gb-collapsible-header {
  background: #F1F5F9;
  border-bottom: 1px solid #E2E8F0;
}
.gb-collapsible-header-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
}
.gb-collapsible-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  line-height: 1.3;
}
.gb-collapsible-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 99px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.gb-collapsible-arrow {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--primary);
}
.gb-collapsible-section[open] .gb-collapsible-arrow {
  transform: rotate(180deg);
}
.gb-collapsible-body {
  padding: 28px 24px;
  box-sizing: border-box;
  background: #FFFFFF;
}

@media (max-width: 640px) {
  .gb-collapsible-header {
    padding: 16px 14px;
    gap: 10px;
  }
  .gb-collapsible-title {
    font-size: 1.02rem;
  }
  .gb-collapsible-trigger {
    padding: 6px 10px;
    font-size: 0.74rem;
    gap: 4px;
  }
  .gb-collapsible-body {
    padding: 18px 14px;
  }
}

/* ESQUEMA FINANCIERO TRANSPARENTE - UI/UX PRO MAX HIGH CONTRAST */
.gb-esquema-box {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 24px;
  padding: 36px 30px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.gb-esquema-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 100%;
  box-sizing: border-box;
}
.gb-esquema-card {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
  box-sizing: border-box;
}
.gb-esquema-card:hover {
  transform: translateY(-2px);
}
.gb-esquema-card.card-50 {
  border-color: #FED7AA;
  background: linear-gradient(180deg, rgba(254, 215, 170, 0.2) 0%, #F8FAFC 100%);
}
.gb-esquema-card.card-25a {
  border-color: #BAE6FD;
  background: linear-gradient(180deg, rgba(186, 230, 253, 0.2) 0%, #F8FAFC 100%);
}
.gb-esquema-card.card-25b {
  border-color: #A7F3D0;
  background: linear-gradient(180deg, rgba(167, 243, 208, 0.2) 0%, #F8FAFC 100%);
}
.gb-esquema-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 auto 14px;
}
.gb-esquema-badge.badge-50 {
  background: #FFEDD5;
  color: #EA580C;
  border: 2px solid #FDBA74;
}
.gb-esquema-badge.badge-25a {
  background: #E0F2FE;
  color: #0284C7;
  border: 2px solid #7DD3FC;
}
.gb-esquema-badge.badge-25b {
  background: #D1FAE5;
  color: #059669;
  border: 2px solid #6EE7B7;
}
.gb-esquema-card h3 {
  color: #0F172A;
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.gb-esquema-card p {
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 900px) {
  .gb-esquema-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .gb-esquema-box {
    padding: 24px 16px;
  }
}

/* DESGLOSE IMPLEMENTACIÓN RESPONSIVE CONTAINMENT */
.gb-impl-wrapper {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 24px;
  padding: 36px 30px;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.gb-impl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 960px) {
  .gb-impl-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .gb-impl-wrapper {
    padding: 24px 16px;
  }
}
