/* Improved styling for Use, Genere, Integre cards with vibrant tech colors */
.integrations-block {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  border: 2px solid transparent;
  border-radius: 1.5rem;
  padding: 1.8rem;
  flex-flow: column;
  display: flex;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
              0 0 0 1px rgba(59, 130, 246, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.integrations-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4, #10b981);
  background-size: 300% 100%;
  animation: gradientShift 3s ease infinite;
  opacity: 0.8;
}

.integrations-block::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
  pointer-events: none;
}

.integrations-block:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3), 
              0 0 0 2px rgba(59, 130, 246, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(59, 130, 246, 0.3);
}

.integrations-block.second {
  background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #10b981 100%);
  border-color: rgba(16, 185, 129, 0.2);
  width: 100%;
}

.integrations-block.second::before {
  background: linear-gradient(90deg, #10b981, #06b6d4, #3b82f6, #8b5cf6);
}

.integrations-block.first {
  background: linear-gradient(135deg, #7c2d12 0%, #c2410c 50%, #ea580c 100%);
  border-color: rgba(234, 88, 12, 0.2);
  width: 100%;
}

.integrations-block.first::before {
  background: linear-gradient(90deg, #ea580c, #f59e0b, #eab308, #84cc16);
}

.integrations-block.second:hover {
  box-shadow: 0 20px 60px rgba(16, 185, 129, 0.3), 
              0 0 0 2px rgba(16, 185, 129, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(16, 185, 129, 0.3);
}

.integrations-block.first:hover {
  box-shadow: 0 20px 60px rgba(234, 88, 12, 0.3), 
              0 0 0 2px rgba(234, 88, 12, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(234, 88, 12, 0.3);
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Enhanced text styling for vibrant tech theme */
.integrations-content .text-size-large {
  color: #ffffff !important;
  font-weight: 800 !important;
  margin-bottom: 0.8rem !important;
  font-size: 1.5rem !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 2;
}

.integrations-content .text-size-large::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
  border-radius: 2px;
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
  opacity: 0.8;
}

.integrations-content .text-size-regular {
  color: rgba(255, 255, 255, 0.9) !important;
  line-height: 1.6 !important;
  font-size: 1rem !important;
  position: relative;
  z-index: 2;
  font-weight: 400;
}

/* Tech-style image container */
.integrations-image {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 0;
  margin-bottom: 1.2rem !important;
  border: 2px solid rgba(59, 130, 246, 0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2),
              inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.integrations-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, 
    transparent 30%, 
    rgba(255, 255, 255, 0.1) 50%, 
    transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.integrations-block:hover .integrations-image {
  transform: scale(1.05) rotate(1deg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(59, 130, 246, 0.8);
  border-width: 3px;
}

.integrations-block:hover .integrations-image::before {
  transform: translateX(100%);
}

/* Add tech grid pattern overlay */
.integrations-block .integrations-image img {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
  transition: all 0.4s ease;
}

.integrations-block:hover .integrations-image img {
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.4)) brightness(1.1);
}

/* Add tech-style grid pattern background */
.integrations-block {
  background-image: 
    linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 20px,
      rgba(59, 130, 246, 0.03) 20px,
      rgba(59, 130, 246, 0.03) 21px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 20px,
      rgba(59, 130, 246, 0.03) 20px,
      rgba(59, 130, 246, 0.03) 21px
    );
}

/* Add floating particles effect */
.integrations-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 2px, transparent 2px),
    radial-gradient(circle at 70% 20%, rgba(139, 92, 246, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 40% 70%, rgba(6, 182, 212, 0.1) 1.5px, transparent 1.5px),
    radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.1) 1px, transparent 1px);
  background-size: 100px 100px, 80px 80px, 120px 120px, 90px 90px;
  animation: float 15s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-10px) rotate(1deg); }
  66% { transform: translateY(5px) rotate(-1deg); }
}

/* Enhanced hover effects for Alison and DigSign suite cards */
.cs-suite__card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.cs-suite__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, 
    transparent 30%, 
    rgba(255, 255, 255, 0.1) 50%, 
    transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.cs-suite__card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.2),
              0 0 0 2px rgba(59, 130, 246, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(59, 130, 246, 0.4);
}

.cs-suite__card:hover::before {
  transform: translateX(100%);
}

.cs-suite__card--soft:hover {
  box-shadow: 0 20px 60px rgba(110, 231, 255, 0.2),
              0 0 0 2px rgba(110, 231, 255, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(110, 231, 255, 0.4);
}

/* Enhanced icon hover effects */
.cs-suite__icon {
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.cs-suite__icon--gear {
  transition: all 0.3s ease;
}

.cs-suite__card:hover .cs-suite__icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.cs-suite__card:hover .cs-suite__icon--gear {
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 8px 25px rgba(110, 231, 255, 0.3);
}

/* Enhanced text hover effects */
.cs-suite__cardTitle {
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.cs-suite__card:hover .cs-suite__cardTitle {
  color: #3b82f6 !important;
  transform: translateY(-2px);
}

.cs-suite__card:hover .cs-suite__text {
  color: #1e293b !important;
  transform: translateY(-1px);
}

/* Enhanced button hover effects in cards */
.cs-suite__card .product-button {
  transition: all 0.3s ease;
  position: relative;
  z-index: 3;
}

.cs-suite__card:hover .product-button {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #ffffff, #f8fafc);
}

/* Responsive improvements */
@media (max-width: 767px) {
  .integrations-block {
    padding: 1.2rem;
    margin-bottom: 1rem;
    min-height: 280px;
  }
  
  .integrations-block:hover {
    transform: translateY(-6px) scale(1.01);
  }
  
  .integrations-content .text-size-large {
    font-size: 1.3rem !important;
  }
  
  .integrations-content .text-size-regular {
    font-size: 0.95rem !important;
  }
  
  .integrations-image {
    height: 120px;
    padding: 1rem;
  }
  
  .cs-suite__card:hover {
    transform: translateY(-4px) scale(1.01);
  }
}
.sticky-images.middle {
  display: none !important;
}

/* Blog Section Styles */
.section-blog {
  padding: 4rem 0 2rem;
  background-color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.section-header p {
  font-size: 1.25rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog-list-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.blog-list-item:hover {
  transform: translateY(-5px);
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-5px);
}

.blog-card-image {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.blog-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.title-wrapper h3 {
  font-size: 1.375rem;
  margin: 0 0 0.75rem;
  color: #1a1a1a;
  line-height: 1.3;
}

.blog-date {
  display: block;
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 1rem;
}

.card-content p {
  color: #4d4d4d;
  margin: 0 0 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
}

.read-more-button {
  display: inline-flex;
  align-items: center;
  color: #1E73BE;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
  margin-top: auto;
}

.read-more-button .arrow {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
  width: 16px;
  height: 16px;
}

.blog-card:hover .read-more-button {
  color: #155a9e;
}

.blog-card:hover .read-more-button .arrow {
  transform: translateX(4px);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .blog-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .section-blog {
    padding: 4rem 0;
  }
  
  .section-header h2 {
    font-size: 2.25rem;
  }
}

@media (max-width: 767px) {
  .blog-list {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 550px;
    margin: 0 auto;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .section-header p {
    font-size: 1.125rem;
  }
  
  .card-content {
    padding: 1.5rem;
  }
}

/* Mobile Menu Enhancements */
@media (max-width: 991px) {
  /* Larger logo on mobile */
  .navbar-2 .brand img.image-10 {
    max-height: 70px !important;
    width: auto !important;
    transform: scale(1.4);
    transform-origin: left center;
    margin: 10px 0;
  }
  
  /* Larger hamburger menu button */
  .menu-button.w-nav-button {
    width: 60px;
    height: 60px;
    padding: 15px;
    margin: 5px 0;
  }
  
  /* Larger hamburger menu icon */
  .w-icon-nav-menu:before {
    font-size: 32px !important;
  }
  
  /* Hero Section - Mobile */
  .hero-component {
    padding-top: 30px !important;
    text-align: center;
  }
  
  .hero-component .image-9 {
    max-width: 80% !important;
    height: auto !important;
    margin: 0 auto 30px !important;
  }
  
  .heading-2 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
    padding: 0 1rem;
  }
  
  /* Trusted By Logos */
  .trusted-by-hero-logos {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem;
  }
  
  .trusted-by-hero-logos .logos {
    flex: 0 0 calc(33.333% - 1rem);
    margin: 0.5rem;
  }
  
  /* Benefits Section */
  .benefits-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    padding: 0 1rem;
  }
  
  .benefit-card {
    padding: 1.5rem !important;
    margin-bottom: 1rem;
  }
  
  /* Steps Section */
  .steps-wrapper .header {
    padding: 0 1rem;
  }
  
  .steps-card {
    flex-direction: column !important;
    text-align: center;
  }
  
  .steps-content {
    margin-bottom: 1.5rem;
  }
  
  .right-content {
    margin-top: 1.5rem;
  }
  
  /* Blog Section */
  .section-blog {
    padding: 2rem 1rem !important;
  }
  
  .blog-list {
    grid-template-columns: 1fr !important;
    padding: 0 1rem;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 2rem;
  }
  
  .footer-grid-wrap {
    margin-bottom: 2rem;
  }
  
  /* General Typography */
  .heading-4 {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
    padding: 0 1rem;
  }
  
  .text-size-regular {
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
  }
  
  /* Buttons */
  .primary-button-3, 
  .secondary-button,
  .primary-button-4 {
    width: 100% !important;
    max-width: 280px;
    margin: 0.5rem auto !important;
    display: block;
    text-align: center;
  }
  
  /* Mobile navbar buttons */
  .mobile-navbar-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 1rem;
  }
  
  .double-button-component {
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
  }
  
  /* Hero Section Adjustments */
  .hero-component {
    padding-top: 40px !important;
    text-align: center;
  }
  
  .hero-component .image-9 {
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto 30px !important;
  }
  
  .heading-2 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
    margin-bottom: 1.5rem !important;
  }
  
  /* Features Grid Adjustments */
  .about-features-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  .about-features-card {
    margin-bottom: 2rem;
  }
  
  .about-features-image {
    margin-bottom: 1.5rem;
  }
  
  .about-features-content {
    padding: 0 1rem;
  }
  
  /* Buttons Adjustments */
  .double-button-component {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .primary-button-3, .secondary-button,
  .primary-button-4 {
    width: 100%;
    max-width: 280px;
    margin: 0.5rem auto;
  }
  
  /* Footer Adjustments */
  .footer-grid {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 2rem;
  }
  
  .footer-grid-wrap {
    margin-bottom: 1.5rem;
  }
  
  /* Banner Section */
  .banner-content {
    padding: 2rem 1rem !important;
    text-align: center;
  }
  
  .banner-content .heading-5 {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
  }
  
  /* General Typography */
  .heading-4 {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
  }
  
  .text-size-large {
    font-size: 1.1rem !important;
  }
  
  /* Padding and Margins */
  .padding-global {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  
  .section-2 {
    padding: 3rem 0 !important;
  }
  
  /* Better spacing for mobile navigation */
  .navbar-2 .w-nav-button {
    margin-right: 10px;
  }
  
  /* Ensure header has enough height for larger elements */
  .navbar-2 {
    min-height: 80px;
    padding: 10px 0;
  }
}

/* Responsive heading for mobile devices */
@media (max-width: 767px) {
  .hero-component .heading-2 {
    font-size: 2rem;
    line-height: 1.2;
  }
}

/* Variables CSS */
:root {
    --header-height: 140px;
    --header-bg-color: rgba(255, 255, 255, 0.98);
    --header-blur: 15px;
    --header-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --primary-color: #007bff;
    --transition-speed: 0.3s;
    --hover-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --success-color: #28a745;
    --text-color: #333;
    --text-light: #6c757d;
    --spacing-unit: 1rem;
    --border-radius: 8px;
}

/* Reset y compatibilidad base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilos base del header */
.navbar-2 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: var(--header-bg-color);
    -webkit-backdrop-filter: blur(var(--header-blur));
    backdrop-filter: blur(var(--header-blur));
    box-shadow: var(--header-shadow);
    -webkit-transition: all var(--transition-speed) ease;
    -moz-transition: all var(--transition-speed) ease;
    -o-transition: all var(--transition-speed) ease;
    transition: all var(--transition-speed) ease;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    -o-align-items: center;
    align-items: center;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
    -o-justify-content: space-between;
    justify-content: space-between;
    padding: 0 40px;
}

/* Thank You Page Styles */
.section-thankyou {
    padding: 120px 0;
    background-color: #f8f9fa;
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
}

.thankyou-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.thankyou-icon {
    margin-bottom: 2rem;
}

.thankyou-icon svg {
    width: 80px;
    height: 80px;
}

.thankyou-content h1 {
    color: var(--text-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.thankyou-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.thankyou-content .button-primary-4 {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.thankyou-content .button-primary-4:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .thankyou-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .thankyou-content h1 {
        font-size: 2rem;
    }
    
    .thankyou-icon svg {
        width: 60px;
        height: 60px;
    }
}

/* Ajuste para el menú fijo */
.navbar-2.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 1);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
    padding: 0 30px;
}

/* Ocultar menú en la sección about-hero-interaction */
.about-hero-interaction {
    margin-top: var(--header-height);
    padding-top: var(--header-height);
    position: relative;
    z-index: 1;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.about-hero-interaction .navbar-2 {
    display: block !important;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Efectos hover mejorados */
.nav-link-2 {
    position: relative;
    -webkit-transition: all var(--transition-speed) ease;
    -moz-transition: all var(--transition-speed) ease;
    -o-transition: all var(--transition-speed) ease;
    transition: all var(--transition-speed) ease;
    padding: 10px 15px;
}

.nav-link-2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    -webkit-transition: width var(--transition-speed) ease;
    -moz-transition: width var(--transition-speed) ease;
    -o-transition: width var(--transition-speed) ease;
    transition: width var(--transition-speed) ease;
}

.nav-link-2:hover {
    color: var(--primary-color) !important;
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
    transform: translateY(-2px);
}

.nav-link-2:hover::after {
    width: 100%;
}

/* Botón de contacto mejorado */
.primary-button-3 {
    position: relative;
    -webkit-transition: all var(--transition-speed) ease;
    -moz-transition: all var(--transition-speed) ease;
    -o-transition: all var(--transition-speed) ease;
    transition: all var(--transition-speed) ease;
    overflow: hidden;
}

.primary-button-3::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.5), transparent);
    -webkit-transition: left var(--transition-speed) ease;
    -moz-transition: left var(--transition-speed) ease;
    -o-transition: left var(--transition-speed) ease;
    transition: left var(--transition-speed) ease;
}

.primary-button-3:hover {
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
    transform: translateY(-2px);
    box-shadow: var(--hover-shadow);
}

/* Fallback para backdrop-filter */
@supports not ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
    .navbar-2 {
        background: rgba(255, 255, 255, 1);
    }
    
    .navbar-2.fixed {
        background: rgba(255, 255, 255, 1);
    }
}

/* Fallback para CSS Grid y Flexbox */
@supports not (display: grid) {
    .navbar-2 {
        display: block;
    }
}

/* Fallback para transform */
@supports not (transform: translateZ(0)) {
    .about-hero-interaction,
    .about-hero-interaction .navbar-2 {
        -webkit-transform: none;
        transform: none;
    }
}

.primary-button-3:hover::before {
    left: 100%;
}

/* Logo mejorado */
.brand {
    transition: all var(--transition-speed) ease;
    display: flex;
    align-items: center;
}

.brand:hover {
    transform: scale(1.05);
}

.brand img {
    height: 120px;
    transition: all var(--transition-speed) ease;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-top: -20px;
}

/* Responsive design - Mobile */
@media screen and (max-width: 768px) {
    :root {
        --header-height: 140px;
    }
    
    .brand img {
        height: 120px;
        margin-top: -30px;
    }
    
    .navbar-2 {
        padding: 0 20px;
    }
    
    .nav-menu-3 {
        padding: 20px 0;
    }
    
    .nav-link-2 {
        padding: 15px 10px;
        font-size: 1.2rem;
    }
    
    .primary-button-3 {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}

/* Responsive design - Tablet */
@media screen and (max-width: 1024px) {
    :root {
        --header-height: 130px;
    }
    
    .brand img {
        height: 110px;
        margin-top: -25px;
    }
    
    .navbar-2 {
        padding: 0 25px;
    }
}

.brand:hover img {
    filter: brightness(1.1) contrast(1.1);
}

/* Menú móvil mejorado */
@media (max-width: 768px) {
    .navbar-2 {
        background: rgba(255, 255, 255, 1);
        backdrop-filter: none;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
    }
    
    .menu-button {
        transition: all var(--transition-speed) ease;
        padding: 10px;
    }
    
    .menu-button:hover {
        transform: scale(1.1);
        background: rgba(0, 123, 255, 0.1);
        border-radius: 50%;
    }
    
    .nav-menu-3 {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
}

/* Espaciado mejorado */
body {
    padding-top: calc(var(--header-height) + 20px);
}

@media (max-width: 768px) {
    body {
        padding-top: calc(var(--header-height) + 30px);
    }
}

/* Primera sección mejorada */
section:first-of-type {
    margin-top: 10px;
    padding-top: 10px;
}

@media (max-width: 768px) {
    section:first-of-type {
        margin-top: 20px;
        padding-top: 10px;
    }
}

/* Ajuste para el contenido hero */
.hero-wrapper {
    margin-top: -20px;
    padding-top: 0;
}

.hero-component {
    margin-top: 0;
    padding-top: 0;
}

/* Efectos de scroll mejorados */
.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-10px);
}

.scrolled .nav-link-2 {
    color: var(--primary-color) !important;
}

.scrolled .nav-link-2::after {
    width: 100%;
}

/* Animación de entrada */
.navbar-2 {
    animation: headerFadeIn 0.5s ease-out;
}

@keyframes headerFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
