/* Base Styles */
body {
  --bs-primary: #7c3aed;
  --bs-primary-rgb: 124, 58, 237;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  background: #f9fafb !important;
  background-color: #f9fafb !important;
  color: #1f2937 !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  padding-top: 80px !important;
}

.wrapper {
  background: transparent !important;
}

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(30px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(30px) saturate(180%) !important;
  border-bottom: none !important;
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.04) !important;
  padding: 14px 0 !important;
  transition: all 0.3s ease !important;
}

.navbar.absolute {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1030 !important;
}

.navbar.transparent {
  background: rgba(255, 255, 255, 0.85) !important;
}

/* Navbar Brand / Logo */
.navbar-brand {
  padding: 0 !important;
}

.navbar-brand img.logo {
  max-height: 42px !important;
  transition: all 0.3s ease !important;
}

.navbar-brand:hover img.logo {
  transform: scale(1.05) !important;
  filter: brightness(1.1) !important;
}

/* Navbar Links */
.navbar-nav {
  align-items: center !important;
  gap: 8px !important;
}

.nav-item {
  margin: 0 4px !important;
}

.nav-item a, .nav-link {
  color: #374151 !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  padding: 10px 18px !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  font-family: 'Inter', sans-serif !important;
}

.nav-item a:hover, .nav-link:hover {
  color: #8b5cf6 !important;
  background: rgba(139, 92, 246, 0.08) !important;
  transform: translateY(-1px) !important;
}

.nav-item a::after {
  content: '' !important;
  position: absolute !important;
  bottom: 8px !important;
  left: 18px !important;
  right: 18px !important;
  height: 2px !important;
  background: linear-gradient(90deg, #a78bfa 0%, #8b5cf6 100%) !important;
  transform: scaleX(0) !important;
  transition: transform 0.3s ease !important;
  border-radius: 2px !important;
}

.nav-item a:hover::after {
  transform: scaleX(1) !important;
}

/* Active/Current Page — resaltado suave para no competir con el botón "Entrar" */
.nav-item.active a:not(.btn), .nav-link.active:not(.btn) {
  color: #6d28d9 !important;
  background: rgba(124, 58, 237, 0.08) !important;
  font-weight: 600 !important;
  box-shadow: inset 0 -2px 0 #7c3aed !important;
}

.nav-item.active a:not(.btn):hover, .nav-link.active:not(.btn):hover {
  color: #5b21b6 !important;
  background: rgba(124, 58, 237, 0.14) !important;
}

/* Dropdown Menu */
.dropdown-menu {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(30px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(30px) saturate(180%) !important;
  border: 1px solid rgba(229, 231, 235, 0.8) !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
  padding: 8px !important;
  margin-top: 8px !important;
}

.dropdown-item {
  color: #374151 !important;
  padding: 10px 16px !important;
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.dropdown-item:hover, .dropdown-item:focus {
  color: #8b5cf6 !important;
  background: rgba(139, 92, 246, 0.1) !important;
  transform: translateX(4px) !important;
}

/* Language Selector */
.nav-item.lang > a {
  background: rgba(139, 92, 246, 0.08) !important;
  border: 1px solid rgba(139, 92, 246, 0.2) !important;
}

.nav-item.lang > a:hover {
  background: rgba(139, 92, 246, 0.12) !important;
  border-color: rgba(139, 92, 246, 0.3) !important;
}

/* Hamburger Menu (Mobile) */
.navbar-hamburger button.hamburger {
  padding: 8px !important;
}

.hamburger span,
.hamburger span:before,
.hamburger span:after {
  background: #374151 !important;
  height: 2px !important;
  border-radius: 2px !important;
}

.hamburger:hover span,
.hamburger:hover span:before,
.hamburger:hover span:after {
  background: #8b5cf6 !important;
}

/* Offcanvas Mobile Menu - Only on Mobile */
@media screen and (max-width: 1024px) {
  .offcanvas-nav {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    height: 100vh !important;
    width: 320px !important;
    max-width: 85vw !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.1) !important;
    transform: translateX(100%) !important;
    transition: transform 0.3s ease, visibility 0s linear 0.3s, opacity 0.3s ease !important;
    z-index: 10000 !important;
    overflow-y: auto !important;
    padding: 20px 0 !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  .offcanvas-nav.show,
  .offcanvas-nav.open,
  .navbar-collapse.show .offcanvas-nav {
    transform: translateX(0) !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: transform 0.3s ease, visibility 0s linear 0s, opacity 0.3s ease !important;
  }

  .offcanvas-nav .nav-item {
    margin: 4px 12px !important;
  }

  .offcanvas-nav .nav-item a {
    padding: 14px 20px !important;
    display: block !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
  }

  .offcanvas-nav .nav-item a:hover {
    background: rgba(167, 139, 250, 0.15) !important;
  }

  /* Offcanvas header with close button */
  .offcanvas-header {
    padding: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-bottom: 1px solid rgba(167, 139, 250, 0.2) !important;
  }

  .offcanvas-close, .offcanvas-header .close {
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    background: rgba(167, 139, 250, 0.2) !important;
    border: 1px solid rgba(167, 139, 250, 0.3) !important;
    border-radius: 8px !important;
    color: #1f2937 !important;
    font-size: 24px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .offcanvas-close:hover, .offcanvas-header .close:hover {
    background: rgba(167, 139, 250, 0.3) !important;
    transform: rotate(90deg) !important;
  }

  /* Offcanvas backdrop */
  .offcanvas-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(5px) !important;
    z-index: 9999 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
  }

  .offcanvas-backdrop.show {
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Custom scrollbar for offcanvas */
  .offcanvas-nav::-webkit-scrollbar {
    width: 6px !important;
  }

  .offcanvas-nav::-webkit-scrollbar-track {
    background: rgba(243, 244, 246, 0.5) !important;
  }

  .offcanvas-nav::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%) !important;
    border-radius: 3px !important;
  }

  .offcanvas-nav::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important;
  }
}

/* Special styling for Login/Access button — texto blanco sobre morado sólido para contraste AAA */
.nav-item.acceso a {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  border: 1px solid rgba(109, 40, 217, 0.5) !important;
  box-shadow: 0 4px 15px rgba(109, 40, 217, 0.35) !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: none !important;
}

.nav-item.acceso a:hover {
  background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(109, 40, 217, 0.5) !important;
  transform: translateY(-2px) !important;
}

.nav-item.acceso a::after {
  display: none !important;
}

/* Ensure dropdown toggle in acceso stays white */
.nav-item.acceso .dropdown-toggle {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}



/* Hide default dropdown icons */
.dropdown-toggle::after {
  display: none !important;
}

.nav-link.dropdown-toggle::after {
  display: none !important;
}


/* Banner (if present) */
.banner {
  background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%) !important;
  border-bottom: 1px solid rgba(167, 139, 250, 0.3) !important;
}

.banner-text {
  color: white !important;
  font-weight: 600 !important;
}

.banner-button {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #8b5cf6 !important;
  border: 1px solid rgba(139, 92, 246, 0.3) !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
}

.banner-button:hover {
  background: rgba(255, 255, 255, 1) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3) !important;
}

/* Hero Section */
/* Hero (index usa #wrapper_hero, no #wrapper_1) */
#wrapper_hero,
#wrapper_1 {
  background: linear-gradient(to bottom, #f9fafb 0%, #ffffff 100%) !important;
  background-attachment: fixed !important;
  position: relative !important;
  overflow: hidden !important;
}

#wrapper_hero::before,
#wrapper_1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

#wrapper_2 {
  background: rgba(249, 250, 251, 0.8) !important;
  backdrop-filter: blur(10px) !important;
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}

/* Typography */
#titular {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 56px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: #000000 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 24px !important;
  text-align: center !important;
}

/* Sobreescribe inline color:#7f8893 del index.ejs */
#titular[style] {
  color: #000000 !important;
}

/* YAML antiguo: <u> en titular; quita subrayado tipo "línea negra" */
#titular u,
h1.display-3 u {
  text-decoration: none !important;
  border-bottom: none !important;
}

/* Anula span coral/rosa del YAML (#ff6174) — mismo acento púrpura que el tema */
#titular span[style*='#ff6174'],
#titular span[style*='ff6174'],
#titular span[style*='rgb(255, 97, 116)'],
#titular span[style*='255, 97, 116'],
h1.display-3 span[style*='#ff6174'],
h1.display-3 span[style*='ff6174'],
h1.display-3 span[style*='rgb(255, 97, 116)'],
.display-3 span[style*='#ff6174'],
.display-3 span[style*='rgb(255, 97, 116)'] {
  background: none !important;
  background-color: transparent !important;
  color: #a78bfa !important;
  -webkit-text-fill-color: #a78bfa !important;
  padding: 0 !important;
  box-shadow: none !important;
}

#subtitular {
  font-family: 'Inter', sans-serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  color: #374151 !important;
  text-align: center !important;
  max-width: 800px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Subtítulo hero — gris oscuro legible sobre bloque claro */
#subtitular[style] {
  color: #374151 !important;
}

/* Acentos en títulos (púrpura oscuro para contraste sobre fondo claro) */
#titular span, h1 span, h2 span, .display-3 span {
  color: #6d28d9 !important;
  -webkit-text-fill-color: #6d28d9 !important;
  font-weight: 700 !important;
}

#titular span:not([style*='background-color']),
h1 span:not([style*='background-color']),
h2 span:not([style*='background-color']),
.display-3 span:not([style*='background-color']) {
  background: transparent !important;
}

#titular span[style*='rgb(59, 130, 246)'],
#titular span[style*='rgb(37, 99, 235)'],
#titular span[style*='#3b82f6'],
#titular span[style*='#2563eb'],
h1 span[style*='rgb(59, 130, 246)'],
h1 span[style*='rgb(37, 99, 235)'],
h1 span[style*='#3b82f6'],
h1 span[style*='#2563eb'],
h2 span[style*='rgb(59, 130, 246)'],
h2 span[style*='rgb(37, 99, 235)'],
h2 span[style*='#3b82f6'],
h2 span[style*='#2563eb'],
.display-3 span[style*='rgb(59, 130, 246)'],
.display-3 span[style*='rgb(37, 99, 235)'],
.display-3 span[style*='#3b82f6'],
.display-3 span[style*='#2563eb'] {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

#titular2 {
  font-family: 'Inter', sans-serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  color: #6b7280 !important;
  text-align: center !important;
  max-width: 800px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif !important;
  color: #1f2937 !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
}

h2, .display-3 {
  font-size: 42px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  color: #1f2937 !important;
}

p, li {
  color: #6b7280 !important;
  font-size: 18px !important;
  line-height: 1.7 !important;
  font-family: 'Inter', sans-serif !important;
}

span:not(pre):not(pre *):not(.CodeMirror):not(.CodeMirror *):not(li span):not([style*='background-color']) {
  color: #a78bfa !important;
  background: transparent !important;
  -webkit-text-fill-color: currentColor !important;
  font-weight: 600 !important;
}

/* Specific spans that should have gradient */
.gradient-text span, .highlight span {
  background: linear-gradient(135deg, #a78bfa 0%, #ec4899 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Numbered circles with purple background - ensure white text */
[style*="background-color"][style*="border-radius"][style*="display: inline-flex"] span,
[style*="background-color"][style*="border-radius"][style*="display: flex"] span {
  color: #1f2937 !important;
  -webkit-text-fill-color: #1f2937 !important;
  background: transparent !important;
}

/* Buttons */
.btn {
  background: linear-gradient(135deg, #c026d3 0%, #9333ea 100%) !important;
  border: 1px solid rgba(147, 51, 234, 0.4) !important;
  color: white !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  padding: 18px 44px !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(147, 51, 234, 0.5) !important;
  transition: all 0.3s ease !important;
  font-family: 'Inter', sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

.btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 30px rgba(147, 51, 234, 0.7) !important;
  background: linear-gradient(135deg, #a21caf 0%, #7e22ce 100%) !important;
  color: white !important;
}

@media (max-width: 767px) {
  .btn {
    padding: 12px 28px !important;
    font-size: 14px !important;
    letter-spacing: 0.5px !important;
  }
}

.btn-rounded {
  border-radius: 12px !important;
  padding: 14px 32px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  letter-spacing: 0.5px !important;
}

.btn-default {
  background: linear-gradient(135deg, #c026d3 0%, #9333ea 100%) !important;
  color: white !important;
  border: 1px solid rgba(147, 51, 234, 0.4) !important;
  box-shadow: 0 4px 15px rgba(147, 51, 234, 0.4) !important;
  transition: all 0.3s ease !important;
}

.btn-default:hover {
  background: linear-gradient(135deg, #a21caf 0%, #7e22ce 100%) !important;
  box-shadow: 0 6px 20px rgba(147, 51, 234, 0.6) !important;
  transform: translateY(-2px) !important;
  color: white !important;
}

/* Cards & Boxes */
.box, .card {
  background: rgba(249, 250, 251, 0.8) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(139, 92, 246, 0.2) !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.3s ease !important;
}

.box:hover, .card:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(139, 92, 246, 0.4) !important;
  box-shadow: 0 25px 70px rgba(139, 92, 246, 0.2) !important;
}

.box h4, .box h6, .box p, .card h4, .card h6, .card p {
  color: #374151 !important;
}

/* Opinion/Testimonial Cards */
.testimonial-card,
.opinion-card {
  background: rgba(243, 244, 246, 0.5) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(139, 92, 246, 0.2) !important;
  border-radius: 16px !important;
  padding: 28px !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  display: flex !important;
  flex-direction: column !important;
}

.testimonial-card::before,
.opinion-card::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important;
  background: linear-gradient(90deg, transparent 0%, #a78bfa 50%, transparent 100%) !important;
  opacity: 0 !important;
  transition: opacity 0.4s ease !important;
}

.testimonial-card:hover,
.opinion-card:hover {
  background: rgba(243, 244, 246, 0.9) !important;
  border-color: rgba(167, 139, 250, 0.35) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.25) !important;
}

.testimonial-card:hover::before,
.opinion-card:hover::before {
  opacity: 1 !important;
}

/* Card title/role styling */
.testimonial-card h4,
.testimonial-card h5,
.opinion-card h4,
.opinion-card h5 {
  color: #1f2937 !important;
  font-weight: 600 !important;
  margin-bottom: 8px !important;
}

.testimonial-card .role,
.opinion-card .role {
  color: #a78bfa !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  margin-bottom: 12px !important;
  display: block !important;
}

/* Person info header section */
.person-info-header {
  margin-bottom: 0 !important;
  margin-top: auto !important;
  padding-top: 20px !important;
  padding-bottom: 0 !important;
  border-top: 1px solid rgba(139, 92, 246, 0.15) !important;
  border-bottom: none !important;
  align-items: center !important;
  gap: 16px !important;
  order: 2 !important;
}

/* Testimonial footer with person info */
.testimonial-card footer,
.opinion-card footer,
.testimonial-footer {
  margin-top: auto !important;
  padding-top: 20px !important;
  border-top: 1px solid rgba(139, 92, 246, 0.15) !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  order: 2 !important;
}

/* Person name styling */
.person-name {
  color: #1f2937 !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  margin-bottom: 4px !important;
  text-align: center !important;
  letter-spacing: 0.3px !important;
}

.person-name a {
  color: #3b82f6 !important;
  transition: all 0.3s ease !important;
}

.person-name a:hover {
  color: #60a5fa !important;
  transform: scale(1.1) !important;
}

/* Person role badge - more subtle */
.person-role {
  margin-bottom: 0 !important;
  text-align: left !important;
}

.person-role .badge {
  background: rgba(71, 85, 105, 0.35) !important;
  color: #6b7280 !important;
  border: 1px solid rgba(100, 116, 139, 0.4) !important;
  padding: 6px 12px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  border-radius: 8px !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  letter-spacing: 0.3px !important;
  text-transform: uppercase !important;
}

.person-info-header .person-role,
.person-info-header .person-meta {
  text-align: center !important;
  justify-content: center !important;
}

/* Person meta (location, origin, companies) */
.person-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 0.8em !important;
  margin-top: 8px !important;
}

.person-meta span {
  color: #94a3b8 !important;
  padding: 4px 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  border: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: all 0.3s ease !important;
  font-weight: 500 !important;
}

.person-meta span:hover {
  background: transparent !important;
  border-color: transparent !important;
  color: #6b7280 !important;
}

.person-location {
  color: #94a3b8 !important;
  display: inline-block !important;
  background: rgba(71, 85, 105, 0.3) !important;
  border: 1px solid rgba(100, 116, 139, 0.35) !important;
  border-radius: 8px !important;
  padding: 3px 8px !important;
  font-size: 0.65em !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  white-space: nowrap !important;
}

.person-location:hover {
  background: rgba(71, 85, 105, 0.45) !important;
  border-color: rgba(100, 116, 139, 0.5) !important;
  color: #6b7280 !important;
}

.person-origin {
  color: #94a3b8 !important;
  display: inline-block !important;
  background: rgba(71, 85, 105, 0.3) !important;
  border: 1px solid rgba(100, 116, 139, 0.35) !important;
  border-radius: 8px !important;
  padding: 3px 8px !important;
  font-size: 0.65em !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  white-space: nowrap !important;
}

.person-origin:hover {
  background: rgba(71, 85, 105, 0.45) !important;
  border-color: rgba(100, 116, 139, 0.5) !important;
  color: #6b7280 !important;
}

/* Company badges - more compact and neutral like roles */
.company-badge {
  display: inline-block !important;
  background: rgba(71, 85, 105, 0.3) !important;
  border: 1px solid rgba(100, 116, 139, 0.35) !important;
  border-radius: 8px !important;
  padding: 3px 8px !important;
  font-size: 0.65em !important;
  font-weight: 500 !important;
  color: #6b7280 !important;
  transition: all 0.3s ease !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  white-space: nowrap !important;
}

.company-badge:hover {
  background: rgba(71, 85, 105, 0.45) !important;
  border-color: rgba(100, 116, 139, 0.5) !important;
  transform: translateY(-1px) !important;
}

.company-badge i {
  font-size: 9px !important;
  margin-right: 3px !important;
  opacity: 0.7 !important;
}

/* Video testimonial section */
.video-testimonial-section {
  margin-top: 12px !important;
}

.video-testimonial {
  margin-bottom: 12px !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  border: 2px solid rgba(139, 92, 246, 0.3) !important;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.2) !important;
  transition: all 0.3s ease !important;
}

/* Blog post titles - more compact */
.post-title,
.post-title-desktop {
  font-size: 1.5rem !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  color: #1f2937 !important;
  margin-bottom: 12px !important;
}

.post-title a,
.post-title-desktop a {
  color: #1f2937 !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

.post-title a:hover,
.post-title-desktop a:hover {
  color: #a78bfa !important;
}

.video-testimonial:hover {
  border-color: rgba(167, 139, 250, 0.5) !important;
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.35) !important;
  transform: translateY(-3px) !important;
}

/* Testimonial text content */
.testimonial-content {
  margin-top: 0 !important;
  margin-bottom: 20px !important;
  order: 1 !important;
}

.testimonial-text,
.testimonial-content p,
.testimonial-content blockquote,
.testimonial-card p,
.opinion-card p {
  color: #1f2937 !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  font-style: italic !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  border-left: none !important;
  border: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

/* Remove any inner boxes or containers */
.testimonial-card > div[style*="background"],
.opinion-card > div[style*="background"],
.testimonial-content > div[style*="background"] {
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
}

/* Icons & Bullets */
.bullet-default i, .icon-list li i, .icofont-verification-check {
  color: #8b5cf6 !important;
  font-size: 22px !important;
  margin-right: 12px !important;
  transition: all 0.3s ease !important;
  vertical-align: middle !important;
}

.icon-list li:hover i, .icon-list li:hover .icofont-verification-check {
  color: #a78bfa !important;
  transform: scale(1.05) !important;
}

.icon-list li, .bullet-default li {
  color: #6b7280 !important;
  font-size: 17px !important;
  line-height: 1.7 !important;
  margin-bottom: 16px !important;
  padding-left: 0 !important;
  list-style: none !important;
}

.icon-list li strong, .bullet-default li strong {
  color: #1f2937 !important;
  font-weight: 600 !important;
}

.icon-list li span, .bullet-default li span {
  color: #6b7280 !important;
}

/* Checkmark lists with better styling */
.icon-list {
  padding-left: 0 !important;
  margin-bottom: 24px !important;
}

ul.icon-list li::before {
  content: none !important;
}

/* Images */
img {
  border-radius: 20px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 
              0 0 0 1px rgba(167, 139, 250, 0.2) !important;
  opacity: 1 !important;
  transition: all 0.4s ease !important;
}

/* Remove border-radius from navbar and footer logos only */
.navbar-brand img,
.navbar-brand img.logo,
footer .logo,
footer img.logo {
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Company logos: grids genéricos (customers va aparte — fondo violeta oscuro) */
#medios img,
.logos img,
.logo-grid img,
.companies img,
.partners img {
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  padding: 8px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  display: block !important;
  margin: 0 auto !important;
  max-height: 80px !important;
  width: auto !important;
  object-fit: contain !important;
  transition: all 0.3s ease !important;
}

/* Customers: chip oscuro — así los logos blancos (Nvidia, Adobe, Amex…) son visibles y los negros no dan por saco */
#wrapper_customers img.company-logo,
#wrapper_customers img {
  border-radius: 10px !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) !important;
  padding: 12px 14px !important;
  background: #000000 !important;
  border: 1px solid rgba(0, 0, 0, 0.9) !important;
  display: block !important;
  margin: 0 auto !important;
  max-height: 80px !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease !important;
}

#wrapper_customers .col-lg-2,
#wrapper_customers .col-3 {
  margin-bottom: 1.1rem !important;
}

img:hover {
  transform: translateY(-5px) scale(1.02) !important;
  box-shadow: 0 30px 80px rgba(139, 92, 246, 0.4), 
              0 0 0 1px rgba(167, 139, 250, 0.4),
              0 0 40px rgba(139, 92, 246, 0.2) !important;
}

.navbar-brand img:hover,
.navbar-brand img.logo:hover,
footer .logo:hover,
footer img.logo:hover {
  transform: scale(1.05) !important;
  box-shadow: none !important;
}

#wrapper_customers img:hover,
#wrapper_customers img.company-logo:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
  border-color: rgba(139, 92, 246, 0.4) !important;
  background: #000000 !important;
}

#medios img:hover,
.logos img:hover,
.logo-grid img:hover,
.companies img:hover,
.partners img:hover {
  transform: scale(1.05) translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

figure img {
  border-radius: 20px !important;
  opacity: 1 !important;
}

/* Content images with special styling */
.content-wrapper img, .inner img, article img {
  border-radius: 20px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 
              0 0 0 1px rgba(167, 139, 250, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

/* Logos dentro del contenido (p. ej. /membresia): sin marco ni sombra */
.content-wrapper img.logo, .inner img.logo, .membresia-presentation img.logo {
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* La firma de las citas usa <footer>: no heredar el estilo del pie de página */
footer.blockquote-footer {
  background: transparent !important;
  backdrop-filter: none !important;
  border-top: 0 !important;
  padding: 0 !important;
  margin-top: 0.75rem !important;
  overflow: visible !important;
}
footer.blockquote-footer::before {
  content: none !important;
}

/* Pie sencillo (comunidades): enlaces e iconos centrados */
footer.footer-simple .row,
footer.footer-simple [class*="col-"] {
  text-align: center !important;
}
footer.footer-simple ul.social {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 10px !important;
  padding-left: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Vídeo de portada: marco redondeado en lugar del borde negro */
.hero-video-frame {
  border: 1px solid rgba(167, 139, 250, 0.35) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  padding: 0 !important;
  background: #ffffff !important;
  box-shadow: 0 24px 60px rgba(124, 58, 237, 0.18), 0 4px 14px rgba(31, 41, 55, 0.08) !important;
}
.hero-video-frame .plyr {
  border-radius: 19px !important;
}

/* Menos aire sobre el titular de la portada */
#wrapper_1 .space120:has(+ #titular) {
  height: 40px !important;
}

/* Separación bajo la barra de navegación en /opiniones */
#wrapper_1 h3#opiniones {
  padding-top: 56px !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Separación entre el CTA final de /programa y el pie */
.programa-cta-main {
  padding-bottom: 56px !important;
}

/* Rol y ubicación de testimonios en líneas separadas */
.testimonial-item .person-role .badge {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  max-width: 100% !important;
  line-height: 1.35 !important;
  text-align: left !important;
}

/* Titular largo de la bio */
#biotitle.bio-title-long {
  font-size: clamp(1.5rem, 2.3vw, 2.1rem) !important;
  line-height: 1.3 !important;
  text-align: left !important;
}

/* Testimonial/WhatsApp message images - special treatment */
.wrapper img[src*="chat"], 
.wrapper img[src*="whatsapp"],
.wrapper img[src*="message"],
.testimonial-item img:not(.person-avatar img),
#wrapper_testimonials img:not(.person-avatar img) {
  border-radius: 24px !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 
              0 0 0 2px rgba(167, 139, 250, 0.3),
              0 0 60px rgba(139, 92, 246, 0.15) !important;
  border: 1px solid rgba(167, 139, 250, 0.2) !important;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.wrapper img[src*="chat"]:hover, 
.wrapper img[src*="whatsapp"]:hover,
.wrapper img[src*="message"]:hover,
.testimonial-item img:not(.person-avatar img):hover,
#wrapper_testimonials img:not(.person-avatar img):hover {
  transform: translateY(-8px) scale(1.03) !important;
  box-shadow: 0 35px 100px rgba(139, 92, 246, 0.5), 
              0 0 0 3px rgba(167, 139, 250, 0.5),
              0 0 80px rgba(139, 92, 246, 0.3) !important;
  border-color: rgba(167, 139, 250, 0.6) !important;
}

/* Footer */
footer {
  background: rgba(249, 250, 251, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  border-top: 1px solid rgba(139, 92, 246, 0.1) !important;
  /* index.ejs pone margin-top:60px al footer; el hueco muestra body #1f2937 = franja negra antes del footer */
  margin-top: 0 !important;
  padding: 0 0 48px 0 !important;
}

footer a, footer p, .social li a i {
  color: #6b7280 !important;
}

footer a:hover, .social li a:hover i {
  color: #a78bfa !important;
}

/* Forms */
input:not([type="range"]):not([type="submit"]), select, textarea {
  background: rgba(249, 250, 251, 0.8) !important;
  border: 1px solid rgba(139, 92, 246, 0.2) !important;
  border-radius: 10px !important;
  color: #374151 !important;
  padding: 12px 16px !important;
  font-family: 'Inter', sans-serif !important;
  transition: all 0.3s ease !important;
}

input:focus, select:focus, textarea:focus {
  border-color: #8b5cf6 !important;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1) !important;
  outline: none !important;
}

label, .col-form-label {
  color: #1f2937 !important;
  font-weight: 500 !important;
}

/* Filter buttons (blog, opiniones) */
.filter-btn {
  background: rgba(71, 85, 105, 0.2) !important;
  border: 1px solid rgba(100, 116, 139, 0.3) !important;
  color: #6b7280 !important;
  padding: 8px 16px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  backdrop-filter: blur(10px) !important;
  line-height: 1.2 !important;
}

.filter-btn:hover {
  background: rgba(100, 116, 139, 0.35) !important;
  border-color: rgba(148, 163, 184, 0.5) !important;
  color: #374151 !important;
}

.filter-btn.active {
  background: rgba(167, 139, 250, 0.2) !important;
  border: 1px solid rgba(167, 139, 250, 0.5) !important;
  color: #a78bfa !important;
  box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.3) !important;
}

.filter-btn.active:hover {
  background: rgba(167, 139, 250, 0.3) !important;
  border-color: rgba(167, 139, 250, 0.6) !important;
  color: #1f2937 !important;
}

/* Filters row layout */
.filters-row {
  display: flex !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-bottom: 30px !important;
  padding: 12px 16px !important;
  background: rgba(243, 244, 246, 0.5) !important;
  border-radius: 12px !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  border: 1px solid rgba(139, 92, 246, 0.1) !important;
}

.filter-group {
  display: inline-flex !important;
  align-items: center !important;
}

/* Form selects (dropdowns) */
.form-select, 
.select-wrapper select,
select.form-select-sm {
  background: rgba(249, 250, 251, 0.8) !important;
  border: 1px solid rgba(100, 116, 139, 0.3) !important;
  border-radius: 8px !important;
  color: #374151 !important;
  padding: 5px 26px 5px 10px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  backdrop-filter: blur(10px) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  min-height: 28px !important;
  height: 28px !important;
  line-height: 1.2 !important;
}

.form-select:hover,
.select-wrapper select:hover,
select.form-select-sm:hover {
  background: rgba(243, 244, 246, 0.9) !important;
  border-color: rgba(148, 163, 184, 0.4) !important;
}

.form-select:focus,
.select-wrapper select:focus,
select.form-select-sm:focus {
  background: rgba(249, 250, 251, 0.95) !important;
  border-color: rgba(167, 139, 250, 0.6) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.15) !important;
}

.form-select option,
select option {
  background: rgba(255, 255, 255, 0.98) !important;
  color: #374151 !important;
  padding: 8px !important;
}

/* Select wrapper styling */
.select-wrapper {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  vertical-align: middle !important;
}

.select-wrapper::after {
  content: '▼' !important;
  position: absolute !important;
  right: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  pointer-events: none !important;
  color: #64748b !important;
  font-size: 8px !important;
  opacity: 0.7 !important;
}

/* Counter badge styling */
.date-filters .badge,
.article-count {
  background: rgba(71, 85, 105, 0.3) !important;
  color: #374151 !important;
  border: 1px solid rgba(100, 116, 139, 0.4) !important;
  padding: 8px 16px !important;
  border-radius: 12px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

/* Intl Tel Input (Twilio) Styling */
.iti {
  width: 100% !important;
  display: block !important;
}

.iti__input,
.iti input[type="tel"],
body .iti__input,
body .iti input[type="tel"] {
  background: rgba(249, 250, 251, 0.8) !important;
  border: 1px solid rgba(139, 92, 246, 0.25) !important;
  border-radius: 10px !important;
  color: #374151 !important;
  padding: 12px 16px 12px 105px !important;
  font-family: 'Inter', sans-serif !important;
  width: 100% !important;
  transition: all 0.3s ease !important;
  text-align: left !important;
}

/* Ensure proper spacing for flag container */
.iti__selected-flag,
body .iti__selected-flag {
  padding: 0 10px 0 14px !important;
  min-width: 80px !important;
}

.iti__selected-dial-code,
body .iti__selected-dial-code {
  margin-left: 6px !important;
  color: #5b21b6 !important;
  -webkit-text-fill-color: #5b21b6 !important;
  font-weight: 600 !important;
  opacity: 1 !important;
}

.iti__input:focus,
.iti input[type="tel"]:focus {
  border-color: rgba(167, 139, 250, 0.6) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.15) !important;
}

.iti--show-selected-dial-code .iti__selected-flag {
  background-color: transparent !important;
  border-right: 1px solid rgba(139, 92, 246, 0.2) !important;
  padding-right: 8px !important;
}

.iti__arrow {
  border-top-color: #7c3aed !important;
}

.iti__arrow--up {
  border-bottom-color: #7c3aed !important;
}

/* Intl Tel Input Dropdown - High Priority */
body .iti__dropdown-content,
html body .iti__dropdown-content,
body > .iti--container .iti__dropdown-content {
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid rgba(139, 92, 246, 0.3) !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  z-index: 10050 !important;
}

body .iti__country-list,
html body .iti__country-list {
  background: transparent !important;
  color: #374151 !important;
  max-height: 220px !important;
  padding: 0 !important;
  margin: 0 !important;
}

body .iti__flag-box,
html body .iti__flag-box {
  margin: 0 !important;
  width: 20px !important;
  flex-shrink: 0 !important;
}

body .iti__country,
html body .iti__country {
  color: #6b7280 !important;
  background: transparent !important;
  padding: 5px 10px !important;
  min-height: 0 !important;
  line-height: 1.3 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  border-bottom: 1px solid rgba(139, 92, 246, 0.1) !important;
  transition: all 0.2s ease !important;
}

body .iti__country:hover,
html body .iti__country:hover {
  background: rgba(167, 139, 250, 0.15) !important;
  color: #1f2937 !important;
}

body .iti__country.iti__highlight,
html body .iti__country.iti__highlight {
  background: rgba(167, 139, 250, 0.25) !important;
  color: #1f2937 !important;
}

body .iti__country.iti__active,
html body .iti__country.iti__active {
  background: rgba(167, 139, 250, 0.3) !important;
  color: #1f2937 !important;
}

body .iti__country-name,
html body .iti__country-name {
  color: inherit !important;
  font-weight: 500 !important;
}

body .iti__dial-code,
html body .iti__dial-code {
  color: #a78bfa !important;
  font-weight: 600 !important;
}

body .iti__country.iti__highlight .iti__dial-code,
html body .iti__country.iti__highlight .iti__dial-code {
  color: #1f2937 !important;
}

body .iti__country.iti__active .iti__dial-code,
html body .iti__country.iti__active .iti__dial-code {
  color: #1f2937 !important;
}

body .iti__search-input,
html body .iti__search-input {
  background: rgba(249, 250, 251, 0.8) !important;
  border: 1px solid rgba(139, 92, 246, 0.25) !important;
  border-radius: 8px !important;
  color: #374151 !important;
  padding: 6px 10px !important;
  margin: 6px 8px !important;
  width: calc(100% - 16px) !important;
  box-sizing: border-box !important;
}

body .iti__search-input:focus,
html body .iti__search-input:focus {
  border-color: rgba(167, 139, 250, 0.5) !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(167, 139, 250, 0.15) !important;
}

body .iti__search-input::placeholder,
html body .iti__search-input::placeholder {
  color: #9ca3af !important;
}

/* Divider in dropdown */
body .iti__divider,
html body .iti__divider {
  border-bottom: 1px solid rgba(139, 92, 246, 0.2) !important;
  padding: 0 !important;
  margin: 2px 0 !important;
}

/* Checkbox Styling */
input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  border: 2px solid rgba(139, 92, 246, 0.4) !important;
  border-radius: 6px !important;
  background: rgba(249, 250, 251, 0.8) !important;
  cursor: pointer !important;
  position: relative !important;
  transition: all 0.3s ease !important;
  margin-right: 10px !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
}

input[type="checkbox"]:hover {
  border-color: rgba(167, 139, 250, 0.6) !important;
  background: rgba(243, 244, 246, 0.9) !important;
}

input[type="checkbox"]:checked {
  background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%) !important;
  border-color: transparent !important;
}

input[type="checkbox"]:checked::after {
  content: '✓' !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  color: white !important;
  font-size: 14px !important;
  font-weight: bold !important;
}

/* Checkbox label */
label[for*="customCheck"],
.custom-control-label {
  color: #6b7280 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
}

/* Checkbox container */
.custom-control,
div:has(> input[type="checkbox"]) {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin-bottom: 16px !important;
  padding: 12px !important;
  background: rgba(243, 244, 246, 0.5) !important;
  border: 1px solid rgba(139, 92, 246, 0.2) !important;
  border-radius: 10px !important;
  transition: all 0.3s ease !important;
}

.custom-control:hover,
div:has(> input[type="checkbox"]):hover {
  background: rgba(243, 244, 246, 0.9) !important;
  border-color: rgba(139, 92, 246, 0.3) !important;
}

/* Owl Carousel */
.owl-carousel .owl-dots .owl-dot span {
  background: rgba(139, 92, 246, 0.5) !important;
}

.owl-carousel .owl-dots .owl-dot.active span {
  background: #8b5cf6 !important;
}

/* Sections */
#benefits, #obstacles, #testimonials, #warranty, #biotitle, #steps, #customerstitle, #medios {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 42px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: #1f2937 !important;
  text-align: center !important;
  margin-bottom: 40px !important;
  margin-top: 0 !important;
}

/* Steps title with less margin */
#steps {
  margin-top: 0 !important;
  margin-bottom: 30px !important;
}

/* Reduce spacing for section titles inside white-wrapper */
.white-wrapper #benefits,
.white-wrapper #obstacles,
.white-wrapper #testimonials,
.white-wrapper #warranty,
.white-wrapper #biotitle,
.white-wrapper #steps,
.white-wrapper #customerstitle,
.white-wrapper #medios,
.white-wrapper #schedule {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Reduce space80 inside white-wrapper */
.white-wrapper .space80 {
  height: 30px !important;
}

/* Interviews pages: body already offsets fixed nav — avoid double hero padding */
body.interviews-problem-page #wrapper_1,
body.interviews-companies-page #wrapper_1,
body.interviews-list-page #wrapper_1 {
  padding-top: 1.25rem !important;
  padding-bottom: 2.5rem !important;
}

body.interviews-problem-page #wrapper_1 .space80,
body.interviews-companies-page #wrapper_1 .space80 {
  display: none !important;
  height: 0 !important;
}

.white-wrapper .space50 {
  height: 20px !important;
}

/* Reduce spacing in company and interviews pages */
.space60 {
  height: 40px !important;
}

.space80 {
  height: 50px !important;
}

@media (max-width: 768px) {
  .space60 {
    height: 25px !important;
  }

  .space80 {
    height: 35px !important;
  }
}

/* Highlights/numbers in section titles */
#benefits span, #obstacles span, #testimonials span, #warranty span, 
#biotitle span, #steps span, #customerstitle span, #medios span {
  color: #a78bfa !important;
  -webkit-text-fill-color: #a78bfa !important;
  font-weight: 700 !important;
}

#benefits span:not([style*='background-color']),
#obstacles span:not([style*='background-color']),
#testimonials span:not([style*='background-color']),
#warranty span:not([style*='background-color']),
#biotitle span:not([style*='background-color']),
#steps span:not([style*='background-color']),
#customerstitle span:not([style*='background-color']),
#medios span:not([style*='background-color']) {
  background: transparent !important;
}

#benefits span[style*='rgb(59, 130, 246)'],
#benefits span[style*='rgb(37, 99, 235)'],
#benefits span[style*='#3b82f6'],
#benefits span[style*='#2563eb'],
#obstacles span[style*='rgb(59, 130, 246)'],
#obstacles span[style*='rgb(37, 99, 235)'],
#obstacles span[style*='#3b82f6'],
#obstacles span[style*='#2563eb'],
#testimonials span[style*='rgb(59, 130, 246)'],
#testimonials span[style*='rgb(37, 99, 235)'],
#testimonials span[style*='#3b82f6'],
#testimonials span[style*='#2563eb'],
#warranty span[style*='rgb(59, 130, 246)'],
#warranty span[style*='rgb(37, 99, 235)'],
#warranty span[style*='#3b82f6'],
#warranty span[style*='#2563eb'],
#biotitle span[style*='rgb(59, 130, 246)'],
#biotitle span[style*='rgb(37, 99, 235)'],
#biotitle span[style*='#3b82f6'],
#biotitle span[style*='#2563eb'],
#steps span[style*='rgb(59, 130, 246)'],
#steps span[style*='rgb(37, 99, 235)'],
#steps span[style*='#3b82f6'],
#steps span[style*='#2563eb'],
#customerstitle span[style*='rgb(59, 130, 246)'],
#customerstitle span[style*='rgb(37, 99, 235)'],
#customerstitle span[style*='#3b82f6'],
#customerstitle span[style*='#2563eb'],
#medios span[style*='rgb(59, 130, 246)'],
#medios span[style*='rgb(37, 99, 235)'],
#medios span[style*='#3b82f6'],
#medios span[style*='#2563eb'] {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

#benefit, #obstacle {
  font-size: 22px !important;
  font-weight: 600 !important;
  color: #1f2937 !important;
}

#biodescription {
  color: #6b7280 !important;
  font-size: 18px !important;
  line-height: 1.7 !important;
}

/* Spacing - Optimized for holo theme */
.space10 { height: 10px !important; }
.space20 { height: 20px !important; }
.space30 { height: 30px !important; }
.space40 { height: 40px !important; }
.space50 { height: 50px !important; }
.space60 { height: 60px !important; }
.space70 { height: 70px !important; }
.space80 { height: 75px !important; }
.space90 { height: 80px !important; }
.space100 { height: 85px !important; }
.space110 { height: 90px !important; }
.space120 { height: 95px !important; }
.space130 { height: 100px !important; }
.space140 { height: 105px !important; }

/* Hide first space120 in wrapper_1 to reduce top space */
#wrapper_1 > div > div.space120:first-of-type,
#wrapper_1 > .container > .space120:first-child,
#wrapper_1 > .inner > .space120:first-child {
  display: none !important;
}

/* Utility */
.arrow_block {
  display: none !important;
}

/* Modal */
.modal-content {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(139, 92, 246, 0.2) !important;
  border-radius: 20px !important;
}

.close {
  color: #374151 !important;
}

/* Accent Colors */
.color-default, .color-gray {
  color: #8b5cf6 !important;
}

strong {
  color: #a78bfa !important;
  font-weight: 600 !important;
}

/* Wrapper Variations — superficie clara opaca para texto oscuro (evita gris semitransparente ilegible) */
.white-wrapper, .light-wrapper {
  background: #f9fafb !important;
  backdrop-filter: none !important;
  border-top: 1px solid rgba(167, 139, 250, 0.15) !important;
  border-bottom: 1px solid rgba(167, 139, 250, 0.15) !important;
}

/* White wrapper inside dark wrapper - make it more visible */
#wrapper_1 .white-wrapper,
.wrapper .white-wrapper {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(30px) !important;
  border: 1px solid rgba(167, 139, 250, 0.3) !important;
  border-radius: 24px !important;
  padding: 20px 0 !important;
  margin: 5px auto !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 
              0 0 0 1px rgba(167, 139, 250, 0.1) !important;
}

/* Ensure container inside white-wrapper has proper spacing */
#wrapper_1 .white-wrapper .container,
.wrapper .white-wrapper .container {
  padding-left: 30px !important;
  padding-right: 30px !important;
}

/* Mobile adjustments for white-wrapper */
@media (max-width: 768px) {
  #wrapper_1 .white-wrapper,
  .wrapper .white-wrapper {
    padding: 20px 0 !important;
    margin: 10px 10px !important;
    border-radius: 20px !important;
  }

  #wrapper_1 .white-wrapper .container,
  .wrapper .white-wrapper .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

.bg-opacity-default,
.wrapper.bg-opacity-default {
  background: #f8fafc !important;
}

/* Logos customers: banda morado claro continua (toda la sección); menos “carga” visual */
#wrapper_customers.wrapper.bg-opacity-default {
  background: linear-gradient(180deg, #faf5ff 0%, #f3e8ff 40%, #ede9fe 100%) !important;
  border-top: 1px solid rgba(167, 139, 250, 0.22) !important;
  border-bottom: 1px solid rgba(167, 139, 250, 0.22) !important;
  padding-top: 2.25rem !important;
  padding-bottom: 2rem !important;
}

#wrapper_customers .inner {
  padding-top: 28px !important;
  padding-bottom: 12px !important;
}

#wrapper_customers #customerstitle,
#wrapper_customers h2.display-3 {
  color: #111827 !important;
}

#wrapper_customers #customerstitle span,
#wrapper_customers h2.display-3 span {
  color: #7c3aed !important;
  -webkit-text-fill-color: #7c3aed !important;
}

/* Bloque comunidad: sin .white-wrapper; debe ser banda clara como el resto de marketing */
#comunidad {
  background: #f8fafc !important;
  border-top: 1px solid rgba(167, 139, 250, 0.12) !important;
  border-bottom: 1px solid rgba(167, 139, 250, 0.12) !important;
}

#comunidad h2.customerstitle,
#comunidad h3.display-3 {
  color: #111827 !important;
}

#comunidad h2.customerstitle span,
#comunidad h2.customerstitle u {
  color: inherit !important;
}

.content-wrapper {
  /* Toda la franja principal clara: evita que el body (#1f2937) asome en huecos entre wrappers o .space20 */
  background-color: #f9fafb !important;
  background-image: linear-gradient(to bottom, #f9fafb 0, #f9fafb 120px, #f9fafb 120px) !important;
}

.inner {
  padding: 40px 0 !important;
}

/* Pricing Section Styles */
#pricing {
  background: white !important;
}

/* Pricing Toggle Switch */
#pricing .pricing-wrapper {
  margin-bottom: 2.5rem !important;
}

#pricing .pricing-switchers {
  background: rgba(30, 27, 75, 0.4) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-radius: 12px !important;
  padding: 4px !important;
  min-width: 420px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(167, 139, 250, 0.1) !important;
  border: 1px solid rgba(167, 139, 250, 0.3) !important;
}

#pricing .pricing-switcher {
  padding: 12px 24px !important;
  color: #94a3b8 !important;
  font-size: 0.95rem !important;
}

#pricing .pricing-switcher-active {
  color: white !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

#pricing .pricing-switcher:hover:not(.pricing-switcher-active) {
  color: #cbd5e1 !important;
}

#pricing .pricing-switcher-badge {
  font-size: 0.625rem !important;
  padding: 4px 8px !important;
  background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

#pricing .switcher-button {
  background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%) !important;
  box-shadow: 0 4px 12px rgba(167, 139, 250, 0.5), 0 2px 4px rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Pricing Card */
#pricing .pricing-card {
  background: rgba(30, 27, 75, 0.4) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(167, 139, 250, 0.25) !important;
  border: 2px solid rgba(167, 139, 250, 0.3) !important;
  max-width: 550px !important;
  margin: 0 auto !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#pricing .pricing-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(167, 139, 250, 0.4) !important;
  border-color: rgba(167, 139, 250, 0.5) !important;
}

#pricing .pricing-card-body {
  padding: 2rem 2rem !important;
}

/* Pricing Content Styles */
#pricing .pricing-plan-title {
  color: #ffffff !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  margin-bottom: 1rem !important;
}

#pricing .pricing-price-wrapper {
  display: flex !important;
  align-items: baseline !important;
  justify-content: center !important;
  gap: 0.375rem !important;
  margin-bottom: 0.75rem !important;
}

#pricing .pricing-price {
  font-size: 3rem !important;
  font-weight: 800 !important;
  background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  filter: drop-shadow(0 4px 8px rgba(167, 139, 250, 0.3)) !important;
  line-height: 1 !important;
}

#pricing .pricing-period {
  color: #cbd5e1 !important;
  font-size: 1.25rem !important;
  font-weight: 500 !important;
}

#pricing .pricing-description {
  color: #94a3b8 !important;
  font-size: 0.95rem !important;
  margin-bottom: 0.875rem !important;
}

#pricing .pricing-billing-info {
  color: #cbd5e1 !important;
  font-size: 0.95rem !important;
  margin-bottom: 0.625rem !important;
}

#pricing .pricing-billing-info strong {
  color: #ffffff !important;
}

#pricing .pricing-savings {
  color: #4ade80 !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  margin-bottom: 1.25rem !important;
  text-shadow: 0 2px 8px rgba(74, 222, 128, 0.3) !important;
}

#pricing .pricing-footer-text {
  color: #94a3b8 !important;
  font-size: 0.9rem !important;
  margin-top: 1rem !important;
}

#pricing .pricing-badge-recommended {
  background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 50%, #7c3aed 100%) !important;
  padding: 8px 16px !important;
  font-size: 0.75rem !important;
  border-radius: 20px !important;
  margin-bottom: 1rem !important;
  box-shadow: 0 4px 12px rgba(167, 139, 250, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: white !important;
}

/* Bonus box styling */
#pricing .pricing-bonus-box {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(245, 158, 11, 0.1) 100%) !important;
  border: 2px solid rgba(251, 191, 36, 0.4) !important;
  border-radius: 12px !important;
  padding: 1rem 1.25rem !important;
  margin-bottom: 1.25rem !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: 0 8px 20px rgba(251, 191, 36, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

#pricing .pricing-bonus-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
}

#pricing .pricing-bonus-label {
  color: #fcd34d !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

#pricing .pricing-bonus-label iconify-icon {
  font-size: 1.2rem !important;
  color: #fbbf24 !important;
  filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.4)) !important;
}

#pricing .pricing-bonus-text {
  color: #fef3c7 !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
}

/* Pricing switcher badge styling */
.pricing-switcher .badge {
  font-size: 0.6rem !important;
  padding: 2px 6px !important;
  margin-left: 0.5rem !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
}

.pricing-switcher {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
}

/* Comparison Table Styles */
.comparison-table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 12px !important;
  background: transparent !important;
}

.comparison-table thead {
  background: transparent !important;
}

.comparison-table thead th {
  background: rgba(30, 27, 75, 0.6) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  padding: 20px !important;
  text-align: left !important;
  border: none !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.comparison-table thead th:first-child {
  border-radius: 12px 0 0 12px !important;
}

.comparison-table thead th:last-child {
  border-radius: 0 12px 12px 0 !important;
}

.comparison-table tbody tr {
  background: rgba(255, 255, 255, 0.05) !important;
  transition: all 0.3s ease !important;
  border-radius: 12px !important;
}

.comparison-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  transform: translateX(4px) !important;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2) !important;
}

.comparison-table tbody td {
  padding: 18px 20px !important;
  border: none !important;
  color: #1f2937 !important;
  font-size: 1rem !important;
  vertical-align: middle !important;
  background: transparent !important;
}

.comparison-table tbody td:first-child {
  border-radius: 12px 0 0 12px !important;
  font-weight: 500 !important;
}

.comparison-table tbody td:last-child {
  border-radius: 0 12px 12px 0 !important;
}

.comparison-price-individual {
  color: #dc3545 !important;
  font-weight: 600 !important;
}

.comparison-price-prosuite {
  color: #10b981 !important;
  font-weight: 600 !important;
}

.comparison-badge {
  background: #10b981 !important;
  color: #ffffff !important;
  font-size: 0.9rem !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  font-weight: 500 !important;
}

.comparison-total-row {
  background: rgba(139, 92, 246, 0.15) !important;
  font-weight: 700 !important;
}

.comparison-total-row td {
  font-size: 1.1rem !important;
  padding: 24px 20px !important;
  color: #1f2937 !important;
}

.comparison-savings {
  color: #10b981 !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  margin: 0 !important;
}

/* Spacing Utilities */
.space10 { height: 10px !important; }
.space20 { height: 20px !important; }
.space30 { height: 30px !important; }
.space40 { height: 40px !important; }
.space50 { height: 50px !important; }
.space60 { height: 60px !important; }
.space70 { height: 70px !important; }
.space80 { height: 80px !important; }
.space90 { height: 90px !important; }
.space100 { height: 100px !important; }
.space120 { height: 120px !important; }

/* Benefit & Obstacle Items */
.benefit-item, .obstacle-item {
  background: rgba(243, 244, 246, 0.5) !important;
  border-left: 3px solid #8b5cf6 !important;
  padding: 20px !important;
  border-radius: 12px !important;
  transition: all 0.3s ease !important;
  gap: 14px !important;
}

.benefit-item:hover, .obstacle-item:hover {
  background: rgba(249, 250, 251, 0.8) !important;
  border-left-color: #a78bfa !important;
  transform: translateX(5px) !important;
}

.benefit-title, .obstacle-title {
  color: #1f2937 !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  margin-bottom: 8px !important;
}

/* Separación icono ↔ texto en obstáculos/beneficios */
.obstacle-item .obstacle-icon,
.benefit-item .benefit-icon {
  margin-right: 14px !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}

.obstacle-item .obstacle-icon iconify-icon,
.benefit-item .benefit-icon iconify-icon {
  display: inline-block !important;
  vertical-align: middle !important;
}

/* Iconos en morado del theme (no amarillo/azul de Bootstrap).
   Cubre benefit/obstacle/reflexion/step y cualquier iconify-icon con clases utilitarias de color. */
.benefit-icon, .benefit-icon .text-primary, .benefit-icon iconify-icon,
.obstacle-icon, .obstacle-icon .text-warning, .obstacle-icon iconify-icon,
.reflexion-icon, .reflexion-icon .text-warning, .reflexion-icon iconify-icon,
.step-icon, .step-icon iconify-icon,
.card iconify-icon.text-warning, .card iconify-icon.text-primary,
#wrapper_hero iconify-icon.text-warning, #wrapper_hero iconify-icon.text-primary,
#reflexion iconify-icon, #steps iconify-icon {
  color: #7c3aed !important;
}



.timeline-panel {
  background: rgba(249, 250, 251, 0.8) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(139, 92, 246, 0.2) !important;
  border-radius: 16px !important;
  padding: 18px 22px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.3s ease !important;
  display: inline-block !important;
  width: 100% !important;
}

.timeline-panel:hover {
  border-color: rgba(139, 92, 246, 0.4) !important;
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.2) !important;
  transform: translateY(-2px) !important;
}

.timeline-heading {
  color: #1f2937 !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  margin-bottom: 10px !important;
  font-family: 'Space Grotesk', sans-serif !important;
}

.timeline-text {
  color: #6b7280 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  margin-bottom: 0 !important;
}

/* Accordion/FAQ Styles */
.accordion-wrapper {
  background: transparent !important;
}

.accordion-wrapper .card {
  background: rgba(249, 250, 251, 0.8) !important;
  border: 1px solid rgba(139, 92, 246, 0.2) !important;
  margin-bottom: 16px !important;
}

.accordion-wrapper .card-header {
  background: transparent !important;
  border-bottom: 1px solid rgba(139, 92, 246, 0.1) !important;
  padding: 0 !important;
}

.accordion-wrapper .card-header button,
.faq-title {
  color: #1f2937 !important;
  font-weight: 600 !important;
  font-size: 18px !important;
  padding: 20px 24px !important;
  text-align: left !important;
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  transition: all 0.3s ease !important;
}

.accordion-wrapper .card-header button:hover,
.faq-title:hover {
  color: #a78bfa !important;
}

.accordion-wrapper .card-header button:before,
.faq-title:before {
  color: #8b5cf6 !important;
}

.accordion-body {
  color: #6b7280 !important;
  padding: 20px 24px !important;
}

/* Blockquotes & Testimonials */
blockquote {
  border-left: 3px solid #a78bfa !important;
  padding-left: 20px !important;
  margin: 20px 0 !important;
  font-style: italic !important;
  color: #374151 !important;
}

blockquote p {
  color: #374151 !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
}

.testimonial-item {
  transition: all 0.3s ease !important;
  margin-bottom: 20px !important;
}

.testimonial-item:hover {
  transform: translateY(-5px) !important;
}

.testimonial-item .box {
  background: rgba(243, 244, 246, 0.9) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(139, 92, 246, 0.15) !important;
  border-radius: 16px !important;
  padding: 20px !important;
  min-height: auto !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  overflow: hidden !important;
}

.testimonial-item .box:hover {
  background: rgba(249, 250, 251, 0.8) !important;
  border-color: rgba(167, 139, 250, 0.25) !important;
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.25) !important;
  transform: translateY(-4px) !important;
}

.testimonial-text {
  color: #1f2937 !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  font-style: italic !important;
  margin-bottom: 20px !important;
  flex-grow: 1 !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 7 !important;
  -webkit-box-orient: vertical !important;
}

.testimonial-content-text {
  background: transparent !important;
  -webkit-text-fill-color: #1f2937 !important;
  color: #1f2937 !important;
}

.person-info {
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 6px !important;
}

.person-avatar {
  margin-right: 14px !important;
  flex-shrink: 0 !important;
}

.person-avatar img,
.person-avatar .avatar-placeholder {
  width: 56px !important;
  height: 56px !important;
}

.person-info .person-name {
  color: #1f2937 !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  line-height: 1.3 !important;
  text-align: left !important;
}

.person-info .person-role {
  color: #6b7280 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  background: transparent !important;
  -webkit-text-fill-color: #6b7280 !important;
  text-align: left !important;
  text-transform: uppercase !important;
}

/* If person-role is inside a badge/span with purple background, make it readable */
.badge .person-role, span.person-role {
  background: transparent !important;
  color: #1f2937 !important;
}

/* Testimonial role badges - more subtle and neutral */
.testimonial-item .badge, .testimonial-item span.badge {
  background: rgba(71, 85, 105, 0.25) !important;
  color: #9ca3af !important;
  -webkit-text-fill-color: #9ca3af !important;
  border: 1px solid rgba(100, 116, 139, 0.3) !important;
  padding: 5px 12px !important;
  border-radius: 6px !important;
  font-weight: 500 !important;
  font-size: 10px !important;
  display: inline-block !important;
  margin-top: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
  line-height: 1.2 !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  transition: all 0.3s ease !important;
}

.testimonial-item .badge:hover, .testimonial-item span.badge:hover {
  background: rgba(71, 85, 105, 0.35) !important;
  border-color: rgba(100, 116, 139, 0.4) !important;
  color: #6b7280 !important;
  -webkit-text-fill-color: #6b7280 !important;
}

.person-avatar img {
  border-radius: 50% !important;
  border: 2px solid rgba(167, 139, 250, 0.3) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.3s ease !important;
}

.person-avatar img:hover {
  transform: scale(1.05) !important;
  border-color: rgba(167, 139, 250, 0.5) !important;
  box-shadow: 0 6px 16px rgba(139, 92, 246, 0.3) !important;
}

.avatar-placeholder {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important;
  color: white !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  border: 2px solid rgba(167, 139, 250, 0.3) !important;
  transition: all 0.3s ease !important;
}

.avatar-placeholder:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 6px 16px rgba(139, 92, 246, 0.3) !important;
  border-color: rgba(167, 139, 250, 0.5) !important;
}

/* Bio/Profile Image - Hero Image */
#wrapper_1 img.hero-image,
#wrapper_1 figure img,
.bio-image img,
.profile-image img {
  border-radius: 24px !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 
              0 0 0 3px rgba(167, 139, 250, 0.3),
              0 0 80px rgba(139, 92, 246, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  border: 2px solid rgba(167, 139, 250, 0.3) !important;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
}

#wrapper_1 img.hero-image:hover,
#wrapper_1 figure img:hover,
.bio-image img:hover,
.profile-image img:hover {
  transform: translateY(-10px) scale(1.02) !important;
  box-shadow: 0 40px 120px rgba(139, 92, 246, 0.6), 
              0 0 0 4px rgba(167, 139, 250, 0.5),
              0 0 120px rgba(139, 92, 246, 0.35) !important;
  border-color: rgba(167, 139, 250, 0.6) !important;
}

/* Timeline improvements for company page */
.timeline-item {
  margin-bottom: 35px !important;
}

.timeline-content {
  padding: 18px !important;
}

.timeline-date {
  color: #a78bfa !important;
  font-weight: 700 !important;
  font-size: 1.1em !important;
  margin-bottom: 8px !important;
}

.timeline-title {
  color: #1f2937 !important;
  font-weight: 600 !important;
  font-size: 1.3em !important;
  margin-bottom: 10px !important;
}

.timeline-description {
  color: #6b7280 !important;
  line-height: 1.7 !important;
  margin-bottom: 12px !important;
}

.timeline-marker {
  background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%) !important;
  box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.2) !important;
}

/* Team stats improvements (gradiente en el span .value; el h3 solo envuelve) */
.counter h3,
.counter-value {
  background: none !important;
  -webkit-text-fill-color: unset !important;
  color: inherit !important;
  font-size: 2.75rem !important;
  font-weight: 800 !important;
  margin-bottom: 8px !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;
  transition: all 0.4s ease !important;
  display: inline-block !important;
}

.counter h3 .value,
.counter span.value,
.counter-value {
  background: linear-gradient(135deg, #ffffff 0%, #374151 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  display: inline-block !important;
}

.counter p,
.counter-label {
  color: #94a3b8 !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  text-transform: capitalize !important;
  letter-spacing: 0.5px !important;
}

/* Counter container */
.counter {
  text-align: center !important;
  padding: 16px 10px !important;
  transition: all 0.3s ease !important;
  position: relative !important;
}

.counter::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) scaleX(0) !important;
  width: 40px !important;
  height: 2px !important;
  background: linear-gradient(90deg, #a78bfa 0%, #8b5cf6 100%) !important;
  transition: transform 0.3s ease !important;
  border-radius: 2px !important;
}

.counter:hover::after {
  transform: translateX(-50%) scaleX(1) !important;
}

.counter:hover {
  transform: translateY(-3px) !important;
}

.counter:hover h3 {
  transform: scale(1.05) !important;
}

.counter:hover h3 .value,
.counter:hover span.value,
.counter:hover .counter-value {
  background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  transform: scale(1.05) !important;
}

/* Gallery images improvements */
.img-fluid.rounded.shadow {
  border-radius: 16px !important;
  transition: all 0.3s ease !important;
  border: 1px solid rgba(139, 92, 246, 0.2) !important;
}

.img-fluid.rounded.shadow:hover {
  transform: translateY(-5px) scale(1.03) !important;
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4) !important;
  border-color: rgba(167, 139, 250, 0.5) !important;
}

.fas.fa-quote-left, .fas.fa-quote-right {
  color: #a78bfa !important;
  opacity: 0.25 !important;
  font-size: 14px !important;
}

.fas.fa-quote-left {
  margin-right: 6px !important;
  vertical-align: top !important;
}

.fas.fa-quote-right {
  margin-left: 6px !important;
  vertical-align: bottom !important;
}

/* Badge */
.badge {
  background: rgba(100, 116, 139, 0.15) !important;
  color: #6b7280 !important;
  border: 1px solid rgba(100, 116, 139, 0.25) !important;
  padding: 8px 14px !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: all 0.3s ease !important;
  backdrop-filter: blur(10px) !important;
}

.badge:hover {
  background: rgba(167, 139, 250, 0.2) !important;
  border-color: rgba(167, 139, 250, 0.4) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25) !important;
  color: #374151 !important;
}

/* Badge variants for different contexts */
.badge-location,
.badge-company {
  background: rgba(71, 85, 105, 0.2) !important;
  color: #6b7280 !important;
  border: 1px solid rgba(100, 116, 139, 0.3) !important;
  font-size: 12px !important;
  padding: 7px 12px !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  white-space: nowrap !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  backdrop-filter: blur(8px) !important;
}

.badge-location:hover,
.badge-company:hover {
  background: rgba(100, 116, 139, 0.3) !important;
  border-color: rgba(148, 163, 184, 0.4) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 10px rgba(71, 85, 105, 0.3) !important;
  color: #374151 !important;
}

/* Specific styling for location and company badges in cards */
.testimonial-card .badge-location,
.opinion-card .badge-location,
.box .badge-location {
  background: rgba(71, 85, 105, 0.2) !important;
  border-color: rgba(100, 116, 139, 0.3) !important;
  color: #6b7280 !important;
}

.testimonial-card .badge-company,
.opinion-card .badge-company,
.box .badge-company {
  background: rgba(71, 85, 105, 0.2) !important;
  border-color: rgba(100, 116, 139, 0.3) !important;
  color: #6b7280 !important;
}

/* Badge groups (when multiple badges are together) */
.badge-group {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 8px !important;
}

/* Testimonial badges - more subtle */
.testimonial-item .badge {
  background: rgba(71, 85, 105, 0.3) !important;
  color: #374151 !important;
  border: 1px solid rgba(100, 116, 139, 0.4) !important;
  white-space: normal !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  max-width: 100% !important;
  line-height: 1.4 !important;
  padding: 6px 12px !important;
  font-size: 11px !important;
}

.badge.text-white {
  color: white !important;
}

.badge-info {
  background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%) !important;
}

/* Override inline badge backgrounds */
[style*="background-color: rgb(191, 39, 163)"] {
  background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%) !important;
}

/* Role bars/pills - these are the purple bars in role category boxes */
.box span:not(.plyr *):not(.sub-arrow):not(.badge):not(.person-role):not(.person-location):not(.person-origin):not(.company-badge):not(.person-meta span):not(.testimonial-content-text):not(code):not(code *):not(.CodeMirror):not(.CodeMirror *), 
.card span:not(.plyr *):not(.sub-arrow):not(.badge):not(.person-role):not(.person-location):not(.person-origin):not(.company-badge):not(.person-meta span):not(.testimonial-content-text):not(code):not(code *):not(.CodeMirror):not(.CodeMirror *) {
  color: transparent !important;
  border-radius: 12px !important;
  display: inline-block !important;
  padding: 10px 20px !important;
  min-height: 36px !important;
  min-width: 80px !important;
  margin: 6px !important;
}

/* If spans have actual text content, make it visible */
.box span:not(.plyr *):not(:empty):not(.sub-arrow):not(.badge):not(.person-role):not(.person-location):not(.person-origin):not(.company-badge):not(.person-meta span):not(.CodeMirror):not(.CodeMirror *), 
.card span:not(.plyr *):not(:empty):not(.sub-arrow):not(.badge):not(.person-role):not(.person-location):not(.person-origin):not(.company-badge):not(.person-meta span):not(.CodeMirror):not(.CodeMirror *) {
  color: #1f2937 !important;
  -webkit-text-fill-color: #1f2937 !important;
  font-weight: 500 !important;
  font-size: 14px !important;
}

/* Credibility Section */
.credibility-section img {
  filter: grayscale(0%) brightness(0.8) !important;
  opacity: 0.7 !important;
  transition: all 0.3s ease !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  padding: 8px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  display: block !important;
  margin: 0 auto !important;
  max-height: 80px !important;
  width: auto !important;
  object-fit: contain !important;
}

.credibility-section img:hover {
  filter: grayscale(0%) brightness(1) !important;
  opacity: 1 !important;
  transform: scale(1.05) translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

/* Clients/Logos Carousel */
.clients img {
  filter: brightness(1.2) !important;
  opacity: 0.8 !important;
  transition: all 0.3s ease !important;
  max-height: 80px !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  padding: 8px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  display: block !important;
  margin: 0 auto !important;
}

.clients img:hover {
  opacity: 1 !important;
  transform: scale(1.05) translateY(-2px) !important;
  filter: brightness(1.4) !important;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

/* Read More Links */
.read-more-link {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.read-more-link a {
  color: #a78bfa !important;
  font-weight: 500 !important;
  font-size: 12px !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  display: inline-block !important;
  opacity: 0.8 !important;
}

.read-more-link a:hover {
  color: #8b5cf6 !important;
  text-decoration: underline !important;
  transform: translateX(3px) !important;
  opacity: 1 !important;
}

/* Image Blob - Modern Card Style */
.img-blob,
.img-blob.blob1 {
  background: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(167, 139, 250, 0.2) !important;
  border-radius: 24px !important;
  padding: 20px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08),
              0 0 0 1px rgba(255, 255, 255, 0.05) inset !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
}

.img-blob::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent 0%, rgba(167, 139, 250, 0.5) 50%, transparent 100%) !important;
}

.img-blob:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(167, 139, 250, 0.35) !important;
  box-shadow: 0 30px 80px rgba(139, 92, 246, 0.3),
              0 0 0 1px rgba(255, 255, 255, 0.1) inset !important;
  transform: translateY(-8px) !important;
}

.img-blob img,
.img-blob.blob1 img {
  border-radius: 16px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
  transition: all 0.4s ease !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  -webkit-clip-path: none !important;
  clip-path: none !important;
  filter: brightness(1.05) contrast(1.1) saturate(1.05) !important;
  object-fit: cover !important;
  object-position: center !important;
}

.img-blob:hover img,
.img-blob.blob1:hover img {
  transform: scale(1.02) !important;
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.25) !important;
  filter: brightness(1.08) contrast(1.15) saturate(1.1) !important;
}

/* Plyr Video Player */
.plyr {
  border-radius: 16px !important;
  overflow: hidden !important;
}

.plyr__control--overlaid {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important;
}

/* Additional Links */
a {
  color: #a78bfa !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}

a:hover {
  color: #8b5cf6 !important;
}

/* Visual Hierarchy - Lists */
.icon-list li, .bullet-default li {
  color: #6b7280 !important;
  font-size: 17px !important;
  line-height: 1.7 !important;
  margin-bottom: 16px !important;
}

.icon-list li strong, .bullet-default li strong {
  color: #1f2937 !important;
  font-weight: 600 !important;
}

/* Standard lists */
ul li, ol li {
  color: #6b7280 !important;
  margin-bottom: 10px !important;
}

ul, ol {
  padding-left: 24px !important;
}

/* Benefits & Obstacles Cards */
.benefit-item, .obstacle-item {
  background: rgba(249, 250, 251, 0.8) !important;
  border: 1px solid rgba(139, 92, 246, 0.2) !important;
  border-radius: 16px !important;
  padding: 30px !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 16px !important;
}

.benefit-item:hover, .obstacle-item:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(139, 92, 246, 0.4) !important;
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.2) !important;
}

.benefit-icon, .obstacle-icon {
  flex-shrink: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
}

.benefit-content, .obstacle-content {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  min-width: 0 !important;
}

.benefit-title, .obstacle-title {
  color: #1f2937 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
  font-family: 'Space Grotesk', sans-serif !important;
}

/* Ensure proper text colors for all elements */
.color-gray, .color-default {
  color: #6b7280 !important;
}

.text-muted {
  color: #9ca3af !important;
}

/* Override any default dark backgrounds */
.bg-dark, .bg-gray {
  background: rgba(249, 250, 251, 0.8) !important;
  backdrop-filter: blur(20px) !important;
}

/* Alineado con bloque anterior: tarjeta clara */
.white-wrapper, .light-wrapper {
  background: #f9fafb !important;
}

.bg-opacity-default,
.wrapper.bg-opacity-default {
  background: #f8fafc !important;
}

/* Inner padding - balanced spacing */
.inner {
  padding: 40px 0 !important;
}

#wrapper_2 .inner {
  padding: 0 !important;
}

/* Important overrides for visibility */
.inner p, .content-wrapper p, article p {
  color: #6b7280 !important;
}

.inner h1, .inner h2, .inner h3, .inner h4, .inner h5, .inner h6,
.content-wrapper h1, .content-wrapper h2, .content-wrapper h3, .content-wrapper h4, .content-wrapper h5, .content-wrapper h6 {
  color: #1f2937 !important;
}

/* Numbers and counters */
.counter-wrapper .counter {
  color: #1f2937 !important;
  font-weight: 800 !important;
}

/* Stats/Numbers */
.counter, .display-1, .display-2 {
  color: #1f2937 !important;
  -webkit-text-fill-color: #1f2937 !important;
  background: transparent !important;
  font-weight: 800 !important;
  text-shadow: none !important;
}

/* Counter animation preparation */
[data-counter],
.counter-number,
.count-number {
  display: inline-block !important;
  transition: all 0.3s ease !important;
}

/* Marcadores / cajas con fondo azul (YAML): texto claro sobre azul */
[style*="background-color: rgb(59, 130, 246)"],
[style*="background-color: rgb(37, 99, 235)"],
[style*="background-color: #3b82f6"],
[style*="background-color: #2563eb"] {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

[style*="background-color: rgb(59, 130, 246)"] *,
[style*="background-color: rgb(37, 99, 235)"] *,
[style*="background-color: #3b82f6"] *,
[style*="background-color: #2563eb"] * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Text alignment helpers */
.text-center {
  text-align: center !important;
}

/* Ensure all wrappers have proper spacing - optimized for holo */
#wrapper_1, #wrapper_2, #wrapper_3, #wrapper_4, #wrapper_5, #wrapper_6, #wrapper_customers {
  padding: 80px 0 !important;
}

/* First wrapper - minimal padding for regular pages */
#wrapper_1 {
  padding: 10px 0 10px 0 !important;
}

/* Hero wrapper only for homepage - use #wrapper_hero for hero sections */
#wrapper_hero,
.home #wrapper_1:first-of-type {
  padding: 0px 0 80px 0 !important;
}

/* Desktop: expandir hero image al 150% (bleed a la derecha, igual que holo) y altura 480px. */
@media (min-width: 992px) {
  #heroImgWrap {
    width: 150% !important;
  }
  .hero-img-wrap {
    height: 480px !important;
  }
}

/* When wrapper_1 contains white-wrapper, reduce padding even more */
#wrapper_1:has(.white-wrapper) {
  padding: 5px 0 5px 0 !important;
}

/* When wrapper_1 has direct content before white-wrapper (like webinar) */
#wrapper_1 > h4,
#wrapper_1 > h3,
#wrapper_1 > .text-center {
  margin-top: 10px !important;
}

/* Steps wrapper with minimal top padding */
#wrapper_steps {
  padding: 30px 0 50px 0 !important;
}

/* Remove extra margin from elements before steps */
#wrapper_steps .inner {
  padding-top: 0 !important;
}

#cta, #cta2, #cta3 {
  text-align: center !important;
}

/* Footer */
footer {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(30px) !important;
  border-top: 1px solid rgba(167, 139, 250, 0.2) !important;
  margin-top: 0 !important;
  padding: 0 0 48px !important;
  position: relative !important;
  overflow: hidden !important;
}

footer > .container,
footer .container:first-child {
  padding-top: 2rem !important;
}

footer::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent 0%, #a78bfa 50%, transparent 100%) !important;
}

footer .logo {
  max-height: 60px !important;
  filter: brightness(1.1) !important;
  margin-bottom: 24px !important;
}

/* Footer sections styling */
footer .widget {
  margin-bottom: 40px !important;
}

footer h5, footer h6 {
  color: #1f2937 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  margin-bottom: 24px !important;
  font-family: 'Inter', sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  position: relative !important;
  padding-bottom: 12px !important;
}

footer h5::after, footer h6::after {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 40px !important;
  height: 2px !important;
  background: linear-gradient(90deg, #a78bfa 0%, #8b5cf6 100%) !important;
  border-radius: 2px !important;
}

footer p {
  color: #9ca3af !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  margin-bottom: 20px !important;
}

footer a {
  color: #6b7280 !important;
  font-size: 15px !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  display: inline-block !important;
}

footer a:hover {
  color: #a78bfa !important;
}

/* Only add arrow to text links, not social icons */
footer ul li a:not(.social li a) {
  display: inline-block !important;
  position: relative !important;
  padding-left: 0 !important;
}

footer ul li a:not(.social li a):hover {
  transform: translateX(5px) !important;
}

footer ul li a:not(.social li a)::before {
  content: '→' !important;
  position: absolute !important;
  left: -20px !important;
  opacity: 0 !important;
  transition: all 0.3s ease !important;
}

footer ul li a:not(.social li a):hover::before {
  opacity: 1 !important;
  left: -16px !important;
}

footer ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

footer ul li {
  margin-bottom: 14px !important;
  color: #6b7280 !important;
  position: relative !important;
  padding-left: 0 !important;
}

/* Contact info special styling */
footer .contact-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

footer .contact-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  padding: 12px !important;
  background: rgba(167, 139, 250, 0.05) !important;
  border: 1px solid rgba(167, 139, 250, 0.1) !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
}

footer .contact-item:hover {
  background: rgba(167, 139, 250, 0.1) !important;
  border-color: rgba(167, 139, 250, 0.2) !important;
  transform: translateY(-2px) !important;
}

footer .contact-item i {
  color: #a78bfa !important;
  font-size: 18px !important;
  min-width: 24px !important;
  margin-top: 2px !important;
}

footer .contact-item a,
footer .contact-item span {
  color: #6b7280 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

footer .contact-item a:hover {
  color: #a78bfa !important;
  transform: none !important;
}

footer .contact-item a:hover::before {
  display: none !important;
}

/* Social Icons */
.social {
  display: flex !important;
  gap: 12px !important;
  flex-wrap: nowrap !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
  justify-content: flex-start !important;
  align-items: center !important;
}

.social li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.social li a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  background: rgba(167, 139, 250, 0.1) !important;
  border: 1px solid rgba(167, 139, 250, 0.2) !important;
  border-radius: 12px !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
}

.social li a::before {
  content: none !important;
  display: none !important;
}

.social li a:hover {
  background: rgba(167, 139, 250, 0.25) !important;
  border-color: rgba(167, 139, 250, 0.4) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4) !important;
}

.social li a i {
  font-size: 20px !important;
  transition: all 0.3s ease !important;
}

.social li a:hover i {
  color: #1f2937 !important;
  transform: scale(1.1) !important;
}

/* Ensure footer widget alignment */
footer .widget {
  text-align: left !important;
}

footer .row {
  text-align: left !important;
}

footer .col-md-3, footer .col-md-4, footer .col-lg-3 {
  text-align: left !important;
}

/* Footer Bottom */
footer .text-muted {
  color: #9ca3af !important;
  font-size: 13px !important;
}

/* Contact Button in Footer */
footer .btn {
  background: linear-gradient(135deg, #c026d3 0%, #9333ea 100%) !important;
  border: 1px solid rgba(147, 51, 234, 0.4) !important;
  color: white !important;
  font-size: 12px !important;
  padding: 16px 20px !important;
  font-weight: 600 !important;
}

footer .btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(147, 51, 234, 0.5) !important;
}

/* Cookie Banner */
#cookie-banner {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(30px) !important;
  border-top: 1px solid rgba(167, 139, 250, 0.2) !important;
  padding: 20px !important;
  z-index: 99999 !important;
  position: fixed !important;
}

#cookie-banner a {
  color: #a78bfa !important;
  text-decoration: underline !important;
}

#cookie-banner .btn {
  font-size: 13px !important;
  padding: 10px 24px !important;
  margin: 4px !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

/* Mobile Responsive */
@media screen and (max-width: 1024px) {
  body {
    padding-top: 70px !important;
  }

  .navbar {
    padding: 8px 0 !important;
  }

  .navbar-brand img.logo {
    max-height: 45px !important;
  }

  .nav-item a, .nav-link {
    font-size: 14px !important;
    padding: 8px 14px !important;
  }

  #titular {
    font-size: 42px !important;
    line-height: 1.2 !important;
    margin-top: 20px !important;
  }

  h1, h2, h3, h4, h5, h6, .display-3 {
    font-size: 30px !important;
    line-height: 1.3 !important;
  }

  #wrapper_roles h5.card-title,
  #wrapper_roles .role-card .title-color.color-gray {
    font-size: 0.85rem !important;
    line-height: 1.35 !important;
  }

  p, li {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  .btn {
    padding: 12px 24px !important;
    font-size: 15px !important;
  }

  .box, .card {
    margin-bottom: 20px !important;
  }

  .timeline-wrapper {
    padding: 10px 0 !important;
  }

  .timeline-wrapper::before {
    left: 48px !important;
  }

  .timeline-badge {
    left: 20.5px !important;
    top: 15px !important;
    transform: translateX(0) translateY(0) !important;
    width: 55px !important;
    height: 55px !important;
  }

  .timeline-badge span {
    font-size: 20px !important;
    font-weight: 700 !important;
  }

  .timeline-left, .timeline-right {
    width: 100% !important;
    float: none !important;
    text-align: left !important;
    padding: 12px 16px !important;
    padding-left: 95px !important;
    margin: 0 !important;
  }

  .timeline-step {
    margin-bottom: 35px !important;
    min-height: 85px !important;
  }

  .timeline-panel {
    padding: 18px 20px !important;
  }

  .timeline-heading {
    font-size: 18px !important;
    margin-bottom: 8px !important;
  }

  .timeline-text {
    font-size: 14px !important;
  }

  .testimonial-item .box {
    padding: 24px !important;
    gap: 16px !important;
  }

  .testimonial-text,
  .testimonial-content p,
  .testimonial-card p,
  .opinion-card p {
    font-size: 15px !important;
    line-height: 1.6 !important;
    -webkit-line-clamp: 6 !important;
    color: #1f2937 !important;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
  }

  .testimonial-item .badge {
    font-size: 10px !important;
    padding: 4px 10px !important;
  }

  .person-name {
    font-size: 14px !important;
  }

  .person-avatar img,
  .person-avatar .avatar-placeholder {
    width: 50px !important;
    height: 50px !important;
  }
}

@media screen and (max-width: 768px) {
  body {
    padding-top: 65px !important;
  }

  .navbar {
    padding: 6px 0 !important;
  }

  .navbar-brand img.logo {
    max-height: 40px !important;
  }

  .nav-item a, .nav-link {
    font-size: 15px !important;
    padding: 12px 18px !important;
  }

  .offcanvas-nav .nav-item {
    margin: 4px 12px !important;
  }

  .offcanvas-nav {
    width: 280px !important;
    max-width: 90vw !important;
  }

  #titular {
    font-size: 28px !important;
    line-height: 1.2 !important;
  }

  #subtitular, #titular2 {
    font-size: 15px !important;
  }
  
  /* Blog page improvements for mobile */
  .post-title {
    font-size: 1.1rem !important;
  }
  
  .blog-card-title.post-title {
    font-size: 1.1rem !important;
    line-height: 1.3 !important;
    min-height: 70px !important;
  }
  
  /* Blog header title */
  #wrapper_1 .box .post-title {
    font-size: 1.2rem !important;
  }
  
  /* Newsletter box - move it down */
  #wrapper_1 .row.mb-4 {
    order: 2 !important;
    margin-top: 1rem !important;
  }
  
  /* Filter section - move it up */
  #wrapper_1 .row.mb-3 {
    order: 1 !important;
  }
  
  #wrapper_1 > .container {
    display: flex !important;
    flex-direction: column !important;
  }
  
  /* Newsletter section on mobile */
  .newsletter-form-container {
    width: 100% !important;
    margin-top: 0.5rem !important;
  }
  
  .newsletter-form {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
  
  .newsletter-form input {
    width: 100% !important;
    min-width: auto !important;
  }
  
  .newsletter-form button {
    width: 100% !important;
    padding: 10px !important;
  }
  
  /* Blog filters on mobile - keep in same line */
  .category-filter,
  .date-filters {
    flex: 1 1 auto !important;
  }
  
  .category-filter .filter-buttons {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  
  .category-filter .filter-buttons::-webkit-scrollbar {
    display: none !important;
  }
  
  .date-filters {
    flex-wrap: nowrap !important;
    gap: 4px !important;
    margin-left: auto !important;
  }
  
  .date-filters .select-wrapper {
    flex-shrink: 0 !important;
  }
  
  .date-filters .select-wrapper select {
    font-size: 0.85rem !important;
    padding: 4px 8px !important;
  }
  
  .post-count-badge {
    font-size: 0.8rem !important;
    padding: 4px 10px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
  
  /* Company page - more logos per row on mobile */
  #wrapper_3 .row .col-6 {
    flex: 0 0 33.333% !important;
    max-width: 33.333% !important;
  }

  #benefits, #obstacles, #testimonials, #warranty, #biotitle, #steps, #customerstitle, #medios {
    font-size: 32px !important;
    margin-bottom: 25px !important;
  }

  #steps {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
  }

  .inner {
    padding: 40px 0 !important;
  }

  #wrapper_steps .inner {
    padding-top: 0 !important;
  }

  #wrapper_1, #wrapper_2, #wrapper_3, #wrapper_4, #wrapper_5, #wrapper_6, #wrapper_customers {
    padding: 50px 0 !important;
  }

  #wrapper_1 {
    padding: 15px 0 !important;
  }

  /* When wrapper_1 contains white-wrapper on mobile */
  #wrapper_1:has(.white-wrapper) {
    padding: 10px 0 !important;
  }

  /* Hero padding on mobile for homepage only */
  #wrapper_hero,
  .home #wrapper_1:first-of-type {
    padding: 10px 0 30px 0 !important;
  }

  #wrapper_steps {
    padding: 20px 0 30px 0 !important;
  }

  .space140 { height: 80px !important; }
  .space130 { height: 75px !important; }
  .space120 { height: 70px !important; }
  .space110 { height: 65px !important; }
  .space100 { height: 60px !important; }
  .space90 { height: 55px !important; }
  .space80 { height: 50px !important; }
  .space70 { height: 45px !important; }
  .space60 { height: 40px !important; }
  .space50 { height: 35px !important; }
  .space40 { height: 30px !important; }
  .space30 { height: 25px !important; }
  .space20 { height: 20px !important; }
  .space10 { height: 10px !important; }

  /* Hide first space120 in wrapper_hero/wrapper_1 on mobile */
  #wrapper_hero > div > div.space120:first-of-type,
  #wrapper_hero > .container > .space120:first-child,
  #wrapper_1 > div > div.space120:first-of-type,
  #wrapper_1 > .container > .space120:first-child,
  #wrapper_1 > .inner > .space120:first-child {
    display: none !important;
  }

  .btn {
    font-size: 16px !important;
    padding: 14px 32px !important;
  }

  .testimonial-item .box {
    min-height: auto !important;
    padding: 20px !important;
    gap: 12px !important;
    margin: 0 5px !important;
  }

  .testimonial-text,
  .testimonial-content p,
  .testimonial-card p,
  .opinion-card p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    -webkit-line-clamp: 5 !important;
    margin-bottom: 16px !important;
    color: #1f2937 !important;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
  }

  .testimonial-item .badge {
    font-size: 9px !important;
    padding: 4px 8px !important;
  }

  .person-name {
    font-size: 13px !important;
  }

  .person-avatar img,
  .person-avatar .avatar-placeholder {
    width: 48px !important;
    height: 48px !important;
  }

  /* Owl Carousel dots - prevent overflow */
  .owl-carousel .owl-dots {
    margin-top: 25px !important;
    padding: 0 15px !important;
    text-align: center !important;
  }

  .owl-carousel .owl-dot {
    margin: 0 4px !important;
  }

  .owl-carousel .owl-dot span {
    width: 8px !important;
    height: 8px !important;
  }

  /* Carousel container */
  .carousel.owl-carousel {
    margin: 0 -10px !important;
    padding: 0 10px !important;
  }

  .fas.fa-quote-left, .fas.fa-quote-right {
    font-size: 12px !important;
  }

  .img-blob {
    padding: 16px !important;
    border-radius: 20px !important;
    margin: 0 10px !important;
  }

  .img-blob img {
    border-radius: 12px !important;
  }

  .dropdown-menu {
    max-width: calc(100vw - 40px) !important;
  }

  /* Counter/Stats numbers - reduce size and add spacing on mobile */
  .counter h3,
  .counter .color-default h3,
  .counter .value,
  .counter span.value,
  .counter-value {
    font-size: 2rem !important;
    line-height: 1 !important;
    margin-bottom: 6px !important;
    word-break: break-word !important;
  }

  .counter p,
  .counter-label {
    font-size: 0.7rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0 !important;
  }

  /* Stats mapa (index): números y labels más compactos en 3 columnas */
  .wrapper.image-wrapper.no-overlay.bg-image h2[data-yaml-key="numberstitle"] {
    font-size: 1.25rem !important;
    line-height: 1.25 !important;
    padding: 0 0.5rem !important;
  }

  .wrapper.image-wrapper.no-overlay.bg-image h3[data-yaml-key="numbersdescription"] {
    font-size: 0.95rem !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
    padding: 0 0.75rem !important;
  }

  .wrapper.image-wrapper.no-overlay.bg-image .row.counter {
    display: flex !important;
    flex-wrap: wrap !important;
    row-gap: 0.25rem !important;
    margin-left: -6px !important;
    margin-right: -6px !important;
  }

  .wrapper.image-wrapper.no-overlay.bg-image .row.counter > [class*="col-"] {
    flex: 0 0 33.333% !important;
    max-width: 33.333% !important;
    min-width: 0 !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    margin-bottom: 0.5rem !important;
  }

  .wrapper.image-wrapper.no-overlay.bg-image .counter h3,
  .wrapper.image-wrapper.no-overlay.bg-image .counter .value,
  .wrapper.image-wrapper.no-overlay.bg-image .counter span.value {
    font-size: 1.25rem !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }

  .wrapper.image-wrapper.no-overlay.bg-image .counter p {
    font-size: 0.58rem !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
  }

  .wrapper.image-wrapper.no-overlay.bg-image .counter .space40 {
    height: 0 !important;
    display: none !important;
  }

  /* Roles: anular h5 genérico 30px del breakpoint 1024px */
  #wrapper_roles #roles.display-3 {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.5rem !important;
  }

  #wrapper_roles .lead {
    font-size: 0.875rem !important;
    padding: 0 0.5rem !important;
  }

  #wrapper_roles h5.card-title,
  #wrapper_roles .role-card .title-color.color-gray {
    font-size: 0.72rem !important;
    letter-spacing: 0.04em !important;
    margin-bottom: 0.5rem !important;
  }

  #wrapper_roles .role-badge.badge,
  #wrapper_roles .badge-outline-primary.role-badge {
    font-size: 0.58rem !important;
    padding: 0.2rem 0.45rem !important;
    margin: 0.15rem !important;
  }

  #wrapper_roles .card-body {
    padding: 0.75rem 0.5rem !important;
  }

  #wrapper_roles .col-lg-4.col-md-6 {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  /* Add padding between counter columns on mobile */
  .counter .col-4,
  .counter .col-6 {
    padding-left: 8px !important;
    padding-right: 8px !important;
    margin-bottom: 20px !important;
  }
  
  .counter {
    padding: 12px 8px !important;
  }
  
  .counter::after {
    width: 30px !important;
  }

  /* Reduce space40 inside counters on mobile */
  .counter .space40 {
    height: 0 !important;
    display: none !important;
  }

  /* Logos - reduce to 3 per row on mobile */
  .clients img {
    max-height: 40px !important;
    max-width: 90px !important;
    margin: 12px 8px !important;
  }

  /* Clients container - better spacing */
  .clients,
  #wrapper_customers .row,
  #wrapper_customers .inner {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  /* If using owl-carousel for logos */
  .clients.owl-carousel {
    padding: 0 5px !important;
  }

  /* Reduce size of large headings like "FRONTEND DEVELOPMENT" */
  h2.display-3,
  h3.display-3,
  .display-3 {
    font-size: 24px !important;
    line-height: 1.3 !important;
    margin-bottom: 20px !important;
  }

  /* Badges inside display headings */
  .display-3 .badge,
  h2 .badge,
  h3 .badge {
    font-size: 10px !important;
    padding: 4px 10px !important;
    display: block !important;
    margin-top: 10px !important;
    margin-bottom: 8px !important;
  }

  /* Footer alignment on mobile */
  footer {
    padding: 0 0 32px !important;
  }

  footer .widget {
    margin-bottom: 35px !important;
    padding-left: 0 !important;
    text-align: left !important;
  }

  footer h5, footer h6 {
    font-size: 13px !important;
    margin-bottom: 18px !important;
    padding-left: 0 !important;
    text-align: left !important;
  }

  footer ul {
    padding-left: 0 !important;
    text-align: left !important;
  }

  footer ul li {
    text-align: left !important;
    padding-left: 0 !important;
  }

  footer .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  footer .col-md-3,
  footer .col-lg-3,
  footer [class*="col-"] {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* Scroll Effect - Add this with JavaScript */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 6px 40px rgba(0, 0, 0, 0.4) !important;
  padding: 8px 0 !important;
}

.navbar.scrolled .navbar-brand img.logo {
  max-height: 45px !important;
}

/* Force override all conflicting styles */
* {
  scrollbar-width: thin !important;
  scrollbar-color: #8b5cf6 rgba(249, 250, 251, 0.8) !important;
}

*::-webkit-scrollbar {
  width: 10px !important;
}

*::-webkit-scrollbar-track {
  background: rgba(249, 250, 251, 0.8) !important;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important;
  border-radius: 5px !important;
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%) !important;
}

/* Final typography overrides to ensure visibility */
p:not(.btn):not(.badge) {
  color: #6b7280 !important;
}

li:not(.nav-item):not(.social li) {
  color: #6b7280 !important;
}

/* Bio/about section text */
#biodescription, #biodescription p, #biodescription li {
  color: #6b7280 !important;
}

/* Wrappers de apoyo: no forzar transparente si son bandas claras (.bg-opacity-default / mapa) */
.wrapper:not(.white-wrapper):not(.light-wrapper):not(.bg-opacity-default):not(.image-wrapper) {
  background: transparent !important;
}

/* Stats sobre mapa: base clara (la imagen va en background-image inline) */
.wrapper.image-wrapper.no-overlay.bg-image {
  background-color: #f1f5f9 !important;
}

/* Ensure proper link colors everywhere */
.wrapper a:not(.btn):not(.nav-link):not(.dropdown-item), .inner a:not(.btn):not(.nav-link):not(.dropdown-item), .content-wrapper a:not(.btn):not(.nav-link):not(.dropdown-item) {
  color: #a78bfa !important;
}

.wrapper a:not(.btn):not(.nav-link):not(.dropdown-item):hover, .inner a:not(.btn):not(.nav-link):not(.dropdown-item):hover, .content-wrapper a:not(.btn):not(.nav-link):not(.dropdown-item):hover {
  color: #8b5cf6 !important;
}

/* Closing push CTA secundario: texto blanco original es invisible sobre el fondo claro de holight */
.learn-closing-push--holo .btn-outline-dark {
  color: #000 !important;
}

.navbar .dropdown-menu,
.navbar-other .dropdown-menu {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12) !important;
  padding: 6px !important;
}
.navbar .dropdown-item,
.navbar-other .dropdown-item,
.navbar-nav .dropdown-item {
  color: #1f2937 !important;
  background: transparent !important;
}
.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus,
.navbar-other .dropdown-item:hover,
.navbar-other .dropdown-item:focus,
.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
  color: #111827 !important;
  background: #f3f4f6 !important;
}
.btn, .sidebar-link.active {
background-color: #cc78d2 !important;
border: none !important;
color: white !important;
}
.navbar-brand > a > img {
height: 70px !important;
}