/* ===== PLANES FORTUNA ===== */

/* contenedor alineado con el resto del sitio */
.plans-section{
    width:95%;
    margin:50px auto 0 auto;
}

/* tablet */
@media (min-width:768px){
    .plans-section{
        width:80%;
    }
}

/* desktop */
@media (min-width:1024px){
    .plans-section{
        width:70%;
    }
}


/* título principal */
.plans-title{
    text-align:center;
    margin-bottom:30px;
    color: var(--color-secondary);
    text-shadow: 2px 2px #000;
}


/* categoría */
.plan-category{
    margin-bottom:45px;
}


/* subtitulo */
.plan-category__title{
    margin-bottom:20px;
    padding:8px 12px;
    background: var(--color-principal);
    color: var(--color-secondary);
    text-shadow: 2px 2px #000;
    border-radius:6px;
    display:inline-block;
}


/* grid de planes */
.plans-grid{
    display:grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap:18px;
}


/* tarjetas */
.plan-card{
    background: var(--color-principal);
    color:white;
    padding:18px;
    border-radius:12px;
    border:4px solid transparent;
    animation: colores-2 3s linear infinite;
    transition:.25s;
    text-align:center;
    overflow:hidden;
}

.plan-card:hover{
    transform:scale(1.03);
}


/* imagen de tarjeta */
.plan-card__image{
    width: calc(100% + 36px);
    height: 180px;
    margin: -18px -18px 15px -18px;
    overflow:hidden;
    border-radius: 8px 8px 0 0;
}

.plan-card__image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* contenido de tarjeta */
.plan-card__content{
    text-align:center;
}


/* titulo plan */
.plan-card h4{
    color: var(--color-secondary);
    margin-bottom:8px;
    text-shadow:1px 1px #000;
}


/* precio */
.plan-price{
    font-size:22px;
    font-weight:bold;
    color:#ffbb00;
    margin-bottom:8px;
}


/* plan destacado */
.highlight{
    background: linear-gradient(145deg,#006400,#00cc22);
    border:4px solid #ffbb00;
    box-shadow:0 0 15px #00ff44;
}


/* nota */
.note{
    font-size:13px;
    opacity:.8;
}


/* tablet */
@media (min-width:768px){
    .plan-card__image{
        height: 190px;
    }
}


/* desktop */
@media (min-width:1024px){
    .plan-card__image{
        height: 200px;
    }
    
    .plan-card--wide{
        display: flex;
        flex-direction: row;
        align-items: center;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .plan-card--wide .plan-card__image{
        width: 45%;
        height: 220px;
        margin: -18px 0 -18px -18px;
        border-radius: 8px 0 0 8px;
        flex-shrink: 0;
    }
    
    .plan-card--wide .plan-card__content{
        width: 55%;
        text-align: left;
        padding-left: 20px;
    }
}
