.plans-wrapper {
    position: relative;
    padding: 4px 4px 12px;
    overflow: visible;
     margin-bottom: 40px;
}

.plans {
    display: flex;
    gap: 40px;
    align-items: stretch;
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 30px;
    overflow: visible;
}

.plans::-webkit-scrollbar {
    display: none;
}

.plans .box {
    position: relative;
    flex: 0 0 31%;
    height: auto;
    background: #fff;
    border-radius: 20px;
    padding: 0;
    text-align: left;
    box-shadow: 8px 4px 20px rgb(5 4 42 / 12%);
    transition: border-color .2s ease,
        box-shadow .2s ease,
        transform .15s ease;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

.plans .box.borde {
    border: 2px solid #0504aa;
    box-shadow: 0 18px 48px rgba(5, 4, 42, .12);
}

.plans .box.destacado {
    background: linear-gradient(165deg, #02016f 0%, #0504aa 100%);
    border: none;
    box-shadow: 0 18px 48px rgba(5, 4, 42, .12);
}

.plans .box.destacado .text h3, .plans .box.destacado .text p, .plans .box.destacado .text ul.plan-list li  {
    color:#fff;
}

.plans .box .text {
    padding: 20px 22px 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    width: 100%;
}

.plans .box .text .plan-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.plans .box .text h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #02016f;
    margin: 20px 0 0;
    line-height: 1em;
}

.plans .box .text p {
    font-size: .88rem;
    color: #4f5c76;
    line-height: 1.45;
    margin: 0;
}

ul.plan-list {
    list-style: none;
    margin: 18px 0 28px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

ul.plan-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .88rem;
    color: #4f5c76;
    line-height: 1.5;
}

ul.plan-list li:first-child {
    font-weight: 600;
    color: #02016f;
}

ul.plan-list svg{
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    color: #29d0fd;
}

.plans .box .boton-content {
    margin-top: auto !important;
    margin: 15px 0 0;
}

.plans .boton {
    font: inherit;
    font-weight: 600;
    transition: transform .25s ease, box-shadow .25s ease;
    display: inline-block;
    margin-bottom: 12px;
    text-align: center;
    background: linear-gradient(135deg, #29d0fd, #8ce8ff);
    color: #0504aa;
    box-shadow: 0 16px 30px #29d0fd3d;
    border: none;
    border-radius: 62px;
    padding: 10px 20px;
    width: 100%;
}

.plans .boton.type-2 {
    border: 1.5px solid #0504aa;
    background: #ffffff;
    box-shadow: none;
}

.plans-wrapper .arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #0504aa1f;
    box-shadow: 0 18px 48px rgba(5, 4, 42, .12);
    color: #0504aa;

    display: none;

    align-items: center;
    justify-content: center;
    cursor: pointer;

    position: absolute;
    top: 50%;
    z-index: 5;
    transform: translateY(-50%);
}

.plans-wrapper .arrow.is-visible {
    display: inline-flex;
}

.plans-wrapper .arrow-left {
    left: 0;
}

.plans-wrapper .arrow-right {
    right: 0;
}

.container.cuatro .plans {
    gap: 20px;
}

.container.cuatro .plans .box {
    flex: 0 0 23.7%;
}

@media (min-width: 992px) {
    .plans-wrapper .arrow {
        display: none !important;
    }
}

/* lg */
@media (max-width: 991.98px) {

    .container.cuatro .phases .box .image {
        height: 300px;
    }
    
    .plans-wrapper {
        padding: 5px;
    }

    .plans {
        display: flex;
        gap: 20px;
        overflow-x: auto;
        scroll-behavior: smooth;
        scrollbar-width: none;
        padding: 0 10px 15px 0;
    }

    .plans .box {
        flex: 0 0 90% !important;
    }

    .plans::-webkit-scrollbar {
        display: none;
    }

}