@charset "UTF-8";
/* ================================================================
   SMARTGEEKS HIGH-TECH CYBERDECK & SAAS THEME - Odoo 18
   Estética Cyberdeck / Sci-Fi Bento UI de Ultra Lujo
   ================================================================ */
:root {
  --sg-bg-black: #060709;
  --sg-canvas-dark: #0a0c11;
  --sg-cockpit-dark: #0d1017;
  --sg-chassis-white: #ffffff;
  --sg-neon-orange: #ff7700;
  --sg-neon-amber: #ffa600;
  --sg-neon-emerald: #10b981;
  --sg-neon-cyan: #06b6d4;
  --sg-font-display: 'Orbitron', -apple-system, sans-serif;
  --sg-font-sans: 'Space Grotesk', -apple-system, sans-serif;
  --sg-font-mono: 'JetBrains Mono', monospace;
  --f: 14px;
  --r: 30px;
}

html {
  scroll-behavior: smooth;
}

.sg-page-wrapper {
  background-color: var(--sg-bg-black);
  color: #f1f5f9;
  font-family: var(--sg-font-sans);
  overflow-x: hidden;
  position: relative;
  scroll-behavior: smooth;
}
.sg-page-wrapper ::selection {
  background: var(--sg-neon-orange);
  color: #ffffff;
}

/* ================================================================
   CYBERDECK BENTO HERO & FRAMES
   ================================================================ */
.sg-cyberdeck-stage {
  padding: 18px;
  background: #14161b;
}

.sg-deck {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
  height: min(78vh, 800px);
  min-height: 620px;
  background: #fff;
  border-radius: 44px;
  padding: var(--f);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.sg-deck-panel {
  position: relative;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 55% 45%, #1a1d24 0%, #090a0d 70%);
  border-radius: 32px;
  overflow: hidden;
}

.sg-deck-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--sg-font-display);
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 10rem);
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.05);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.sg-deck-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%);
}

/* --- Muescas (Notches) --- */
.sg-notch {
  position: absolute;
  background: #fff;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sg-notch::before,
.sg-notch::after {
  content: "";
  position: absolute;
  width: var(--r);
  height: var(--r);
  pointer-events: none;
}

.sg-notch-tl,
.sg-notch-tr {
  top: 0;
  padding: 4px 26px 18px;
}

.sg-notch-tl {
  left: 0;
  border-bottom-right-radius: var(--r);
}

.sg-notch-tr {
  right: 0;
  border-bottom-left-radius: var(--r);
}

.sg-notch-tl::before {
  left: 100%;
  top: var(--f);
  background: radial-gradient(circle at 100% 100%, transparent calc(var(--r) - 0.5px), #fff var(--r));
}

.sg-notch-tl::after {
  top: 100%;
  left: var(--f);
  background: radial-gradient(circle at 100% 100%, transparent calc(var(--r) - 0.5px), #fff var(--r));
}

.sg-notch-tr::before {
  right: 100%;
  top: var(--f);
  background: radial-gradient(circle at 0% 100%, transparent calc(var(--r) - 0.5px), #fff var(--r));
}

.sg-notch-tr::after {
  top: 100%;
  right: var(--f);
  background: radial-gradient(circle at 0% 100%, transparent calc(var(--r) - 0.5px), #fff var(--r));
}

.sg-notch-br {
  bottom: 0;
  right: 0;
  padding: 18px 22px 22px 18px;
  border-top-left-radius: var(--r);
  align-items: flex-end;
}

.sg-notch-br::before {
  right: 100%;
  bottom: var(--f);
  background: radial-gradient(circle at 0% 0%, transparent calc(var(--r) - 0.5px), #fff var(--r));
}

.sg-notch-br::after {
  bottom: 100%;
  right: var(--f);
  background: radial-gradient(circle at 0% 0%, transparent calc(var(--r) - 0.5px), #fff var(--r));
}

/* Botones dentro de muescas */
.sg-pill-black,
.sg-circle-black {
  background: #0b0c10 !important;
  color: #fff !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
}

.sg-pill-black {
  border-radius: 999px;
  padding: 12px 24px;
  gap: 10px;
  font-family: var(--sg-font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
}

.sg-circle-black {
  width: 52px;
  height: 52px;
  border-radius: 50% !important;
  font-size: 1rem;
}

.sg-circle-sm {
  width: 40px;
  height: 40px;
  font-size: 0.8rem;
}

.sg-pill-black:hover,
.sg-circle-black:hover {
  background: var(--sg-neon-orange) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

.sg-brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sg-neon-orange);
  box-shadow: 0 0 10px var(--sg-neon-orange);
}

.sg-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sg-neon-orange);
  display: inline-block;
  margin-right: 6px;
}

.sg-contact {
  font-family: var(--sg-font-sans);
  letter-spacing: 0.02em;
  font-size: 0.9rem;
  padding: 6px 22px 6px 6px;
}

.sg-contact-ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: #0b0c10 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* Pod de Miniatura Inferior Derecha */
.sg-pod {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #0b0c10;
  border-radius: 26px;
  padding: 10px 22px 10px 10px;
  color: #fff !important;
  text-decoration: none;
  transition: transform 0.2s;
}

.sg-pod:hover {
  transform: translateY(-2px);
}

.sg-pod img {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  object-fit: cover;
}

.sg-pod-txt {
  display: flex;
  flex-direction: column;
  font-family: var(--sg-font-mono);
}

.sg-pod-txt b {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: #fff;
}

.sg-pod-txt em {
  font-style: normal;
  font-size: 0.68rem;
  color: var(--sg-neon-orange);
  margin-top: 3px;
}

/* Titular Masivo del Hero */
.sg-deck-headline {
  position: absolute;
  left: 36px;
  bottom: 30px;
  margin: 0;
  z-index: 4;
  font-family: var(--sg-font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4.6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: #fff;
}

.sg-shop-pill {
  position: absolute;
  top: 110px;
  right: 40px;
  z-index: 5;
  background: #fff;
  color: #000;
  border-radius: 999px;
  padding: 9px 26px;
  font-family: var(--sg-font-sans);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: all 0.2s;
}

.sg-shop-pill:hover {
  background: var(--sg-neon-orange);
  color: #fff;
}

/* Hotspots HUD en el Hero */
.sg-hud {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sg-font-mono);
  text-transform: uppercase;
  font-size: 0.68rem;
  color: #fff;
  background: rgba(10, 12, 17, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 6px 14px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.sg-hud:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 119, 0, 0.4);
}

.sg-hud .sg-hud-title {
  letter-spacing: 0.1em;
  font-weight: 700;
  color: #ffffff;
}

.sg-hud .sg-hud-price {
  color: var(--sg-neon-orange);
  margin-left: 4px;
  font-weight: 600;
}

.sg-hud-line {
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

.sg-hud-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sg-neon-orange);
  box-shadow: 0 0 10px var(--sg-neon-orange);
  animation: sg-hud-ping 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.sg-hud-1 {
  top: 24%;
  left: 7%;
}

.sg-hud-2 {
  top: 47%;
  right: 7%;
}

.sg-hud-3 {
  top: 71%;
  right: 12%;
}

/* ================================================================
   HEADER GLOBAL BENTO
   ================================================================ */
#wrapwrap header#top {
  background: transparent !important;
  z-index: 30;
}

#wrapwrap header#top nav.navbar {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0;
  width: calc(100% - 36px);
  max-width: 1500px;
  margin: 0 auto;
  position: relative;
}

.sg-head-inner {
  position: relative;
  width: 100%;
  min-height: 0;
}

.sg-head-inner .sg-notch {
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: auto;
}

.sg-head-menu {
  display: flex;
  flex-direction: row;
  gap: 4px;
  background: #f1f2f4;
  border-radius: 999px;
  padding: 5px;
  margin: 0;
}

.sg-head-menu .nav-link {
  font-family: var(--sg-font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #0b0c10 !important;
  border-radius: 999px;
  padding: 9px 18px !important;
  transition: all 0.2s;
}

.sg-head-menu .nav-link:hover,
.sg-head-menu .nav-link.active {
  background: #0b0c10;
  color: #fff !important;
}

.sg-head-link {
  font-family: var(--sg-font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0b0c10 !important;
}

.sg-head-actions .btn,
.sg-head-actions .o_navlink_background {
  background: #0b0c10 !important;
  color: #fff !important;
  border: 0 !important;
  width: 52px;
  height: 52px;
  border-radius: 50% !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
}

.sg-head-actions .btn:hover {
  background: var(--sg-neon-orange) !important;
}

#wrapwrap:has(.sg-cyberdeck-stage) header#top {
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
}

#wrapwrap:has(.sg-cyberdeck-stage) header#top nav.navbar {
  height: 0;
}

#wrapwrap:has(.sg-cyberdeck-stage) .sg-head-inner .sg-notch {
  position: absolute;
}

#wrapwrap:has(.sg-cyberdeck-stage) .sg-head-inner .sg-notch::before,
#wrapwrap:has(.sg-cyberdeck-stage) .sg-head-inner .sg-notch::after {
  content: "";
  position: absolute;
  width: var(--r);
  height: var(--r);
  pointer-events: none;
}

#wrapwrap:has(.sg-cyberdeck-stage) header#top {
  --f: 14px;
  --r: 30px;
}

/* ================================================================
   SECCIONES COMO BENTO DECKS (LITE)
   ================================================================ */
.sg-bento-section {
  --f: 14px;
  --r: 30px;
  padding: 0 18px 18px;
  background: #14161b;
}

.sg-deck-lite {
  height: auto;
  min-height: 0;
  margin: 0 auto;
  box-shadow: none;
}

.sg-deck-flow {
  height: auto;
}

.sg-deck-flow > .container {
  max-width: 1320px;
  padding: 96px 28px 56px;
}

/* Tipografía de Sección */
.sg-section-title {
  font-family: var(--sg-font-sans);
  font-weight: 700;
  font-size: clamp(2rem, 3.8vw, 3rem);
  letter-spacing: -0.025em;
  line-height: 1.16;
  color: #ffffff;
  text-wrap: balance;
}
.sg-section-title .sg-title-highlight {
  background: linear-gradient(135deg, #ffffff 40%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sg-section-title .sg-title-accent {
  color: var(--sg-neon-orange);
  text-shadow: 0 0 25px rgba(255, 119, 0, 0.35);
}

.sg-section-subtitle {
  font-family: var(--sg-font-sans);
  color: #cbd5e1;
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  max-width: 720px;
  line-height: 1.68;
  font-weight: 400;
  text-wrap: balance;
}

.sg-hud-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sg-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: #94a3b8;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.75rem;
}

.sg-hud-code {
  color: var(--sg-neon-orange);
  font-weight: 700;
}

.sg-hud-dot-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sg-neon-orange);
  box-shadow: 0 0 10px var(--sg-neon-orange);
  display: inline-block;
  flex-shrink: 0;
  animation: sg-hud-ping 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes sg-hud-ping {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}
/* ================================================================
   COCKPIT BOXES & MODULAR COMPONENTS
   ================================================================ */
.sg-cockpit-box {
  background: linear-gradient(135deg, rgba(16, 21, 32, 0.88) 0%, rgba(9, 12, 18, 0.96) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 32px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.12);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sg-cockpit-box:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.75), inset 0 1px 1px rgba(255, 255, 255, 0.18);
}

.sg-cockpit-tag {
  display: inline-block;
  font-family: var(--sg-font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sg-neon-orange);
  background: rgba(255, 119, 0, 0.1);
  border: 1px solid rgba(255, 119, 0, 0.25);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 8px;
}

.sg-cockpit-title {
  font-family: var(--sg-font-sans);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.015em;
  color: #ffffff;
}

.sg-cockpit-subtitle {
  font-family: var(--sg-font-mono);
  font-size: 0.72rem;
  color: #94a3b8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sg-cockpit-meta {
  font-family: var(--sg-font-mono);
  font-size: 0.72rem;
  color: #64748b;
  letter-spacing: 0.1em;
}

.sg-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sg-font-mono);
  font-size: 0.72rem;
  color: var(--sg-neon-emerald);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 999px;
  padding: 4px 12px;
}

.sg-status-ping {
  width: 6px;
  height: 6px;
  background: var(--sg-neon-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--sg-neon-emerald);
}

/* ================================================================
   PRESET TABS (SECCIÓN 01)
   ================================================================ */
.sg-presets-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.sg-cyber-tab {
  background: #0d1017;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 10px 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  user-select: none;
}

.sg-cyber-tab:hover {
  border-color: rgba(255, 119, 0, 0.5);
  background: #141824;
  transform: translateY(-2px);
}

.sg-cyber-tab.active {
  background: linear-gradient(135deg, rgba(255, 119, 0, 0.16) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-color: var(--sg-neon-orange);
  box-shadow: 0 8px 24px rgba(255, 119, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.sg-cyber-tab.active .sg-tab-icon {
  background: var(--sg-neon-orange);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(255, 119, 0, 0.6);
}

.sg-cyber-tab.active .sg-tab-text b {
  color: #ffffff;
}

.sg-cyber-tab.active .sg-tab-text em {
  color: var(--sg-neon-orange);
}

.sg-tab-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.sg-tab-text {
  display: flex;
  flex-direction: column;
}

.sg-tab-text b {
  font-family: var(--sg-font-display);
  font-size: 0.78rem;
  color: #ffffff;
  letter-spacing: 0.08em;
}

.sg-tab-text em {
  font-style: normal;
  font-family: var(--sg-font-mono);
  font-size: 0.65rem;
  color: #64748b;
}

/* ================================================================
   MODULAR TOGGLE CARDS (SECCIÓN 01)
   ================================================================ */
.sg-modules-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sg-cyber-module-card {
  background: #111520;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 0;
  position: relative;
  user-select: none;
}

.sg-cyber-module-card:hover {
  background: #161b29;
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.sg-cyber-module-card:has(input.sg-module-toggle:checked) {
  background: rgba(255, 119, 0, 0.04);
  border-color: rgba(255, 119, 0, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 119, 0, 0.2);
}

.sg-cyber-module-card:active {
  transform: scale(0.99);
}

.sg-cyber-module-card input.sg-module-toggle {
  display: none;
}

.sg-module-switch {
  width: 44px;
  height: 24px;
  background: #1f2636;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  position: relative;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.sg-module-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #64748b;
  border-radius: 50%;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.sg-cyber-module-card input.sg-module-toggle:checked + .sg-module-switch {
  background: var(--sg-neon-orange);
  border-color: var(--sg-neon-orange);
  box-shadow: 0 0 12px rgba(255, 119, 0, 0.4);
}

.sg-cyber-module-card input.sg-module-toggle:checked + .sg-module-switch::after {
  transform: translateX(18px);
  background: #ffffff;
}

.sg-module-body {
  flex-grow: 1;
}

.sg-module-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
}

.sg-module-code {
  font-family: var(--sg-font-mono);
  font-size: 0.7rem;
  color: var(--sg-neon-orange);
  font-weight: 700;
}

.sg-module-name {
  font-family: var(--sg-font-sans);
  font-weight: 700;
  font-size: 0.92rem;
  color: #ffffff;
}

.sg-module-desc {
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.4;
}

/* Checkout Pod en Configurator */
.sg-checkout-pod {
  background: #080a0f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 20px;
}

.sg-spec-label {
  font-family: var(--sg-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: #64748b;
}

.sg-summary-chips {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.sg-summary-chips li {
  font-family: var(--sg-font-mono);
  font-size: 0.72rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 4px 12px;
}

/* ================================================================
   PHONE CHASSIS & SIMULADOR (SECCIÓN 01)
   ================================================================ */
.sg-sim-telemetry {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sg-tele-chip {
  font-family: var(--sg-font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 6px 16px;
}

.sg-tele-latency {
  font-family: var(--sg-font-mono);
  font-size: 0.72rem;
  color: var(--sg-neon-emerald);
}

.sg-phone-chassis {
  width: 375px;
  max-width: 100%;
  height: 770px;
  background: #000000;
  border: 10px solid #1c2230;
  border-radius: 54px;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.sg-phone-screen {
  background: radial-gradient(ellipse at 50% -10%, #151e30 0%, #06080e 65%, #020306 100%);
  height: 100%;
  width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  user-select: none;
}

/* 1. Real iOS Status Bar with Dynamic Island */
.sg-ios-status-bar {
  height: 44px;
  padding: 6px 20px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 25;
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
}

.sg-ios-time {
  font-size: 0.84rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
  width: 50px;
}

.sg-dynamic-island {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sg-island-pill {
  width: 102px;
  height: 26px;
  background: #000000;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
  gap: 8px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.sg-island-pill.island-active {
  width: 230px;
  height: 32px;
  padding: 0 12px;
  justify-content: space-between;
  background: rgba(16, 185, 129, 0.95);
  border-color: var(--sg-neon-emerald);
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.5);
  color: #ffffff;
  font-size: 0.72rem;
  font-family: var(--sg-font-sans);
  font-weight: 600;
}

.sg-island-dot-ping {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 6px #ffffff;
  animation: sg-hud-ping 1.4s infinite;
  flex-shrink: 0;
}

.sg-island-msg {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 6px;
}

.sg-island-camera {
  width: 10px;
  height: 10px;
  background: #070e1c;
  border-radius: 50%;
  box-shadow: inset 0 0 2px rgba(56, 189, 248, 0.5);
}

.sg-island-sensor {
  width: 5px;
  height: 5px;
  background: #0b1a11;
  border-radius: 50%;
}

.sg-ios-status-right {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-size: 0.72rem;
  width: 50px;
  justify-content: flex-end;
}

.sg-ios-battery {
  width: 21px;
  height: 11px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 3px;
  padding: 1.5px;
  display: inline-flex;
  align-items: center;
  position: relative;
}
.sg-ios-battery::after {
  content: "";
  position: absolute;
  right: -3.5px;
  top: 2px;
  width: 2px;
  height: 4px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 0 1px 1px 0;
}

.sg-battery-level {
  width: 80%;
  height: 100%;
  background: #ffffff;
  border-radius: 1px;
}

/* 2. Professional Native App Header */
.sg-app-header {
  background: rgba(12, 16, 25, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 10;
}

.sg-app-logo-badge {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.sg-app-brand-subtitle {
  font-size: 0.62rem;
  font-family: var(--sg-font-mono);
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.08em;
}

.sg-app-brand-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--sg-font-display);
  line-height: 1.2;
}

.sg-app-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  font-family: var(--sg-font-mono);
  font-weight: 600;
  color: var(--sg-neon-emerald);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 999px;
  padding: 3px 8px;
}

.sg-live-dot {
  width: 5px;
  height: 5px;
  background: var(--sg-neon-emerald);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--sg-neon-emerald);
}

.sg-app-header-btn {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.sg-app-header-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* 4. iOS Home Indicator Bar */
.sg-ios-home-indicator {
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 6px;
  position: relative;
  z-index: 15;
}

.sg-home-bar {
  width: 130px;
  height: 4px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 4px;
  transition: background 0.2s ease;
}

.sg-phone-scrollable-body {
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}
.sg-phone-scrollable-body::-webkit-scrollbar {
  width: 4px;
}
.sg-phone-scrollable-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

/* Apple-style Glassmorphism Cards */
.sg-glass-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.08);
  transition: all 0.25s ease;
}

.sg-glass-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.sg-glass-card-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.sg-glass-card-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

/* Date & Slot Selectors (Apple style) */
.sg-date-selector {
  scrollbar-width: none;
}
.sg-date-selector::-webkit-scrollbar {
  display: none;
}

.sg-date-pill {
  flex: 0 0 54px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 8px 4px;
  color: #94a3b8;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}
.sg-date-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.sg-date-pill.active {
  background: #ffffff;
  border-color: #ffffff;
  color: #0b0f19;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
}

.sg-slot-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 6px 12px;
  color: #cbd5e1;
  font-size: 0.72rem;
  font-family: var(--sg-font-mono);
  cursor: pointer;
  transition: all 0.2s ease;
}
.sg-slot-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.sg-slot-pill.active {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--sg-neon-emerald);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

/* Apple Wallet Styled Card */
.sg-wallet-card {
  background: linear-gradient(135deg, #1e2638 0%, #101420 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}
.sg-wallet-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.sg-pack-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.sg-pack-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* WhatsApp Preview Bubbles */
.sg-wa-bubble {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.sg-wa-bubble.bot {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
  border-top-left-radius: 4px;
}
.sg-wa-bubble.user {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  border-top-right-radius: 4px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.sg-wa-quick-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #e2e8f0;
  font-size: 0.68rem;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.sg-wa-quick-btn:hover {
  background: rgba(16, 185, 129, 0.25);
  border-color: rgba(16, 185, 129, 0.6);
  color: #ffffff;
}

/* Floating Apple-Style Frosted Dock */
.sg-glass-dock {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(15, 20, 30, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  padding: 6px 6px;
  margin: 6px 12px 14px 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.16);
  z-index: 15;
  position: relative;
}

.sg-dock-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 10px;
  border-radius: 18px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--sg-font-mono);
  min-width: 48px;
}
.sg-dock-btn i {
  font-size: 1rem;
  transition: transform 0.2s ease;
}
.sg-dock-btn span {
  font-size: 0.62rem;
  letter-spacing: 0.02em;
}
.sg-dock-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}
.sg-dock-btn:hover i {
  transform: translateY(-2px);
}
.sg-dock-btn.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}
.sg-dock-btn.active i {
  color: var(--sg-neon-emerald);
}
.sg-dock-btn:active {
  transform: scale(0.94);
}

/* Transición Fluida de Pantallas en Simulador */
.sg-phone-view {
  display: none;
  animation: sgViewFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.sg-phone-view.active-view {
  display: block;
}

@keyframes sgViewFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* ================================================================
   VERTICALS RACK (SECCIÓN 02 - ODOO 18)
   ================================================================ */
.sg-verticals-rack {
  width: 100%;
}

.sg-rack-blade {
  background: #0c0f16;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.sg-rack-blade:hover {
  background: #121722;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateX(4px);
}

.sg-rack-blade.active {
  background: #141a27;
  border-color: var(--sg-neon-orange);
  box-shadow: 0 4px 25px rgba(255, 119, 0, 0.25);
}

.sg-blade-indicator {
  width: 4px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: transparent;
  transition: background 0.2s;
}

.sg-rack-blade.active .sg-blade-indicator {
  background: var(--sg-neon-orange);
}

.sg-blade-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.sg-blade-body {
  flex-grow: 1;
}

.sg-blade-tag {
  font-family: var(--sg-font-mono);
  font-size: 0.65rem;
  color: var(--sg-neon-orange);
  letter-spacing: 0.1em;
  display: block;
}

.sg-blade-title {
  font-family: var(--sg-font-sans);
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 2px;
  margin-top: 1px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.sg-blade-sub {
  font-size: 0.76rem;
  color: #94a3b8;
  display: block;
}

/* Detalle de Vertical */
.sg-benefits-cyber-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sg-benefits-cyber-list .benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: #e2e8f0;
}

.sg-benefits-cyber-list .benefit-bullet {
  color: var(--sg-neon-orange);
  font-family: var(--sg-font-mono);
  font-weight: 700;
}

.sg-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sg-chips-wrap .badge {
  background: #090c12 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  font-family: var(--sg-font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  padding: 8px 16px;
  border-radius: 999px;
}

/* ================================================================
   NEURAL AGENTS DISPATCHER & SANDBOX (SECCIÓN 03 // NEURAL_AGENTS)
   BENTO GRID APPLE / ANTIGRAVITY BRAND LIGHT THEME
   ================================================================ */
.sg-neural-container {
  width: 100%;
}

/* 0. CONTENEDOR BENTO LIGHT SANDBOX */
.sg-neural-sandbox {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.08);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
}
.sg-neural-sandbox::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0071e3 0%, #8b5cf6 50%, #10b981 100%);
}

/* ENCABEZADO DE SECCIÓN BENTO LIGHT */
.sg-neural-header .sg-neural-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  color: #0071e3;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid #bfdbfe;
  margin-bottom: 12px;
}
.sg-neural-header .sg-neural-pill .pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0071e3;
  box-shadow: 0 0 8px rgba(0, 113, 227, 0.6);
  animation: pulse-dot 1.5s infinite ease-in-out;
}
.sg-neural-header .sg-neural-main-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 2.25rem;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.sg-neural-header .sg-neural-main-title .sg-title-highlight {
  background: linear-gradient(135deg, #0071e3 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sg-neural-header .sg-neural-subtitle {
  color: #64748b;
  font-size: 1rem;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.5;
}

/* 1. RIBBON DOCK DE AGENTES (Selector Superior Bento Light) */
.sg-neural-ribbon-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.sg-neural-ribbon-dock {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 12px;
}

.sg-neural-agent-tab {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: #0f172a;
  outline: none;
}
.sg-neural-agent-tab .agent-tab-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: transparent;
  transition: all 0.25s ease;
}
.sg-neural-agent-tab .agent-tab-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #0071e3;
  transition: all 0.25s ease;
}
.sg-neural-agent-tab .agent-tab-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.sg-neural-agent-tab .agent-tab-body .agent-tab-tag {
  font-family: var(--sg-font-mono);
  font-size: 0.62rem;
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sg-neural-agent-tab .agent-tab-body .agent-tab-title {
  font-family: var(--sg-font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 2px 0;
}
.sg-neural-agent-tab .agent-tab-body .agent-tab-sub {
  font-size: 0.72rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sg-neural-agent-tab:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.08);
}
.sg-neural-agent-tab:hover .agent-tab-icon {
  background: #eff6ff;
  color: #0071e3;
  transform: scale(1.05);
}
.sg-neural-agent-tab.active {
  background: #ffffff;
  border-color: #0071e3;
  box-shadow: 0 10px 25px -5px rgba(0, 113, 227, 0.16);
}
.sg-neural-agent-tab.active .agent-tab-indicator {
  background: #0071e3;
}
.sg-neural-agent-tab.active .agent-tab-tag {
  color: #0071e3;
}
.sg-neural-agent-tab.active .agent-tab-icon {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #0071e3;
}

/* 2. SEGMENTADOR MÓVIL (Táctil < 992px) */
.sg-neural-mob-segmenter {
  display: flex;
  gap: 8px;
  width: 100%;
}

.sg-neural-mob-tab {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  color: #0f172a;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s ease;
}
.sg-neural-mob-tab .tab-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94a3b8;
  transition: all 0.25s ease;
}
.sg-neural-mob-tab .tab-titles {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.sg-neural-mob-tab .tab-titles .tab-main {
  font-family: var(--sg-font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sg-neural-mob-tab .tab-titles .tab-sub {
  font-family: var(--sg-font-mono);
  font-size: 0.62rem;
  color: #64748b;
  letter-spacing: 0.05em;
}
.sg-neural-mob-tab.active {
  background: #ffffff;
  border-color: #0071e3;
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.12);
}
.sg-neural-mob-tab.active .tab-live-dot {
  background: #0071e3;
  box-shadow: 0 0 8px rgba(0, 113, 227, 0.6);
}
.sg-neural-mob-tab.active .tab-main {
  color: #0f172a;
}
.sg-neural-mob-tab.active .tab-sub {
  color: #0071e3;
  font-weight: 700;
}

/* 3. ESCENARIO DUAL DE AGENTES (Stage Cards Bento Light) */
.sg-neural-stage {
  position: relative;
  width: 100%;
}

.sg-neural-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.sg-neural-card.sg-neural-in-card {
  border-top: 4px solid #0071e3;
}
.sg-neural-card.sg-neural-out-card {
  border-top: 4px solid #10b981;
}
.sg-neural-card.pulse-glow {
  border-color: #0071e3;
  box-shadow: 0 0 25px rgba(0, 113, 227, 0.2);
}

.neural-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 16px;
}
.neural-card-header .neural-header-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sg-font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.06em;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 4px 12px;
}
.neural-card-header .neural-status-pill {
  font-family: var(--sg-font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.neural-card-body {
  flex: 1;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.neural-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  margin-top: 16px;
  font-family: var(--sg-font-mono);
  font-size: 0.7rem;
  color: #64748b;
}
.neural-card-footer .neural-engine-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #475569;
}
.neural-card-footer .neural-latency-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #0071e3;
  font-weight: 700;
}
.neural-card-footer .neural-check-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #10b981;
  font-weight: 700;
}

/* 4. CONDUIT CENTRAL (Desktop Only) */
.sg-neural-conduit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}
.sg-neural-conduit .conduit-top-wire,
.sg-neural-conduit .conduit-bottom-wire {
  flex: 1;
  width: 2px;
  background: linear-gradient(180deg, #e2e8f0 0%, #bfdbfe 100%);
  position: relative;
  overflow: hidden;
}
.sg-neural-conduit .conduit-top-wire .wire-pulse,
.sg-neural-conduit .conduit-bottom-wire .wire-pulse {
  position: absolute;
  width: 100%;
  height: 30px;
  background: linear-gradient(180deg, transparent, #0071e3, transparent);
  animation: conduit-stream 2s infinite linear;
}
.sg-neural-conduit .conduit-top-wire .pulse-reverse,
.sg-neural-conduit .conduit-bottom-wire .pulse-reverse {
  animation-direction: reverse;
}
.sg-neural-conduit .conduit-core {
  background: #f8fafc;
  border: 1.5px solid #bfdbfe;
  border-radius: 18px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 140px;
  box-shadow: 0 10px 25px -5px rgba(0, 113, 227, 0.12);
}
.sg-neural-conduit .conduit-core .core-icon-spin {
  font-size: 1.5rem;
  color: #0071e3;
  margin-bottom: 6px;
  animation: spin-core 8s infinite linear;
}
.sg-neural-conduit .conduit-core .core-label {
  font-family: var(--sg-font-display);
  font-size: 0.68rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.08em;
}
.sg-neural-conduit .conduit-core .core-speed {
  font-family: var(--sg-font-mono);
  font-size: 1.1rem;
  font-weight: 800;
  color: #0071e3;
  margin: 4px 0 8px;
}
.sg-neural-conduit .conduit-core .core-steps {
  display: flex;
  gap: 6px;
}
.sg-neural-conduit .conduit-core .core-steps .step-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
}
.sg-neural-conduit .conduit-core .core-steps .step-dot.active {
  background: #0071e3;
  box-shadow: 0 0 6px rgba(0, 113, 227, 0.6);
}

@keyframes spin-core {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes conduit-stream {
  0% {
    top: -30px;
  }
  100% {
    top: 100%;
  }
}
/* 5. ELEMENTOS VISUALES DINÁMICOS POR AGENTE (BENTO LIGHT) */
/* OCR Ticket Mockup */
.sg-ocr-ticket-card {
  background: #fafaf9;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  padding: 16px;
  font-family: var(--sg-font-mono);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.sg-ocr-ticket-card .ocr-ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.sg-ocr-ticket-card .ocr-station-badge {
  color: #dc2626;
}
.sg-ocr-ticket-card .ocr-folio {
  color: #64748b;
}
.sg-ocr-ticket-card .ocr-ticket-meta {
  display: flex;
  flex-direction: column;
  font-size: 0.65rem;
  color: #64748b;
  margin-bottom: 12px;
}
.sg-ocr-ticket-card .ocr-laser-container {
  position: relative;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px;
  background: #ffffff;
}
.sg-ocr-ticket-card .ocr-laser-container .ocr-laser-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #10b981;
  box-shadow: 0 0 10px #10b981, 0 0 20px #10b981;
  animation: sgLaserScan 2.4s infinite ease-in-out alternate;
  z-index: 2;
}
.sg-ocr-ticket-card .ocr-laser-container .ocr-ticket-body {
  position: relative;
  z-index: 1;
}
.sg-ocr-ticket-card .ocr-laser-container .ocr-ticket-body .ocr-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #0f172a;
  margin-bottom: 8px;
}
.sg-ocr-ticket-card .ocr-laser-container .ocr-ticket-body .ocr-divider-dash {
  border-top: 1px dashed #cbd5e1;
  margin: 8px 0;
}
.sg-ocr-ticket-card .ocr-laser-container .ocr-ticket-body .ocr-sub-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: #64748b;
  margin-bottom: 4px;
}
.sg-ocr-ticket-card .ocr-laser-container .ocr-ticket-body .ocr-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #0f172a;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1.5px solid #e2e8f0;
  font-weight: 800;
}

@keyframes sgLaserScan {
  0% {
    top: 4px;
  }
  100% {
    top: calc(100% - 6px);
  }
}
.ocr-detected-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.ocr-detected-pills .ocr-chip {
  font-family: var(--sg-font-mono);
  font-size: 0.64rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 3px 8px;
  color: #334155;
}

/* Odoo Ledger Table Result */
.sg-ledger-result-card .ledger-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.sg-ledger-result-card .ledger-card-header .ledger-title-tag {
  font-family: var(--sg-font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.05em;
}
.sg-ledger-result-card .ledger-card-header .ledger-code-tag {
  font-family: var(--sg-font-mono);
  font-size: 0.72rem;
  color: #0071e3;
  font-weight: 700;
}
.sg-ledger-result-card .sg-neural-table {
  width: 100%;
  font-size: 0.76rem;
  border-collapse: collapse;
  margin-bottom: 14px;
}
.sg-ledger-result-card .sg-neural-table th {
  font-family: var(--sg-font-mono);
  font-size: 0.65rem;
  color: #64748b;
  text-transform: uppercase;
  padding: 8px 6px;
  background: #f8fafc;
  border-bottom: 1.5px solid #e2e8f0;
}
.sg-ledger-result-card .sg-neural-table td {
  padding: 8px 6px;
  border-bottom: 1px solid #f1f5f9;
  color: #0f172a;
}
.sg-ledger-result-card .sg-neural-table td .acc-code {
  color: #64748b;
  font-family: var(--sg-font-mono);
  margin-right: 4px;
}
.sg-ledger-result-card .sg-sat-validation-box {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  border-radius: 12px;
  padding: 10px 14px;
}
.sg-ledger-result-card .sg-sat-validation-box .sat-val-icon {
  font-size: 1.5rem;
  color: #10b981;
}
.sg-ledger-result-card .sg-sat-validation-box .sat-val-info .sat-val-title {
  font-family: var(--sg-font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: #065f46;
}
.sg-ledger-result-card .sg-sat-validation-box .sat-val-info .sat-val-uuid {
  font-size: 0.65rem;
  color: #0284c7;
  font-family: var(--sg-font-mono);
  margin: 2px 0;
  word-break: break-all;
}
.sg-ledger-result-card .sg-sat-validation-box .sat-val-info .sat-val-status {
  font-size: 0.68rem;
  color: #059669;
  font-weight: 600;
}

/* WhatsApp Chat Mockup Bento Light */
.sg-wa-chat-simulator {
  background: #efeae2;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sg-wa-chat-simulator .wa-chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}
.sg-wa-chat-simulator .wa-chat-header .wa-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #00a884;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.9rem;
}
.sg-wa-chat-simulator .wa-chat-header .wa-user-info {
  display: flex;
  flex-direction: column;
  font-size: 0.75rem;
}
.sg-wa-chat-simulator .wa-chat-header .wa-user-info strong {
  color: #111b21;
}
.sg-wa-chat-simulator .wa-chat-header .wa-user-info span {
  font-size: 0.65rem;
  color: #00a884;
}
.sg-wa-chat-simulator .wa-chat-flow {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sg-wa-chat-simulator .wa-chat-flow .wa-bubble {
  max-width: 88%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.74rem;
  line-height: 1.35;
  position: relative;
}
.sg-wa-chat-simulator .wa-chat-flow .wa-bubble p {
  margin: 0;
}
.sg-wa-chat-simulator .wa-chat-flow .wa-bubble .wa-time {
  font-size: 0.58rem;
  color: #667781;
  display: block;
  text-align: right;
  margin-top: 4px;
}
.sg-wa-chat-simulator .wa-chat-flow .wa-incoming {
  align-self: flex-start;
  background: #ffffff;
  color: #111b21;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
  border-bottom-left-radius: 2px;
}
.sg-wa-chat-simulator .wa-chat-flow .wa-outgoing {
  align-self: flex-end;
  background: #d9fdd3;
  color: #111b21;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
  border-bottom-right-radius: 2px;
}
.sg-wa-chat-simulator .wa-chat-flow .wa-outgoing.wa-confirmed {
  border: 1px solid #86efac;
  box-shadow: 0 2px 8px rgba(0, 168, 132, 0.15);
}
.sg-wa-chat-simulator .wa-chat-flow .wa-audio-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0f2f5;
  padding: 4px 8px;
  border-radius: 8px;
  margin-bottom: 6px;
}
.sg-wa-chat-simulator .wa-chat-flow .wa-audio-pill .wa-wave-lines {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 14px;
}
.sg-wa-chat-simulator .wa-chat-flow .wa-audio-pill .wa-wave-lines span {
  width: 2px;
  height: 10px;
  background: #00a884;
  border-radius: 2px;
  animation: wa-wave 1.2s infinite ease-in-out;
}
.sg-wa-chat-simulator .wa-chat-flow .wa-audio-pill .wa-wave-lines span:nth-child(2) {
  height: 14px;
  animation-delay: 0.1s;
}
.sg-wa-chat-simulator .wa-chat-flow .wa-audio-pill .wa-wave-lines span:nth-child(3) {
  height: 8px;
  animation-delay: 0.2s;
}
.sg-wa-chat-simulator .wa-chat-flow .wa-audio-pill .wa-wave-lines span:nth-child(4) {
  height: 12px;
  animation-delay: 0.3s;
}
.sg-wa-chat-simulator .wa-chat-flow .wa-audio-pill .wa-wave-lines span:nth-child(5) {
  height: 6px;
  animation-delay: 0.4s;
}
.sg-wa-chat-simulator .wa-chat-flow .wa-audio-pill .wa-wave-lines span:nth-child(6) {
  height: 11px;
  animation-delay: 0.5s;
}
.sg-wa-chat-simulator .wa-chat-flow .wa-audio-pill .wa-wave-lines span:nth-child(7) {
  height: 7px;
  animation-delay: 0.6s;
}
.sg-wa-chat-simulator .wa-chat-flow .wa-audio-pill .wa-audio-time {
  font-size: 0.62rem;
  color: #54656f;
  font-family: var(--sg-font-mono);
}
.sg-wa-chat-simulator .wa-chat-flow .wa-transcription {
  font-size: 0.7rem;
  color: #54656f;
  margin-bottom: 2px;
}

@keyframes wa-wave {
  0%, 100% {
    transform: scaleY(0.5);
  }
  50% {
    transform: scaleY(1.2);
  }
}
/* Calendar Event Output Card */
.sg-calendar-result-card .cal-card-top {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.sg-calendar-result-card .cal-card-top .cal-date-badge {
  background: #0071e3;
  border-radius: 10px;
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 58px;
}
.sg-calendar-result-card .cal-card-top .cal-date-badge .cal-month {
  font-family: var(--sg-font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  color: #ffffff;
}
.sg-calendar-result-card .cal-card-top .cal-date-badge .cal-day {
  font-family: var(--sg-font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
}
.sg-calendar-result-card .cal-card-top .cal-details {
  display: flex;
  flex-direction: column;
}
.sg-calendar-result-card .cal-card-top .cal-details .cal-status-pill {
  font-family: var(--sg-font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  color: #0071e3;
  margin-bottom: 2px;
}
.sg-calendar-result-card .cal-card-top .cal-details .cal-event-title {
  font-family: var(--sg-font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}
.sg-calendar-result-card .cal-card-top .cal-details .cal-location {
  font-size: 0.7rem;
  color: #64748b;
  margin-top: 2px;
}
.sg-calendar-result-card .cal-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.sg-calendar-result-card .cal-meta-grid .cal-meta-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
}
.sg-calendar-result-card .cal-meta-grid .cal-meta-item .cal-label {
  font-family: var(--sg-font-mono);
  font-size: 0.58rem;
  color: #64748b;
  margin-bottom: 2px;
}
.sg-calendar-result-card .cal-meta-grid .cal-meta-item .cal-val {
  font-size: 0.72rem;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}
.sg-calendar-result-card .sg-crm-sync-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  border-radius: 10px;
  padding: 8px 12px;
}
.sg-calendar-result-card .sg-crm-sync-banner .crm-sync-icon {
  font-size: 1.2rem;
  color: #d97706;
}
.sg-calendar-result-card .sg-crm-sync-banner .crm-sync-text {
  display: flex;
  flex-direction: column;
  font-size: 0.68rem;
}
.sg-calendar-result-card .sg-crm-sync-banner .crm-sync-text strong {
  color: #92400e;
  font-family: var(--sg-font-mono);
}
.sg-calendar-result-card .sg-crm-sync-banner .crm-sync-text span {
  color: #78350f;
}

/* Data Copilot BI Prompt & Result */
.sg-copilot-prompt-card .copilot-sender-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.sg-copilot-prompt-card .copilot-sender-info .copilot-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #0071e3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.sg-copilot-prompt-card .copilot-sender-info strong {
  font-size: 0.8rem;
  color: #0f172a;
  display: block;
}
.sg-copilot-prompt-card .copilot-sender-info .copilot-sub {
  font-size: 0.65rem;
  color: #64748b;
}
.sg-copilot-prompt-card .copilot-speech-bubble {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #0071e3;
  border-radius: 4px 12px 12px 4px;
  padding: 10px 14px;
  margin-bottom: 12px;
  position: relative;
}
.sg-copilot-prompt-card .copilot-speech-bubble .speech-quote-mark {
  font-family: serif;
  font-size: 1.8rem;
  color: #0071e3;
  line-height: 0;
  position: absolute;
  top: 14px;
  left: 4px;
  opacity: 0.3;
}
.sg-copilot-prompt-card .copilot-speech-bubble p {
  margin: 0;
  font-size: 0.82rem;
  color: #0f172a;
  font-weight: 500;
}
.sg-copilot-prompt-card .copilot-sql-terminal {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 10px;
  overflow: hidden;
}
.sg-copilot-prompt-card .copilot-sql-terminal .terminal-bar {
  background: #1e293b;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sg-copilot-prompt-card .copilot-sql-terminal .terminal-bar .t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.sg-copilot-prompt-card .copilot-sql-terminal .terminal-bar .t-dot.red {
  background: #ef4444;
}
.sg-copilot-prompt-card .copilot-sql-terminal .terminal-bar .t-dot.yellow {
  background: #f59e0b;
}
.sg-copilot-prompt-card .copilot-sql-terminal .terminal-bar .t-dot.green {
  background: #10b981;
}
.sg-copilot-prompt-card .copilot-sql-terminal .terminal-bar .t-title {
  margin-left: 6px;
  font-family: var(--sg-font-mono);
  font-size: 0.6rem;
  color: #94a3b8;
}
.sg-copilot-prompt-card .copilot-sql-terminal .terminal-code {
  padding: 10px;
  margin: 0;
  font-family: var(--sg-font-mono);
  font-size: 0.66rem;
  color: #38bdf8;
  line-height: 1.4;
  white-space: pre-wrap;
}

.sg-bi-dashboard-card .bi-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.sg-bi-dashboard-card .bi-card-header .bi-title-tag {
  font-family: var(--sg-font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.05em;
}
.sg-bi-dashboard-card .bi-card-header .bi-live-badge {
  font-family: var(--sg-font-mono);
  font-size: 0.62rem;
  color: #10b981;
  font-weight: 700;
}
.sg-bi-dashboard-card .sg-bi-chart-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.sg-bi-dashboard-card .sg-bi-chart-bars .bi-bar-item .bi-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  margin-bottom: 4px;
}
.sg-bi-dashboard-card .sg-bi-chart-bars .bi-bar-item .bi-bar-labels .branch-name {
  color: #0f172a;
  font-weight: 600;
}
.sg-bi-dashboard-card .sg-bi-chart-bars .bi-bar-item .bi-bar-labels .branch-val {
  font-family: var(--sg-font-mono);
  color: #0071e3;
  font-weight: 700;
}
.sg-bi-dashboard-card .sg-bi-chart-bars .bi-bar-item .bi-bar-labels .branch-val .badge-margin {
  font-size: 0.65rem;
  color: #64748b;
}
.sg-bi-dashboard-card .sg-bi-chart-bars .bi-bar-item .bi-progress-track {
  width: 100%;
  height: 8px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
}
.sg-bi-dashboard-card .sg-bi-chart-bars .bi-bar-item .bi-progress-track .bi-progress-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.sg-bi-dashboard-card .sg-bi-chart-bars .bi-bar-item .bi-progress-track .bi-progress-fill.fill-cyan {
  background: linear-gradient(90deg, #0284c7, #38bdf8);
}
.sg-bi-dashboard-card .sg-bi-chart-bars .bi-bar-item .bi-progress-track .bi-progress-fill.fill-green {
  background: linear-gradient(90deg, #059669, #10b981);
}
.sg-bi-dashboard-card .sg-bi-chart-bars .bi-bar-item .bi-progress-track .bi-progress-fill.fill-orange {
  background: linear-gradient(90deg, #d97706, #f59e0b);
}
.sg-bi-dashboard-card .sg-bi-insights-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sg-bi-dashboard-card .sg-bi-insights-list .bi-insight-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.72rem;
  line-height: 1.35;
}
.sg-bi-dashboard-card .sg-bi-insights-list .bi-insight-row .insight-icon {
  font-size: 0.95rem;
  line-height: 1;
}
.sg-bi-dashboard-card .sg-bi-insights-list .bi-insight-row .insight-text {
  color: #334155;
}
.sg-bi-dashboard-card .sg-bi-insights-list .bi-insight-row .insight-text strong {
  color: #0f172a;
}

/* Nómina & Firma Digital Mockup */
.sg-payroll-batch-card .batch-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
}
.sg-payroll-batch-card .batch-card-top .batch-icon {
  font-size: 1.6rem;
}
.sg-payroll-batch-card .batch-card-top .batch-title-area {
  display: flex;
  flex-direction: column;
  font-size: 0.76rem;
}
.sg-payroll-batch-card .batch-card-top .batch-title-area strong {
  color: #0f172a;
  font-family: var(--sg-font-mono);
}
.sg-payroll-batch-card .batch-card-top .batch-title-area span {
  font-size: 0.65rem;
  color: #64748b;
}
.sg-payroll-batch-card .batch-progress-box {
  margin-bottom: 12px;
}
.sg-payroll-batch-card .batch-progress-box .batch-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  margin-bottom: 4px;
}
.sg-payroll-batch-card .batch-progress-box .batch-progress-meta span {
  color: #64748b;
}
.sg-payroll-batch-card .batch-progress-box .batch-progress-meta strong {
  color: #059669;
  font-family: var(--sg-font-mono);
}
.sg-payroll-batch-card .batch-progress-box .batch-progress-bar {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}
.sg-payroll-batch-card .batch-progress-box .batch-progress-bar .batch-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #0071e3);
  border-radius: 999px;
}
.sg-payroll-batch-card .wa-payroll-msg {
  background: #d9fdd3;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 10px 12px;
  color: #111b21;
  font-size: 0.74rem;
}
.sg-payroll-batch-card .wa-payroll-msg .wa-payroll-header {
  font-size: 0.62rem;
  font-family: var(--sg-font-mono);
  color: #059669;
  font-weight: 700;
  margin-bottom: 4px;
}
.sg-payroll-batch-card .wa-payroll-msg .wa-token-btn {
  background: #ffffff;
  border: 1.5px solid #00a884;
  border-radius: 8px;
  padding: 6px 10px;
  text-align: center;
  font-weight: 700;
  margin: 6px 0 4px;
  color: #00a884;
  font-size: 0.7rem;
}

.sg-payroll-signed-card .signed-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}
.sg-payroll-signed-card .signed-card-header .signed-badge {
  font-family: var(--sg-font-mono);
  font-size: 0.62rem;
  color: #059669;
  font-weight: 700;
}
.sg-payroll-signed-card .signed-card-header .signed-worker-name {
  font-family: var(--sg-font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  color: #0f172a;
  margin: 2px 0 0;
}
.sg-payroll-signed-card .signed-card-header .signed-period {
  font-family: var(--sg-font-mono);
  font-size: 0.65rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 2px 8px;
  border-radius: 6px;
  color: #475569;
}
.sg-payroll-signed-card .signed-amount-banner {
  display: flex;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 12px;
}
.sg-payroll-signed-card .signed-amount-banner .amount-col {
  display: flex;
  flex-direction: column;
}
.sg-payroll-signed-card .signed-amount-banner .amount-col .amt-lbl {
  font-size: 0.6rem;
  color: #64748b;
}
.sg-payroll-signed-card .signed-amount-banner .amount-col .amt-val {
  font-size: 0.74rem;
  font-weight: 700;
}
.sg-payroll-signed-card .signed-amount-banner .amount-col.highlight .amt-val {
  font-size: 0.82rem;
  color: #0071e3;
}
.sg-payroll-signed-card .sg-digital-signature-box {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 10px;
}
.sg-payroll-signed-card .sg-digital-signature-box .signature-canvas-mock {
  text-align: center;
  position: relative;
  padding-bottom: 4px;
}
.sg-payroll-signed-card .sg-digital-signature-box .signature-canvas-mock .signature-svg {
  height: 44px;
  width: 100%;
  filter: drop-shadow(0 0 4px rgba(0, 113, 227, 0.2));
}
.sg-payroll-signed-card .sg-digital-signature-box .signature-canvas-mock .signature-line {
  height: 1px;
  background: #cbd5e1;
  margin: 4px 0 2px;
}
.sg-payroll-signed-card .sg-digital-signature-box .signature-canvas-mock .signature-signer {
  font-family: var(--sg-font-mono);
  font-size: 0.58rem;
  color: #64748b;
}
.sg-payroll-signed-card .sg-digital-signature-box .signature-crypto-meta {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #cbd5e1;
  font-size: 0.62rem;
  color: #475569;
  line-height: 1.4;
}
.sg-payroll-signed-card .sg-digital-signature-box .signature-crypto-meta code {
  color: #0071e3;
  background: #eff6ff;
  padding: 1px 4px;
  border-radius: 4px;
  font-size: 0.6rem;
}
.sg-payroll-signed-card .sg-compliance-footer {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.68rem;
  color: #065f46;
  line-height: 1.35;
}

/* 6. FRANJA DE MÉTRICAS ROI BENTO LIGHT */
.sg-neural-roi-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.sg-neural-roi-strip .roi-metric-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}
.sg-neural-roi-strip .roi-metric-item .roi-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}
.sg-neural-roi-strip .roi-metric-item .roi-text {
  display: flex;
  flex-direction: column;
}
.sg-neural-roi-strip .roi-metric-item .roi-text .roi-label {
  font-family: var(--sg-font-mono);
  font-size: 0.62rem;
  color: #64748b;
  letter-spacing: 0.06em;
}
.sg-neural-roi-strip .roi-metric-item .roi-text .roi-val {
  font-family: var(--sg-font-sans);
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
}
.sg-neural-roi-strip .roi-metric-item.highlight-agent .roi-icon {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #10b981;
}
.sg-neural-roi-strip .roi-metric-item.highlight-agent .roi-val {
  color: #059669;
}
.sg-neural-roi-strip .roi-divider {
  color: #cbd5e1;
  font-size: 0.85rem;
}

/* 7. FOOTER CALL TO ACTION DINÁMICO BENTO LIGHT */
.sg-neural-footer-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border: 1.5px solid #bfdbfe;
  border-radius: 18px;
  padding: 22px 28px;
  box-shadow: 0 10px 30px -10px rgba(0, 113, 227, 0.1);
}
.sg-neural-footer-action .action-info .action-hud-code {
  font-family: var(--sg-font-mono);
  font-size: 0.65rem;
  color: #0071e3;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.sg-neural-footer-action .action-info h4 {
  font-family: var(--sg-font-sans);
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
}
.sg-neural-footer-action .action-info p {
  font-size: 0.85rem;
  color: #475569;
}
.sg-neural-footer-action .action-btn-wrap {
  flex-shrink: 0;
}
.sg-neural-footer-action .action-btn-wrap .sg-btn-neural-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff !important;
  font-family: var(--sg-font-sans);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: all 0.25s ease;
}
.sg-neural-footer-action .action-btn-wrap .sg-btn-neural-cta i {
  font-size: 1.25rem;
}
.sg-neural-footer-action .action-btn-wrap .sg-btn-neural-cta:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
  color: #ffffff !important;
}

/* 8. RESPONSIVE ADAPTATIONS (< 992px) */
@media (max-width: 991.98px) {
  #sg-ai-section .sg-deck-panel {
    padding: 18px 8px 24px !important;
  }
  #sg-ai-section .container.sg-neural-container {
    padding-left: 2px !important;
    padding-right: 2px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  #sg-ai-section .sg-neural-sandbox {
    padding: 24px 12px !important;
    border-radius: 18px !important;
  }
  #sg-ai-section .sg-neural-main-title {
    font-size: 1.45rem !important;
    line-height: 1.25 !important;
  }
  #sg-ai-section .sg-neural-subtitle {
    font-size: 0.82rem !important;
    padding: 0 4px !important;
    line-height: 1.4 !important;
  }
  .sg-neural-ribbon-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  .sg-neural-ribbon-dock {
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 8px 6px !important;
    gap: 8px !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .sg-neural-ribbon-dock::-webkit-scrollbar {
    height: 3px;
  }
  .sg-neural-ribbon-dock::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
  }
  .sg-neural-ribbon-dock .sg-neural-agent-tab {
    min-width: 190px !important;
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 10px 12px !important;
    gap: 10px !important;
  }
  .sg-neural-ribbon-dock .sg-neural-agent-tab .agent-tab-icon {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    font-size: 1.05rem !important;
  }
  .sg-neural-ribbon-dock .sg-neural-agent-tab .agent-tab-body .agent-tab-tag {
    font-size: 0.58rem !important;
  }
  .sg-neural-ribbon-dock .sg-neural-agent-tab .agent-tab-body .agent-tab-title {
    font-size: 0.8rem !important;
  }
  .sg-neural-ribbon-dock .sg-neural-agent-tab .agent-tab-body .agent-tab-sub {
    font-size: 0.68rem !important;
  }
  .sg-neural-mob-segmenter {
    margin-bottom: 12px !important;
  }
  .sg-neural-mob-segmenter .sg-neural-mob-tab {
    padding: 8px 10px !important;
  }
  .sg-neural-mob-segmenter .sg-neural-mob-tab .tab-titles .tab-main {
    font-size: 0.72rem !important;
  }
  .sg-neural-mob-segmenter .sg-neural-mob-tab .tab-titles .tab-sub {
    font-size: 0.58rem !important;
  }
  .sg-neural-stage .row.g-4 {
    --bs-gutter-x: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .sg-neural-stage .sg-col-neural {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .sg-neural-stage .sg-col-neural-out {
    display: none;
  }
  .sg-neural-stage .sg-neural-card {
    padding: 14px 12px !important;
    border-radius: 16px !important;
  }
  .sg-neural-stage .sg-neural-card .neural-card-header {
    padding-bottom: 10px !important;
    margin-bottom: 12px !important;
  }
  .sg-neural-stage .sg-neural-card .neural-card-header .neural-header-badge {
    font-size: 0.64rem !important;
  }
  .sg-neural-stage .sg-neural-card .neural-card-header .neural-status-pill {
    font-size: 0.58rem !important;
  }
  .sg-neural-stage .sg-neural-card .neural-card-body {
    min-height: auto !important;
  }
  .sg-neural-stage .sg-neural-card .neural-card-footer {
    padding-top: 10px !important;
    margin-top: 12px !important;
    font-size: 0.64rem !important;
  }
  /* Ajustes específicos de contenido mobile */
  .sg-ocr-ticket-card {
    padding: 12px 10px !important;
  }
  .sg-ocr-ticket-card .ocr-ticket-header {
    font-size: 0.7rem !important;
  }
  .sg-ocr-ticket-card .ocr-ticket-body .ocr-item-row {
    font-size: 0.66rem !important;
  }
  .sg-ocr-ticket-card .ocr-ticket-body .ocr-sub-row {
    font-size: 0.64rem !important;
  }
  .sg-ocr-ticket-card .ocr-ticket-body .ocr-total-row {
    font-size: 0.76rem !important;
  }
  .ocr-detected-pills {
    gap: 4px !important;
    margin-top: 8px !important;
  }
  .ocr-detected-pills .ocr-chip {
    font-size: 0.58rem !important;
    padding: 2px 6px !important;
  }
  .sg-ledger-result-card .sg-neural-table {
    font-size: 0.68rem !important;
  }
  .sg-ledger-result-card .sg-neural-table th {
    font-size: 0.6rem !important;
    padding-bottom: 4px !important;
  }
  .sg-ledger-result-card .sg-neural-table td {
    padding: 5px 0 !important;
  }
  .sg-ledger-result-card .sg-sat-validation-box {
    padding: 8px 10px !important;
    gap: 8px !important;
  }
  .sg-ledger-result-card .sg-sat-validation-box .sat-val-icon {
    font-size: 1.2rem !important;
  }
  .sg-ledger-result-card .sg-sat-validation-box .sat-val-info .sat-val-title {
    font-size: 0.68rem !important;
  }
  .sg-ledger-result-card .sg-sat-validation-box .sat-val-info .sat-val-uuid {
    font-size: 0.58rem !important;
  }
  .sg-ledger-result-card .sg-sat-validation-box .sat-val-info .sat-val-status {
    font-size: 0.62rem !important;
  }
  .sg-wa-chat-simulator {
    padding: 10px !important;
  }
  .sg-wa-chat-simulator .wa-chat-flow .wa-bubble {
    max-width: 95% !important;
    font-size: 0.7rem !important;
    padding: 6px 10px !important;
  }
  .sg-calendar-result-card .cal-meta-grid {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }
  .sg-calendar-result-card .cal-card-top {
    padding: 8px 10px !important;
    gap: 10px !important;
  }
  .sg-calendar-result-card .cal-card-top .cal-date-badge {
    min-width: 48px !important;
    padding: 4px 6px !important;
  }
  .sg-calendar-result-card .cal-card-top .cal-date-badge .cal-month {
    font-size: 0.55rem !important;
  }
  .sg-calendar-result-card .cal-card-top .cal-date-badge .cal-day {
    font-size: 0.85rem !important;
  }
  .sg-calendar-result-card .cal-card-top .cal-details .cal-event-title {
    font-size: 0.78rem !important;
  }
  .sg-copilot-prompt-card .copilot-sql-terminal .terminal-code {
    font-size: 0.6rem !important;
  }
  .sg-bi-dashboard-card .sg-bi-chart-bars {
    gap: 8px !important;
    margin-bottom: 12px !important;
  }
  .sg-bi-dashboard-card .sg-bi-insights-list {
    gap: 6px !important;
  }
  .sg-bi-dashboard-card .sg-bi-insights-list .bi-insight-row {
    padding: 6px 8px !important;
    font-size: 0.68rem !important;
  }
  .sg-payroll-signed-card .signed-amount-banner {
    padding: 6px 8px !important;
  }
  .sg-payroll-signed-card .signed-amount-banner .amount-col .amt-val {
    font-size: 0.68rem !important;
  }
  .sg-payroll-signed-card .signed-amount-banner .amount-col.highlight .amt-val {
    font-size: 0.74rem !important;
  }
  .sg-payroll-signed-card .sg-digital-signature-box {
    padding: 8px 10px !important;
  }
  .sg-neural-roi-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 14px !important;
    gap: 8px !important;
    border-radius: 14px !important;
  }
  .sg-neural-roi-strip .roi-divider {
    display: none !important;
  }
  .sg-neural-roi-strip .roi-metric-item {
    width: 100% !important;
    gap: 10px !important;
  }
  .sg-neural-roi-strip .roi-metric-item .roi-icon {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    font-size: 0.95rem !important;
  }
  .sg-neural-roi-strip .roi-metric-item .roi-text .roi-label {
    font-size: 0.58rem !important;
  }
  .sg-neural-roi-strip .roi-metric-item .roi-text .roi-val {
    font-size: 0.82rem !important;
  }
  .sg-neural-footer-action {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px !important;
    gap: 12px !important;
    border-radius: 14px !important;
    margin-top: 10px !important;
  }
  .sg-neural-footer-action .action-info h4 {
    font-size: 0.95rem !important;
    line-height: 1.3 !important;
  }
  .sg-neural-footer-action .action-info p {
    font-size: 0.74rem !important;
    line-height: 1.35 !important;
  }
  .sg-neural-footer-action .action-btn-wrap {
    width: 100% !important;
  }
  .sg-neural-footer-action .action-btn-wrap .sg-btn-neural-cta {
    width: 100% !important;
    justify-content: center !important;
    font-size: 0.82rem !important;
    padding: 10px 16px !important;
  }
}
/* ================================================================
   BOTONES CYBERDECK (GLOBAL)
   ================================================================ */
.sg-btn-cyber-primary {
  background: #ffffff;
  color: #000000 !important;
  font-family: var(--sg-font-sans);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: 999px;
  padding: 14px 34px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  user-select: none;
}
.sg-btn-cyber-primary:hover {
  background: var(--sg-neon-orange);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(255, 119, 0, 0.5);
}
.sg-btn-cyber-primary:active {
  transform: scale(0.96);
}

.sg-btn-cyber-outline {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff !important;
  font-family: var(--sg-font-sans);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: 999px;
  padding: 14px 32px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}
.sg-btn-cyber-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}
.sg-btn-cyber-outline:active {
  transform: scale(0.96);
}

/* Floating WhatsApp Button with Radar Pulse Halo */
.sg-floating-wa {
  position: fixed;
  bottom: calc(25px + env(safe-area-inset-bottom, 0px));
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.sg-floating-wa::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  opacity: 0.8;
  animation: sgRadarPulse 2.4s infinite cubic-bezier(0.24, 0, 0.38, 1);
  pointer-events: none;
}
.sg-floating-wa:hover {
  color: #ffffff !important;
  transform: scale(1.1);
  box-shadow: 0 14px 35px rgba(37, 211, 102, 0.6);
}
.sg-floating-wa:active {
  transform: scale(0.92);
}

@keyframes sgRadarPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
/* ================================================================
   CASOS DE ÉXITO // STEAM CINEMA MINIMAL SHOWCASE (SECCIÓN 04)
   ================================================================ */
.sg-cinema-stage {
  min-height: 560px;
  background: #080b12;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  user-select: none;
}

.sg-cinema-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.sg-cinema-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.58) contrast(1.1);
  pointer-events: none;
}
.sg-cinema-layer.active {
  opacity: 1;
  transform: scale(1);
}

.sg-cinema-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(8, 11, 18, 0.75) 0%, rgba(8, 11, 18, 0.35) 40%, rgba(8, 11, 18, 0.95) 100%), linear-gradient(90deg, rgba(8, 11, 18, 0.96) 0%, rgba(8, 11, 18, 0.82) 48%, rgba(8, 11, 18, 0.35) 100%);
  z-index: 2;
  pointer-events: none;
}

.sg-cinema-hero-body {
  max-width: 680px;
  position: relative;
  z-index: 5;
}

.sg-cinema-fade-in {
  animation: sgCinemaSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes sgCinemaSlideUp {
  from {
    opacity: 0.3;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.sg-cinema-category-pill {
  font-family: var(--sg-font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sg-cinema-client-title {
  font-family: var(--sg-font-sans);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.sg-cinema-tagline {
  font-size: 0.95rem;
  color: #cbd5e1;
  max-width: 580px;
  line-height: 1.5;
  font-weight: 400;
}

/* Minimalist Steam Stat Counters (Pure White & Clean Gray) */
.sg-stat-item {
  display: flex;
  flex-direction: column;
}

.sg-stat-num {
  font-family: var(--sg-font-display);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff !important;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.25);
}

.sg-stat-label {
  font-family: var(--sg-font-mono);
  font-size: 0.68rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.sg-stat-divider {
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.28) 50%, rgba(255, 255, 255, 0.05) 100%);
}

/* Steam Minimal Dock */
.sg-cinema-dock-wrap {
  background: rgba(8, 11, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sg-cinema-counter-badge {
  font-family: var(--sg-font-mono);
  font-size: 0.72rem;
  color: var(--sg-neon-orange);
  background: rgba(255, 119, 0, 0.12);
  border: 1px solid rgba(255, 119, 0, 0.3);
  padding: 2px 10px;
  border-radius: 999px;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.sg-console-arrow-btn {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #ffffff;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.sg-console-arrow-btn:hover {
  background: var(--sg-neon-orange);
  color: #ffffff;
  border-color: var(--sg-neon-orange);
  box-shadow: 0 0 14px rgba(255, 119, 0, 0.5);
  transform: scale(1.06);
}
.sg-console-arrow-btn:active {
  transform: scale(0.92);
}

.sg-cinema-dock-scroll {
  overflow-x: auto;
  scrollbar-width: none;
  padding: 6px 2px 10px 2px;
}
.sg-cinema-dock-scroll::-webkit-scrollbar {
  display: none;
}

/* Minimalist Logo & Capsule Card (Hero Capsule Aesthetic) */
.sg-cinema-logo-card {
  flex: 0 0 auto;
  height: 64px;
  padding: 10px 18px;
  background: rgba(13, 17, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}
.sg-cinema-logo-card .sg-logo-wrap {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1.25rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.sg-cinema-logo-card .sg-logo-name {
  font-family: var(--sg-font-sans);
  font-weight: 700;
  font-size: 0.82rem;
  color: #e2e8f0;
  white-space: nowrap;
  line-height: 1.2;
}
.sg-cinema-logo-card .sg-logo-sector {
  font-family: var(--sg-font-mono);
  font-size: 0.64rem;
  color: #64748b;
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.sg-cinema-logo-card .sg-logo-dot {
  position: absolute;
  top: -3px;
  right: 12px;
  width: 6px;
  height: 6px;
  background: var(--sg-neon-orange);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--sg-neon-orange);
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.25s ease;
}
.sg-cinema-logo-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  background: rgba(22, 28, 42, 0.95);
}
.sg-cinema-logo-card:hover .sg-logo-wrap {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}
.sg-cinema-logo-card.active {
  border-color: var(--sg-neon-orange);
  background: linear-gradient(135deg, rgba(255, 119, 0, 0.12) 0%, rgba(20, 26, 38, 0.95) 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 119, 0, 0.2);
}
.sg-cinema-logo-card.active .sg-logo-wrap {
  background: var(--sg-neon-orange);
  border-color: var(--sg-neon-orange);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(255, 119, 0, 0.5);
}
.sg-cinema-logo-card.active .sg-logo-name {
  color: #ffffff;
}
.sg-cinema-logo-card.active .sg-logo-sector {
  color: var(--sg-neon-orange);
}
.sg-cinema-logo-card.active .sg-logo-dot {
  opacity: 1;
  transform: scale(1);
}

/* ================================================================
   RESPONSIVE DESIGN (100% MOBILE COMPATIBLE)
   ================================================================ */
.sg-burger {
  width: 48px;
  height: 48px;
  padding: 0 !important;
  background: #0b0c10 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 50% !important;
}

.sg-burger:hover {
  background: var(--sg-neon-orange) !important;
}

#top_menu_collapse_mobile.offcanvas {
  background: #fff !important;
  width: min(86vw, 360px);
  border-radius: 32px 0 0 32px;
  padding: 6px;
}

#top_menu_collapse_mobile .offcanvas-body {
  background: #0b0c10;
  border-radius: 28px;
  padding: 22px;
}

#top_menu_collapse_mobile .offcanvas-header {
  padding: 14px 18px 8px;
}

#top_menu_collapse_mobile .nav-link {
  color: #fff !important;
  font-family: var(--sg-font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 14px 18px !important;
  border-radius: 999px;
  transition: all 0.2s;
}

#top_menu_collapse_mobile .nav-link:hover,
#top_menu_collapse_mobile .nav-link.active {
  background: #fff;
  color: #0b0c10 !important;
}

@media (max-width: 991.98px) {
  .sg-cyberdeck-stage,
  .sg-bento-section {
    padding-left: 10px;
    padding-right: 10px;
    --f: 10px;
    --r: 24px;
  }
  .sg-cyberdeck-stage {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .sg-deck {
    border-radius: 32px;
  }
  .sg-deck-panel {
    border-radius: 24px;
  }
  #wrapwrap:has(.sg-cyberdeck-stage) header#top {
    top: 10px;
    --f: 10px;
    --r: 24px;
  }
  #wrapwrap header#top nav.navbar {
    width: calc(100% - 20px);
  }
  .sg-notch-tl,
  .sg-notch-tr {
    padding: 2px 16px 12px;
  }
  .sg-brand {
    padding: 10px 16px;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }
  .sg-label {
    padding: 8px 14px;
    font-size: 0.66rem;
  }
  /* Hero en Móvil */
  .sg-deck:not(.sg-deck-lite) {
    height: auto;
    min-height: 0;
  }
  .sg-deck:not(.sg-deck-lite) .sg-deck-panel {
    min-height: 580px;
  }
  .sg-deck-watermark {
    font-size: 3rem;
    top: 46%;
  }
  .sg-deck-hero-img {
    object-position: 70% 40%;
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
  }
  .sg-hud {
    display: none;
  }
  .sg-deck-headline {
    left: 20px;
    bottom: 100px;
    font-size: clamp(1.4rem, 7vw, 2.2rem);
  }
  .sg-shop-pill {
    display: inline-block;
    top: auto;
    right: auto;
    left: 20px;
    bottom: 30px;
  }
  .sg-notch-br {
    padding: 12px 14px 14px 12px;
    gap: 8px;
  }
  .sg-notch-br .sg-pod-txt,
  .sg-notch-br .sg-circle-sm:first-of-type {
    display: none;
  }
  .sg-pod {
    padding: 6px;
    border-radius: 22px;
  }
  .sg-pod img {
    width: 60px;
    height: 60px;
    border-radius: 16px;
  }
  /* Secciones Interiores en Móvil */
  .sg-deck-flow > .container {
    padding: 72px 12px 32px;
  }
  .sg-section-title {
    font-size: 1.6rem;
  }
  .sg-cockpit-box {
    padding: 20px 16px;
    border-radius: 22px;
  }
  .sg-presets-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 4px 4px 12px 4px;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .sg-presets-nav::-webkit-scrollbar {
    display: none;
  }
  .sg-cyber-tab {
    flex: 0 0 auto;
    width: auto;
    padding: 8px 16px;
  }
  .sg-cyber-tab .sg-tab-icon {
    width: 28px;
    height: 28px;
    font-size: 0.82rem;
  }
  .sg-cyber-tab .sg-tab-text b {
    font-size: 0.72rem;
  }
  .sg-cyber-tab .sg-tab-text em {
    font-size: 0.6rem;
  }
  .sg-verticals-rack {
    flex-direction: row !important;
    overflow-x: auto;
    padding: 4px 4px 12px 4px;
    gap: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .sg-verticals-rack::-webkit-scrollbar {
    display: none;
  }
  .sg-rack-blade {
    flex: 0 0 240px;
    padding: 12px 14px;
  }
  .sg-rack-blade:hover {
    transform: none;
  }
  .sg-phone-chassis {
    width: 340px;
    max-width: 100%;
    height: 700px;
    margin-top: 20px;
    border-width: 8px;
    border-radius: 46px;
  }
  .sg-phone-screen {
    height: 100%;
    min-height: 100%;
  }
  .sg-glass-dock {
    margin: 4px 8px 10px 8px;
    padding: 4px 4px;
    border-radius: 20px;
  }
  .sg-dock-btn {
    min-width: 38px;
    padding: 4px 6px;
  }
  .sg-dock-btn i {
    font-size: 0.9rem;
  }
  .sg-dock-btn span {
    font-size: 0.58rem;
  }
  .sg-pipeline-flow {
    flex-direction: column;
  }
  .sg-pipe-connector i {
    transform: rotate(90deg);
  }
  .sg-pipe-step {
    width: 100%;
    max-width: 280px;
  }
  .sg-btn-cyber-primary,
  .sg-btn-cyber-outline {
    width: 100%;
    justify-content: center;
  }
  .sg-floating-wa {
    width: 52px;
    height: 52px;
    font-size: 24px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: 16px;
  }
  .sg-cinema-stage {
    min-height: auto;
  }
  .sg-cinema-logo-card {
    flex: 0 0 auto;
    height: 52px;
    padding: 6px 12px;
    border-radius: 14px;
  }
  .sg-cinema-logo-card .sg-logo-wrap {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }
  .sg-cinema-hero-body {
    padding: 62px 20px 16px 20px !important;
  }
  .sg-cinema-dock-wrap {
    padding: 12px 18px 20px 18px !important;
  }
  .sg-cinema-tagline {
    font-size: 0.88rem;
  }
}
@media (max-width: 767.98px) {
  .sg-notch-tl,
  .sg-notch-tr {
    padding: 2px 10px 10px;
    gap: 6px;
  }
  .sg-contact {
    padding: 0 !important;
    width: 38px !important;
    height: 38px !important;
    flex: 0 0 38px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    background: #0b0c10 !important;
    color: #fff !important;
    justify-content: center !important;
    align-items: center !important;
  }
  .sg-contact .sg-contact-label {
    display: none !important;
  }
  .sg-contact .sg-contact-ico {
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 0.95rem !important;
    border-radius: 0 !important;
  }
  .sg-circle-sm {
    width: 38px;
    height: 38px;
  }
  .sg-brand {
    padding: 8px 12px;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }
  .sg-phone-chassis {
    width: 100%;
    max-width: 330px;
    height: 640px;
    border-width: 6px;
    border-radius: 38px;
  }
  .sg-cinema-hero-body {
    padding: 50px 14px 12px 14px !important;
  }
  .sg-cinema-dock-wrap {
    padding: 10px 12px 14px 12px !important;
  }
}
@media (max-width: 380px) {
  .sg-brand-dot {
    display: none;
  }
  .sg-deck-headline {
    bottom: 96px;
  }
}
/* ================================================================
   GAMING DEVELOPER & LAB // DAWNKEEPER: LUZ DE BARRO (SECCIÓN 05)
   ================================================================ */
.sg-gaming-card {
  background: #080c14;
  border-radius: 28px;
  border: 1px solid rgba(255, 120, 0, 0.18);
  box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.9), 0 0 40px -10px rgba(255, 102, 0, 0.12);
  position: relative;
  overflow: hidden;
}

/* Steam-like Media Viewport */
.dk-media-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  min-height: 380px;
  background: #04060a;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.8);
}

.dk-media-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.dk-media-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.dk-media-overlay-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(0deg, rgba(8, 12, 20, 0.95) 0%, rgba(8, 12, 20, 0.5) 50%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.dk-viewport-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.dk-badge-tag {
  font-family: var(--sg-font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f1f5f9;
  letter-spacing: 0.05em;
}
.dk-badge-tag.dk-badge-accent {
  background: rgba(255, 85, 0, 0.25);
  border-color: rgba(255, 102, 0, 0.5);
  color: #ffaa55;
}

.dk-viewport-caption {
  position: absolute;
  bottom: 16px;
  left: 20px;
  right: 20px;
  z-index: 3;
}

/* Thumbnails Strip (Steam-style) */
.dk-thumb-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 10px 2px;
}
.dk-thumb-strip::-webkit-scrollbar {
  display: none;
}

.dk-thumb-btn {
  flex: 0 0 110px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: #0f172a;
  transition: all 0.25s ease;
  padding: 0;
}
.dk-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  transition: opacity 0.25s ease, transform 0.3s ease;
}
.dk-thumb-btn .dk-thumb-label {
  position: absolute;
  bottom: 2px;
  left: 4px;
  right: 4px;
  font-size: 0.6rem;
  font-family: var(--sg-font-mono);
  color: #fff;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 4px;
  padding: 1px 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}
.dk-thumb-btn:hover {
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}
.dk-thumb-btn:hover img {
  opacity: 0.95;
  transform: scale(1.05);
}
.dk-thumb-btn.active {
  border-color: var(--sg-neon-orange);
  box-shadow: 0 0 16px rgba(255, 102, 0, 0.45);
}
.dk-thumb-btn.active img {
  opacity: 1;
}

/* Discord Community & Lore Pod */
.dk-discord-box {
  background: #111522;
  border: 1px solid rgba(88, 101, 242, 0.25);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dk-discord-header {
  background: rgba(88, 101, 242, 0.12);
  border-bottom: 1px solid rgba(88, 101, 242, 0.2);
  padding: 12px 18px;
  border-radius: 20px 20px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dk-discord-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #5865f2;
  object-fit: cover;
}

.dk-channel-pill {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.72rem;
  color: #94a3b8;
  font-family: var(--sg-font-mono);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.dk-channel-pill.active {
  background: rgba(88, 101, 242, 0.2);
  color: #c7d2fe;
}

.dk-chat-bubble {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid #5865f2;
  border-radius: 0 12px 12px 0;
  padding: 12px 16px;
  font-size: 0.88rem;
  color: #e2e8f0;
  line-height: 1.55;
}

/* Play Action CTA Box */
.dk-play-box {
  background: linear-gradient(135deg, rgba(255, 85, 0, 0.12) 0%, rgba(239, 68, 68, 0.08) 100%);
  border: 1px solid rgba(255, 102, 0, 0.35);
  border-radius: 20px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.dk-play-box::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 102, 0, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.dk-btn-play {
  background: linear-gradient(135deg, #ff6600 0%, #ea580c 50%, #dc2626 100%);
  color: #ffffff !important;
  font-family: var(--sg-font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  padding: 16px 32px;
  border-radius: 14px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 0 25px rgba(255, 102, 0, 0.55), 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}
.dk-btn-play:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 35px rgba(255, 102, 0, 0.8), 0 12px 28px rgba(0, 0, 0, 0.5);
  color: #ffffff;
}
.dk-btn-play:active {
  transform: translateY(1px) scale(0.98);
}

/* RETRO ARCADE CRT MODAL */
.sg-crt-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.sg-crt-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.sg-crt-cabinet {
  width: 100%;
  max-width: 1020px;
  background: #090d16;
  border: 2px solid #ff6600;
  border-radius: 20px;
  box-shadow: 0 0 50px rgba(255, 102, 0, 0.35), inset 0 0 20px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 92vh;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.sg-crt-modal-backdrop.active .sg-crt-cabinet {
  transform: scale(1);
}

.sg-crt-cabinet-header {
  background: #141a29;
  border-bottom: 1px solid rgba(255, 102, 0, 0.3);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sg-crt-screen-wrap {
  position: relative;
  background: #000;
  aspect-ratio: 16/9;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sg-crt-hud-controls {
  background: #0d121f;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 20px;
}

.sg-key-badge {
  background: #1e293b;
  border: 1px solid #475569;
  border-bottom: 3px solid #334155;
  border-radius: 6px;
  padding: 2px 7px;
  font-family: var(--sg-font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #f8fafc;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);
}

/* ROTATE DEVICE NOTICE (PORTRAIT OVERLAY) */
.dk-rotate-notice {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 7, 14, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}
.dk-rotate-notice.dismissed {
  display: none !important;
}

@media (max-width: 900px) and (orientation: portrait) {
  .dk-rotate-notice:not(.dismissed) {
    display: flex;
  }
}
.dk-rotate-box {
  max-width: 320px;
  background: rgba(18, 24, 38, 0.95);
  border: 1px solid rgba(255, 102, 0, 0.4);
  box-shadow: 0 0 35px rgba(255, 102, 0, 0.25);
  border-radius: 20px;
  padding: 28px 20px;
}

.dk-phone-rotate-anim {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dk-phone-rotate-anim .dk-phone-icon {
  font-size: 48px;
  color: #ffaa55;
  animation: dkPhoneTilt 2.2s ease-in-out infinite;
  transform-origin: center center;
}
.dk-phone-rotate-anim .dk-rotate-arrow {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 18px;
  color: var(--sg-neon-orange);
  animation: dkArrowSpin 2.2s linear infinite;
}

@keyframes dkPhoneTilt {
  0%, 15% {
    transform: rotate(0deg);
  }
  50%, 75% {
    transform: rotate(-90deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
@keyframes dkArrowSpin {
  0% {
    transform: rotate(0deg);
    opacity: 0.4;
  }
  50% {
    transform: rotate(180deg);
    opacity: 1;
  }
  100% {
    transform: rotate(360deg);
    opacity: 0.4;
  }
}
/* VIRTUAL TOUCH GAMEPAD (MOBILE CONTROLS) */
.dk-touch-controls {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  pointer-events: none;
  z-index: 30;
  user-select: none;
  -webkit-user-select: none;
}

/* Solo mostrar controles táctiles en móvil/tablet o touch */
@media (min-width: 992px) {
  .dk-touch-controls {
    display: none !important;
  }
}
.dk-touch-dpad,
.dk-touch-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
}

.dk-touch-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sg-font-mono);
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 0.1s ease, background 0.1s ease, border-color 0.1s ease;
  padding: 0;
}
.dk-touch-btn:active, .dk-touch-btn.touch-active {
  transform: scale(0.9);
  background: rgba(255, 102, 0, 0.45);
  border-color: #ff6600;
  box-shadow: 0 0 20px rgba(255, 102, 0, 0.6);
  color: #fff;
}
.dk-touch-btn.dk-btn-jump {
  width: 58px;
  height: 58px;
  background: rgba(6, 182, 212, 0.28);
  border-color: rgba(6, 182, 212, 0.6);
  color: #67e8f9;
}
.dk-touch-btn.dk-btn-jump:active, .dk-touch-btn.dk-btn-jump.touch-active {
  background: rgba(6, 182, 212, 0.6);
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.8);
}
.dk-touch-btn.dk-btn-shoot {
  width: 58px;
  height: 58px;
  background: rgba(239, 68, 68, 0.28);
  border-color: rgba(239, 68, 68, 0.6);
  color: #fca5a5;
}
.dk-touch-btn.dk-btn-shoot:active, .dk-touch-btn.dk-btn-shoot.touch-active {
  background: rgba(239, 68, 68, 0.6);
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.8);
}
.dk-touch-btn.dk-btn-parry {
  width: 44px;
  height: 44px;
  background: rgba(168, 85, 247, 0.28);
  border-color: rgba(168, 85, 247, 0.6);
  color: #d8b4fe;
}
.dk-touch-btn.dk-btn-parry:active, .dk-touch-btn.dk-btn-parry.touch-active {
  background: rgba(168, 85, 247, 0.6);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.8);
}
.dk-touch-btn.dk-btn-utility {
  width: 44px;
  height: 44px;
  background: rgba(245, 158, 11, 0.28);
  border-color: rgba(245, 158, 11, 0.6);
  color: #fde68a;
}
.dk-touch-btn.dk-btn-utility:active, .dk-touch-btn.dk-btn-utility.touch-active {
  background: rgba(245, 158, 11, 0.6);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.8);
}

/* FLOATING CLOSE BUTTON (ALWAYS VISIBLE IN MOBILE / FULLSCREEN) */
.dk-floating-close-btn {
  position: fixed;
  top: 10px;
  right: 12px;
  z-index: 100001;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(239, 68, 68, 0.7);
  color: #ef4444 !important;
  font-family: var(--sg-font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.8), 0 0 14px rgba(239, 68, 68, 0.4);
  cursor: pointer;
  transition: all 0.2s ease;
}
.dk-floating-close-btn:hover, .dk-floating-close-btn:active {
  background: #ef4444;
  color: #ffffff !important;
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.8);
}

/* MOBILE CABINET OPTIMIZATIONS */
@media (max-width: 900px), (max-height: 550px) {
  .sg-crt-modal-backdrop {
    padding: 0 !important;
  }
  .sg-crt-cabinet {
    max-height: 100vh !important;
    height: 100vh !important;
    max-width: 100vw !important;
    border-radius: 0 !important;
    border: none !important;
  }
  .sg-crt-cabinet-header {
    display: none !important;
  }
  .sg-crt-hud-controls {
    display: none !important;
  }
}
/* 1. MÓVIL EN VERTICAL (PORTRAIT): FORMATO CONSOLA PORTÁTIL RETRO */
@media (max-width: 900px) and (orientation: portrait) {
  .sg-crt-cabinet {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    background: #060911 !important;
    height: 100vh !important;
  }
  /* Pantalla 16:9 arriba: conserva la arena completa para no recortar a Don Becerro ni a Quimera */
  .sg-crt-screen-wrap {
    width: 100vw !important;
    height: auto !important;
    aspect-ratio: 16/9 !important;
    flex-grow: 0 !important;
    max-height: 45vh !important;
    margin-top: 48px !important; /* espacio para el botón SALIR */
    border-bottom: 2px solid rgba(255, 102, 0, 0.35) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.9) !important;
    background: #000 !important;
  }
  /* Panel de controles abajo: espacio ergonómico que NO tapa el juego */
  .dk-touch-controls {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    flex-grow: 1 !important;
    width: 100% !important;
    padding: 24px 20px 32px 20px !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #080c16 !important;
    pointer-events: auto !important;
    z-index: 10 !important;
  }
  .dk-touch-btn {
    width: 52px;
    height: 52px;
  }
  .dk-touch-btn.dk-btn-jump, .dk-touch-btn.dk-btn-shoot {
    width: 62px;
    height: 62px;
  }
}
/* 2. MÓVIL EN HORIZONTAL (LANDSCAPE): PANTALLA COMPLETA 16:9 TOTAL */
@media (max-height: 550px) and (orientation: landscape) {
  .sg-crt-screen-wrap {
    width: 100vw !important;
    height: 100vh !important;
    aspect-ratio: auto !important;
    flex-grow: 1 !important;
    margin-top: 0 !important;
    border: none !important;
  }
  .dk-touch-controls {
    position: fixed !important;
    bottom: 12px !important;
    left: 0 !important;
    right: 0 !important;
    padding: 0 24px !important;
    pointer-events: none !important;
    z-index: 100000 !important;
  }
}
/* ========================================================================== */
/* SIMULADOR INFOGRÁFICO: ODOO ENTERPRISE PIPELINE                           */
/* ========================================================================== */
.sg-infographic-sandbox {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.08);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
}
.sg-infographic-sandbox::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #714b67 0%, #0284c7 50%, #10b981 100%);
}

.sg-info-header .sg-info-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f3e8ff;
  color: #714b67;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid #e9d5ff;
  margin-bottom: 12px;
}
.sg-info-header .sg-info-pill .pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #714b67;
  box-shadow: 0 0 8px rgba(113, 75, 103, 0.6);
  animation: pulse-dot 1.5s infinite ease-in-out;
}
.sg-info-header .sg-info-main-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 2.25rem;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.sg-info-header .sg-info-main-title span {
  background: linear-gradient(135deg, #714b67 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sg-info-header .sg-info-subtitle {
  color: #64748b;
  font-size: 1rem;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.5;
}

@keyframes pulse-dot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.6;
  }
}
/* 1. RIBBON CON ICONOS OFICIALES DE ODOO */
.sg-odoo-apps-ribbon {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 16px 20px;
}
.sg-odoo-apps-ribbon .ribbon-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.sg-odoo-apps-ribbon .ribbon-items-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}
.sg-odoo-apps-ribbon .sg-ribbon-btn {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  position: relative;
  outline: none;
}
.sg-odoo-apps-ribbon .sg-ribbon-btn:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}
.sg-odoo-apps-ribbon .sg-ribbon-btn.active {
  background: #ffffff;
  border-color: #714b67;
  box-shadow: 0 12px 24px -6px rgba(113, 75, 103, 0.18);
}
.sg-odoo-apps-ribbon .sg-ribbon-btn.active .ribbon-active-indicator {
  opacity: 1;
  transform: scale(1);
}
.sg-odoo-apps-ribbon .sg-ribbon-btn.active .ribbon-icon-box {
  transform: scale(1.1);
}
.sg-odoo-apps-ribbon .sg-ribbon-btn .ribbon-icon-box {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.sg-odoo-apps-ribbon .sg-ribbon-btn .ribbon-icon-box .odoo-app-svg {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.06));
}
.sg-odoo-apps-ribbon .sg-ribbon-btn .ribbon-btn-info {
  display: flex;
  flex-direction: column;
}
.sg-odoo-apps-ribbon .sg-ribbon-btn .ribbon-btn-info .ribbon-app-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}
.sg-odoo-apps-ribbon .sg-ribbon-btn .ribbon-btn-info .ribbon-app-action {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 2px;
}
.sg-odoo-apps-ribbon .sg-ribbon-btn .ribbon-active-indicator {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #714b67;
  border: 2px solid #ffffff;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s ease;
}

/* 2. PIPELINE CANVAS & DISPARADOR */
.sg-pipeline-canvas {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px 24px;
  background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
  background-size: 20px 20px;
  position: relative;
}

.sg-trigger-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.sg-trigger-card .trigger-card-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0284c7;
  background: #f0f9ff;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #e0f2fe;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sg-trigger-card .trigger-card-badge .ping-circle {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0284c7;
  box-shadow: 0 0 6px #0284c7;
}
.sg-trigger-card .trigger-main-visual {
  display: flex;
  align-items: center;
  gap: 18px;
}
.sg-trigger-card .trigger-main-visual .trigger-icon-hero {
  width: 60px;
  height: 60px;
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.sg-trigger-card .trigger-main-visual .trigger-icon-hero .odoo-hero-svg {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.sg-trigger-card .trigger-main-visual .trigger-text-details h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
}
.sg-trigger-card .trigger-main-visual .trigger-text-details p {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
}
.sg-trigger-card .trigger-meta-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.sg-trigger-card .trigger-meta-badges .meta-chip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.78rem;
  color: #475569;
  font-family: "JetBrains Mono", monospace;
}
.sg-trigger-card .trigger-meta-badges .meta-chip strong {
  color: #0f172a;
}

/* HILOS VECTORIALES DE FLUJO */
.sg-flow-branches-wrap {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 16px 20px;
  position: relative;
}
.sg-flow-branches-wrap .branch-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.sg-flow-branches-wrap .branch-connector .flow-track {
  width: 3px;
  height: 40px;
  background: #e2e8f0;
  position: relative;
  border-radius: 3px;
  overflow: hidden;
}
.sg-flow-branches-wrap .branch-connector .flow-track .flow-pulse-particle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 16px;
  border-radius: 3px;
  animation: flowDown 1.4s infinite ease-in-out;
}
.sg-flow-branches-wrap .branch-connector .flow-track .flow-pulse-particle.pulse-inv {
  background: linear-gradient(180deg, #0284c7, #38bdf8);
  box-shadow: 0 0 8px #0284c7;
}
.sg-flow-branches-wrap .branch-connector .flow-track .flow-pulse-particle.pulse-acc {
  background: linear-gradient(180deg, #714b67, #a855f7);
  box-shadow: 0 0 8px #714b67;
}
.sg-flow-branches-wrap .branch-connector .flow-label-pill {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}
.sg-flow-branches-wrap .branch-connector .flow-label-pill.pill-inv {
  color: #0284c7;
}
.sg-flow-branches-wrap .branch-connector .flow-label-pill.pill-acc {
  color: #714b67;
}

@keyframes flowDown {
  0% {
    transform: translateY(-16px);
  }
  100% {
    transform: translateY(40px);
  }
}
/* TARJETAS INFOGRÁFICAS DE LAS ISLAS (ALMACÉN Y CONTABILIDAD) */
.sg-infographic-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sg-infographic-card.card-inv {
  border-top: 4px solid #0284c7;
}
.sg-infographic-card.card-acc {
  border-top: 4px solid #714b67;
}
.sg-infographic-card .info-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  position: relative;
}
.sg-infographic-card .info-card-header .info-header-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sg-infographic-card .info-card-header .info-header-icon-wrap.icon-inv {
  background: #e0f2fe;
}
.sg-infographic-card .info-card-header .info-header-icon-wrap.icon-acc {
  background: #f3e8ff;
}
.sg-infographic-card .info-card-header .info-header-icon-wrap .odoo-node-svg {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.sg-infographic-card .info-card-header .info-header-title h4 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
}
.sg-infographic-card .info-card-header .info-header-title .sub-node {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: #64748b;
}
.sg-infographic-card .info-card-header .node-live-tag {
  margin-left: auto;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}
.sg-infographic-card .info-card-header .node-live-tag.tag-inv {
  background: #e0f2fe;
  color: #0284c7;
}
.sg-infographic-card .info-card-header .node-live-tag.tag-acc {
  background: #f3e8ff;
  color: #714b67;
}
.sg-infographic-card {
  /* METER DE STOCK */
}
.sg-infographic-card .info-stock-visual-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.sg-infographic-card .info-stock-visual-box .stock-meter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.sg-infographic-card .info-stock-visual-box .stock-meter-header .meter-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
}
.sg-infographic-card .info-stock-visual-box .stock-meter-header .meter-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  background: #fee2e2;
  color: #dc2626;
}
.sg-infographic-card .info-stock-visual-box .stock-progress-track {
  height: 10px;
  background: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 8px;
}
.sg-infographic-card .info-stock-visual-box .stock-progress-track .stock-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #0284c7, #38bdf8);
  border-radius: 9999px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.sg-infographic-card .info-stock-visual-box .stock-meter-legend {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #64748b;
  font-family: "JetBrains Mono", monospace;
}
.sg-infographic-card {
  /* ALBARÁN DE ALMACÉN */
}
.sg-infographic-card .info-slip-box {
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 14px 16px;
}
.sg-infographic-card .info-slip-box .slip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #f1f5f9;
}
.sg-infographic-card .info-slip-box .slip-header .slip-type {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0284c7;
}
.sg-infographic-card .info-slip-box .slip-header .slip-id {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  font-weight: 800;
  color: #0f172a;
}
.sg-infographic-card .info-slip-box .slip-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sg-infographic-card .info-slip-box .slip-body .slip-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
}
.sg-infographic-card .info-slip-box .slip-body .slip-row .slip-lbl {
  color: #64748b;
}
.sg-infographic-card .info-slip-box .slip-body .slip-row .slip-val {
  font-weight: 600;
  color: #1e293b;
  text-align: right;
}
.sg-infographic-card {
  /* LIBRO MAYOR / PÓLIZA CONTABLE */
}
.sg-infographic-card .info-ledger-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.sg-infographic-card .info-ledger-box .ledger-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.sg-infographic-card .info-ledger-box .ledger-header .ledger-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
}
.sg-infographic-card .info-ledger-box .ledger-header .ledger-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  background: #f3e8ff;
  color: #714b67;
}
.sg-infographic-card .info-ledger-box .ledger-table {
  width: 100%;
  font-size: 0.78rem;
  border-collapse: collapse;
}
.sg-infographic-card .info-ledger-box .ledger-table th {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  color: #94a3b8;
  font-weight: 600;
  padding-bottom: 6px;
  border-bottom: 1px solid #e2e8f0;
}
.sg-infographic-card .info-ledger-box .ledger-table td {
  padding: 6px 0;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
}
.sg-infographic-card {
  /* SELLO OFICIAL SAT */
}
.sg-infographic-card .info-sat-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 12px 16px;
}
.sg-infographic-card .info-sat-box .sat-badge-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sg-infographic-card .info-sat-box .sat-badge-wrap .sat-stamp-icon {
  width: 36px;
  height: 36px;
  background: #16a34a;
  color: #ffffff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.sg-infographic-card .info-sat-box .sat-badge-wrap .sat-stamp-text {
  flex: 1;
}
.sg-infographic-card .info-sat-box .sat-badge-wrap .sat-stamp-text h6 {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  font-family: "Space Grotesk", sans-serif;
  color: #166534;
}
.sg-infographic-card .info-sat-box .sat-badge-wrap .sat-stamp-text .sat-uuid {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  color: #15803d;
}
.sg-infographic-card .info-sat-box .sat-badge-wrap .sat-status-ok {
  background: #16a34a;
  color: #ffffff;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
}

/* 3. COMPARATIVA VISUAL */
.sg-comparative-strip {
  display: flex;
  align-items: stretch;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px 20px;
  gap: 16px;
}
@media (max-width: 768px) {
  .sg-comparative-strip {
    flex-direction: column;
  }
}
.sg-comparative-strip .comp-col {
  flex: 1;
}
.sg-comparative-strip .comp-col .comp-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.sg-comparative-strip .comp-col .comp-header h6 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}
.sg-comparative-strip .comp-col p {
  font-size: 0.82rem;
  color: #475569;
  margin: 0;
  line-height: 1.45;
}
.sg-comparative-strip .comp-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}
.sg-comparative-strip .comp-divider span {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 800;
  background: #e2e8f0;
  color: #64748b;
  padding: 4px 8px;
  border-radius: 6px;
}

/* 4. BARRA DE ACCIÓN FINAL */
.sg-sandbox-footer-action {
  background: #0f172a;
  border-radius: 18px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.sg-sandbox-footer-action .footer-action-text h5 {
  color: #ffffff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  margin: 0 0 4px 0;
}
.sg-sandbox-footer-action .footer-action-text span {
  color: #94a3b8;
  font-size: 0.85rem;
}
.sg-sandbox-footer-action .footer-action-btn .sg-btn-quote-architecture {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 10px 20px -5px rgba(16, 185, 129, 0.4);
  transition: all 0.25s ease;
}
.sg-sandbox-footer-action .footer-action-btn .sg-btn-quote-architecture:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px -5px rgba(16, 185, 129, 0.5);
  color: #ffffff;
}

/* ==============================================================
   RESPONSIVE MOBILE UX/UI OPTIMIZATION (< 992px / Phones & Tablets)
   ============================================================== */
.sg-mob-island-switcher {
  display: none;
}

@media (min-width: 992px) {
  .sg-col-island-inv,
  .sg-col-island-acc {
    display: block !important;
  }
}
@media (max-width: 991.98px) {
  .sg-infographic-sandbox {
    padding: 16px 8px !important;
    border-radius: 16px !important;
    margin-left: -4px !important;
    margin-right: -4px !important;
    width: calc(100% + 8px) !important;
    box-sizing: border-box !important;
    box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.08) !important;
  }
  /* ELIMINAR EL CONTENEDOR ANIDADO INTERIOR EN MÓVIL (MÁXIMO ANCHO AL MARGEN) */
  .sg-pipeline-canvas {
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    width: 100% !important;
  }
  .sg-pipeline-canvas .row.g-4 {
    --bs-gutter-x: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .sg-pipeline-canvas .sg-col-island {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .sg-info-header {
    margin-bottom: 14px !important;
  }
  .sg-info-header .sg-info-pill {
    font-size: 0.68rem !important;
    padding: 4px 10px !important;
    margin-bottom: 6px !important;
  }
  .sg-info-header .sg-info-main-title {
    font-size: 1.35rem !important;
    line-height: 1.2 !important;
    margin-bottom: 6px !important;
  }
  .sg-info-header .sg-info-subtitle {
    font-size: 0.8rem !important;
    line-height: 1.35 !important;
    margin-bottom: 12px !important;
  }
  /* 1. HORIZONTAL SWIPEABLE DOCK FOR ODOO APPS */
  .sg-odoo-apps-ribbon {
    padding: 10px 10px !important;
    border-radius: 14px !important;
    margin-bottom: 12px !important;
  }
  .sg-odoo-apps-ribbon .ribbon-label {
    font-size: 0.65rem !important;
    margin-bottom: 8px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .sg-odoo-apps-ribbon .ribbon-label::after {
    content: "DESLIZA ➔";
    font-size: 0.62rem;
    color: #0284c7;
    font-weight: 800;
    animation: swipe-hint 1.5s infinite ease-in-out;
  }
  .sg-odoo-apps-ribbon .ribbon-items-wrap {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    gap: 8px !important;
    padding-bottom: 4px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .sg-odoo-apps-ribbon .ribbon-items-wrap::-webkit-scrollbar {
    display: none;
  }
  .sg-odoo-apps-ribbon .sg-ribbon-btn {
    flex: 0 0 auto !important;
    min-width: max-content !important;
    max-width: none !important;
    scroll-snap-align: start;
    padding: 6px 12px !important;
    gap: 8px !important;
    border-radius: 10px !important;
  }
  .sg-odoo-apps-ribbon .sg-ribbon-btn .ribbon-icon-box {
    width: 30px !important;
    height: 30px !important;
  }
  .sg-odoo-apps-ribbon .sg-ribbon-btn .ribbon-icon-box .odoo-app-svg {
    width: 26px !important;
    height: 26px !important;
  }
  .sg-odoo-apps-ribbon .sg-ribbon-btn .ribbon-btn-info {
    min-width: 0;
  }
  .sg-odoo-apps-ribbon .sg-ribbon-btn .ribbon-btn-info .ribbon-app-name {
    font-size: 0.76rem !important;
    white-space: nowrap;
    overflow: visible;
  }
  .sg-odoo-apps-ribbon .sg-ribbon-btn .ribbon-btn-info .ribbon-app-action {
    font-size: 0.64rem !important;
    white-space: nowrap;
    overflow: visible;
  }
  /* 2. COMPACT LIVE TRIGGER CAPSULE */
  .sg-trigger-card {
    padding: 10px 12px !important;
    border-radius: 12px !important;
    margin-bottom: 8px !important;
  }
  .sg-trigger-card .trigger-card-badge {
    font-size: 0.62rem !important;
    padding: 2px 6px !important;
    margin-bottom: 6px !important;
  }
  .sg-trigger-card .trigger-main-visual {
    gap: 10px !important;
  }
  .sg-trigger-card .trigger-main-visual .trigger-icon-hero {
    width: 36px !important;
    height: 36px !important;
    padding: 4px !important;
  }
  .sg-trigger-card .trigger-main-visual .trigger-icon-hero .odoo-hero-svg {
    width: 26px !important;
    height: 26px !important;
  }
  .sg-trigger-card .trigger-main-visual .trigger-text-details h3 {
    font-size: 0.9rem !important;
    margin-bottom: 2px !important;
  }
  .sg-trigger-card .trigger-main-visual .trigger-text-details p {
    font-size: 0.74rem !important;
    line-height: 1.3 !important;
    margin: 0 !important;
  }
  .sg-trigger-card .trigger-meta-badges {
    margin-top: 8px !important;
    padding-top: 6px !important;
    gap: 6px !important;
  }
  .sg-trigger-card .trigger-meta-badges .meta-chip {
    font-size: 0.65rem !important;
    padding: 2px 6px !important;
  }
  /* OCULTAR FLUJOS VERTICALES EXCESIVOS EN MOBILE */
  .sg-flow-branches-wrap {
    display: none !important;
  }
  /* 3. SEGMENTED MASTER SWITCHER FOR DUAL ISLANDS */
  .sg-mob-island-switcher {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    gap: 4px !important;
    background: #f1f5f9;
    padding: 4px !important;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin: 10px 0 12px 0;
    overflow: hidden !important;
  }
  .sg-mob-island-switcher .sg-mob-tab {
    flex: 1 1 50% !important;
    width: 50% !important;
    min-width: 0 !important;
    max-width: 50% !important;
    box-sizing: border-box !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px !important;
    padding: 6px 6px !important;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    overflow: hidden !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .sg-mob-island-switcher .sg-mob-tab.active {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  }
  .sg-mob-island-switcher .sg-mob-tab.active .tab-title {
    color: #0f172a;
    font-weight: 700;
  }
  .sg-mob-island-switcher .sg-mob-tab .tab-svg {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
  }
  .sg-mob-island-switcher .sg-mob-tab .tab-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    min-width: 0 !important;
    flex: 1 1 0 !important;
    overflow: hidden !important;
  }
  .sg-mob-island-switcher .sg-mob-tab .tab-text .tab-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.69rem !important;
    font-weight: 700;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
  }
  .sg-mob-island-switcher .sg-mob-tab .tab-text .tab-sub {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.58rem !important;
    color: #0284c7;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
  }
  .sg-mob-island-switcher .sg-mob-tab .tab-live-dot {
    width: 5px !important;
    height: 5px !important;
    border-radius: 50%;
    background: #10b981;
    margin-left: 2px !important;
    flex-shrink: 0 !important;
  }
  .sg-mob-island-switcher .sg-mob-tab .tab-live-dot.ping-animate {
    animation: ping-tab 0.4s ease-in-out;
  }
  /* Ocultar inicialmente la isla no activa en mobile */
  .sg-col-island-acc {
    display: none;
  }
  /* 4. COMPACT ISLAND CARDS ON MOBILE */
  .sg-infographic-card {
    padding: 12px 14px !important;
    border-radius: 14px !important;
  }
  .sg-infographic-card .info-card-header {
    margin-bottom: 10px !important;
  }
  .sg-infographic-card .info-card-header .info-header-icon-wrap {
    width: 32px !important;
    height: 32px !important;
  }
  .sg-infographic-card .info-card-header .info-header-icon-wrap .odoo-node-svg {
    width: 22px !important;
    height: 22px !important;
  }
  .sg-infographic-card .info-card-header .info-header-title h4 {
    font-size: 0.92rem !important;
  }
  .sg-infographic-card .info-card-header .info-header-title .sub-node {
    font-size: 0.62rem !important;
  }
  .sg-infographic-card .info-card-header .node-live-tag {
    font-size: 0.6rem !important;
    padding: 2px 6px !important;
  }
  .sg-infographic-card .info-stock-visual-box {
    padding: 8px 10px !important;
    margin-bottom: 8px !important;
  }
  .sg-infographic-card .info-stock-visual-box .meter-title {
    font-size: 0.62rem !important;
  }
  .sg-infographic-card .info-stock-visual-box .meter-badge {
    font-size: 0.62rem !important;
    padding: 1px 6px !important;
  }
  .sg-infographic-card .info-stock-visual-box .stock-progress-track {
    height: 8px !important;
    margin: 4px 0 !important;
  }
  .sg-infographic-card .info-stock-visual-box .stock-meter-legend {
    font-size: 0.7rem !important;
  }
  .sg-infographic-card .info-slip-box {
    padding: 8px 10px !important;
  }
  .sg-infographic-card .info-slip-box .slip-header {
    font-size: 0.62rem !important;
    margin-bottom: 4px !important;
  }
  .sg-infographic-card .info-slip-box .slip-body {
    gap: 3px !important;
  }
  .sg-infographic-card .info-slip-box .slip-body .slip-row {
    font-size: 0.7rem !important;
  }
  .sg-infographic-card .info-ledger-box {
    padding: 8px 10px !important;
    margin-bottom: 8px !important;
  }
  .sg-infographic-card .info-ledger-box .ledger-header {
    font-size: 0.62rem !important;
    margin-bottom: 4px !important;
  }
  .sg-infographic-card .info-ledger-box .ledger-header .ledger-title {
    font-size: 0.62rem !important;
  }
  .sg-infographic-card .info-ledger-box .ledger-header .ledger-badge {
    font-size: 0.64rem !important;
    padding: 1px 6px !important;
  }
  .sg-infographic-card .info-ledger-box .ledger-table {
    font-size: 0.7rem !important;
  }
  .sg-infographic-card .info-ledger-box .ledger-table th {
    font-size: 0.62rem !important;
    padding-bottom: 4px !important;
  }
  .sg-infographic-card .info-ledger-box .ledger-table td {
    padding: 4px 0 !important;
  }
  .sg-infographic-card .info-sat-box {
    padding: 6px 10px !important;
  }
  .sg-infographic-card .info-sat-box .sat-badge-wrap {
    gap: 8px !important;
  }
  .sg-infographic-card .info-sat-box .sat-badge-wrap .sat-stamp-icon {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.85rem !important;
  }
  .sg-infographic-card .info-sat-box .sat-badge-wrap .sat-stamp-text h6 {
    font-size: 0.68rem !important;
  }
  .sg-infographic-card .info-sat-box .sat-badge-wrap .sat-stamp-text .sat-uuid {
    font-size: 0.58rem !important;
  }
  .sg-infographic-card .info-sat-box .sat-badge-wrap .sat-status-ok {
    font-size: 0.6rem !important;
    padding: 2px 6px !important;
  }
  /* 5. STREAMLINED COMPARATIVE STRIP */
  .sg-comparative-strip {
    padding: 10px 12px !important;
    gap: 8px !important;
    border-radius: 12px !important;
    margin-top: 10px !important;
  }
  .sg-comparative-strip .comp-col .comp-header {
    margin-bottom: 2px !important;
  }
  .sg-comparative-strip .comp-col .comp-header h6 {
    font-size: 0.8rem !important;
  }
  .sg-comparative-strip .comp-col p {
    font-size: 0.72rem !important;
    line-height: 1.3 !important;
  }
  .sg-comparative-strip .comp-divider {
    display: none !important;
  }
  /* 6. COMPACT CTA FOOTER */
  .sg-sandbox-footer-action {
    padding: 14px 16px !important;
    border-radius: 14px !important;
    margin-top: 10px !important;
    gap: 12px !important;
  }
  .sg-sandbox-footer-action .footer-action-text h5 {
    font-size: 0.92rem !important;
  }
  .sg-sandbox-footer-action .footer-action-text span {
    font-size: 0.74rem !important;
  }
  .sg-sandbox-footer-action .footer-action-btn {
    width: 100%;
  }
  .sg-sandbox-footer-action .footer-action-btn .sg-btn-quote-architecture {
    width: 100% !important;
    justify-content: center !important;
    font-size: 0.82rem !important;
    padding: 9px 16px !important;
  }
}
@keyframes swipe-hint {
  0%, 100% {
    transform: translateX(0);
    opacity: 0.7;
  }
  50% {
    transform: translateX(4px);
    opacity: 1;
  }
}
@keyframes ping-tab {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(2.2);
    background: #38bdf8;
  }
  100% {
    transform: scale(1);
  }
}

/*# sourceMappingURL=smartgeeks_web.css.map */
