/* ─── VARIABLES ─── */
:root {
  --blue-deep: #0a1628;
  --blue-dark: #0d1f3c;
  --blue-mid: #1a3a6b;
  --blue-accent: #1e5eff;
  --blue-bright: #3b82f6;
  --blue-light: #60a5fa;
  --blue-pale: #e8f0fe;
  --white: #ffffff;
  --gray-100: #f8faff;
  --gray-200: #eef2fa;
  --gray-400: #94a3b8;
  --gray-600: #64748b;
  --gray-800: #1e293b;
  --font-display: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 12px rgba(30, 94, 255, 0.08);
  --shadow-md: 0 8px 40px rgba(30, 94, 255, 0.12);
  --shadow-lg: 0 20px 60px rgba(30, 94, 255, 0.18);
  --radius: 16px;
  --radius-lg: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  overflow-y: scroll;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--gray-800);
  overflow-x: clip;
  line-height: 1.7;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--blue-accent);
  border-radius: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
}

/* ─── NAVBAR ─── */
.navbar {
  background: transparent;
  padding: 1rem 0;
  transition: var(--transition);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.navbar.scrolled {
  background: rgb(255, 255, 255);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(30, 94, 255, 0.08);
  box-shadow: var(--shadow-sm);
  padding: 0.6rem 0;
}

.navbar .navbar-brand,
.navbar .navbar-toggler {
  color: var(--white) !important;
}

.navbar.scrolled .navbar-brand {
  color: var(--blue-deep) !important;
}

.navbar.scrolled .nav-link {
  color: var(--gray-600) !important;
}

.navbar.scrolled .navbar-toggler {
  color: var(--blue-accent) !important;
}

.navbar-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--blue-deep) !important;
  letter-spacing: -0.03em;
}

.navbar-brand span {
  color: var(--blue-accent);
}

.navbar .logo-dark {
  display: none !important;
}

.navbar.scrolled .logo-light {
  display: none !important;
}

.navbar.scrolled .logo-dark {
  display: inline-block !important;
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--gray-600) !important;
  font-size: 0.9rem;
  padding: 0.5rem 1rem !important;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--blue-accent);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--blue-accent) !important;
}

.nav-link:hover::after {
  left: 10%;
  right: 10%;
}

.navbar-toggler {
  border: none;
  color: var(--blue-accent);
}

.navbar-toggler:focus,
.navbar-toggler:active {
  outline: none;
  box-shadow: none;
}

/* ─── BUTTONS ─── */

/* ── Login Button (nav) ── */
.btn-login-il {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.87rem;
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-login-il:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Cuando el nav está sobre fondo blanco (scrolled) */
.navbar.scrolled .btn-login-il {
  background: transparent;
  color: var(--blue-accent);
  border-color: rgba(30, 94, 255, 0.35);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.navbar.scrolled .btn-login-il:hover {
  background: var(--blue-pale);
  color: var(--blue-accent);
  border-color: var(--blue-accent);
  box-shadow: 0 4px 16px rgba(30, 94, 255, 0.15);
}

.btn-primary-il {
  background: var(--blue-accent);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 20px rgba(30, 94, 255, 0.35);
  letter-spacing: 0.01em;
}

.btn-primary-il:hover {
  background: #1a4fd6;
  color: var(--white);
  box-shadow: 0 8px 30px rgba(30, 94, 255, 0.5);
  transform: translateY(-2px);
}

.btn-primary-il--lg {
  font-size: 1rem;
  padding: 1rem 2.5rem;
}

.btn-outline-il {
  background: transparent;
  color: var(--blue-accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  border: 1.5px solid var(--blue-accent);
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline-il:hover {
  background: var(--blue-accent);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-light {
  color: rgba(255, 255, 255, .9);
  border-color: rgba(255, 255, 255, .4);
}

.btn-white-il {
  background: var(--white);
  color: var(--blue-accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-white-il:hover {
  color: var(--blue-deep);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
}

/* ─── WHATSAPP FLOAT ─── */
.wsp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  text-decoration: none;
  animation: pulseWsp 2s infinite;
}

.wsp-float:hover {
  background-color: #1ebc5a;
  color: #FFF;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

@keyframes pulseWsp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ─── INTEGRATIONS MARQUEE ─── */
.integrations {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(30, 94, 255, 0.05);
  background: #ffffff;
  overflow: hidden;
  position: relative;
}

.integrations-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
}

.integration-track {
  display: flex;
  width: max-content;
  animation: scrollMarquee 35s linear infinite;
}

.integration-track:hover {
  animation-play-state: paused;
}

.integration-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--gray-800);
  padding: 0 3rem;
  transition: var(--transition);
  cursor: default;
}

.integration-item i {
  font-size: 1.6rem;
}

.integration-item:hover {
  transform: translateY(-3px);
}

.integration-item.n8n-logo {
  letter-spacing: -1px;
  font-weight: 800;
  font-size: 1.4rem;
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.integrations::before,
.integrations::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.integrations::before {
  left: 0;
  background: linear-gradient(to right, var(--gray-100) 0%, transparent 100%);
}

.integrations::after {
  right: 0;
  background: linear-gradient(to left, var(--gray-100) 0%, transparent 100%);
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #070914;
  padding: 6rem 0 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
}

.hero>.container {
  z-index: 2;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: var(--blue-accent);
  top: -200px;
  right: -100px;
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: var(--blue-bright);
  bottom: -100px;
  left: -100px;
  animation: orbFloat 10s ease-in-out infinite reverse;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 94, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 94, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 75%);
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(30, 94, 255, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-light);
  font-family: var(--font-display);
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-tag-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
}

@keyframes dotPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    transform: scale(1.15);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    transform: scale(1);
  }
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero h1 .accent-text {
  background: linear-gradient(135deg, var(--blue-accent) 0%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Utilities ── */
.text-gradient {
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bg-gray {
  background-color: var(--gray-100) !important;
}

.hero-lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* =========================================
   TESTIMONIALS (CASOS DE EXITO)
   ========================================= */
.testimonial-card {
  background: var(--white);
  border: 1px dashed rgba(30, 94, 255, 0.3);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--gray-200);
}

.skeleton-text {
  height: 12px;
  background-color: var(--gray-200);
  border-radius: 6px;
}

.skeleton-text.w-75 { width: 75% !important; }
.skeleton-text.w-50 { width: 50% !important; }
.skeleton-text.w-100 { width: 100% !important; }

/* =========================================
   EQUIPO / TEAM
   ========================================= */
/* ─── HERO VISUAL / POSTER ─── */
/* ─── AUTOMATION POSTER (hero-visual nuevo) ───────────────────────────
   Agregá este bloque AL FINAL de style.css, reemplazando todo el bloque
   que empieza con "HERO VISUAL / POSTER" y los breakpoints de .poster-*
   ──────────────────────────────────────────────────────────────────── */

/* Contenedor – usa el .automation-poster que ya existe en tu HTML */
.automation-poster {
  position: relative;
  width: 100%;
  /*max-width: 520px;*/
  aspect-ratio: 1 / 1.04;
  margin: 0 auto;
  /* Sin fondo propio: el SVG interno lleva el glow,
     así las partículas del hero se ven a través */
}

/* SVG principal: ocupa todo el contenedor */
.ap-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  /* que los labels no se corten */
}

/* Líneas de conexión */
.ap-line {
  fill: none;
  stroke: rgba(96, 165, 250, 0.14);
  stroke-width: 1.5;
}

/* Labels de cada nodo */
.ap-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  fill: rgba(255, 255, 255, 0.75);
}

/* Hover en nodos */
.ap-node {
  cursor: default;
  transition: filter var(--transition);
}

.ap-node:hover circle {
  filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.65));
}

/* ── Dots animados ── */
@keyframes ap-dot-travel {
  0% {
    offset-distance: 0%;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    offset-distance: 100%;
    opacity: 0;
  }
}

.ap-dot {
  r: 3.5;
  fill: var(--blue-light);
  /* usa tu variable --blue-light: #60a5fa */
  filter: drop-shadow(0 0 4px #60a5fa);
  offset-path: var(--p);
  animation: ap-dot-travel var(--d, 2.2s) var(--dl, 0s) linear infinite;
}

/* ─── RESPONSIVE ─── */

/* Tablet (≤991px): ya cubierto por tu media query existente,
   solo sobreescribimos lo del poster */
@media (max-width: 991px) {
  .automation-poster {
    max-width: 400px;
  }

  .ap-label {
    font-size: 10px;
  }
}

/* Mobile (≤767px) */
@media (max-width: 767px) {
  .automation-poster {
    max-width: 340px;
    aspect-ratio: 1 / 1.08;
  }

  .ap-label {
    font-size: 9.5px;
  }

  .ap-dot {
    r: 3;
  }
}

/* Mobile chico (≤400px) */
@media (max-width: 400px) {
  .automation-poster {
    max-width: 290px;
  }

  .ap-label {
    font-size: 8.5px;
  }

  .ap-dot {
    r: 2.5;
  }
}

/* ── Floating Glass Cards for Showcase ── */
.float-glass-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: var(--radius);
  padding: 0.8rem 1.2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--gray-800);
  font-weight: 600;
  z-index: 10;
  animation: floatGlass 5s ease-in-out infinite;
}

.float-glass-card i {
  font-size: 1.2rem;
  color: var(--blue-accent);
}

@keyframes floatGlass {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

.float-card-1 {
  top: 15%;
  left: 0%;
  animation-delay: 0s;
}

.float-card-2 {
  bottom: 25%;
  right: -5%;
  animation-delay: 2.5s;
}

@media (max-width: 991px) {
  .float-glass-card {
    display: none !important;
  }
}

/* ── TEAM SECTION ── */
.section {
  padding: 6rem 0;
  scroll-margin-top: 100px;
}

.section-sm {
  padding: 4rem 0;
  scroll-margin-top: 100px;
}

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--blue-deep);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 540px;
  line-height: 1.75;
}

/* ─── SERVICES ─── */
.services {
  background: var(--gray-100);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  border: 1px solid rgba(30, 94, 255, 0.06);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(135deg, rgba(30, 94, 255, 0.04), rgba(96, 165, 250, 0.04));
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 94, 255, 0.15);
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f5ff 100%);
  border: 1px solid rgba(30, 94, 255, 0.1);
  box-shadow: 0 8px 16px rgba(30, 94, 255, 0.05), inset 0 2px 4px rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--blue-accent);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}
.service-icon i {
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.service-card:hover .service-icon {
  background: var(--blue-accent);
  box-shadow: 0 10px 20px rgba(30, 94, 255, 0.2);
  transform: scale(1.1);
  border-color: var(--blue-accent);
}
.service-card:hover .service-icon i {
  background: none;
  -webkit-text-fill-color: var(--white);
  color: var(--white);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 0;
}

.service-num {
  position: absolute;
  top: 1.5rem;
  right: 1.8rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(30, 94, 255, 0.2);
  letter-spacing: 0.05em;
}

/* ─── HOW IT WORKS ─── */
.step-line {
  position: relative;
}

.step-line::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 56px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue-accent), transparent);
}

.step-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.step-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.step-num {
  width: 56px;
  height: 56px;
  background: var(--blue-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(30, 94, 255, 0.35);
  position: relative;
  z-index: 1;
}

.step-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 0.4rem;
}

.step-content p {
  font-size: 0.92rem;
  color: var(--gray-600);
  margin-bottom: 0;
  line-height: 1.7;
}

/* ─── RESULTS ─── */
.results {
  position: relative;
}

.result-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  border: 1px solid rgba(30, 94, 255, 0.06);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: var(--transition);
}

.result-card:hover {
  transform: translateX(6px) translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.07);
  border-color: rgba(30, 94, 255, 0.15);
}

.result-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f5ff 100%);
  border: 1px solid rgba(30, 94, 255, 0.1);
  box-shadow: 0 6px 12px rgba(30, 94, 255, 0.05), inset 0 2px 4px rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-accent);
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.result-icon i {
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.result-card:hover .result-icon {
  transform: scale(1.05);
}

.result-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--blue-deep);
}

/* ─── WHO IT'S FOR ─── */
.who-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1.5px solid rgba(30, 94, 255, 0.12);
  border-radius: var(--radius);
  padding: 0.9rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--blue-dark);
  transition: var(--transition);
  cursor: default;
}

.who-tag:hover {
  border-color: var(--blue-accent);
  background: var(--blue-pale);
  color: var(--blue-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.who-tag i {
  color: var(--blue-accent);
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--gray-600);
}

.check-list li i {
  color: var(--blue-accent);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.ideal-panel {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.ideal-panel-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--blue-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}

/* ─── CTA BAND ─── */
.cta-band {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 100%);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.15;
}

.cta-orb-1 {
  width: 400px;
  height: 400px;
  background: var(--blue-bright);
  top: -100px;
  right: -50px;
}

.cta-orb-2 {
  width: 300px;
  height: 300px;
  background: var(--blue-accent);
  bottom: -80px;
  left: 5%;
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.75);
}

.cta-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: .4rem 1rem;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .9);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.5rem;
}

.cta-lead {
  font-size: 1.05rem;
}

/* ─── FAQ ─── */
.faq-item {
  border: 1px solid rgba(30, 94, 255, 0.1);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(30, 94, 255, 0.25);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 1.6rem;
  cursor: pointer;
  background: var(--white);
  transition: var(--transition);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--blue-deep);
  user-select: none;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-question:hover {
  background: var(--gray-100);
}

.faq-icon {
  width: 28px;
  height: 28px;
  background: var(--blue-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-accent);
  flex-shrink: 0;
  transition: var(--transition);
  font-size: 0.9rem;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--blue-accent);
  color: var(--white);
}

.faq-answer {
  display: none;
  padding: 0 1.6rem 1.3rem;
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.75;
  background: var(--white);
}

.faq-item.open .faq-answer {
  display: block;
}

/* ─── CONTACT ─── */
.contact-section {
  background: var(--gray-100);
}

.text-muted-sm {
  font-size: 0.85rem;
  color: var(--gray-400);
}

/* ─── FOOTER ─── */
footer {
  background: var(--blue-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 2rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: -0.03em;
}

.footer-brand span {
  color: var(--blue-bright);
}

footer p {
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-section-title {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 1rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
  display: block;
  margin-bottom: 0.4rem;
}

.footer-link:hover {
  color: var(--blue-light);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ─── ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 {
  transition-delay: 0.1s;
}

.fade-up-delay-2 {
  transition-delay: 0.2s;
}

.fade-up-delay-3 {
  transition-delay: 0.3s;
}

.fade-up-delay-4 {
  transition-delay: 0.4s;
}

/* ─── METRICS ─── */
.metric-card {
  background: var(--white);
  border: 1px solid rgba(30, 94, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.metric-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 94, 255, 0.2);
  transform: translateY(-4px);
}

.metric-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--blue-accent);
  line-height: 1;
  letter-spacing: -0.03em;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-top: 0.4rem;
}

/* ══════════════════════════════════════════
   SOLUCIÓN TABS (UI)
   ══════════════════════════════════════════ */
.custom-steps-pills .nav-link {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--gray-600);
  transition: all 0.3s ease;
  min-width: 280px;
}

.custom-steps-pills .nav-link:hover {
  background: rgba(0,0,0,0.02);
}

.custom-steps-pills .nav-link.active {
  background: white;
  border-color: rgba(30, 94, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  color: var(--dark);
}

.custom-steps-pills .step-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(0,0,0,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gray-500);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.custom-steps-pills .nav-link.active .step-icon {
  background: var(--blue-accent);
  color: white;
}

.hide-scrollbars::-webkit-scrollbar {
  display: none;
}
.hide-scrollbars {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* ══════════════════════════════════════════
   MOCKUP N8N (WORKFLOW)
   ══════════════════════════════════════════ */
.mockup-n8n {
  background: #fafafa;
  background-image: radial-gradient(#d1d5db 1px, transparent 1px);
  background-size: 20px 20px;
  border-radius: 12px;
  width: 100%;
  max-width: 520px;
  height: 400px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 15px 40px rgba(10, 22, 40, 0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  z-index: 1;
}

.mockup-n8n-canvas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 100%;
  padding: 1rem;
}

.n8n-node {
  background: white;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  width: 130px;
  position: relative;
  font-size: 0.75rem;
  flex-shrink: 0;
  z-index: 2;
  transition: transform 0.3s ease;
}

.n8n-node:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.n8n-node-header {
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  font-weight: 600;
}

.n8n-node-body {
  padding: 0.6rem;
  color: var(--gray-500);
  font-size: 0.7rem;
  line-height: 1.3;
}

.n8n-arrow {
  color: #94a3b8;
  font-size: 1.2rem;
  margin: 0 5px;
}

.n8n-trigger .n8n-node-header { color: #e11d48; background: rgba(225, 29, 72, 0.03); border-top: 3px solid #e11d48; }
.n8n-ai .n8n-node-header { color: #7c3aed; background: rgba(124, 58, 237, 0.03); border-top: 3px solid #7c3aed; }
.n8n-db .n8n-node-header { color: #0284c7; background: rgba(2, 132, 199, 0.03); border-top: 3px solid #0284c7; }

@media (max-width: 575px) {
  .mockup-n8n-canvas {
    flex-direction: column;
    gap: 10px;
  }
  .n8n-arrow {
    transform: rotate(90deg);
    margin: 0;
  }
}

/* ══════════════════════════════════════════
   MOCKUP DASHBOARD (BACK-OFFICE)
   ══════════════════════════════════════════ */
.mockup-dashboard {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 12px;
  width: 100%;
  max-width: 480px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 15px 40px rgba(10, 22, 40, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  z-index: 1;
  transform: translateX(15%);
  margin-right: -15%;
}

.mockup-dash-header {
  background: rgba(248, 250, 255, 0.9);
  padding: 0.6rem 1rem;
  display: flex;
  gap: 0.4rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dash-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dash-sidebar {
  position: absolute;
  left: 0;
  top: 35px; /* after header */
  bottom: 0;
  width: 50px;
  background: rgba(248, 250, 255, 0.95);
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 1rem;
  gap: 1.2rem;
}

.dash-sidebar-item {
  color: var(--gray-400);
  font-size: 1.1rem;
}

.dash-sidebar-item.active {
  color: var(--blue-accent);
}

.mockup-dash-body {
  margin-left: 50px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dash-stat {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 0.8rem;
  border-radius: 8px;
  flex: 1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.dash-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  width: 100px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.dash-card-success {
  border-color: #27c93f;
  background: rgba(39, 201, 63, 0.05);
}

@media (max-width: 767px) {
  .mockup-dashboard {
    transform: none;
    margin-right: 0;
    max-width: 90%;
    right: -10%;
  }
}

/* ══════════════════════════════════════════
   MOCKUP PHONE (CHAT)
   ══════════════════════════════════════════ */
.mockup-phone {
  background: #ffffff;
  border-radius: 36px;
  width: 100%;
  max-width: 340px;
  border: 10px solid #1e293b;
  box-shadow: 0 25px 60px rgba(10, 22, 40, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  height: 560px;
  margin: 0 auto;
}

.mockup-phone::before { /* Notch */
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 24px;
  background: #1e293b;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 10;
}

.mockup-header {
  background: var(--blue-accent);
  padding: 2.2rem 1rem 1rem;
  color: white;
  z-index: 5;
}

.mockup-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mockup-avatar {
  background: rgba(255, 255, 255, 0.2);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.mockup-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.1;
}

.mockup-status {
  font-size: 0.7rem;
  opacity: 0.8;
}

.mockup-body {
  flex: 1;
  background: #eef2f5 url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2H0v-2h20v-2H0V8h20V6H0V4h20V2H0V0h22v20h22v2H22v2h22v2H22v2h22v2H22v2h22v2H22v2h22v2h-2v-2H20v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2H20z' fill='%231e5eff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
  padding: 1.2rem 1rem;
  overflow: hidden; /* Evitar scroll traps */
  position: relative;
}

/* Typing indicator styles */
.typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 20px;
  padding: 2px 4px;
}
.typing-dots span {
  width: 6px;
  height: 6px;
  background-color: var(--blue-accent);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
  opacity: 0.8;
}
.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

.mockup-scroll-inner {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding-bottom: 3rem; /* Espacio extra abajo */
  animation: autoScrollInner 11s cubic-bezier(0.35, 0, 0.25, 1) forwards;
}

@keyframes autoScrollInner {
  0%, 25% { transform: translateY(0); }
  28%, 45% { transform: translateY(-20px); }
  48%, 62% { transform: translateY(-70px); }
  68%, 85% { transform: translateY(-160px); }
  92%, 100% { transform: translateY(-310px); }
}

.chat-bubble {
  padding: 0.85rem 1.1rem;
  font-size: 0.85rem;
  line-height: 1.45;
  border-radius: 16px;
  max-width: 85%;
  position: relative;
}

.bubble-anim {
  opacity: 0;
  transform: translateY(15px);
  animation: bubblePop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes bubblePop {
  0% { opacity: 0; transform: translateY(15px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.anim-delay-1 { animation-delay: 0.5s; }
.anim-delay-2 { animation-delay: 2.5s; }
.anim-delay-3 { animation-delay: 4.5s; }
.anim-delay-4 { animation-delay: 7.0s; }
.anim-delay-5 { animation-delay: 9.5s; }
.anim-delay-6 { animation-delay: 10.5s; }

.bubble-in {
  background: white;
  color: #334155;
  align-self: flex-start;
  border-top-left-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.bubble-out {
  background: #d9fdd3; /* WhatsApp pale green */
  color: #111b21; /* WhatsApp dark text */
  align-self: flex-end;
  border-top-right-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  font-weight: 500;
}

.mockup-input {
  background: white;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--gray-400);
}

.mockup-send {
  background: var(--blue-accent);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* ══════════════════════════════════════════
   TEAM SECTION
   ══════════════════════════════════════════ */
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(30, 94, 255, 0.05);
  transition: var(--transition);
  height: 100%;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 94, 255, 0.15);
}

.team-img-wrapper {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--blue-pale);
  background: var(--gray-100);
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.team-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover .team-img-wrapper img {
  transform: scale(1.08); /* slight zoom on hover */
}

.team-name {
  font-size: 1.15rem;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: var(--blue-deep);
}

.team-role {
  font-size: 0.85rem;
  color: var(--blue-accent);
  font-weight: 600;
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.team-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(10, 102, 194, 0.08);
  color: #0A66C2;
  font-size: 1.1rem;
  margin-top: 0.85rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.team-linkedin:hover {
  background: #0A66C2;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(10, 102, 194, 0.35);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 991px) {
  .hero {
    min-height: auto;
    padding: 5rem 0 3rem;
    min-height: 100vh;
    text-align: center;
  }

  .hero-tag,
  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .hero-visual {
    margin-top: 3rem;
    display: none;
  }

  .step-line::before {
    display: none;
  }

  .navbar-collapse {
    background: rgb(255, 255, 255);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-top: 1rem;
    box-shadow: var(--shadow-lg);
  }

  .navbar-collapse .btn-login-il {
    background: var(--blue-pale) !important;
    color: var(--blue-accent) !important;
    border-color: rgba(30, 94, 255, 0.2) !important;
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }

  .automation-poster {
    max-width: 480px;
    margin: 0 auto;
  }

  .poster-app-box {
    width: 58px;
    height: 58px;
    border-radius: 16px;
  }

  .poster-app-box i {
    font-size: 1.4rem;
  }

  .poster-app span {
    font-size: 0.64rem;
  }

  .poster-center-logo {
    font-size: 2.6rem;
  }

}


@media (min-width: 991px) {

  .hero-right {
    transform: translateX(30px);
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: 100vh;
    text-align: center;
  }

  .section-eyebrow,
  .section-title,
  .section-lead {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .service-card {
    text-align: center;
  }

  .service-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .result-card {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    padding: 1.5rem;
  }

  .result-icon {
    margin-bottom: 0.5rem;
  }

  #para-quien .d-flex.flex-wrap {
    justify-content: center;
  }

  footer {
    text-align: left;
  }

  footer .col-6 {
    margin-top: 1.5rem;
  }

  .section {
    padding: 4rem 0;
  }

  .cta-band {
    padding: 4rem 0;
  }

  .wsp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 26px;
  }

  .automation-poster {
    max-width: 100%;
    aspect-ratio: 1 / 1.1;
    padding: 1.5rem;
  }

  .poster-center-ring.ring-2 {
    width: 100px;
    height: 100px;
  }

  .poster-center-logo {
    font-size: 2.2rem;
  }

  .poster-badge {
    font-size: 0.55rem;
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
  }

  .poster-app-box {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .poster-app-box i {
    font-size: 1.2rem;
  }

  .poster-app span {
    font-size: 0.58rem;
  }
}

@media (max-width: 400px) {
  .poster-app-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .poster-app-box i {
    font-size: 1.1rem;
  }

  .poster-app span {
    font-size: 0.52rem;
  }

  .poster-center-ring.ring-2 {
    width: 85px;
    height: 85px;
  }

  .poster-center-logo {
    font-size: 1.8rem;
  }

  .poster-badge {
    font-size: 0.48rem;
    padding: 0.3rem 0.5rem;
  }
}

/* ══════════════════════════════════════════
   MARKET STATS — "La realidad del mercado"
   ══════════════════════════════════════════ */
.market-stats-section {
  background: var(--gray-100);
  padding: 5rem 0;
}

.market-stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  border: 1px solid rgba(30, 94, 255, 0.07);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.market-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-accent), var(--blue-light));
  opacity: 0.5;
  transition: var(--transition);
}

.market-stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(30, 94, 255, 0.18);
}

.market-stat-card:hover::before {
  opacity: 1;
}

.market-stat-card--accent {
  background: linear-gradient(145deg, rgba(30, 94, 255, 0.04), rgba(96, 165, 250, 0.04));
  border-color: rgba(30, 94, 255, 0.14);
}

.market-stat-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-accent) 0%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}

.market-stat-desc {
  font-size: 0.97rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.market-stat-desc strong {
  color: var(--blue-deep);
  font-weight: 700;
}

.market-stat-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--blue-accent);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 0.3rem 0.85rem;
  background: var(--blue-pale);
  border-radius: 50px;
  opacity: 0.8;
}

/* ══════════════════════════════════════════
   SCENARIO COMPARISON — Sin/Con Sistema
   ══════════════════════════════════════════ */
.scenario-section {
  background: var(--white);
}

.scenario-col {
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
}

.scenario-col--bad {
  background: rgba(239, 68, 68, 0.03);
  border: 1.5px solid rgba(239, 68, 68, 0.18);
}

.scenario-col--good {
  background: rgba(30, 94, 255, 0.03);
  border: 1.5px solid rgba(30, 94, 255, 0.22);
}

.scenario-header {
  margin-bottom: 1.75rem;
}

.scenario-label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 0.03em;
}

.scenario-label--bad {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.scenario-label--good {
  background: rgba(30, 94, 255, 0.1);
  color: var(--blue-accent);
  border: 1px solid rgba(30, 94, 255, 0.25);
}

.scenario-steps {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.scenario-step {
  background: rgba(0, 0, 0, 0.025);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.scenario-col--bad .scenario-step {
  background: rgba(239, 68, 68, 0.03);
  border-color: rgba(239, 68, 68, 0.08);
}

.scenario-col--good .scenario-step {
  background: rgba(30, 94, 255, 0.03);
  border-color: rgba(30, 94, 255, 0.08);
}

.scenario-step-time {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0.3rem;
}

.scenario-col--good .scenario-step-time {
  color: var(--blue-accent);
}

.scenario-col--bad .scenario-step-time {
  color: #f87171;
}

.scenario-step-text {
  font-size: 0.93rem;
  color: var(--gray-600);
  line-height: 1.55;
}

.scenario-arrow {
  text-align: center;
  font-size: 1.1rem;
  color: var(--gray-400);
  line-height: 1;
  padding: 0.1rem 0;
  opacity: 0.5;
}

.scenario-step--outcome-bad {
  background: rgba(239, 68, 68, 0.08) !important;
  border-color: rgba(239, 68, 68, 0.22) !important;
}

.scenario-step--outcome-bad .scenario-step-text {
  color: #dc2626;
  font-weight: 700;
}

.scenario-step--outcome-good {
  background: rgba(30, 94, 255, 0.08) !important;
  border-color: rgba(30, 94, 255, 0.22) !important;
}

.scenario-step--outcome-good .scenario-step-text {
  color: var(--blue-accent);
  font-weight: 700;
}

/* ══════════════════════════════════════════
   SERVICE PRODUCT NAMES & TIMELINE BADGE
   ══════════════════════════════════════════ */
.service-product-name {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--blue-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
  display: block;
  opacity: 0.85;
}

.timeline-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(30, 94, 255, 0.07);
  border: 1.5px solid rgba(30, 94, 255, 0.2);
  border-radius: 50px;
  padding: 0.5rem 1.2rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue-accent);
  margin-top: 2rem;
  letter-spacing: 0.02em;
}

.timeline-badge i {
  font-size: 1rem;
}

@media (max-width: 767px) {
  .market-stat-card {
    padding: 2rem 1.5rem 1.5rem;
  }

  .timeline-badge {
    font-size: 0.78rem;
  }
}

/* ══════════════════════════════════════════
   SCENARIO CARDS — Gradient border premium
   ══════════════════════════════════════════ */

/* Interior blanco del card con línea izquierda */
.sc-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.07);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.sc-card:hover {
  transform: translateY(-5px);
}

.sc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  transition: var(--transition);
}

.sc-card--bad {
  background: transparent;
  border: 1px dashed rgba(0, 0, 0, 0.18);
  box-shadow: none;
}

.sc-card--bad::before {
  display: none;
}

.sc-card--bad:hover {
  box-shadow: none;
  transform: none;
}

.sc-card--good::before {
  background: linear-gradient(180deg, var(--blue-accent), var(--blue-light));
  opacity: 0.5;
}

.sc-card--good:hover {
  box-shadow: 0 16px 48px rgba(30, 94, 255, 0.12);
}

.sc-card--good:hover::before {
  opacity: 1;
}

/* Badge de encabezado */
.sc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

.sc-badge--bad {
  background: transparent;
  color: var(--gray-500);
  border: 1px dashed rgba(0, 0, 0, 0.18);
}

.sc-badge--good {
  background: var(--blue-pale);
  color: var(--blue-accent);
  border: 1px solid rgba(30, 94, 255, 0.2);
}

/* Timeline de pasos */
.sc-timeline {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 1.75rem;
}

.sc-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.sc-step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 36px;
}

/* Números – misma estética que .step-num pero más pequeños */
.sc-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  flex-shrink: 0;
}

.sc-num--bad {
  background: rgba(0, 0, 0, 0.04);
  color: var(--gray-500);
}

.sc-num--good {
  background: var(--blue-pale);
  color: var(--blue-accent);
  box-shadow: 0 2px 8px rgba(30, 94, 255, 0.15);
}

/* Línea conectora entre números */
.sc-line {
  width: 2px;
  min-height: 32px;
  flex: 1;
  margin: 4px 0;
  border-radius: 2px;
}

.sc-line--bad {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.02) 100%);
}

.sc-line--good {
  background: linear-gradient(to bottom, var(--blue-light) 0%, rgba(96, 165, 250, 0.1) 100%);
}

/* Cuerpo del paso */
.sc-body {
  padding-bottom: 1.5rem;
  min-width: 0;
}

.sc-time {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.3rem;
}

.sc-card--bad .sc-time {
  color: var(--gray-500);
}

.sc-card--good .sc-time {
  color: var(--blue-accent);
}

.sc-text {
  font-size: 0.93rem;
  color: var(--gray-600);
  line-height: 1.55;
  margin: 0;
}

/* Outcome final */
.sc-outcome {
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

.sc-outcome--bad {
  background: transparent;
  border: 1px dashed rgba(0, 0, 0, 0.18);
}

.sc-outcome--bad p {
  color: var(--gray-600);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.sc-card--bad .sc-outcome-emoji {
  filter: grayscale(100%) opacity(0.6);
}

.sc-outcome--good {
  background: var(--blue-pale);
  border: 1.5px solid rgba(30, 94, 255, 0.2);
}

.sc-outcome--good p {
  color: var(--blue-accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.sc-outcome-emoji {
  font-size: 1.75rem;
  flex-shrink: 0;
  line-height: 1;
}

@media (max-width: 767px) {
  .sc-card {
    padding: 1.75rem 1.5rem;
  }

  .sc-card:hover {
    transform: none;
  }
}

/* ═══════════════════════════════════════════
   CHABOT WIDGET - ARIA (INTELIUMLABS)
   ═══════════════════════════════════════════ */

#il-chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  font-family: var(--font-body);
}

/* Botón flotante */
#il-chat-toggle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-accent) 0%, var(--blue-deep) 100%);
  border: none;
  box-shadow: 0 10px 25px rgba(30, 94, 255, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.2);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease,
              opacity 0.3s ease,
              visibility 0.3s ease;
  position: relative;
  z-index: 2;
}

#il-chat-toggle:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 16px 36px rgba(30, 94, 255, 0.55);
}

/* Ocultar el botón por completo cuando el chat está abierto */
#il-chat-toggle.il-toggle--open {
  visibility: hidden;
  opacity: 0;
  transform: scale(0.5);
  pointer-events: none;
}

/* Notificación tipo Badge */
.il-chat-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ef4444;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
  animation: badgePulse 2s infinite;
  z-index: 3;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
  50%       { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
}

/* Tooltip de Bienvenida Premium */
.il-chat-tooltip {
  position: absolute;
  bottom: 85px; /* Por encima del botón */
  right: 0;
  width: 240px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  color: var(--gray-800);
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: bottom right;
}

.il-chat-tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 25px;
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.95);
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transform: rotate(45deg);
}

.il-chat-tooltip strong {
  color: var(--blue-accent);
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--font-display);
  font-size: 1rem;
}

.il-chat-tooltip.il-tooltip--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Ocultar tooltip en mobile — ocupa demasiado espacio */
@media (max-width: 768px) {
  .il-chat-tooltip {
    display: none !important;
  }
}

/* Ajustes suaves de la ventana de Chatwoot */
.chatwoot-widget-holder {
  right: 30px !important;
  bottom: 110px !important;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15) !important;
  border-radius: 20px !important;
  transition: all 0.3s ease !important;
}

/* Permitir que Chatwoot se abra y cierre solapando suavemente */
.chatwoot-widget-holder.cw-widget-close {
  display: none !important;
}

/* Fix mobile viewport para chatwoot */
@media (max-width: 500px) {
  .chatwoot-widget-holder {
    right: 15px !important;
    bottom: 100px !important;
    width: calc(100vw - 30px) !important;
    height: 70vh !important;
  }
}

/* ── BENTO GLASS STATS ── */
.bento-glass {
  background: var(--white);
  border: 1px solid rgba(30, 94, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(30, 94, 255, 0.03);
  transition: var(--transition);
}

.bento-glass:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(30, 94, 255, 0.08);
  border-color: rgba(30, 94, 255, 0.15);
}

.bento-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
}

/* ── BENTO GLASS STATS ── */
.bento-glass {
  background: var(--white);
  border: 1px solid rgba(30, 94, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(30, 94, 255, 0.03);
  transition: var(--transition);
}

.bento-glass:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(30, 94, 255, 0.08);
  border-color: rgba(30, 94, 255, 0.15);
}

.bento-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.bento-num-sm {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.bento-text {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.bento-text-sm {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.4;
}

/* ─── N8N STYLE TIMELINE ─── */
.n8n-timeline {
  position: relative;
  width: 100%;
  max-width: 1140px; /* aligns with bootrap container */
  margin: 0 auto;
  padding: 3rem 0;
}
.n8n-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(30, 94, 255, 0.15);
  transform: translateX(-50%);
  z-index: 0;
}
/* Flujo animado bajando por la linea */
.n8n-timeline::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 80px;
  background: linear-gradient(180deg, transparent, var(--blue-accent), transparent);
  transform: translateX(-50%);
  z-index: 1;
  border-radius: 4px;
  animation: n8n-pulse-line 3.5s infinite linear;
}
@keyframes n8n-pulse-line {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: calc(100% - 80px); opacity: 0; }
}

.n8n-timeline-row {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 3.5rem;
  z-index: 2;
}
.n8n-side {
  flex: 1;
  padding: 0 3rem;
  position: relative;
}
.n8n-side--bad {
  text-align: right;
}
.n8n-side--good {
  text-align: left;
}

.n8n-card {
  background: rgba(255, 255, 255, 0.85); /* glassmorphism */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  transition: var(--transition);
  z-index: 3;
}
.n8n-card:hover {
  transform: translateY(-5px);
}

.n8n-side--bad .n8n-card {
  background: rgba(239, 68, 68, 0.02);
  border: 1px dashed rgba(239, 68, 68, 0.2);
  margin-left: auto;
  max-width: 460px;
}
.n8n-side--bad .n8n-card:hover {
  box-shadow: 0 15px 40px rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.4);
}

.n8n-side--good .n8n-card {
  background: rgba(30, 94, 255, 0.03);
  border: 1px solid rgba(30, 94, 255, 0.15);
  box-shadow: 0 10px 30px rgba(30, 94, 255, 0.06);
  margin-right: auto;
  max-width: 460px;
}
.n8n-side--good .n8n-card:hover {
  box-shadow: 0 15px 40px rgba(30, 94, 255, 0.15);
  border-color: var(--blue-accent);
}

.n8n-node-center {
  width: 76px;
  height: 76px;
  background: #fff;
  border: 2px solid var(--blue-accent);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 0 8px rgba(30, 94, 255, 0.08);
  color: var(--blue-accent);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  line-height: 1.2;
  position: relative;
  z-index: 10;
  transition: var(--transition);
}
.n8n-node-center:hover {
  transform: scale(1.1);
  box-shadow: 0 0 0 12px rgba(30, 94, 255, 0.15), 0 10px 30px rgba(30, 94, 255, 0.3);
}
.n8n-node-center i { font-size: 1.3rem; }

/* The horizontal lines connecting nodes to cards */
.n8n-side--bad .n8n-card::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -3rem;
  width: 3rem;
  height: 2px;
  background: rgba(239, 68, 68, 0.2);
  transform: translateY(-50%);
  z-index: 0;
}
.n8n-side--good .n8n-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -3rem;
  width: 3rem;
  height: 2px;
  background: rgba(30, 94, 255, 0.3);
  transform: translateY(-50%);
  z-index: 0;
}

.n8n-side-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.n8n-side--bad .n8n-side-title { color: #ef4444; justify-content: flex-end; }
.n8n-side--good .n8n-side-title { color: var(--blue-accent); }
.n8n-side-text { font-size: 0.95rem; color: var(--gray-600); margin: 0; line-height: 1.6; }

.n8n-outcome {
  border-radius: 50px;
  padding: 0.8rem 2rem;
  font-family: var(--font-display);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  background: #fff;
  transition: var(--transition);
}
.n8n-outcome:hover { transform: translateY(-4px); }
.n8n-outcome--bad { color: #ef4444; border: 2px dashed rgba(239, 68, 68, 0.3); box-shadow: 0 10px 30px rgba(239, 68, 68, 0.08); }
.n8n-outcome--good { color: var(--blue-accent); border: 2px solid var(--blue-accent); box-shadow: 0 10px 30px rgba(30, 94, 255, 0.15); }

@media (max-width: 900px) {
  .n8n-timeline::before { left: 45px; }
  .n8n-timeline::after { left: 45px; }
  .n8n-timeline-row { flex-direction: column; align-items: flex-start; margin-bottom: 2rem; }
  .n8n-node-center { position: absolute; left: 7px; top: 0; width: 70px; height: 70px; box-shadow: 0 0 0 5px rgba(30, 94, 255, 0.1); }
  .n8n-side { width: 100%; padding-left: 100px; padding-right: 0; margin-bottom: 1rem; }
  .n8n-side--bad, .n8n-side--good { text-align: left; }
  .n8n-side--bad .n8n-card, .n8n-side--good .n8n-card { margin: 0; max-width: 100%; padding: 1.5rem; }
  .n8n-side--bad .n8n-side-title { justify-content: flex-start; }
  .n8n-side--bad .n8n-card::after, .n8n-side--good .n8n-card::after { display: none; }
}

/* ─── NEW BENTO GRID SERVICES ─── */
.service-bento {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  border: 1px solid rgba(30, 94, 255, 0.08);
  box-shadow: 0 4px 20px rgba(30, 94, 255, 0.03);
  z-index: 1;
}

.service-bento:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(30, 94, 255, 0.08);
  border-color: rgba(30, 94, 255, 0.2);
}

.service-bento--dark {
  background: var(--gray-800);
  border-color: rgba(255, 255, 255, 0.1);
}
.service-bento--dark:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-gradient-bg {
  background: linear-gradient(135deg, var(--blue-accent) 0%, var(--blue-light) 100%);
  border: none;
}
.hero-gradient-bg:hover {
  box-shadow: 0 15px 40px rgba(30, 94, 255, 0.25);
}

.bento-bg-icon {
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-size: 10rem;
  color: var(--blue-accent);
  opacity: 0.04;
  z-index: 0;
  transition: var(--transition);
}
.service-bento:hover .bento-bg-icon {
  transform: scale(1.1) rotate(-5deg);
}

.service-bento-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.service-badge {
  background: rgba(30, 94, 255, 0.1);
  color: var(--blue-accent);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.service-badge.badge-light {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.service-tag {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
}
.service-tag.tag-light {
  color: rgba(255, 255, 255, 0.7);
}

.service-bento-content {
  position: relative;
  z-index: 2;
}

.service-bento h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.service-bento p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Utils for inner lists etc */
.bento-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-600);
}
.bento-list li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.tech-pill {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-display);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  position: relative;
  z-index: 2;
}

/* Mockup snippet style purely CSS */
.mockup-snippet {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 1rem;
  width: 100%;
}
.mock-snip-head {
  display: flex;
  margin-bottom: 1rem;
}
.mock-line {
  height: 6px;
  background: #dee2e6;
  border-radius: 10px;
  margin-bottom: 0.6rem;
  transition: var(--transition);
}
.mock-line-blue {
  background: var(--blue-accent);
  width: 70%;
}
.service-bento:hover .mock-line {
  background: #ced4da;
}
.service-bento:hover .mock-line-blue {
  background: var(--blue-bright);
}

/* ─── NEW DEPLOY PIPELINE (COMO TRABAJAMOS) ─── */
.deploy-pipeline {
  position: relative;
  padding-left: 1rem;
}

.deploy-stage {
  position: relative;
  padding-left: 2.5rem;
  padding-bottom: 2.5rem;
}

.deploy-stage.final-stage {
  padding-bottom: 0;
}

.deploy-status-line {
  position: absolute;
  top: 24px;
  bottom: -4px;
  left: 5px;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.deploy-node {
  position: absolute;
  top: 4px;
  left: 0;
  width: 12px;
  height: 12px;
  background-color: var(--gray-500);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(13, 17, 23, 1);
}

.deploy-node.pulse-blue {
  background-color: var(--blue-accent);
  box-shadow: 0 0 0 4px rgba(13, 17, 23, 1), 0 0 10px var(--blue-accent);
  animation: deployPulse 2s infinite;
}

@keyframes deployPulse {
  0% { box-shadow: 0 0 0 4px rgba(13,17,23,1), 0 0 0 0 rgba(30,94,255,0.4); }
  70% { box-shadow: 0 0 0 4px rgba(13,17,23,1), 0 0 0 10px rgba(30,94,255,0); }
  100% { box-shadow: 0 0 0 4px rgba(13,17,23,1), 0 0 0 0 rgba(30,94,255,0); }
}

.deploy-content {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
  transition: var(--transition);
}

.deploy-stage:hover .deploy-content {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(5px);
}

.deploy-badge {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  border: 1px solid transparent;
}

/* ── Light mode overrides for Deploy Pipeline ─── */
.deploy-pipeline-light {
  position: relative;
  padding-left: 1rem;
}

.deploy-status-line-light {
  position: absolute;
  top: 24px;
  bottom: -4px;
  left: 5px;
  width: 2px;
  background: rgba(30, 94, 255, 0.15);
  z-index: 1;
}

.deploy-content-light {
  background: var(--white, #ffffff);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.deploy-stage:hover .deploy-content-light {
  background: #ffffff;
  border-color: rgba(30, 94, 255, 0.18);
  box-shadow: 0 8px 30px rgba(30, 94, 255, 0.08);
  transform: translateX(5px);
}

/* --- METRICS DASHBOARD (RESULTADOS) --- */
.metric-bento {
  background: var(--white);
  border: 1px solid rgba(30, 94, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}
.metric-bento:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(30, 94, 255, 0.08);
  border-color: rgba(30, 94, 255, 0.18);
}
.metric-bento--hero {
  background: linear-gradient(135deg, var(--blue-accent) 0%, #0a2fa8 100%);
  border: none;
  min-height: 280px;
  justify-content: flex-end;
}
.metric-bento--hero:hover {
  box-shadow: 0 20px 50px rgba(30, 94, 255, 0.3);
}
.metric-bento--dark {
  background: var(--gray-800);
  border-color: rgba(255, 255, 255, 0.06);
}
.metric-bento--dark:hover {
  background: #1a2235;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}
.metric-trend {
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.metric-bento--hero .metric-trend,
.metric-bento--dark .metric-trend {
  color: rgba(255, 255, 255, 0.65);
}
.metric-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 0.75rem;
}
.metric-number.text-dark { color: var(--gray-800) !important; }
.metric-pct {
  font-size: 2rem;
  font-weight: 700;
  opacity: 0.8;
}
.metric-label {
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.75);
}
.metric-summary-bar {
  background: var(--gray-50, #f8f9fa);
  border: 1px solid rgba(30, 94, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.metric-sum-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.metric-sum-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--blue-accent);
  letter-spacing: -0.03em;
}
.metric-sum-label {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-top: 0.2rem;
  font-weight: 500;
}
.metric-sum-divider {
  width: 1px;
  height: 40px;
  background: rgba(30, 94, 255, 0.12);
}
@media (max-width: 767.98px) {
  .metric-number { font-size: 3rem; }
  .metric-summary-bar { flex-direction: column; }
  .metric-sum-divider { width: 60px; height: 1px; }
}

/* --- RESULTADOS BACKGROUND IMAGE --- */
.results-with-bg {
  position: relative;
  background-image: url("results-bg.png");
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  isolation: isolate;
}

.results-with-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(248, 250, 255, 0.94) 45%,
    rgba(235, 241, 255, 0.90) 100%
  );
  z-index: 0;
}

.results-with-bg .container {
  position: relative;
  z-index: 1;
}

/* Keep metric cards crisp over the bg */
.results-with-bg .metric-bento:not(.metric-bento--hero):not(.metric-bento--dark) {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.results-with-bg .metric-summary-bar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
