
.swiper {
    width: 100%;
    max-width: 100%;
    padding: 45px 0 70px;
}

.swiper-slide {
    background-color: #ddd;
    border-radius: 10px;
    backface-visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 18px;
    height: 320px;
    width: 220px;
    position: relative;
    overflow: hidden;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: -3px 3px 4px rgba(0, 0, 0, 0.544);
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.swiper-slide.is-center {
    transform: scale(1.2);
    height: 320px !important;
    width: 220px !important;
    margin-bottom: 1%;
    z-index: 10;
}

.swiper-pagination-bullet-active {
    background: #e87204;
    transform: scale(1.5);
    width: 12px;
    height: 12px;
    margin: 0 auto;
}

.swiper-pagination {
    z-index: 0;
}


/* ///////////////////////////////////CARD 1 BALDOMERO///////////////////////////////// */
.card-img-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: transparent;
}
  
  /* Imagen de fondo con blur */
  .baldomero-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(4px);
    z-index: 0;
  }
  
  .card-img-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    box-shadow: inset 0px 40px 40px rgba(0, 0, 0, 0.881), inset 0px -40px 40px rgba(0, 0, 0, 0.751);
    z-index: 1; /* Asegura que la sombra esté por debajo de la imagen */
}
  /* Imagen superior recortada tipo silueta */
  .custom-box-img {
    position: absolute;
    top: 18%; /* Igual que el original */
    left: 0;
    width: 100%;
    height: 58%;
    object-fit: cover;
    border-top-left-radius: 60%;
    z-index: 2;
    filter: saturate(1.1);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.464);
  }
  .white-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.635); /* blanco con 50% de transparencia */
    z-index: 2;
  }

/* Logo superior */
.logo {
    display: block;
    width: 190px;     /* o el tamaño que necesites */
    margin: 5px auto;   /* esto centra horizontalmente */
    position: relative;
    z-index: 3;
}



/* Contenido de texto */
.content {
    position: absolute;
    top: 75%;
    z-index: 3;
    text-align: center;
    padding: 12px;
}

.content h2 {
    font-weight: bold;
    font-size: 80%;
    margin: -3% 0 1% 0;
    color: white;
}

.content p {
    font-weight: normal;
    margin: -5% 0 0;
    font-size: 70%;
    margin: 0;
    color: white;
}

/* //////////////////////////resposivo/////////////// */

/* Tablets (mínimo 600px) */
@media (min-width: 600px) {
    .swiper-slide {
        width: 260px;
        height: 390px;
        font-size: 20px;
    }

    .swiper-slide.is-center {
        transform: scale(1.20);
        height: 390px !important;
        width: 260px !important;
    }
    .logo {
        width: 230px;
    }
    .custom-box::after {
        height: 220px;
    }
    .content h2 {
        font-size: 90%;
    }
    .content p {
        font-size: 70%;
    }
}

/* Laptops (mínimo 1024px) */
@media (min-width: 1024px) {
    .swiper-slide {
        width: 250px;
        height: 390px;
        font-size: 22px;
    }
    .swiper-slide.is-center {
        transform: scale(1.2);
        width: 250px !important;
        height: 390px !important;
    }
    .logo {
        width: 230px;
    }
    .custom-box::after {
        height: 220px;
    }
    .content h2 {
        font-size: 80%;
        margin: -3% 0 6% 0;
    }
    .content p {
        margin: -5% 0 0;
        font-size: 65%;
    }
}

/* Escritorio grande (mínimo 1600px) */
@media (min-width: 1600px) {
    .swiper {
        width: 100%;
        max-width: 100%;
        padding: 60px 0 80px;
/*         background-color: rgb(146, 146, 146); */
    }
    .swiper-slide {
        width: 345px;
        height: 520px;
        font-size: 24px;
    }
    .swiper-slide.is-center {
        transform: scale(1.2);
        width: 345px !important;
        height: 520px !important;
    }
    .logo {
        width: 320px;
    }
    .custom-box::after {
        height: 240px;
    }
    .content h2 {
        font-size:100%;
        margin: -1% 0 7% 0;
    }
    .content p {
        margin: -5% 0 0;
        font-size: 70%;
    }
}