/* ========================================
   MODERN DESKTOP HERO STYLES
======================================== */

/* Adjust desktop-home-version for the global mini-header */
.desktop-home-version {
  /* Partners section needs to account for CTA bar + mini-header */
}

/* ========================================
   HERO STYLES
======================================== */
.modern-hero-desktop {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
  min-height: auto;
  max-height: none;
  padding-top: 20px; /* Space below navbar */
  padding-bottom: 10px;
}

/* Responsive hero heights */
@media (max-width: 1400px) {
  .modern-hero-desktop {
    min-height: auto;
    max-height: none;
  }
}

@media (max-width: 1200px) {
  .modern-hero-desktop {
    min-height: auto;
    max-height: none;
  }
}

@media (min-width: 2000px) {
  /* Ultra-wide and large screens */
  .modern-hero-desktop {
    min-height: auto;
    max-height: none;
  }
}

.modern-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 50%, rgba(240, 147, 251, 0.05) 100%);
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
}

/* Modern Content Styles */
.modern-content {
  position: relative;
  z-index: 2;
}

.desktop-logo-wrapper {
  animation: fadeInDown 1s ease-out;
}

.modern-headline {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

.gradient-accent {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modern-description {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #64748b;
  max-width: 540px;
}

/* Modern CTA Buttons */
.modern-cta-group {
  margin-top: 2rem;
}

.btn-modern-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  color: white;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  border: none;
}

.btn-modern-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
  color: white;
}

.btn-modern-secondary {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: white;
  color: #0d6efd;
  border: 2px solid #0d6efd;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-modern-secondary:hover {
  background: #0d6efd;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Modern Thumb with Card Effect */
.modern-thumb {
  position: relative;
  z-index: 2;
}

.modern-card-feature {
  background: white;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.modern-card-feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modern-card-feature img {
  border-radius: 16px;
}

/* Slider Controls - Modern Style */
.slider-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 10;
}

.slider-controls .left,
.slider-controls .right {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  color: #0d6efd;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  user-select: none;
}

.slider-controls .left:hover,
.slider-controls .right:hover {
  background: #0d6efd;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .modern-headline {
    font-size: 2.8rem;
  }
  
  .modern-description {
    font-size: 1.05rem;
  }
}

@media (max-width: 992px) {
  .modern-headline {
    font-size: 2.4rem;
  }
  
  .modern-description {
    font-size: 1rem;
  }
  
  .btn-modern-primary,
  .btn-modern-secondary {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}

/* Animation keyframes */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   MODERN ABOUT SECTION STYLES
======================================== */
.modern-about-section {
  padding-top: 100px;
  padding-bottom: 100px;
}

.modern-section-header {
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  border: 2px solid rgba(102, 126, 234, 0.3);
  border-radius: 50px;
  color: #0d6efd;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.modern-section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 1rem;
}

.modern-section-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  margin: 0;
}

/* Modern Content Card */
.modern-content-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 100%;
}

.modern-content-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.modern-card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: white;
}

.modern-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.modern-card-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #64748b;
}

/* About tab: keep 'Our Story' card height aligned with accordion */
.about-story-card {
  display: flex;
  flex-direction: column;
}

@media (min-width: 992px) {
  /*
    We measure and set `--about-equal-height` via JS when the About tab becomes active.
    This keeps both columns the same height even when "Ver más" expands content.
  */
  #tab-about.about-equal-height .about-story-card,
  #tab-about.about-equal-height .modern-accordion-wrapper {
    height: var(--about-equal-height) !important;
  }

  #tab-about.about-equal-height .modern-accordion-wrapper {
    overflow: hidden;
  }

  #tab-about.about-equal-height .modern-accordion {
    height: 100%;
    overflow: hidden;
  }
}

.about-story-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.about-story-card #show-more.more {
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
}

.about-story-card.is-expanded .about-story-content {
  overflow: auto;
}

.about-story-card.is-expanded #show-more {
  max-height: 2000px;
  visibility: visible;
}

.btn-modern-link {
  background: none;
  border: none;
  color: #0d6efd;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.btn-modern-link:hover {
  color: #0a58ca;
  transform: translateX(5px);
}

/* Modern Accordion */
.modern-accordion-wrapper {
  height: 100%;
}

.modern-accordion {
  background: transparent;
  border: none;
}

/*
  Bootstrap uses `.collapse`/`.collapsing` for accordion panels.
  Tailwind also defines a `.collapse` utility as `visibility: collapse;`.
  When both are present, accordion content can disappear/flicker.
*/
.modern-accordion .collapse,
.modern-accordion .collapsing {
  visibility: visible !important;
}

.modern-accordion-item {
  background: white;
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.modern-accordion-item:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.modern-accordion-header {
  padding: 0;
}

.modern-accordion-button {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modern-accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.accordion-icon-wrapper {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.modern-accordion-button:not(.collapsed) .accordion-icon-wrapper {
  transform: scale(1.1);
}

.accordion-chevron {
  margin-left: auto;
  transition: transform 0.3s ease;
  color: #64748b;
}

.modern-accordion-button:not(.collapsed) .accordion-chevron {
  transform: rotate(180deg);
}

.modern-accordion-body {
  padding: 0 24px 24px 24px;
  color: #64748b;
  line-height: 1.7;
}

.modern-values-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modern-values-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #475569;
}

/* Responsive */
@media (max-width: 768px) {
  .modern-section-title {
    font-size: 2rem;
  }
  
  .modern-content-card {
    padding: 30px;
  }
  
  .modern-accordion-button {
    font-size: 0.95rem;
    padding: 16px 20px;
  }
}

/* ========================================
   DESKTOP SERVICES SECTION STYLES
======================================== */
.desktop-services-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 80px 0;
}

.desktop-service-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 20px;
  padding: 32px 24px;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.desktop-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.desktop-service-card:hover::before {
  transform: scaleX(1);
}

.desktop-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: transparent;
}

.desktop-service-card .service-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
  padding: 12px;
}

.desktop-service-card .service-card-icon img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.desktop-service-card:hover .service-card-icon {
  transform: scale(1.1);
}

.desktop-service-card .service-card-icon i {
  font-size: 1.75rem;
  color: white;
}

.desktop-service-card h5 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
}

.desktop-service-card p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.desktop-service-card .service-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #f8fafc;
  border-radius: 50%;
  color: #0d6efd;
  transition: all 0.3s ease;
}

.desktop-service-card:hover .service-card-arrow {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  color: white;
  transform: translateX(5px);
}

/* Icon gradient backgrounds */
.bg-gradient-red {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.bg-gradient-cyan {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.bg-gradient-teal {
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
}

.bg-gradient-green {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Animation on scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
  
  .desktop-service-card,
  .desktop-service-card .service-card-icon,
  .desktop-service-card .service-card-arrow {
    transition: none;
  }
  
  .desktop-service-card:hover {
    transform: none;
  }
}

/* ========================================
   DESKTOP PARTNERS SECTION
======================================== */
.desktop-partners-section {
  border-bottom: 1px solid #e9ecef;
}

.desktop-partners-scroll {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.desktop-partners-track {
  display: flex;
  gap: 60px;
  animation: scrollPartners 30s linear infinite;
  width: max-content;
}

.desktop-partners-track:hover {
  animation-play-state: paused;
}

.partner-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  opacity: 0.6;
  filter: grayscale(100%);
  /* Fixed container for uniform logo sizing */
  width: 120px;
  height: 50px;
  overflow: hidden;
}

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

.partner-logo-link img {
  max-height: 40px;
  max-width: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

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

/* ========================================
   SCROLL REVEAL ANIMATIONS
======================================== */
.sr-item {
  visibility: hidden;
}

.hero-animate {
  opacity: 0;
  transform: translateY(30px);
}

.hero-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Staggered animations for hero elements */
.hero-animate[data-sr-delay="100"] { transition-delay: 0.1s; }
.hero-animate[data-sr-delay="200"] { transition-delay: 0.2s; }
.hero-animate[data-sr-delay="300"] { transition-delay: 0.3s; }
.hero-animate[data-sr-delay="400"] { transition-delay: 0.4s; }
.hero-animate[data-sr-delay="500"] { transition-delay: 0.5s; }
.hero-animate[data-sr-delay="600"] { transition-delay: 0.6s; }

/* ========================================
   MINI HEADER ADJUSTMENTS FOR INDEX PAGE
   Main styles are in header-global.css
======================================== */

/* Adjust content padding for fixed mini-header */
.desktop-home-version .desktop-partners-top {
  margin-top: 0; /* Header already accounted for in main-with-mini-header */
}

.desktop-hero-content {
  padding-top: 100px;
  padding-bottom: 20px;
}

.desktop-home-version .welcome-area {
  padding-top: 20px !important;
}

/* ========================================
   COMBINED SECTION - TABS NAVIGATION
======================================== */
.combined-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.combined-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* 4 tabs layout */
.combined-tabs-nav.four-tabs {
  gap: 0.75rem;
  flex-wrap: wrap;
}

.combined-tabs-nav.four-tabs .combined-tab-btn {
  flex: 0 1 auto;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
}

.combined-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid #e2e8f0;
  border-radius: 50px;
  background: #fff;
  color: #64748b;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.combined-tab-btn i {
  font-size: 1.1rem;
}

.combined-tab-btn:hover {
  border-color: #0d6efd;
  color: #0d6efd;
}

.combined-tab-btn.active {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

/* Tab Content */
.combined-tabs-content {
  position: relative;
  min-height: 400px;
}

.combined-tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.combined-tab-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Compact Service Cards for Tab View */
.desktop-service-card.compact {
  padding: 1.25rem 1rem;
  text-align: center;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* Override scroll animations - always visible in tabs */
  opacity: 1 !important;
  transform: none !important;
}

.desktop-service-card.compact .service-card-icon {
  width: 56px;
  height: 56px;
  font-size: 1.5rem;
  margin: 0 auto 0.75rem;
  flex-shrink: 0;
  padding: 10px;
}

.desktop-service-card.compact .service-card-icon img {
  max-width: 100%;
  max-height: 100%;
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.desktop-service-card.compact h5 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0;
  color: #1e293b;
}

.desktop-service-card.compact p {
  display: none;
}

.desktop-service-card.compact .service-card-arrow {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 28px;
  height: 28px;
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.3s ease;
}

.desktop-service-card.compact:hover .service-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .combined-tabs-nav.four-tabs {
    gap: 0.5rem;
  }
  
  .combined-tabs-nav.four-tabs .combined-tab-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  
  .combined-tabs-nav.four-tabs .combined-tab-btn i {
    font-size: 1rem;
  }
  
  .combined-tabs-nav.four-tabs .combined-tab-btn span {
    display: none;
  }
}

@media (max-width: 768px) {
  .combined-tabs-nav {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .combined-tabs-nav.four-tabs {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .combined-tabs-nav.four-tabs .combined-tab-btn {
    flex: 1 1 calc(50% - 0.5rem);
  }
  
  .combined-tabs-nav.four-tabs .combined-tab-btn span {
    display: inline;
    font-size: 0.8rem;
  }
  
  .combined-tab-btn {
    justify-content: center;
    width: 100%;
  }
  
  .combined-tabs-content {
    min-height: auto;
  }
}

/* ========================================
   PARTNERS TOP SECTION (Above Hero)
======================================== */
.desktop-partners-top {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 0.75rem 0;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.desktop-partners-top .desktop-partners-scroll {
  overflow: hidden;
  position: relative;
  /* Fade edges for seamless look */
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.desktop-partners-top .desktop-partners-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  animation: scrollPartnersTop 25s linear infinite;
  width: max-content;
  will-change: transform;
}

.desktop-partners-top .desktop-partners-track:hover {
  animation-play-state: paused;
}

.desktop-partners-top .partner-logo-link {
  /* Fixed container for uniform logo sizing */
  width: 100px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.desktop-partners-top .partner-logo-link:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

.desktop-partners-top .partner-logo-link img {
  max-height: 28px;
  max-width: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

/* HPE logo specific sizing - new logo has different proportions */
.desktop-partners-top .partner-logo-link img[alt="HPE"] {
  max-height: 22px;
  max-width: 70px;
}

/* Infinite scroll animation - moves exactly 50% (one full set) */
@keyframes scrollPartnersTop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ========================================
   STATIC HERO (No Carousel)
======================================== */
.modern-hero-static {
  position: relative;
}

.modern-hero-static .container {
  position: relative;
  z-index: 5;
}

.hero-image-container {
  position: relative;
  overflow: hidden;
}

.hero-image-container::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.03) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

/* ========================================
   HERO CTA TABS (Like Screenshot)
======================================== */
.hero-cta-tabs {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.cta-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.cta-tab-btn i {
  font-size: 1.1rem;
}

.cta-tab-primary {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.4);
}

.cta-tab-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(13, 110, 253, 0.5);
  color: #fff;
}

.cta-tab-outline {
  background: #fff;
  color: #0d6efd;
  border-color: #0d6efd;
}

.cta-tab-outline:hover {
  background: #0d6efd;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

/* ========================================
   MODERN TABS SECTION (Main Content Hub)
======================================== */
.modern-tabs-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.modern-tabs-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  padding: 0.5rem;
  background: #fff;
  border-radius: 60px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.modern-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 50px;
  background: transparent;
  color: #64748b;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.modern-tab-btn i {
  font-size: 1rem;
}

.modern-tab-btn:hover {
  background: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
}

.modern-tab-btn.active {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

/* Modern Tabs Content */
.modern-tabs-content {
  position: relative;
  min-height: 350px;
}

.modern-tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.modern-tab-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   DEMO REQUEST TAB STYLES
======================================== */
.demo-request-card {
  background: #fff;
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.demo-info {
  padding-right: 2rem;
}

.demo-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.demo-description {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.demo-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.demo-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: #475569;
}

.demo-features li i {
  font-size: 1.1rem;
}

/* Demo Contact Options */
.demo-cta-box {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 20px;
  padding: 2rem;
}

.demo-contact-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.demo-option-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.demo-option-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.demo-option-btn i {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.demo-option-btn div {
  display: flex;
  flex-direction: column;
}

.demo-option-btn strong {
  font-size: 0.95rem;
  color: #1e293b;
}

.demo-option-btn small {
  font-size: 0.8rem;
  color: #94a3b8;
}

.demo-option-btn.primary {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  border-color: transparent;
}

.demo-option-btn.primary i,
.demo-option-btn.primary strong {
  color: #fff;
}

.demo-option-btn.primary small {
  color: rgba(255, 255, 255, 0.8);
}

.demo-option-btn.primary:hover {
  box-shadow: 0 6px 25px rgba(13, 110, 253, 0.4);
}

.demo-option-btn.whatsapp {
  background: #25d366;
  border-color: transparent;
}

.demo-option-btn.whatsapp i,
.demo-option-btn.whatsapp strong {
  color: #fff;
}

.demo-option-btn.whatsapp small {
  color: rgba(255, 255, 255, 0.8);
}

.demo-option-btn.whatsapp:hover {
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.demo-option-btn.call i {
  color: #0d6efd;
}

.demo-option-btn.email i {
  color: #f59e0b;
}

/* ========================================
   SOLUTION HIGHLIGHT CARDS (Ver Soluciones Tab)
======================================== */
.solution-highlight-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 100%;
}

.solution-highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.solution-card-header {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-card-header i {
  font-size: 3rem;
  color: #fff;
}

.solution-card-body {
  padding: 1.5rem 2rem 2rem;
}

.solution-card-body h5 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.solution-card-body p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.solution-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0d6efd;
  text-decoration: none;
  transition: all 0.3s ease;
}

.solution-link:hover {
  gap: 0.75rem;
  color: #0a58ca;
}

.solution-link i {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.solution-highlight-card:hover .solution-link i {
  transform: translateX(3px);
}

/* ========================================
   RESPONSIVE FOR NEW TABS
======================================== */
@media (max-width: 1200px) {
  .modern-tabs-nav {
    gap: 0.25rem;
  }
  
  .modern-tab-btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
  }
  
  .demo-request-card {
    padding: 2rem;
  }
  
  .demo-info {
    padding-right: 0;
    margin-bottom: 2rem;
  }
}

@media (max-width: 991px) {
  .modern-tabs-nav {
    max-width: 100%;
    padding: 0.75rem;
    border-radius: 16px;
  }
  
  .modern-tab-btn {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
  
  .modern-tab-btn span {
    display: none;
  }
  
  .modern-tab-btn i {
    font-size: 1.2rem;
  }
  
  .demo-contact-options {
    grid-template-columns: 1fr;
  }
  
  .hero-cta-tabs {
    flex-wrap: wrap;
  }
  
  .cta-tab-btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  /* Keep partners visible on mobile - positioned at top */
  .desktop-partners-top {
    padding: 0.75rem 0;
    margin-top: 0 !important;
    position: relative;
    z-index: 100;
  }
  
  .desktop-partners-top .partner-logo-link {
    width: 80px;
    height: 32px;
    opacity: 0.6;
  }
  
  .desktop-partners-top .partner-logo-link:hover {
    opacity: 1;
  }
  
  .desktop-partners-top .partner-logo-link img {
    max-height: 24px;
    max-width: 70px;
  }
  
  .desktop-partners-top .desktop-partners-track {
    gap: 1.5rem;
  }
  
  /* Hide desktop tabs section on mobile */
  .modern-tabs-section {
    display: none;
  }
  
  /* Ensure hero content has proper spacing */
  .modern-hero-desktop {
    padding-top: 0;
    min-height: auto;
  }
}

/* ========================================
   QUICK ACCESS GRID - Solo responsive hide
   Todos los estilos manejados por Tailwind
======================================== */
@media (max-width: 991px) {
  .quick-access-grid {
    display: none;
  }
}
