#servicios .card-servicios {
    transition: all 0.3s ease;
    aspect-ratio: 3/4;
}

#servicios .overlay-servicios-inicio {
    background: -webkit-linear-gradient(270deg, rgba(0, 0, 0, 0) 7%, rgba(79, 72, 66, 0.7) 64%);
    opacity: 1;
    transition: 0.3s all ease-out;
}

#servicios .overlay-servicios-fin {
    background: -webkit-linear-gradient(270deg, rgba(0, 0, 0, 0) 7%, rgba(244, 144, 29, 0.8) 64%);
    opacity: 0;
    transition: 0.3s all ease-out;
}

#servicios .card-servicios h2, #servicios .card-servicios h3 {
    transition: all 0.3s ease;
    font-family: 'DINNextLTPro Regular';
}
  
#servicios .card-servicios:hover h2, #servicios .card-servicios:hover h3 {
    transition: all 0.3s ease;
    font-family: 'DINNextLTPro Bold';
}

#servicios .card-servicios:hover .overlay-servicios-inicio {
    background: -webkit-linear-gradient(270deg, rgba(0, 0, 0, 0) 7%, rgba(79, 72, 66, 0.7) 64%);
    opacity: 0;
    transition: 0.3s all ease-out;
}

#servicios .card-servicios:hover .overlay-servicios-fin {
    background: -webkit-linear-gradient(270deg, rgba(0, 0, 0, 0) 7%, rgba(244, 144, 29, 0.8) 64%);
    opacity: 1;
    transition: 0.3s all ease-out;
}




@media (max-width: 576px)
{

    #servicios .card-servicios {
        aspect-ratio: 1/1;
    }

}

@media  (min-width: 577px) and (max-width: 767px)
{

    #servicios .card-servicios {
        aspect-ratio: 1/1;
    }

}

@media (min-width: 768px) and (max-width: 991px) 
{

    #servicios .card-servicios {
        aspect-ratio: 1/1;
    }
   
} 

@media (min-width: 992px) and (max-width: 1200px) 
{
    
   

} 

@media  (min-width: 1200px) and (max-width: 1400px)
{

    

} 

@media  (min-width: 1401px) and (max-width: 1600px)
{

    

} 

/* CARRUSEL */

#servicios .carousel-item {
    height: 40vh;
}

#servicios .carousel-indicators [data-bs-target] {
    width: auto;
    height: auto;
}

#servicios .carousel-indicators .active {
    background-color: transparent !important;
}

#servicios .icon-indicator {
    width: 50px;
    height: 50px;
    background-color: #fff;
    position: relative;
}

#servicios .info-carousel {
    position: relative;
    z-index: 9;
}

#servicios .icono-imagen {
    position: absolute;
    top: 10px;
    left: 10px;
    height: 30px;
    width: 30px;
}

@media (max-width: 576px)
{

    #servicios .carousel-item {
        height: 60vh;
    }

}

@media  (min-width: 577px) and (max-width: 767px)
{

    #servicios .carousel-item {
        height: 50vh;
    }

}

/* ACORDION */

#servicios .accordion {
    display: flex;
    width: 100%;
    height: 450px;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

#servicios .panel {
    position: relative;
    flex: 1;
    overflow: hidden;
    transition: all 0.7s cubic-bezier(0.25, 1, 0.3, 1);
    cursor: pointer;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

#servicios .panel:last-child {
    border-right: none;
}

#servicios .panel-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    filter: grayscale(60%);
    transition: all 0.7s cubic-bezier(0.25, 1, 0.3, 1), filter 0.5s ease;
    transform: scale(1.1);
}

#servicios .panel.active {
    flex: 6;
}

#servicios .panel.active .panel-background {
    filter: grayscale(0%);
    transform: scale(1);
}

#servicios .panel.active .artist-info {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

#servicios .panel.active .artist-name {
    opacity: 0;
}

#servicios .overlay-panel {
    position: absolute;
    height: 100%;
    width: 100%;
    background: -webkit-linear-gradient(270deg, rgba(0, 0, 0, 0.50) 0%, #42121bb2 50%, #554596b2 100%);
    transition: background 0.3s ease-in-out;
}

#servicios .panel.active .overlay-panel {
    background: -webkit-linear-gradient(270deg, rgba(0, 0, 0, 0.50) 0%, #42121bb2 50%, #e94160b2 100%);
    transition: background 0.3s ease-in-out;
}

#servicios .icon-panel-content {
    position: absolute;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: start;
    justify-content: center;
}

#servicios .icon-panel-content .icon-panel {
    height: 50px;
    width: 50px;
    border-radius: 50rem;
    background-color: #fff;
    position: relative;
    display: flex;
    align-items: center;
    top: 0px;
    bottom: auto;
    right: auto;
    left: auto;
    justify-content: center;
    transition: 1s all ease;
    margin-top: 20px;
    margin-bottom: 20px;
}

#servicios .icon-panel-content .icon-panel img {
    position: absolute;
    transform: scale(0.8);
    transition: 0.6s all ease;
}

#servicios .icon-panel-content .icon-panel .icon-panel-circulo {
    height: 10x;
    width: 10px;
    background-color: #594196;
    position: relative;
    bottom: -5px;
    left: -5px;
}

#servicios .panel.active .icon-panel-content .icon-panel {
    height: 100px;
    width: 100px;
    border-radius: 50rem;
    background-color: #fff;
    position: absolute;
    top: auto;
    bottom: 30px;
    right: 30px;
    left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.6s all ease;
}

#servicios .panel.active .icon-panel-content .icon-panel img {
    position: absolute;
    transform: scale(1.2);
    transition: 0.6s all ease;
}

#servicios .artist-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80%;
    padding: 30px;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

#servicios .view-button {
    display: inline-block;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 8px 16px;
    font-size: 12px;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: transparent;
    cursor: pointer;
}

#servicios .view-button:hover {
    background-color: white;
    color: #222;
}

#servicios .attribution {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

@media (max-width: 768px) {
    #servicios .accordion {
        height: 400px;
    }
    
    #servicios .artist-info {
        padding: 20px;
    }
    
    #servicios .artist-info h3 {
        font-size: 18px;
    }
    
    #servicios .artist-info p {
        font-size: 12px;
    }
}

@media (max-width: 600px) {
    #servicios .accordion {
        height: 350px;
        flex-direction: column;
    }
    
    #servicios .panel {
        flex: 1;
        height: 60px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    #servicios .panel.active {
        flex: 6;
    }
    
    #servicios .artist-name {
        transform: rotate(0);
        transform-origin: center;
        background: rgba(0, 0, 0, 0.4);
        text-align: center;
    }
}

