.hce-hover-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hce-hover-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    transition: background-color 0.5s ease;
    z-index: 1;
}

.hce-hover-card:hover::before {
    background-color: rgba(0, 150, 200, 0.5);
}

.hce-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 30px;
    width: 100%;
}

/* Icono */
.hce-icon {
    font-size: 60px;
    color: #ffffff;
    margin-bottom: 10px;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hce-icon i,
.hce-icon svg {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hce-hover-card:hover .hce-icon {
    transform: translateY(-5px) scale(1.1);
}

.hce-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px 0;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.hce-hover-card:hover .hce-title {
    transform: translateY(-3px);
}

.hce-hover-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
    max-height: 0;
    overflow: hidden;
}

.hce-hover-card:hover .hce-hover-content {
    opacity: 1;
    transform: translateY(0);
    max-height: 500px;
}

.hce-description {
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
    margin: 10px 0 15px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.hce-hover-card:hover .hce-description {
    opacity: 1;
    transform: translateY(0);
}

.hce-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 15px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

.hce-hover-card:hover .hce-buttons {
    opacity: 1;
    transform: translateY(0);
}

.hce-button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.hce-button-1 {
    background-color: #ffffff;
    color: #0096c8;
    border: 2px solid #ffffff;
}

.hce-button-1:hover {
    background-color: transparent;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hce-button-2 {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.hce-button-2:hover {
    background-color: #ffffff;
    color: #0096c8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hce-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 10px 0 0 0;
    padding: 12px 25px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 25px;
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.5s;
    text-decoration: none;
    cursor: pointer;
}

.hce-subtitle:hover {
    background-color: rgba(0, 150, 200, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.hce-hover-card:hover .hce-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.hce-hover-card.hce-side .hce-hover-content {
    display: none;
}

.hce-hover-card.hce-side .hce-icon {
    font-size: 80px;
}

.hce-hover-card.hce-side .hce-title {
    font-size: 28px;
}

.hce-hover-card.hce-side:hover .hce-icon {
    transform: scale(1.2) rotate(5deg);
}

.hce-hover-card.hce-side:hover .hce-title {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .hce-title {
        font-size: 24px;
    }
    
    .hce-description {
        font-size: 14px;
    }
    
    .hce-icon {
        font-size: 50px;
    }
    
    .hce-buttons {
        flex-direction: column;
    }
    
    .hce-button {
        width: 100%;
    }
}