/* ===== SERVICIOS PREMIUM IMPACTANTES ===== */

.destacados-premium {
    padding: 90px 20px;
     background-image:
    linear-gradient(
        rgba(247, 247, 247, 0.75),
        rgba(255, 255, 255, 0.75)
    ),
    url("../images//fondos/fondo-servicios.png");


    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

}

.titulo{
    font-size: 2.8rem;
    margin-bottom: 60px;
    text-align: center;
}
.titulo::after {
    content: "";
    width: 80px;
    height: 4px;
    background: #00A651;
    display: block;
    margin: 15px auto 0;
    border-radius: 2px;
}

.destacados-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    perspective: 1200px;
}

/* CARD */
.destacado-card {
    width: 280px;
    height: 360px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
    box-shadow: 0 15px 35px rgba(0,0,0,0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.destacado-card a {
    display: block;
    width: 100%;
    height: 100%;
}

/* Imagen */
.destacado-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Overlay */
.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.15),
        rgba(0,0,0,0.75)
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    color: #fff;
    transform: translateY(25px);
    transition: all 0.4s ease;
}

.card-overlay h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.card-overlay span {
    display: inline-block;
    font-size: 14px;
    color: #00ff8c;
    font-weight: 600;
    letter-spacing: 1px;
}

/* HOVER */
.destacado-card:hover img {
    transform: scale(1.12);
}

.destacado-card:hover .card-overlay {
    transform: translateY(0);
}

.destacado-card:hover {
    box-shadow: 0 30px 60px rgba(0,255,140,0.35);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .destacado-card {
        width: 90%;
        max-width: 340px;
        height: 300px;
    }
}
