@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --color-primary: #0C151C;
  --color-highlight: #135DF1;
  --color-secondary-1: #0D1C31;
  --color-secondary-2: #B2B2B2;
  --color-secondary-3: #E6E6E6;
  --color-white: #FFFFFF;
  --content-max: 1200px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  color: var(--color-white);
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.5;
  /* Fondo combinado: base oscura + acentos claros sutiles */
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(230,230,230,0.08), transparent),
    radial-gradient(700px 400px at 10% 120%, rgba(19,93,241,0.12), transparent),
    linear-gradient(180deg, #0C151C 0%, #0D1C31 60%, #0C151C 100%);
  background-attachment: fixed;
}

/* Fondo especial para páginas de tickets con red orgánica animada */
body.tickets-page {
  background: var(--color-primary);
  position: relative;
  overflow-x: hidden;
}

body.tickets-page::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: 
    radial-gradient(circle at 20% 30%, rgba(12, 21, 28, 0.8) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(13, 28, 49, 0.6) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(12, 21, 28, 0.9) 0%, transparent 40%);
  filter: blur(1px);
  animation: organicNetwork 20s ease-in-out infinite;
}

body.tickets-page::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 120%;
  height: 120%;
  z-index: -2;
  background: 
    radial-gradient(circle at 10% 20%, rgba(12, 21, 28, 0.4) 1px, transparent 1px),
    radial-gradient(circle at 30% 60%, rgba(12, 21, 28, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 70% 40%, rgba(12, 21, 28, 0.5) 1px, transparent 1px),
    radial-gradient(circle at 90% 80%, rgba(12, 21, 28, 0.4) 1px, transparent 1px),
    linear-gradient(45deg, transparent 49%, rgba(12, 21, 28, 0.1) 49.5%, rgba(12, 21, 28, 0.1) 50.5%, transparent 51%);
  background-size: 100px 100px, 150px 150px, 200px 200px, 120px 120px, 50px 50px;
  animation: networkFloat 30s linear infinite;
  filter: blur(0.5px);
}
html { scroll-behavior: smooth; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { max-width: var(--content-max); margin: 0 auto; padding: 0 20px; }

/* Navbar con scroll behavior */
.topbar { 
  position: fixed; 
  top: 0; 
  left: 0; 
  right: 0; 
  z-index: 50; 
  background: rgba(12,21,28,0.7); 
  backdrop-filter: blur(8px); 
  border-bottom: 1px solid rgba(230,230,230,0.08); 
  transition: transform 0.3s ease; 
}
.topbar.hidden { transform: translateY(-100%); }
.topbar-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 64px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-left { justify-content: flex-start; }
.topbar-center { display: flex; align-items: center; justify-content: center; }
.topbar-right { justify-content: flex-end; }
.topbar .social a { color: var(--color-secondary-2); }
.topbar .social a:hover { color: var(--color-white); }
.lang-switch, .login-link { color: var(--color-secondary-2); }
.lang-switch button { background: transparent; color: var(--color-secondary-2); border: 1px solid rgba(178,178,178,0.35); padding: 6px 10px; border-radius: 8px; cursor: pointer; }
.lang-switch button.active, .lang-switch button:hover { color: var(--color-white); border-color: var(--color-white); }

/* Brand + actions (estilo ejemplo) */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand .logo { height: 28px; width: auto; display: block; }
.btn-login { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 999px; background: var(--color-primary); border: 1px solid var(--color-highlight); color: #fff; cursor: pointer; }
.btn-cta { background: #2E86FF; color: #fff; padding: 8px 12px; border-radius: 8px; border: 0; cursor: pointer; font-size: 0.85rem; }
.btn-cta:hover { filter: brightness(1.07); }

.social a { 
  color: var(--color-highlight); 
  font-weight: 600; 
  font-size: 18px; 
  width: 32px; 
  height: 32px; 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  border-radius: 4px; 
  transition: all 0.3s ease; 
  text-decoration: none;
}
.social a:hover { 
  background-color: var(--color-highlight); 
  color: white; 
}
.footer .social { align-items: center; }

/* Menubar (segunda barra horizontal) */
.menubar { 
  position: fixed; 
  top: 64px; 
  left: 0; 
  right: 0; 
  z-index: 49; 
  background: rgba(13,28,49,0.6); 
  border-bottom: 1px solid rgba(230,230,230,0.08); 
  transition: top 0.3s ease; 
}
.topbar.hidden + .menubar { top: 0; }
.menubar::after { content: ""; display: block; height: 3px; background: linear-gradient(90deg, rgba(19,93,241,0.0), rgba(19,93,241,0.9), rgba(19,93,241,0.0)); box-shadow: 0 0 12px rgba(19,93,241,0.8); }
.menubar-inner { display: flex; align-items: center; justify-content: center; min-height: 56px; gap: 12px; }
.menu-toggle { display: none; }
.menu-list { display: flex; align-items: center; gap: 8px; list-style: none; padding: 0; margin: 0; }
.menu-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; padding: 10px 12px; border-radius: 10px; font-size: 0.8rem; }
.menu-link:hover, .menu-link.active { background: rgba(19,93,241,0.15); color: var(--color-white); }

/* Estado Home resaltado tipo pill */
.menu-link.pill { border: 1px solid rgba(230,230,230,0.35); color: #fff; }

/* Dropdown styles */
.dropdown { position: relative; display: inline-block; }
.dropdown-content { 
  display: none; 
  position: absolute; 
  top: 100%; 
  left: 0; 
  background: rgba(13,28,49,0.95); 
  border: 1px solid rgba(230,230,230,0.08); 
  border-radius: 10px; 
  padding: 8px 0; 
  min-width: 200px; 
  z-index: 100; 
  backdrop-filter: blur(8px);
}
.dropdown:hover .dropdown-content { display: block; }
.dropdown-content a { 
  display: block; 
  padding: 8px 16px; 
  color: var(--color-secondary-3); 
  border-radius: 6px; 
  margin: 2px 8px;
  transition: background 0.2s ease;
}
.dropdown-content a:hover { 
  background: rgba(19,93,241,0.15); 
  color: var(--color-white); 
}

/* Main content ajustado para navbar fijo */
.main { padding: 120px 0 0 0; }
.section { padding: 28px 0; border-top: none; border-bottom: none; }
/* Quitar padding vertical en carrusel de Implementations y sección IA */
#venezuela-localization.section { padding-top: 0 !important; padding-bottom: 0 !important; }
#ai-cross-sales.section { padding-top: 0 !important; padding-bottom: 0 !important; }

/* Secciones con fondos full width */
.section.light { 
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
  background: #ffffff; 
  color: #0C151C; 
}
/* Card-light variants to visually merge consecutive sections into one white card */
.section.card-light { 
  background: #ffffff; 
  color: #0C151C;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}
.section.card-light .section-title { color: #0C151C; }
.section.card-light .section-subtitle, .section.card-light .muted, .section.card-light .card p { color: #3a4a5a; }
.card-light-top {
  border-top-left-radius: 16px; 
  border-top-right-radius: 16px;
  box-shadow:
    0 20px 25px -15px rgba(0,0,0,0.18),
    0 0 0 1px rgba(0,0,0,0.06);
}
.card-light-bottom {
  margin-top: -24px; /* elimina el corte entre secciones */
  border-bottom-left-radius: 16px; 
  border-bottom-right-radius: 16px;
  box-shadow:
    0 20px 25px -15px rgba(0,0,0,0.18),
    0 0 0 1px rgba(0,0,0,0.06);
}

/* Estilos para tarjetas con resplandor y morphism adaptados a Smart Automata */
.card-glow {
  background: 
    linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%),
    radial-gradient(circle at 70% 30%, rgba(19, 93, 241, 0.03) 0%, transparent 50%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  box-shadow: 
    0 8px 32px 0 rgba(31, 38, 135, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

.card-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.6) 50%, 
    transparent 100%);
  z-index: 1;
}

.card-glow::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(45deg, 
    rgba(19, 93, 241, 0.08) 0%, 
    rgba(255, 255, 255, 0.1) 25%,
    rgba(19, 93, 241, 0.06) 50%,
    rgba(255, 255, 255, 0.1) 75%,
    rgba(19, 93, 241, 0.08) 100%);
  background-size: 200% 200%;
  border-radius: inherit;
  z-index: 0;
  animation: morphism-border-flow 8s ease-in-out infinite;
  opacity: 0.3;
}

.card-glow > * {
  position: relative;
  z-index: 2;
}

/* Contenido centrado en las tarjetas con morphism */
.card-glow {
  text-align: center;
}

.card-glow h3, .card-glow h4 {
  font-weight: 700;
  color: #135df1; /* Smart Automata blue */
  margin-bottom: 1rem;
}

.card-glow p {
  text-align: center;
}

.card-glow:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(19, 93, 241, 0.4); /* Smart Automata blue */
  background: 
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 1) 100%),
    radial-gradient(circle at 70% 30%, rgba(19, 93, 241, 0.06) 0%, transparent 50%);
  box-shadow: 
    0 20px 40px 0 rgba(19, 93, 241, 0.15), /* Resplandor azul Smart Automata */
    0 8px 32px 0 rgba(31, 38, 135, 0.2),
    0 0 0 1px rgba(19, 93, 241, 0.1);
}

/* Animación morphism para tarjetas */
.card-glow {
  animation: morphism-card-glow 10s ease-in-out infinite;
}

.card-glow:hover {
  animation: none; /* Pausa la animación en hover para efecto más directo */
}

/* Animaciones Morphism para tarjetas */
@keyframes morphism-border-flow {
  0%, 100% {
    background-position: 0% 50%;
    opacity: 0.3;
  }
  33% {
    background-position: 50% 0%;
    opacity: 0.4;
  }
  66% {
    background-position: 100% 50%;
    opacity: 0.35;
  }
}

@keyframes morphism-card-glow {
  0%, 100% {
    background: 
      linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%),
      radial-gradient(circle at 70% 30%, rgba(19, 93, 241, 0.03) 0%, transparent 50%);
    box-shadow: 
      0 8px 32px 0 rgba(31, 38, 135, 0.12),
      0 2px 8px rgba(0, 0, 0, 0.08);
  }
  33% {
    background: 
      linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.99) 100%),
      radial-gradient(circle at 30% 70%, rgba(19, 93, 241, 0.04) 0%, transparent 50%);
    box-shadow: 
      0 10px 34px 0 rgba(19, 93, 241, 0.06),
      0 8px 32px 0 rgba(31, 38, 135, 0.14),
      0 2px 8px rgba(0, 0, 0, 0.08);
  }
  66% {
    background: 
      linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.97) 100%),
      radial-gradient(circle at 80% 20%, rgba(156, 163, 175, 0.03) 0%, transparent 50%);
    box-shadow: 
      0 9px 33px 0 rgba(156, 163, 175, 0.08),
      0 8px 32px 0 rgba(31, 38, 135, 0.13),
      0 2px 8px rgba(0, 0, 0, 0.08);
  }
}

/* Utilidades Tailwind para la sección ERP Integration */
#odoo-integration .container {
  max-width: 1200px;
}

/* Utilidades Tailwind para la sección Platforms Deployment */
#platforms-deployment .container {
  max-width: 1200px;
}

#odoo-integration .grid, #platforms-deployment .grid {
  display: grid;
}

#odoo-integration .md\:grid-cols-3, #platforms-deployment .md\:grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

#odoo-integration .gap-8, #platforms-deployment .gap-8 {
  gap: 2rem;
}

#odoo-integration .text-center, #platforms-deployment .text-center {
  text-align: center;
}

#odoo-integration .text-left, #platforms-deployment .text-left {
  text-align: left;
}

/* Override para centrar contenido en tarjetas con morphism */
#odoo-integration .card-glow, #platforms-deployment .card-glow {
  text-align: center;
}

#odoo-integration .card-glow h3, #platforms-deployment .card-glow h3,
#odoo-integration .card-glow h4, #platforms-deployment .card-glow h4 {
  font-weight: 700 !important;
  color: #135df1 !important; /* Smart Automata blue */
  margin-bottom: 1rem;
  text-align: center;
}

#odoo-integration .card-glow p, #platforms-deployment .card-glow p {
  text-align: center !important;
}

#odoo-integration .max-w-4xl, #platforms-deployment .max-w-4xl {
  max-width: 56rem;
}

#odoo-integration .mx-auto, #platforms-deployment .mx-auto {
  margin-left: auto;
  margin-right: auto;
}

#odoo-integration .px-4, #platforms-deployment .px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

#odoo-integration .py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

#platforms-deployment .py-8 {
  padding-top: 1rem;
  padding-bottom: 3.38rem; /* Aumentado otro 30% (2.6rem * 1.3) */
}

#odoo-integration .py-3, #platforms-deployment .py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

#odoo-integration .px-10, #platforms-deployment .px-10 {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

#odoo-integration .mb-3, #platforms-deployment .mb-3 {
  margin-bottom: 0.75rem;
}

#odoo-integration .mb-12, #platforms-deployment .mb-12 {
  margin-bottom: 3rem;
}

#odoo-integration .mt-12 {
  margin-top: 3rem;
}

#platforms-deployment .mt-12 {
  margin-top: 1.5rem;
}

#odoo-integration .p-8, #platforms-deployment .p-8 {
  padding: 2rem;
}

#odoo-integration .rounded-xl, #platforms-deployment .rounded-xl {
  border-radius: 0.75rem;
}

#odoo-integration .leading-relaxed, #platforms-deployment .leading-relaxed {
  line-height: 1.625;
}

#odoo-integration .font-semibold, #platforms-deployment .font-semibold {
  font-weight: 600;
}

#odoo-integration .font-bold, #platforms-deployment .font-bold {
  font-weight: 700;
}

#odoo-integration .font-medium, #platforms-deployment .font-medium {
  font-weight: 500;
}

#odoo-integration .text-3xl, #platforms-deployment .text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

#odoo-integration .text-xl, #platforms-deployment .text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

#odoo-integration .text-lg, #platforms-deployment .text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

#odoo-integration .text-gray-900, #platforms-deployment .text-gray-900 {
  color: #111827;
}

#odoo-integration .text-gray-600, #platforms-deployment .text-gray-600 {
  color: #4b5563;
}

#odoo-integration .text-blue-600, #platforms-deployment .text-blue-600 {
  color: #135df1; /* Smart Automata blue */
}

#odoo-integration .bg-blue-600, #platforms-deployment .bg-blue-600 {
  background-color: #135df1; /* Smart Automata blue */
}

#odoo-integration .hover\:bg-blue-700:hover, #platforms-deployment .hover\:bg-blue-700:hover {
  background-color: #0f4bb8; /* Darker Smart Automata blue */
}

#odoo-integration .text-white, #platforms-deployment .text-white {
  color: #ffffff;
}

#odoo-integration .inline-block, #platforms-deployment .inline-block {
  display: inline-block;
}

#odoo-integration .rounded-lg, #platforms-deployment .rounded-lg {
  border-radius: 0.5rem;
}

#odoo-integration .shadow-lg, #platforms-deployment .shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

#odoo-integration .transition-all, #platforms-deployment .transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

#odoo-integration .duration-300, #platforms-deployment .duration-300 {
  transition-duration: 300ms;
}

#odoo-integration .transform, #platforms-deployment .transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

#odoo-integration .hover\:scale-105:hover, #platforms-deployment .hover\:scale-105:hover {
  transform: scale(1.05);
}

#odoo-integration .border-b, #platforms-deployment .border-b {
  border-bottom-width: 1px;
}

#odoo-integration .border-gray-200, #platforms-deployment .border-gray-200 {
  border-color: #e5e7eb;
}

#odoo-integration .max-w-5xl, #platforms-deployment .max-w-5xl {
  max-width: 64rem;
}

#odoo-integration .overflow-hidden, #platforms-deployment .overflow-hidden {
  overflow: hidden;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  #odoo-integration .md\:py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  #platforms-deployment .md\:py-12 {
    padding-top: 2rem;
    padding-bottom: 5.07rem; /* Aumentado otro 30% (3.9rem * 1.3) */
  }
  
  #odoo-integration .md\:mb-20, #platforms-deployment .md\:mb-20 {
    margin-bottom: 5rem;
  }
  
  #odoo-integration .md\:text-5xl, #platforms-deployment .md\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }
  
  #odoo-integration .md\:text-xl, #platforms-deployment .md\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}
/* Benefits a pantalla completa: sin padding lateral del layout */
#benefits.section.light {
  padding-left: 0;
  padding-right: 0;
}

/* Apply section with morphism background */
#apply.section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 25%, #ffffff 50%, #f1f3f4 75%, #ffffff 100%);
  animation: background-shift 40s ease-in-out infinite;
}

@keyframes background-shift {
  0%, 100% {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 25%, #ffffff 50%, #f1f3f4 75%, #ffffff 100%);
  }
  25% {
    background: linear-gradient(225deg, #f8f9fa 0%, #ffffff 25%, #f1f3f4 50%, #ffffff 75%, #f8f9fa 100%);
  }
  50% {
    background: linear-gradient(315deg, #f1f3f4 0%, #ffffff 25%, #f8f9fa 50%, #f1f3f4 75%, #ffffff 100%);
  }
  75% {
    background: linear-gradient(45deg, #ffffff 0%, #f1f3f4 25%, #ffffff 50%, #f8f9fa 75%, #f1f3f4 100%);
  }
}

#apply.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(2px);
  z-index: 0;
}

#apply.section::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(248, 249, 250, 0.8) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(241, 243, 244, 0.6) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.4) 0%, transparent 50%);
  animation: morphism-float 20s ease-in-out infinite;
  z-index: 1;
}

#apply .section-header,
#apply .form {
  position: relative;
  z-index: 2;
}

/* Glassmorphism effect for the form */
#apply .form {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  padding: 40px;
}

/* Additional floating morphism elements */
#apply.section .morphism-blob-1,
#apply.section .morphism-blob-2,
#apply.section .morphism-blob-3 {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  z-index: 1;
}

#apply.section .morphism-blob-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(248, 249, 250, 0.6) 0%, transparent 70%);
  top: 20%;
  left: 10%;
  animation: morphism-blob-1 25s ease-in-out infinite;
}

#apply.section .morphism-blob-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(241, 243, 244, 0.4) 0%, transparent 70%);
  top: 60%;
  right: 15%;
  animation: morphism-blob-2 30s ease-in-out infinite reverse;
}

#apply.section .morphism-blob-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  bottom: 10%;
  left: 60%;
  animation: morphism-blob-3 35s ease-in-out infinite;
}

@keyframes morphism-blob-1 {
  0%, 100% { transform: translate(0px, 0px) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

@keyframes morphism-blob-2 {
  0%, 100% { transform: translate(0px, 0px) scale(1); }
  50% { transform: translate(-40px, -30px) scale(1.2); }
}

@keyframes morphism-blob-3 {
  0%, 100% { transform: translate(0px, 0px) scale(1); }
  25% { transform: translate(20px, -40px) scale(0.8); }
  75% { transform: translate(-30px, 10px) scale(1.1); }
}

/* Estilos para la nueva sección de Soluciones IA */
.solutions-ai-section {
  padding: 6rem 0 8rem 0;
  overflow-x: hidden;
  background: #0C151C !important; /* Azul oscuro Smart Automata */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}

/* ===== AI Benefits auto-slider styles (scoped) ===== */
#ai-benefits.ai-slide-container {
  height: calc(100vh - 120px);
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  box-sizing: border-box;
  position: relative;
  transition: background-color 0.8s ease;
}

#ai-benefits .ai-slide-content {
  max-width: 800px;
  transition: color 0.8s ease;
}

#ai-benefits .ai-slide {
  opacity: 0;
  position: absolute;
  transition: opacity 0.6s ease-in-out;
  visibility: hidden;
}

#ai-benefits .ai-slide.active {
  opacity: 1;
  position: relative;
  visibility: visible;
}

#ai-benefits h2 { font-size: 2.8rem; font-weight: 700; margin: 0 0 1rem 0; }
#ai-benefits p  { font-size: 1.2rem; line-height: 1.7; font-weight: 300; }

#ai-benefits-pagination.ai-pagination {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
}

#ai-benefits-pagination .ai-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#ai-benefits-pagination .ai-dot:hover { transform: scale(1.2); }
#ai-benefits-pagination .ai-dot.active { background-color: #ffffff; }

#ai-benefits-pagination.ai-pagination.dark .ai-dot { background-color: rgba(0,0,0,0.3); }
#ai-benefits-pagination.ai-pagination.dark .ai-dot.active { background-color: #0C151C; }

/* Botones de navegación del slider */
.ai-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  z-index: 10;
}

.ai-nav-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  color: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
}

.ai-nav-prev {
  left: 2rem;
}

.ai-nav-next {
  right: 2rem;
}

/* Adaptación para modo oscuro/claro */
.ai-slide-container[data-mode="dark"] .ai-nav-btn {
  background: rgba(12, 21, 28, 0.1);
  border-color: rgba(12, 21, 28, 0.3);
  color: rgba(12, 21, 28, 0.8);
}

.ai-slide-container[data-mode="dark"] .ai-nav-btn:hover {
  background: rgba(12, 21, 28, 0.2);
  border-color: rgba(12, 21, 28, 0.5);
  color: rgba(12, 21, 28, 1);
}

@media (max-width: 768px) {
  #ai-benefits h2 { font-size: 2rem; }
  #ai-benefits p  { font-size: 1rem; }
  
  /* Botones más pequeños en móvil */
  .ai-nav-btn {
    width: 48px;
    height: 48px;
  }
  
  .ai-nav-prev {
    left: 1rem;
  }
  
  .ai-nav-next {
    right: 1rem;
  }
}

/* Botones de navegación del carrusel de Venezuela */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent; /* Transparente por defecto */
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  z-index: 10;
}

.carousel-nav-btn:hover {
  transform: translateY(-50%) scale(1.08);
}

/* Adaptación automática según modo del carrusel (desktop) */
.carousel[data-mode="dark"] .carousel-nav-btn {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.95);
}
.carousel[data-mode="dark"] .carousel-nav-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
  color: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.carousel[data-mode="light"] .carousel-nav-btn {
  background: transparent; /* Fondo transparente sobre blanco/gris */
  border-color: rgba(0, 0, 0, 0.35);
  color: rgba(0, 0, 0, 0.8);
}
.carousel[data-mode="light"] .carousel-nav-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.55);
  color: rgba(0, 0, 0, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-nav-prev {
  left: 2rem;
}

.carousel-nav-next {
  right: 2rem;
}

/* Responsive para botones de carrusel */
@media (max-width: 768px) {
  .carousel-nav-btn {
    width: 48px;
    height: 48px;
  }
  
  .carousel-nav-prev {
    left: 1rem;
  }
  
  .carousel-nav-next {
    right: 1rem;
  }
}

/* Estilos para el carrusel manual de Venezuela */
#venezuela-localization .carousel {
  position: relative !important;
  overflow: hidden !important;
  width: 100% !important;
  height: 100vh !important;
}

#venezuela-localization .carousel-track {
  display: flex !important;
  width: calc(100% * 6) !important; /* 6 slides */
  height: 100% !important;
  transition: transform 0.5s ease-in-out !important;
}

#venezuela-localization .carousel-slide {
  flex: 0 0 calc(100% / 6) !important; /* Cada slide ocupa 1/6 del track */
  min-width: auto !important; /* Sobrescribir el min-width global */
  padding: 6rem !important;
  height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Tipografías del carrusel de Venezuela iguales a IA Benefits */
#venezuela-localization .carousel-slide h2 {
  font-size: 2.8rem; /* Igual a #ai-benefits h2 */
  line-height: 1.2;
}
#venezuela-localization .carousel-slide p {
  font-size: 1.2rem; /* Igual a #ai-benefits p */
  line-height: 1.7;
  font-weight: 300;
}

@media (max-width: 768px) {
  #venezuela-localization .carousel-slide h2 { font-size: 2rem; }
  #venezuela-localization .carousel-slide p  { font-size: 1rem; }
}

.solutions-header {
  text-align: center;
  max-width: 720px; /* Reducido para forzar el salto de línea */
  margin: 0 auto 6rem auto;
}

.solutions-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem); /* Reducido aún más */
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.accent-color {
  color: var(--color-highlight);
}

/* Asegurar que el color highlight se aplique en el título de soluciones */
.solutions-title .accent-color,
h1.solutions-title .accent-color,
#solutions-main-title .accent-color {
  color: var(--color-highlight) !important;
}

.solutions-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  color: var(--color-secondary-2);
  line-height: 1.6;
  margin: 0;
}

.solutions-container {
  display: flex;
  flex-direction: column;
  gap: 6rem;
  max-width: 800px;
  margin: 0 auto;
}

.solution-section {
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
}

.solution-content {
  padding: 0 1rem;
}

.solution-title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.solution-description {
  color: var(--color-secondary-2);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.6;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .solutions-ai-section {
    padding: 4rem 0 6rem 0;
  }
  
  .solutions-header {
    margin-bottom: 4rem;
  }
  
  .solutions-container {
    gap: 4rem;
  }
}

@keyframes morphism-float {
  0%, 100% {
    transform: translate(-50px, -50px) rotate(0deg);
  }
  25% {
    transform: translate(50px, -100px) rotate(90deg);
  }
  50% {
    transform: translate(100px, 50px) rotate(180deg);
  }
  75% {
    transform: translate(-100px, 100px) rotate(270deg);
  }
}
.section.light .section-subtitle, .section.light .muted, .section.light .card p { color: #3a4a5a; }

.section.dark { 
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
  background: #0D1C31; 
}
.section.dark .badge, .section.dark .card { background: rgba(255,255,255,0.04); border-color: rgba(230,230,230,0.12); }
.section.dark .section-subtitle { color: var(--color-secondary-2); }
.section.dark .section-title { color: var(--color-white); }
.section.dark, .section.dark * { color: var(--color-white); }

.section-header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-title { font-size: 24px; font-weight: 700; }
.section-subtitle { color: var(--color-secondary-2); }

.hero { 
  position: relative; 
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -120px;
  padding-top: 120px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-primary);
}

/* Hero específico para la página de tickets con fondo animado */
.tickets-page .hero {
  background: var(--color-primary);
  position: relative;
}

.tickets-page .hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: 
    radial-gradient(circle at 15% 25%, rgba(12, 21, 28, 0.9) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(13, 28, 49, 0.8) 0%, transparent 50%),
    radial-gradient(circle at 45% 85%, rgba(12, 21, 28, 0.7) 0%, transparent 40%),
    radial-gradient(circle at 75% 15%, rgba(13, 28, 49, 0.6) 0%, transparent 35%);
  filter: blur(2px);
  animation: heroOrganicNetwork 25s ease-in-out infinite;
}

.tickets-page .hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 110%;
  height: 110%;
  z-index: 1;
  background: 
    radial-gradient(circle at 20% 30%, rgba(12, 21, 28, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 40% 70%, rgba(12, 21, 28, 0.4) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, rgba(12, 21, 28, 0.2) 1px, transparent 1px),
    radial-gradient(circle at 60% 90%, rgba(12, 21, 28, 0.5) 1px, transparent 1px),
    linear-gradient(135deg, transparent 49%, rgba(12, 21, 28, 0.08) 49.5%, rgba(12, 21, 28, 0.08) 50.5%, transparent 51%);
  background-size: 80px 80px, 120px 120px, 160px 160px, 100px 100px, 40px 40px;
  animation: heroNetworkFloat 35s linear infinite;
  filter: blur(1px);
  opacity: 0.7;
}

.tickets-page .hero-inner {
  position: relative;
  z-index: 2;
}

/* Hero específico para la página de empleos con fondo animado */
.empleos-page .hero {
  background: var(--color-primary);
  position: relative;
}

.empleos-page .hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: 
    radial-gradient(circle at 15% 25%, rgba(13, 28, 49, 0.9) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(12, 21, 28, 0.8) 0%, transparent 50%),
    radial-gradient(circle at 45% 85%, rgba(13, 28, 49, 0.7) 0%, transparent 40%),
    radial-gradient(circle at 75% 15%, rgba(12, 21, 28, 0.6) 0%, transparent 35%);
  filter: blur(2px);
  animation: heroOrganicNetwork 25s ease-in-out infinite alternate;
}

.empleos-page .hero-inner {
  position: relative;
  z-index: 2;
}

/* Hero específico para la página de ERP con fondo animado */
.odoo-page .hero {
  background: var(--color-primary);
  position: relative;
}

.odoo-page .hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: 
    radial-gradient(circle at 25% 15%, rgba(13, 28, 49, 0.8) 0%, transparent 45%),
    radial-gradient(circle at 75% 85%, rgba(12, 21, 28, 0.9) 0%, transparent 50%),
    radial-gradient(circle at 35% 75%, rgba(13, 28, 49, 0.6) 0%, transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(12, 21, 28, 0.7) 0%, transparent 35%);
  filter: blur(2px);
  animation: heroOrganicNetwork 25s ease-in-out infinite;
}

.odoo-page .hero-inner {
  position: relative;
  z-index: 2;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(180deg, transparent, var(--color-primary));
  pointer-events: none;
}
.hero-bg { position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); z-index: 0; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.7); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,21,28,0.55) 0%, rgba(13,28,49,0.65) 100%); }
@keyframes heroGlow { 
  0% { transform: translateY(0px) scale(1); opacity: 0.9; }
  100% { transform: translateY(-12px) scale(1.02); opacity: 1; }
}
.hero-inner { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 32px; 
  padding: 56px 20px; 
  max-width: var(--content-max); 
  margin: 0 auto; 
  width: 100%; 
  align-items: center; 
  text-align: center; 
  position: relative; 
  z-index: 1;
}
.hero h1 { font-size: 40px; line-height: 1.1; margin: 0 0 10px 0; }
.hero p { color: var(--color-secondary-2); margin: 0 0 16px 0; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; }
.btn-primary { background: var(--color-highlight); color: var(--color-white); padding: 12px 16px; border-radius: 12px; border: none; cursor: pointer; transition: all 0.3s ease; }
.btn-secondary { background: transparent; color: var(--color-white); padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(230,230,230,0.18); cursor: pointer; transition: all 0.3s ease; }

/* Glow effect for hero buttons */
.hero .btn-primary:hover, 
.hero .btn-secondary:hover {
  box-shadow: 0 0 20px rgba(19, 93, 241, 0.6), 0 0 40px rgba(19, 93, 241, 0.4);
  transform: translateY(-2px);
}
.media-card { background: transparent; border: none; border-radius: 16px; overflow: hidden; 
  box-shadow: 0 0 0 2px rgba(19,93,241,0.55), 0 0 36px rgba(19,93,241,0.28);
}
.media-card .media { aspect-ratio: 16 / 9; background: linear-gradient(135deg, rgba(19,93,241,0.3), rgba(13,28,49,0.6)); }
.media-card .meta { padding: 12px; color: var(--color-secondary-2); }

#kpis.section { 
  position: relative; 
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--color-primary);
  padding: 28px 0;
}
#kpis.section::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 90px;
  background: linear-gradient(180deg, rgba(12,21,28,0), rgba(12,21,28,1));
  pointer-events: none;
}
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; align-items: center; max-width: var(--content-max); margin: 0 auto; }
.kpi { background: transparent; border: 0; padding: 24px 10px; text-align: center; position: relative; }
.kpi:not(:last-child)::after { content: ""; position: absolute; top: 18%; bottom: 18%; right: 0; width: 1px; background: rgba(255,255,255,0.35); }
.kpi .value { font-size: 36px; font-weight: 700; line-height: 1; }
.kpi .label { color: var(--color-secondary-2); margin-top: 6px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { background: #fff; border: 1px solid rgba(0,0,0,0.06); border-radius: 14px; padding: 16px; }
.dark .card { background: rgba(255,255,255,0.04); border: 1px solid rgba(230,230,230,0.08); }
.card h3 { margin-top: 0; }
.card p { color: var(--color-secondary-2); }

/* Tools section styles */
.tools-header { 
  display: flex; 
  justify-content: center; 
  margin-bottom: 38px; 
}
.tools-header .section-title { 
  text-align: center; 
  margin: 0; 
  font-size: 29px; 
}

/* Marquee with fade effect */
.marquee { 
  position: relative;
  display: flex; 
  align-items: center; 
  gap: 12px; 
  overflow: hidden;
  padding: 24px 0;
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}
.marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}
.section.dark .marquee::before {
  background: linear-gradient(90deg, rgba(12,21,28,1) 0%, rgba(12,21,28,0) 100%);
}
.section.dark .marquee::after {
  background: linear-gradient(270deg, rgba(12,21,28,1) 0%, rgba(12,21,28,0) 100%);
}
#clients.section.dark .marquee::before {
  background: linear-gradient(90deg, #0D1C31 0%, rgba(13,28,49,0) 100%);
}
#clients.section.dark .marquee::after {
  background: linear-gradient(270deg, #0D1C31 0%, rgba(13,28,49,0) 100%);
}

/* Gradientes específicos para el carrusel de index.html con fondo #B2B2B2 */
.section[style*="background:#B2B2B2"] .marquee::before {
  background: linear-gradient(90deg, #B2B2B2 0%, rgba(178,178,178,0) 100%) !important;
}
.section[style*="background:#B2B2B2"] .marquee::after {
  background: linear-gradient(270deg, #B2B2B2 0%, rgba(178,178,178,0) 100%) !important;
}

.marquee .track { 
  display: flex; 
  gap: 67px; 
  width: max-content; /* Ensures the track is wide enough for all logos and prevents wrapping */
  animation: scroll 33s linear infinite; 
}
@keyframes scroll { 
  0% { transform: translateX(0); } 
  100% { transform: translateX(-50%); } 
}

/* Tool logos */
.tool-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 132px;
  flex-shrink: 0;
}
.tool-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.3) contrast(1.2);
  opacity: 0.9;
}
.tool-text {
  font-weight: 600;
  color: #2b3948;
}
.section.dark .tool-logo img {
  filter: grayscale(100%) brightness(0) invert(0.8);
  opacity: 0.8;
}

/* Client section styles */
.clients-header {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.clients-header .section-title {
  text-align: center;
  margin: 0;
  font-size: 29px;
}
.client-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 132px; /* Mismo tamaño que tool-logo */
  height: 132px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.client-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.client-logo:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

#clients-marquee .track {
  /* Use a simple CSS animation for scrolling */
  animation: scroll-slow 60s linear infinite; /* Slower: from 40s to 60s */
  will-change: transform;
}

/* Carrusel oscuro específico para Agents */
#clients-agents.section.dark { 
  background: var(--color-primary); 
  color: var(--color-white); 
  padding-top: 48px; 
  padding-bottom: 48px; 
}

#clients-agents .client-logo {
  height: 126px; /* Reducción del 20% */
  width: 251px;  /* Reducción del 20% */
  display: flex;
  align-items: center;
  justify-content: center;
}

#clients-agents .client-logo img { 
  max-height: 94px; /* Reducción del 20% */
  max-width: 188px;  /* Reducción del 20% */
  min-height: 64px; /* Ajuste proporcional */
  min-width: 100px; /* Ajuste proporcional */
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: grayscale(100%) brightness(1.2) opacity(0.95) drop-shadow(0 6px 14px rgba(255,255,255,0.08));
  transition: filter 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

#clients-agents .client-logo:hover img { 
  filter: grayscale(0%) brightness(1) opacity(1) drop-shadow(0 8px 22px rgba(19,93,241,0.35));
  transform: scale(1.07);
}

/* Estilos específicos para logos problemáticos */
#clients-agents .client-logo img[alt="Turpial Airlines"] {
  transform: scale(0.96); /* Reducción del 20% sobre el tamaño actual (1.2 * 0.8) */
}

#clients-agents .client-logo img[alt="Disbattery"] {
  min-height: 100px !important;
  min-width: 140px !important;
  max-height: 118px !important;
  max-width: 235px !important;
  transform: scale(1.2);
}

#clients-agents .marquee::before { 
  background: linear-gradient(90deg, rgba(12,21,28,1) 0%, rgba(12,21,28,0) 100%); 
}

#clients-agents .marquee::after { 
  background: linear-gradient(270deg, rgba(12,21,28,1) 0%, rgba(12,21,28,0) 100%); 
}


@keyframes scroll-slow {
  0% { transform: translateX(0); } 
  100% { transform: translateX(-50%); } 
}

/* Animaciones para el fondo de red orgánica */
@keyframes organicNetwork {
  0% { 
    background: 
      radial-gradient(circle at 20% 30%, rgba(12, 21, 28, 0.8) 0%, transparent 50%),
      radial-gradient(circle at 80% 70%, rgba(13, 28, 49, 0.6) 0%, transparent 50%),
      radial-gradient(circle at 40% 80%, rgba(12, 21, 28, 0.9) 0%, transparent 40%);
  }
  25% {
    background: 
      radial-gradient(circle at 30% 20%, rgba(12, 21, 28, 0.7) 0%, transparent 45%),
      radial-gradient(circle at 70% 80%, rgba(13, 28, 49, 0.8) 0%, transparent 55%),
      radial-gradient(circle at 60% 70%, rgba(12, 21, 28, 0.6) 0%, transparent 35%);
  }
  50% {
    background: 
      radial-gradient(circle at 40% 40%, rgba(12, 21, 28, 0.9) 0%, transparent 48%),
      radial-gradient(circle at 60% 60%, rgba(13, 28, 49, 0.5) 0%, transparent 52%),
      radial-gradient(circle at 80% 60%, rgba(12, 21, 28, 0.7) 0%, transparent 38%);
  }
  75% {
    background: 
      radial-gradient(circle at 60% 50%, rgba(12, 21, 28, 0.6) 0%, transparent 46%),
      radial-gradient(circle at 40% 50%, rgba(13, 28, 49, 0.7) 0%, transparent 54%),
      radial-gradient(circle at 20% 90%, rgba(12, 21, 28, 0.8) 0%, transparent 42%);
  }
  100% { 
    background: 
      radial-gradient(circle at 20% 30%, rgba(12, 21, 28, 0.8) 0%, transparent 50%),
      radial-gradient(circle at 80% 70%, rgba(13, 28, 49, 0.6) 0%, transparent 50%),
      radial-gradient(circle at 40% 80%, rgba(12, 21, 28, 0.9) 0%, transparent 40%);
  }
}

@keyframes networkFloat {
  0% { 
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.3;
  }
  25% {
    transform: translate(-10px, -15px) rotate(90deg);
    opacity: 0.5;
  }
  50% {
    transform: translate(-5px, -30px) rotate(180deg);
    opacity: 0.4;
  }
  75% {
    transform: translate(10px, -20px) rotate(270deg);
    opacity: 0.6;
  }
  100% { 
    transform: translate(0, 0) rotate(360deg);
    opacity: 0.3;
  }
}

/* Animaciones específicas para el hero de tickets */
@keyframes heroOrganicNetwork {
  0% { 
    background: 
      radial-gradient(circle at 15% 25%, rgba(12, 21, 28, 0.9) 0%, transparent 45%),
      radial-gradient(circle at 85% 75%, rgba(13, 28, 49, 0.8) 0%, transparent 50%),
      radial-gradient(circle at 45% 85%, rgba(12, 21, 28, 0.7) 0%, transparent 40%),
      radial-gradient(circle at 75% 15%, rgba(13, 28, 49, 0.6) 0%, transparent 35%);
  }
  20% {
    background: 
      radial-gradient(circle at 25% 35%, rgba(12, 21, 28, 0.8) 0%, transparent 48%),
      radial-gradient(circle at 75% 65%, rgba(13, 28, 49, 0.9) 0%, transparent 47%),
      radial-gradient(circle at 55% 75%, rgba(12, 21, 28, 0.6) 0%, transparent 43%),
      radial-gradient(circle at 65% 25%, rgba(13, 28, 49, 0.7) 0%, transparent 38%);
  }
  40% {
    background: 
      radial-gradient(circle at 35% 45%, rgba(12, 21, 28, 0.7) 0%, transparent 46%),
      radial-gradient(circle at 65% 55%, rgba(13, 28, 49, 0.8) 0%, transparent 52%),
      radial-gradient(circle at 25% 65%, rgba(12, 21, 28, 0.9) 0%, transparent 41%),
      radial-gradient(circle at 85% 35%, rgba(13, 28, 49, 0.5) 0%, transparent 36%);
  }
  60% {
    background: 
      radial-gradient(circle at 45% 55%, rgba(12, 21, 28, 0.6) 0%, transparent 44%),
      radial-gradient(circle at 55% 45%, rgba(13, 28, 49, 0.7) 0%, transparent 49%),
      radial-gradient(circle at 75% 75%, rgba(12, 21, 28, 0.8) 0%, transparent 42%),
      radial-gradient(circle at 25% 25%, rgba(13, 28, 49, 0.9) 0%, transparent 37%);
  }
  80% {
    background: 
      radial-gradient(circle at 55% 65%, rgba(12, 21, 28, 0.8) 0%, transparent 47%),
      radial-gradient(circle at 45% 35%, rgba(13, 28, 49, 0.6) 0%, transparent 51%),
      radial-gradient(circle at 85% 85%, rgba(12, 21, 28, 0.7) 0%, transparent 39%),
      radial-gradient(circle at 15% 15%, rgba(13, 28, 49, 0.8) 0%, transparent 34%);
  }
  100% { 
    background: 
      radial-gradient(circle at 15% 25%, rgba(12, 21, 28, 0.9) 0%, transparent 45%),
      radial-gradient(circle at 85% 75%, rgba(13, 28, 49, 0.8) 0%, transparent 50%),
      radial-gradient(circle at 45% 85%, rgba(12, 21, 28, 0.7) 0%, transparent 40%),
      radial-gradient(circle at 75% 15%, rgba(13, 28, 49, 0.6) 0%, transparent 35%);
  }
}

@keyframes heroNetworkFloat {
  0% { 
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 0.7;
  }
  25% {
    transform: translate(-8px, -12px) rotate(90deg) scale(1.05);
    opacity: 0.8;
  }
  50% {
    transform: translate(-4px, -20px) rotate(180deg) scale(0.95);
    opacity: 0.6;
  }
  75% {
    transform: translate(8px, -16px) rotate(270deg) scale(1.02);
    opacity: 0.9;
  }
  100% { 
    transform: translate(0, 0) rotate(360deg) scale(1);
    opacity: 0.7;
  }
}

.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; background: rgba(255,255,255,0.04); border: 1px solid rgba(230,230,230,0.08); border-radius: 30px; white-space: nowrap; }

.about-section { 
  margin-left: calc(50% - 50vw); 
  margin-right: calc(50% - 50vw);
}
.carousel { 
  position: relative; 
  overflow: hidden; 
  width: 100vw; 
  background-color: var(--color-primary); 
}
.carousel-track { display: flex; transition: transform 0.5s ease; }
.carousel-slide { 
  min-width: 100vw; 
  padding: 6rem; 
  height: 100vh; 
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  align-items: center;
  box-sizing: border-box;
}
.carousel-controls { position: absolute; top: 50%; left: 12px; right: 12px; transform: translateY(-50%); display: flex; justify-content: space-between; gap: 10px; z-index: 10; pointer-events: none; }
.carousel-controls button { 
  background: rgba(255,255,255,0.1); 
  color: var(--color-white); 
  border: 1px solid rgba(255,255,255,0.2); 
  width: 44px; 
  height: 44px; 
  border-radius: 50%; 
  cursor: pointer; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  pointer-events: auto;
  transition: background 0.2s ease;
}
.carousel-controls button:hover {
  background: rgba(255,255,255,0.2);
}

/* Limpiando estilos de slide antiguos que ya no se usan en odoo.html */
.slide-mision, .slide-vision, .slide-valores {
  background: none;
  align-items: center !important;
  text-align: center;
}

.slide-valores ul {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}
.slide-valores li {
  margin-bottom: 0.75rem;
}
.slide-valores strong {
  color: var(--color-highlight);
}

/* Estilos para el iframe del manual */
.iframe-container {
  width: 100%;
  height: 95vh;
  min-height: 800px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04),
    0 0 0 1px rgba(19, 93, 241, 0.1);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
}

/* Estilos específicos para el iframe en sección light */
.section.light .iframe-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.15),
    0 10px 10px -5px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(19, 93, 241, 0.2);
}

.manual-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 16px;
}

/* Formulario con efectos de morfismo */
.form { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 20px;
  background: #0D1C31;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.form-animated {
  opacity: 0;
  transform: translateY(40px);
}

.form-animated.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-form-morphism {
  background: rgba(255, 255, 255, 0.6) !important; /* Aumenta la opacidad para mejorar legibilidad */
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 
    0 8px 32px 0 rgba(31, 38, 135, 0.37),
    inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

/* Oscurecer el color del texto en el formulario de contacto */
.contact-form-morphism .input-field,
.contact-form-morphism .floating-label,
.contact-form-morphism .text-gray-700,
.contact-form-morphism .text-gray-500 {
  color: #374151 !important; /* Un gris más oscuro */
}

.contact-form-morphism .input-field::placeholder {
  color: #6b7280 !important; /* Placeholder un poco más oscuro */
}

.contact-form-morphism .floating-label {
    background-color: transparent !important;
}

.form .field { 
  display: flex; 
  flex-direction: column; 
  gap: 8px; 
}

.form .field label {
  font-weight: 600;
  color: var(--color-white);
  font-size: 14px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.input, .textarea, .select, .file { 
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 16px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  box-shadow: 
    inset 0 2px 4px rgba(0, 0, 0, 0.1),
    0 1px 2px rgba(0, 0, 0, 0.05);
}

.input:focus, .textarea:focus, .select:focus, .file:focus {
  outline: none;
  border-color: var(--color-highlight);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 
    inset 0 2px 4px rgba(0, 0, 0, 0.1),
    0 0 0 3px rgba(19, 93, 241, 0.2),
    0 4px 12px rgba(19, 93, 241, 0.15);
  transform: translateY(-1px);
}

.input::placeholder, .textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.section.light .input, .section.light .textarea, .section.light .select, .section.light .file { 
  background: rgba(0, 0, 0, 0.04); 
  color: #0C151C; 
  border: 1px solid rgba(0, 0, 0, 0.18); 
}

.textarea { 
  min-height: 120px; 
  resize: vertical;
}

.form .actions { 
  grid-column: 1 / -1; 
  display: flex; 
  gap: 12px; 
  justify-content: flex-end;
  margin-top: 8px;
}

.form .btn-primary {
  background: linear-gradient(135deg, var(--color-highlight), #0F4CB8);
  color: var(--color-white);
  padding: 14px 24px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 
    0 4px 12px rgba(19, 93, 241, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.form .btn-primary:hover {
  background: linear-gradient(135deg, #1E6BFF, var(--color-highlight));
  transform: translateY(-2px);
  box-shadow: 
    0 8px 20px rgba(19, 93, 241, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.help { 
  color: var(--color-secondary-2); 
  font-size: 12px; 
}

/* Estilos para las nuevas tarjetas de empleo */
.job-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.job-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.job-card.animated-card,
.why-join-card.animated-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s ease;
}

.job-card.animated-card.visible,
.why-join-card.animated-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15), 0 0 20px rgba(19, 93, 241, 0.3);
}

.job-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: #1a202c;
}

.job-card p {
  color: #4a5568;
  margin: 0 0 24px 0;
  flex-grow: 1;
}

.job-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  color: #718096;
}

.job-details span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #718096;
}

.job-card .btn-primary {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  background: var(--color-highlight);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.job-card .btn-primary:hover {
  background: #0d4fb8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(19, 93, 241, 0.4);
}

/* ==========================
   IA Cross Sales Section
   ========================== */
.ai-section { background: transparent; }
.ai-section .section-header { display:flex; flex-direction:column; gap:8px; align-items:center; text-align:center; }
.ai-section .section-title { 
  color: var(--color-white); 
  font-weight: 800; 
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.14;
  margin: 0 0 6px 0;
}
.ai-section .section-subtitle { color: var(--color-secondary-2); }
.ai-highlight { color: var(--color-highlight); }

.ai-cards-grid { 
  display: grid; 
  grid-template-columns: repeat(2, minmax(0, 1fr)); 
  gap: 20px; 
  margin-top: 16px; 
}

@media (max-width: 900px) {
  .ai-cards-grid { grid-template-columns: 1fr; }
}

.ai-card { 
  background: #0D1C31; 
  border: 1px solid rgba(255,255,255,0.08); 
  border-radius: 16px; 
  padding: 20px; 
  display: flex; 
  gap: 16px; 
  align-items: flex-start; 
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.ai-card:hover { 
  transform: translateY(-2px); 
  border-color: rgba(19,93,241,0.35); 
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
}
.ai-card h3 { margin: 0 0 6px; color: #ffffff; }
.ai-card p { margin: 0; color: #B2B2B2; }

.ai-icon { 
  width: 48px; height: 48px; 
  border-radius: 12px; 
  background: rgba(19,93,241,0.12); 
  display:flex; align-items:center; justify-content:center; 
  color: var(--color-highlight); 
  border: 1px solid rgba(19,93,241,0.28);
  flex: 0 0 48px;
}
.ai-cta { margin-top: 20px; display:flex; justify-content:center; }

/* Fondo animado y difuminado superior para la sección IA */
.ai-section {
  position: relative;
  overflow: hidden;
  background: var(--color-primary);
}
.ai-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(12, 21, 28, 0.85) 0%, transparent 45%),
    radial-gradient(circle at 82% 72%, rgba(13, 28, 49, 0.75) 0%, transparent 50%),
    radial-gradient(circle at 42% 82%, rgba(12, 21, 28, 0.8) 0%, transparent 40%),
    radial-gradient(circle at 72% 18%, rgba(13, 28, 49, 0.65) 0%, transparent 35%);
  filter: blur(1.5px);
  animation: heroOrganicNetwork 25s ease-in-out infinite;
}
.ai-section::after {
  content: '';
  position: absolute;
  inset: -5% -5% -5% -5%;
  z-index: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(12, 21, 28, 0.25) 1px, transparent 1px),
    radial-gradient(circle at 40% 70%, rgba(12, 21, 28, 0.35) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, rgba(12, 21, 28, 0.2) 1px, transparent 1px),
    radial-gradient(circle at 60% 90%, rgba(12, 21, 28, 0.4) 1px, transparent 1px),
    linear-gradient(135deg, transparent 49%, rgba(12, 21, 28, 0.06) 49.5%, rgba(12, 21, 28, 0.06) 50.5%, transparent 51%);
  background-size: 90px 90px, 140px 140px, 180px 180px, 120px 120px, 45px 45px;
  animation: heroNetworkFloat 35s linear infinite;
  opacity: 0.6;
}
.ai-fade-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 84px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(12,21,28,0.55) 55%, rgba(12,21,28,0.9) 100%);
}
.ai-section > * { position: relative; z-index: 2; }

/* Títulos portada: Benefits e Implementations al mismo tamaño que IA + ERP */
.benefits-hero-panel h1 {
  font-size: clamp(40px, 5.5vw, 64px) !important;
  line-height: 1.12;
  margin: 0 0 8px 0;
}
#venezuela-localization .carousel-track .carousel-slide:first-child h2 {
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.12;
  margin-bottom: 10px;
}

/* Estilos para la sección "¿Por qué unirte?" */
.why-join-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
  text-align: center;
}

.why-join-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.icon-container {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-highlight);
  color: white;
  margin-bottom: 16px;
}

.why-join-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: #1a202c;
}

.why-join-card p {
  color: #4a5568;
}

/* Overlay azul transparente para el hero */
.hero-overlay-modern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: rgba(13, 28, 49, 0.6);
  pointer-events: none;
}

/* Estilos para las imágenes de fondo de las slides */
.slide-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Overlay horizontal derecho (para misión) */
.slide-overlay-right {
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, rgba(13, 28, 49, 0.95) 0%, rgba(13, 28, 49, 0.85) 60%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}

/* Overlay horizontal izquierdo (para visión) */
.slide-overlay-left {
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 100%;
  background: linear-gradient(270deg, rgba(13, 28, 49, 0.95) 0%, rgba(13, 28, 49, 0.85) 60%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}

/* Contenido superpuesto */
.slide-content-over {
  position: relative;
  z-index: 2;
}

/* Estilos para el video de fondo del slide About Us */
.slide-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.about-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(19, 93, 241, 0.4);
  z-index: 0;
  pointer-events: none;
}

/* Asegurar que las slides tengan posición relativa */
.carousel-slide.slide-about-us,
.carousel-slide.slide-mision,
.carousel-slide.slide-vision {
  position: relative;
}



.footer { 
  position: relative;
  border-top: 1px solid rgba(230,230,230,0.08);
  color: var(--color-secondary-2);
  padding: 34px 0; /* +40% altura visual */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
  overflow: hidden;
  background: #0C151C; /* Fallback si no carga el video */
  margin-bottom: 0; /* Elimina hueco bajo el footer */
}
.footer-bg { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: 100vw; z-index: 0; }
.footer-video { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; filter: brightness(0.7); pointer-events: none; }
.footer-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,21,28,0.53) 0%, rgba(13,28,49,0.55) 100%); pointer-events: none; }
.footer-inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; max-width: var(--content-max); margin: 0 auto; font-size: 0.7rem; }
.footer-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.footer-left { display: flex; align-items: center; }
.footer-center { display: flex; justify-content: center; }
.footer-right { display: flex; justify-content: flex-end; }
.footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer-logo { height: 40px; }
.footer-contact { color: #E6E6E6; text-align: right; max-width: 520px; }

@media (max-width: 1100px) { 
  .hero-inner { grid-template-columns: 1fr; } 
  .kpis { grid-template-columns: repeat(2, 1fr); } 
  .cards { grid-template-columns: repeat(2, 1fr); } 
}
/* Desktop: restaurar dimensiones/alineación del footer */
@media (min-width: 861px) {
  .footer-inner { gap: 11px; }
  .footer-bottom { margin-top: 0 !important; }
  .footer .footer-top > div:last-child { text-align: right !important; }
  .footer .footer-top > div:last-child .social { justify-content: flex-end !important; }
  /* Reducir separación horizontal entre columnas del footer en desktop */
  .footer-top { gap: 1rem !important; }
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; background: transparent; color: var(--color-secondary-3); border: 1px solid rgba(230,230,230,0.18); padding: 8px 12px; border-radius: 10px; cursor: pointer; }
  .menu-list { display: none; position: absolute; left: 12px; right: 12px; top: 120px; background: rgba(13,28,49,0.95); border: 1px solid rgba(230,230,230,0.08); border-radius: 12px; padding: 8px; flex-direction: column; }
  .menu-list.open { display: flex; }
  .main { padding-top: 168px; }
  .form { grid-template-columns: 1fr; padding: 24px; }
  .cards { grid-template-columns: 1fr; }
  .iframe-container { height: 85vh; min-height: 600px; }

  /* Ajustar posición de la segunda barra bajo el nuevo header móvil */
  .menubar { top: 96px; }

  /* Solo PHONE VIEW: header */
  /* Ocultar Facebook y TikTok, mantener Instagram y LinkedIn */
  .topbar .social a[aria-label="Facebook"],
  .topbar .social a[aria-label="TikTok"] { display: none; }

  /* Dos filas: logo arriba; redes (izq), login (centro), CTA (der) abajo */
  .topbar-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    row-gap: 6px;
    min-height: 96px;
  }
  .topbar-center { grid-column: 1 / -1; grid-row: 1; justify-content: center; }
  .topbar-left   { grid-column: 1 / 2; grid-row: 2; justify-content: flex-start; }
  .topbar-right  { grid-column: 2 / 4; grid-row: 2; display: grid; grid-template-columns: 1fr auto auto; align-items: center; column-gap: 12px; }

  /* Colocar login centrado y CTA a la derecha dentro de la fila inferior */
  .topbar-right .btn-login { grid-column: 2; justify-self: center; position: static; transform: none; }
  .topbar-right .btn-cta   { grid-column: 3; justify-self: end; }

  /* Efecto de resplandor en botones seleccionados - SOLO MÓVIL */
  .btn:focus,
  .btn:active,
  .btn.selected {
    box-shadow: 0 0 20px var(--color-highlight);
    outline: 2px solid var(--color-highlight);
    outline-offset: 2px;
  }

  .btn-cta:focus,
  .btn-cta:active,
  .btn-cta.selected {
    box-shadow: 0 0 25px var(--color-highlight);
    outline: 2px solid var(--color-highlight);
    outline-offset: 2px;
  }

  .btn-login:focus,
  .btn-login:active,
  .btn-login.selected {
    box-shadow: 0 0 15px var(--color-highlight);
    outline: 2px solid var(--color-highlight);
    outline-offset: 2px;
  }

  /* Glow reforzado para botones en móvil (tap/focus/selected) */
  .btn-primary:focus,
  .btn-primary:active,
  .btn-primary.selected,
  .btn-secondary:focus,
  .btn-secondary:active,
  .btn-secondary.selected,
  .btn-cta:focus,
  .btn-cta:active,
  .btn-cta.selected,
  .btn-login:focus,
  .btn-login:active,
  .btn-login.selected {
    box-shadow: 0 0 24px var(--color-highlight), 0 0 48px rgba(19, 93, 241, 0.45) !important;
    outline: 2px solid var(--color-highlight) !important;
    outline-offset: 2px !important;
    transform: translateY(-2px);
  }

  /* Mejora de interacción táctil */
  button, .btn-primary, .btn-secondary, .btn-cta, .btn-login {
    -webkit-tap-highlight-color: rgba(19, 93, 241, 0.2);
  }

  /* Cambios en el hero para phone view - SOLO MÓVIL */
  .hero .hero-inner .hero-inner > div {
    text-align: justify;
  }

  .hero .hero-inner .hero-inner > div h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
  }

  .hero .hero-inner .hero-inner > div h1::after {
    content: "";
    display: block;
    height: 0;
  }

  .hero .hero-inner .hero-inner > div h1 + p {
    display: none;
  }

  .hero .hero-inner .hero-inner > div h1::before {
    content: "Una sola solución integrada";
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
  }

  .hero .hero-inner .hero-inner > div h1::after {
    content: "Introducimos Smart Automata: la sinergia IA + ERP como diferenciador central para acelerar resultados y automatizar operaciones.";
    display: block;
    font-size: 1rem;
    font-weight: 400;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: justify;
    line-height: 1.5;
  }

  /* Evitar líneas/separaciones entre tarjetas blancas encadenadas */
  .section.card-light,
  .section.light {
    background: #ffffff !important;
  }
  .card-light-top,
  .card-light-bottom {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    box-shadow: none !important;
    margin-top: 0 !important;
  }
  /* MANTENER el degradado del hero visible */
  /* .hero::after { display: none !important; } */

  /* Cambios en las métricas para phone view - SOLO MÓVIL */
  .kpis {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .kpi {
    padding: 2rem 1rem !important;
  }

  .kpi:not(:last-child)::after {
    display: none !important;
  }

  .kpi .value {
    font-size: 3.5rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    margin-bottom: 0.5rem !important;
  }

  .kpi .label {
    font-size: 1.1rem !important;
    line-height: 1.4 !important;
    margin-top: 0.5rem !important;
  }

  /* Eliminar líneas de separación entre secciones blancas - SOLO MÓVIL */
  .section {
    border-top: none !important;
    border-bottom: none !important;
  }

  .section.light {
    border-top: none !important;
    border-bottom: none !important;
  }

  .section.dark {
    border-top: none !important;
    border-bottom: none !important;
  }

  .hr {
    display: none !important;
  }

  /* Eliminar bordes de separación en elementos específicos */
  .topbar,
  .menubar,
  .footer {
    border-top: none !important;
    border-bottom: none !important;
  }

  /* Eliminar separadores en cards y contenedores */
  .card,
  .media-card,
  .contact-form-morphism {
    border-top: none !important;
    border-bottom: none !important;
  }

  /* Eliminar líneas de separación en secciones específicas */
  #kpis,
  #tools,
  #solutions,
  #clients,
  #agents,
  #odoo,
  #about,
  #contact {
    border-top: none !important;
    border-bottom: none !important;
  }

  /* Eliminar TODOS los bordes de separación en móvil - REGLAS MÁS AGRESIVAS */
  * {
    border-top: none !important;
    border-bottom: none !important;
  }

  /* Excepciones para elementos que necesitan bordes */
  .btn-login,
  .btn-cta,
  .btn-primary,
  .btn-secondary,
  .menu-link.pill,
  .lang-switch button,
  .card,
  .badge,
  .carousel-controls button,
  .input-field,
  .floating-label,
  .form-element input,
  .form-element textarea,
  .form-element select {
    border-top: initial !important;
    border-bottom: initial !important;
  }

  /* Eliminar específicamente bordes de separación en elementos de navegación */
  .topbar,
  .menubar,
  .footer,
  .menu-list {
    border: none !important;
  }

  /* Eliminar bordes en elementos de contenido */
  .section,
  .section-content,
  .container,
  .hero,
  .hero-inner,
  .kpis,
  .tools-header,
  .marquee,
  .full-width-container,
  .slide,
  .slide-content {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
  }

  /* Eliminar bordes en elementos específicos que pueden tener separadores */
  .section-header,
  .section-title,
  .section-subtitle,
  .clients-header,
  .tools-header {
    border: none !important;
  }

  /* Centrar elementos en secciones agents y odoo - SOLO MÓVIL */
  #agents .container,
  #odoo .container {
    text-align: center !important;
  }

  #agents .flex,
  #odoo .flex {
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }

  #agents .grid,
  #odoo .grid {
    justify-items: center !important;
    text-align: center !important;
  }

  #agents .card-container,
  #odoo .card-container {
    justify-content: center !important;
    text-align: center !important;
  }

  #agents .interactive-card,
  #odoo .interactive-card {
    text-align: center !important;
    margin: 0 auto !important;
  }

  #agents .mt-12,
  #odoo .mt-12 {
    text-align: center !important;
  }

  #agents button,
  #odoo button {
    margin: 0 auto !important;
  }

  /* Cambios en el carrusel About Us - SOLO MÓVIL */
  /* Centrar título About Us */
  .slide-about-us h2 {
    text-align: center !important;
    width: 100%; /* Asegurar que ocupe todo el ancho para centrar el texto */
    margin: 0 auto !important;
    max-width: 90vw !important; /* Evitar desbordes horizontales */
    font-size: 2.25rem !important; /* Reducir tamaño en móvil */
    line-height: 1.2 !important;
    word-break: break-word !important;
    hyphens: auto;
  }

  /* Reducir padding del slide en About para móvil para que el contenido no se corte */
  .about-section .carousel-slide {
    padding: 2rem !important;
  }

  /* Cambiar dirección de degradados de misión y visión - de horizontal a vertical */
  .slide-overlay-right {
    background: linear-gradient(0deg, rgba(13, 28, 49, 0.95) 0%, rgba(13, 28, 49, 0.85) 60%, transparent 100%) !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
  }

  .slide-overlay-left {
    background: linear-gradient(0deg, rgba(13, 28, 49, 0.95) 0%, rgba(13, 28, 49, 0.85) 60%, transparent 100%) !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    right: 0 !important;
  }

  /* Hacer textos más pequeños y compactos en el carrusel About Us - SOLO MÓVIL */
  .slide-mision h3,
  .slide-vision h3 {
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.5rem !important;
  }

  .slide-mision p,
  .slide-vision p {
    font-size: 0.875rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0 !important;
  }

  .slide-mision .max-w-2xl,
  .slide-vision .max-w-2xl {
    max-width: 90% !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  /* Cambios en el slide de Valores - SOLO MÓVIL */
  .slide-valores h3 {
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.5rem !important;
  }

  .slide-valores p {
    font-size: 0.875rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.5rem !important;
  }

  .slide-valores .max-w-4xl {
    max-width: 95% !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .slide-valores ul {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
    text-align: center !important;
  }

  .slide-valores li {
    font-size: 0.75rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.25rem !important;
  }

  /* El quinto elemento (Impacto Exponencial) va en el centro */
  .slide-valores li:last-child {
    grid-column: 1 / -1 !important;
    text-align: center !important;
    font-size: 0.8rem !important;
    margin-top: 0.5rem !important;
  }

  /* Efecto morphism muy marcado para el formulario del home - SOLO MÓVIL */
  .contact-form-morphism {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important, 0 4px 16px rgba(0, 0, 0, 0.2) !important, inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  }

  .contact-form-morphism .input-field {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 2px solid rgba(19, 93, 241, 0.2) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important, inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  }

  .contact-form-morphism .input-field:focus {
    background: rgba(255, 255, 255, 1) !important;
    border-color: var(--color-highlight) !important;
    box-shadow: 0 0 0 3px rgba(19, 93, 241, 0.1) !important, 0 4px 16px rgba(0, 0, 0, 0.15) !important, inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
  }

  .contact-form-morphism textarea {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 2px solid rgba(19, 93, 241, 0.2) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important, inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  }

  .contact-form-morphism textarea:focus {
    background: rgba(255, 255, 255, 1) !important;
    border-color: var(--color-highlight) !important;
    box-shadow: 0 0 0 3px rgba(19, 93, 241, 0.1) !important, 0 4px 16px rgba(0, 0, 0, 0.15) !important, inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
  }

  .contact-form-morphism button {
    background: linear-gradient(135deg, var(--color-highlight), #0F4CB8) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 24px rgba(19, 93, 241, 0.3) !important, 0 4px 12px rgba(0, 0, 0, 0.2) !important, inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  }

  .contact-form-morphism button:hover {
    background: linear-gradient(135deg, #1E6BFF, var(--color-highlight)) !important;
    box-shadow: 0 12px 32px rgba(19, 93, 241, 0.4) !important, 0 6px 16px rgba(0, 0, 0, 0.25) !important, inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-2px) !important;
  }

  /* Cambiar layout del header del formulario - SOLO MÓVIL */
  .section-header {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.5rem !important;
  }

  .section-header .section-title {
    margin-bottom: 0.25rem !important;
  }

  .section-header .section-subtitle {
    margin-top: 0 !important;
  }

  /* Cambiar layout del footer a vertical - SOLO MÓVIL */
  .footer-top {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto !important;
    gap: 1.5rem !important;
    text-align: center !important;
  }

  /* Footer: espaciado vertical uniforme entre elementos (título + contenido) */
  .footer-top > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.75rem !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .footer-top h4,
  .footer-top p,
  .footer-top a,
  .footer-top .social {
    margin: 0 !important;
  }
  .footer-top .social {
    gap: 12px !important;
  }

  .footer-left {
    justify-content: center !important;
    order: 1 !important;
  }

  .footer-right {
    justify-content: center !important;
    order: 2 !important;
    text-align: center !important;
  }

  .footer-center {
    display: none !important;
  }

  .footer-contact {
    text-align: center !important;
    max-width: 100% !important;
  }

  /* Ocultar controles de carruseles en móvil para navegación solo por swipe */
  .carousel-controls,
  .carousel-controls button,
  .carousel-nav-btn,
  #venezuela-prev-btn,
  #venezuela-next-btn,
  .ai-nav-btn { display: none !important; }
  
  /* Mostrar navegación por puntos SOLO en About Us móvil */
  .about-pagination {
    display: flex !important;
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    gap: 0.75rem;
    z-index: 20;
  }
  
  .about-pagination .pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.6);
  }
  
  .about-pagination .pagination-dot:hover {
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
  }
  
  .about-pagination .pagination-dot.active {
    background-color: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  }

  /* Reducir el logo en móvil un 15% */
  .brand .logo { height: 24px !important; }
}

.muted { color: var(--color-secondary-2); }
.row { display: flex; gap: 12px; align-items: center; }
.space { height: 8px; }
.hr { height: 1px; background: rgba(230,230,230,0.08); margin: 16px 0; }

/* Nueva clase para forzar el ancho completo */
.full-width-container {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* Contenedor principal que se mantiene fijo mientras se hace scroll horizontal en su interior */
.sticky-container {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    position: sticky;
    top: 0;
}

/* Pista horizontal que se moverá de derecha a izquierda */
.horizontal-track {
    display: flex;
    height: 100%;
    width: max-content; /* Ancho se ajusta al contenido */
    will-change: transform; /* Optimización para la animación */
}

/* Contenedor que permite el scroll vertical para mover la pista horizontal */
.scroll-container {
    height: 400vh; /* Altura mayor para generar la barra de scroll vertical */
}

/* Estilos para las tarjetas y su animación de entrada */
.solution-card {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    flex-shrink: 0; /* Evita que las tarjetas se encojan */
}

.solution-card.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Efecto de borde con gradiente para las tarjetas */
.gradient-border {
    position: relative;
    background: #FFFFFF; /* Fondo blanco para la tarjeta */
    border-radius: 1rem; /* 16px */
    padding: 2px;
    background-clip: padding-box;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: -1;
    margin: -2px; /* Ajustado al padding */
    border-radius: inherit;
    /* Resplandor solo en bordes superior e inferior con el color #135DF1 */
    background: 
        linear-gradient(to right, #135DF1, #135DF1) top / 100% 2px no-repeat,
        linear-gradient(to right, #135DF1, #135DF1) bottom / 100% 2px no-repeat;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.gradient-border:hover::before {
    opacity: 1; /* Halo al 100% de opacidad en hover */
}

/* Cards de Beneficios (ERP) con resplandor en color highlight */
.benefits-hero-panel {
  flex-shrink: 0;
  width: 100vw;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
}

.benefit-panel {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}

#benefits-sticky-container {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

#benefits-horizontal-section {
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
  will-change: transform;
}

.benefit-card {
  background: var(--color-secondary-1);
  border-radius: 1rem; /* 16px */
  padding: 2rem;
  width: 18rem;  /* más corta (ancho reducido) */
  height: 24rem; /* más alta */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  /* Sombra base + resplandor highlight sutil */
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(19, 93, 241, 0.22),
    0 0 28px rgba(19, 93, 241, 0.18);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* Variante clara para beneficios */
.benefit-card--light {
  background: #ffffff;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0,0,0,0.06);
}
.benefit-card--light h3 { 
  color: #135DF1 !important; 
  font-weight: 700;
}
.benefit-card--light p { 
  color: #1a1a1a !important; 
  font-weight: 500;
}

.benefit-card:hover {
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(19, 93, 241, 0.35),
    0 0 42px rgba(19, 93, 241, 0.28);
  transform: translateY(-2px);
}

.benefit-card h3 {
  color: #ffffff;
}

.benefit-card p {
  color: #e5e7eb; /* gris claro para contraste sobre azul oscuro */
}

/* Estilos para las diapositivas de Venezuela (sticky tipo pasos) */
#venezuela-localization { border-top: none !important; border-bottom: none !important; }
#slides-sticky-container { position: sticky; top: 0; height: 100vh; width: 100vw; overflow: hidden; }
#slides-vertical-section { position: relative; }
.venezuela-slide { height: 100vh; width: 100vw; position: sticky; top: 0; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.venezuela-slide-content { text-align: center; max-width: 1200px; margin: 0 auto; }
/* Asegurar que el wrapper/sticky estén visibles */
#slides-scroll-wrapper, #slides-sticky-container { display: block; }

/* Implementations (slides tipo pasos) */
.slide {
  height: 100vh;
  width: 100vw;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  text-align: center;
  box-sizing: border-box;
}

.slide-content { animation: fadeIn 0.8s ease-in-out; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.impl-slide {
  height: 100vh;
  width: 100vw;
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

#slides-pagination { pointer-events: auto; }
#slides-pagination .pagination-dot { opacity: 0.6; }
#slides-pagination .pagination-dot.active { background: #135DF1 !important; width: 12px !important; height: 12px !important; opacity: 1; }

/* Quitar separación visual entre Benefits e Implementations */
#benefits { padding-bottom: 0 !important; }
#venezuela-localization { padding-top: 0 !important; }

/* Estilos para las animaciones de reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Estilos para las tarjetas interactivas */
.interactive-card {
    position: relative; /* Necesario para el pseudo-elemento */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1; /* Asegura que la tarjeta esté sobre el glow */
}

.interactive-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: -1;
    margin: -2px; /* Grosor del borde */
    border-radius: inherit; /* Hereda el borde redondeado */
    background: 
        linear-gradient(to right, var(--color-highlight), var(--color-highlight)) top / 100% 2px no-repeat,
        linear-gradient(to right, var(--color-highlight), var(--color-highlight)) bottom / 100% 2px no-repeat;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.interactive-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.interactive-card:hover::before {
    opacity: 1; /* Muestra el resplandor en hover */
}

/* Contenedor de las tarjetas para el efecto de foco */
.card-container:hover .interactive-card:not(:hover) {
    opacity: 0.6;
    transform: scale(0.98);
}

/* Formulario de Contacto Animado */
.form-element {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.form-element.visible {
    opacity: 1;
    transform: translateX(0);
}

.input-group {
    position: relative;
}

.input-field {
    border: 1px solid #e2e8f0;
    padding: 1rem;
    width: 100%;
    border-radius: 0.5rem;
    transition: border-color 0.3s ease;
    background-color: #fff; /* Asegura fondo blanco */
    color: #1e293b; /* Texto oscuro */
}

.input-field:focus {
    outline: none;
    border-color: #3b82f6;
}

.floating-label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
    transition: all 0.3s ease;
    background-color: white;
    padding: 0 0.25rem;
}

.input-field:focus + .floating-label,
.input-field:not(:placeholder-shown) + .floating-label {
    top: 0;
    font-size: 0.75rem;
    color: #3b82f6;
}

.select-field {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%2364748b' class='w-6 h-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5' /%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.select-group .floating-label {
    background-color: #fff; /* Fondo blanco para la etiqueta flotante del select */
}

.input-field.select-field.has-value:not(:focus) + .floating-label,
.input-field.select-field:focus + .floating-label {
    top: 0;
    font-size: 0.75rem;
    color: #3b82f6;
}

/* Force benefits section to be full-width and remove vertical padding */
#benefits.section {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Reglas móviles: centrar 'Síguenos' y aumentar espacio del logo solo en móvil */
@media (max-width: 860px) {
  .footer .footer-top > div:last-child { text-align: center !important; }
  .footer .footer-top > div:last-child .social { justify-content: center !important; }
  .footer-bottom { margin-top: 15vw !important; }
}