/* Estilos para las tarjetas profesionales con imágenes */
.tarjetas-creditos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}

.tarjeta-credito {
    background: white;
    border-radius: 12px;
    width: 350px;
    height: 220px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
}

.tarjeta-credito:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.tarjeta-imagen {
    height: 120px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.tarjeta-imagen:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.7), rgba(212, 175, 55, 0.3));
}

.tarjeta-header {
    padding: 20px;
    text-align: center;
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
}

.tarjeta-titulo {
    font-size: 1.4rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.titulo-prefijo {
    color: var(--celesebb);
}

.titulo-sufijo {
    color: var(--azulmarino);
}

.tarjeta-descripcion {
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
    font-weight: 400;
    line-height: 1.4;
}

.tarjeta-footer {
    padding: 15px 20px;
    background: #f8f9fa;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

.btn-tarjeta {
    display: inline-block;
    padding: 8px 24px;
    background: var(--azulmarino);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.btn-tarjeta:hover {
    background: var(--celesebb);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* Efecto de borde dorado */
.tarjeta-credito:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--celesebb), var(--azulmarino));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tarjeta-credito:hover:after {
    opacity: 1;
}

/* Imágenes de fondo para cada tarjeta */
.tarjeta-diario .tarjeta-imagen {
    background-image: url('../IMG/credidiario.png');
}

.tarjeta-semanal .tarjeta-imagen {
    background-image: url('../IMG/credisemanal.png');
}

.tarjeta-quincenal .tarjeta-imagen {
    background-image: url('../IMG/crediquincenal.png');
}

.tarjeta-prendario .tarjeta-imagen {
    background-image: url('../IMG/crediprendario.png');
}

.tarjeta-garantia .tarjeta-imagen {
    background-image: url('../IMG/credigarantia.png');
}

/* Efecto de brillo en hover para la imagen */
.tarjeta-imagen {
    transition: all 0.3s ease;
}

.tarjeta-credito:hover .tarjeta-imagen {
    transform: scale(1.05);
}

/* Responsive para tarjetas */
@media screen and (max-width: 768px) {
    .tarjetas-creditos {
        gap: 20px;
    }
    
    .tarjeta-credito {
        width: 320px;
        height: 210px;
    }
    
    .tarjeta-titulo {
        font-size: 1.3rem;
    }
    
    .tarjeta-imagen {
        height: 110px;
    }
    
    .tarjeta-header {
        padding: 15px;
    }
}

@media screen and (max-width: 480px) {
    .tarjeta-credito {
        width: 300px;
        height: 200px;
    }
    
    .tarjeta-header {
        padding: 12px;
    }
    
    .tarjeta-titulo {
        font-size: 1.2rem;
    }
    
    .tarjeta-descripcion {
        font-size: 0.8rem;
    }
    
    .tarjeta-imagen {
        height: 100px;
    }
}