/* SERVICES SECTION - VERSION MEJORADA */
.services-section {
  background-image: url('../assets/img/Patronrosa.png');
  background-size: 800px;
  background-position: start;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-blend-mode: multiply; /* antes: multiply */
  background-color: rgb(241, 183, 241);
}

.services-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 50%);
  z-index: -1;
}

.service-card {
  border-radius: 18px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s ease;
  height: 100%;
  background-color: white;
  box-shadow: 0 12px 24px -8px rgba(108, 99, 255, 0.1);
  border: 1px solid rgba(108, 99, 255, 0.08);
  overflow: hidden;
  position: relative;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 24px 48px -12px rgba(108, 99, 255, 0.2);
}

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

.service-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(108, 99, 255, 0.08);
  border-radius: 22px;
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  background-color: rgba(108, 99, 255, 0.15);
  transform: rotate(8deg);
}

.service-icon i {
  font-size: 2.5rem;
  color: var(--primary-color);
  transition: transform 0.4s ease;
}

.service-card:hover .service-icon i {
  transform: scale(1.15);
}

.service-card h4 {
  margin-bottom: 1.25rem;
  font-size: 1.375rem;
  color: var(--dark-color);
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.service-card h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--primary-color);
  opacity: 0.3;
  transition: all 0.4s ease;
}

.service-card:hover h4::after {
  width: 80px;
  opacity: 1;
}

.service-card p {
  color: var(--gray-color);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.service-card a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.service-card a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.service-card a:hover {
  color: var(--secondary-color);
  gap: 0.75rem;
}

.service-card a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.services-section p.lead {
  color: var(--dark-color);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 3rem auto 0;
  padding: 2rem;
  text-align: center;
  position: relative;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
  .services-section {
    background-size: 600px;
  }
}

@media (max-width: 992px) {
  .services-section {
    padding: 5rem 0;
    margin: 5rem 0;
    background-attachment: scroll;
  }
  
  .service-card {
    padding: 2rem 1.5rem;
  }
  
  .service-icon {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 768px) {
  .services-section {
    background-size: 400px;
  }
  
  .services-section p.lead {
    padding: 1.5rem;
    font-size: 1.1rem;
    margin-top: 2rem;
  }
}

@media (max-width: 576px) {
  .services-section {
    padding: 4rem 0;
    margin: 4rem 0;
    background-size: 300px;
  }
  
  .service-card {
    padding: 1.75rem 1.25rem;
    border-radius: 14px;
  }
  
  .service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
  }
  
  .services-section p.lead {
    padding: 1.25rem;
    font-size: 1rem;
  }
}

/* ANIMATION PERFORMANCE OPTIMIZATION */
@media (prefers-reduced-motion: reduce) {
  .service-card,
  .service-card::after,
  .service-icon,
  .service-icon i,
  .service-card h4::after,
  .service-card a,
  .service-card a::after {
    transition: none !important;
  }
  
  .service-card:hover {
    transform: none !important;
  }
}
.text-decoration-none{
  color: var(--primary-color);
}