/* Estilos generales */
.slider-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #000; /* Fondo negro */
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.slider-container {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  max-width: 1800px;
  margin: 0 auto;
}

/* Slider principal (95% de ancho) */
.header-prin {
  position: relative;
  height: 100vh;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  animation: containerFadeIn 1s ease-out 0.2s forwards;
}

/* Efecto de overlay mejorado */
.mo_overlay::before {

  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg, 
    rgba(0, 0, 0, 0.7) 0%, 
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
  border-radius: 12px;
}

/* Efecto brillante en el borde */
.header-prin::after {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg, 
    transparent, 
    rgba(255, 255, 255, 0.6), 
    transparent
  );
  animation: shimmer 3s ease-in-out infinite;
  z-index: 3;
  border-radius: 12px 12px 0 0;
}

@keyframes shimmer {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.swiper-hero {
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 12px;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  padding: 40px;
  width: 100%;
}

.content-default {
  max-width: 800px;
  margin: 0 auto;
}

.content-heading {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(30px);
  animation: slideInUp 0.8s ease-out 0.3s forwards;
}

.bold-heading {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.highlight {
  background: linear-gradient(45deg, #007bff, #007bff, #007bff);
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 3s ease infinite;
  font-size: 1.1em;
  font-weight: 900;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  margin-bottom: 2rem;
  opacity: 0.95;
  font-weight: 300;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(30px);
  animation: slideInUp 0.8s ease-out 0.5s forwards;
}

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Navegación del slider */
.slider-nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: white;
  font-size: 2rem;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-nav-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.prev-button {
  left: 20px;
}

.next-button {
  right: 20px;
}

/* Paginación mejorada */
.swiper-pagination-bullets-default {
  bottom: 30px !important;
}

.swiper-pagination-bullets-default .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  margin: 0 8px !important;
}

.swiper-pagination-bullets-default .swiper-pagination-bullet-active {
  background: linear-gradient(45deg, #007bff, #007bff);
  transform: scale(1.3);
  box-shadow: 0 0 20px rgba(255, 107, 107, 0.4);
}

.swiper-pagination-bullets-default .swiper-pagination-bullet:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.1);
}

/* Efectos de entrada para el contenedor */
@keyframes containerFadeIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Partículas decorativas */
#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: #000;
}

/* Responsive */
@media (max-width: 1024px) {
  .header-prin {
    height: 95vh;
    width: 96%;
  }
  
  .slider-nav-button {
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .header-prin {
    height: 80vh;
    width: 100%;
    border-radius: 8px;
  }
  
  .mo_overlay::before,
  .header-prin::after,
  .swiper-hero {
    border-radius: 8px;
  }
  
  .hero-content {
    padding: 30px 20px;
  }
  
  .slider-nav-button {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .header-prin {
    height: 75vh;
    width: 98%;
    border-radius: 6px;
  }
  
  .mo_overlay::before,
  .header-prin::after,
  .swiper-hero {
    border-radius: 6px;
  }
  
  .hero-content {
    padding: 25px 15px;
  }
  
  .slider-nav-button {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }
  
  .swiper-pagination-bullets-default .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 5px !important;
  }
  
  .content-heading {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  
  .subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
  }
}
.particle-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none; 
}

    .scroll-container {
        overflow-x: auto;
        white-space: nowrap;
        position: relative;
        scroll-behavior: smooth;
        padding: 1rem 0;
    }

    .scroll-track {
        display: flex;
        gap: 1rem;
        padding: 0 2rem;
        min-width: max-content;
    }

    .scroll-track .card-item {
        flex-shrink: 0;
        width: 300px;
    }


/* Estilos para el calendario integrado */
.calendar-integrated {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    min-width: 70px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-family: inherit; /* Mantiene la tipografía existente */
}

.calendar-integrated .month {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
}

.calendar-integrated .week-label {
    display: block;
    font-size: 0.65rem;
    color: #777;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.calendar-integrated .weeks {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.calendar-integrated .weeks span {
    font-size: 0.9rem;
    color: #444;
    font-weight: 500;
}

/* Ajuste responsivo */
@media (max-width: 768px) {
    .calendar-integrated {
        position: static;
        transform: none;
        margin-top: 15px;
        display: inline-block;
    }
    
    .service-item-type-2 {
        padding-bottom: 40px; /* Espacio para el calendario */
    }
}
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

