section#home {
    position: relative;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: flex-start;
    height: 100vh;
    width: 100%;
    /* background-image: linear-gradient(to right top, #3b3b3b, #323232, #292929, #202020, #181818, #171717, #161616, #151515, #1a1a1a, #202020, #252525, #2b2b2b); */
}

.titulo-home-violeta,
.titulo-home-gris
{
    --texto-proyectos: calc( 70px + (109 - 70) * ( 100vw - 400px ) / ( 1920 - 400 ));
    height: fit-content;
    line-height: 0.9;
    min-width: 86%;
    font-size: var(--texto-proyectos);
}

.titulo-home-violeta
{
    font-family: 'mb';
    color: #775bff;
    background: var(--color-background-ginicio);
    background: -moz-linear-gradient(170deg, var(--color-primary-darker) 10%, var(--color-warning) 85%);
    background: -webkit-linear-gradient(170deg, var(--color-primary-darker) 10%, var(--color-warning) 85%);
    background: linear-gradient(170deg, var(--color-primary-darker) 10%, var(--color-warning) 85%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.titulo-home-gris
{
    font-family: 'mr';
}
aside.contenedor-redes-sociales-1
{
    display: block;
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: var(--max-ancho);
    padding-left: 0.7rem;
}
aside.contenedor-redes-sociales {
    position: relative;
    bottom: 0;
    left: 0;
    color: #ffffff;
    display: flex;
    gap: 1rem;
}

aside.contenedor-redes-sociales a {
    color: var(--color-black);
}

.contenedor-modulo
{
    display: block;
    position: relative;
    padding: 4rem 2rem 4rem 2rem;
    top: 0;
    left: 0;
    width: var(--max-content);
}

.contenedor-seccion {
    padding: var(--padding-cs) 0px 0px 0px;
    height: max-content;
/*    min-height: 20vh;*/
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

/* PORTFOLIO  */
#contacto,#portfolio,#clientes
{
    position: relative;
    padding: 0 0px 0px 0px;
}

#contenidoPortfolio {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    gap: 3rem;
    width: 100%;
    overflow: hidden;
    padding-top:3rem
}

.card-portfolio.card {
    flex: 1 0 320px;
    max-width: 390px;
    height: max-content;
    background-color: rgba(255,255,255,.1);
    border: none;
}

.card-image img {
    height: 189px;
}

.card-header-portfolio
{
    padding: .8rem 0.3rem;
}

span.chip.chip-clear {
    background-color: #000000;
    box-shadow: 0 0 0 1px rgba(255,255,255,1);
    opacity: 0.7;
}

.card-title {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
}
.swiper-button-next {
    top: 1.5rem;
    right: 0;
}

.swiper-button-prev{
    top: 1.5rem;
    right: 50px;
    left: unset;
}
.f-1-0-10
{
    flex:1 0 10px
}

.borde-tarjeta {
    box-shadow: 0 0 0 1px rgba(255,255,255,.3);
    border-radius: 5px;
    padding: 1rem;
}

#servicios
{
    position: relative;
    min-height: 100vh;
    padding: 0 0px 0px 0px;
}
.clamp-2
{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 60px;
}
.flex-tarjeta-serv
{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;    
}
.card-image.card-image-portfolio img {
    object-fit: cover;
    width: 100%;
    height: 280px;
}

#dynamic_gradient_serv,
#dynamic_gradient_port,
#dynamic_gradient_contacto,
#dynamic_gradient_home,
#dynamic_gradient_cliente
{
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
}
div#contenidoBotonServicio {
    display: flex;
    gap: 0.3rem;
    width: 100%;
    overflow: auto;
    padding: 0.2rem 0 0.5rem 0;
}

/* Estilos para el slider de portafolio */
.portfolio-swiper {
    width: 100%;
    padding: 20px 0;
}

.portfolio-swiper .swiper-slide {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.portfolio-swiper .swiper-button-next,
.portfolio-swiper .swiper-button-prev {
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.portfolio-swiper .swiper-button-next:hover,
.portfolio-swiper .swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.portfolio-swiper .swiper-button-next::after,
.portfolio-swiper .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

.portfolio-swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.7;
    width: 10px;
    height: 10px;
    margin: 0 5px;
}

.portfolio-swiper .swiper-pagination-bullet-active {
    background: #6209ff;
    opacity: 1;
}
/* .no-gradient-before::before
{
    background:rgba(0,0,0,.85) !important;
} */

.tarjeta-servicio
{
    --padding-ts:2.5rem;
    background-color: rgba(255, 255, 255, .7);
    max-width: 400px;
    min-height: 290px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 0 1px white, 0 0 1px 0 rgba(0, 0, 0, .1);
    border-radius: 2px;
    padding:var(--padding-ts);
}
.card-circle {
    position: absolute;
    right: 0;
    top: 0;
    background-color: var(--color-primary);
    width: 45px;
    height: 40px;
    border-radius: 0;
    transform: translate(0%, 0%);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
}
.card-circle::before {
    content: attr(data-attr);
    color: #ffffff;
    font-size: 17px;
}
.mqhmcn span
{
    display: inline-block;
}
.mqhmcn
{
    max-width: 800px;
    display: block;
    margin: 0 auto;
}
.step .step-item.active ~ .step-item a {
    color: var(--color-background);
}