/* ==============================> "SOFTWARES / HERRAMIENTAS" */

.sh-grid {
    display: grid;
    grid-template-columns: repeat( 5, 1fr );
    gap: 24px;
    width: 100%;
}

/* -> Item / Tarjeta */

.sh-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.16) !important;
    opacity: 0;
    transform: translateY(16px);
    animation: sh-entrada 0.45s ease forwards;
    -webkit-animation: sh-entrada 0.45s ease forwards;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    -webkit-transition: box-shadow 0.3s ease, -webkit-transform 0.3s ease;
}

.sh-item:nth-child(1)  { animation-delay: 0.05s; }
.sh-item:nth-child(2)  { animation-delay: 0.10s; }
.sh-item:nth-child(3)  { animation-delay: 0.15s; }
.sh-item:nth-child(4)  { animation-delay: 0.20s; }
.sh-item:nth-child(5)  { animation-delay: 0.25s; }
.sh-item:nth-child(6)  { animation-delay: 0.30s; }
.sh-item:nth-child(7)  { animation-delay: 0.35s; }
.sh-item:nth-child(8)  { animation-delay: 0.40s; }
.sh-item:nth-child(9)  { animation-delay: 0.45s; }
.sh-item:nth-child(10) { animation-delay: 0.50s; }

.sh-item:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.13);
    transform: translateY(-4px);
    -webkit-transform: translateY(-4px);
}

/* -> Imagen */

.sh-imagen-wrap {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f4f4f4;
}

.sh-imagen-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, opacity 0.4s ease;
    -webkit-transition: -webkit-transform 0.4s ease, opacity 0.4s ease;
    transform-origin: center center;
    -webkit-transform-origin: center center;
}

.sh-item:hover .sh-imagen-wrap img {
    transform: scale(1.04);
    -webkit-transform: scale(1.04);
    opacity: 0.92;
}

/* -> Etiqueta */

.sh-label {
    display: flex;
    width: 100%;
    padding: 12px 16px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--e-global-color-text);
    background: #fff;
    transition: color 0.25s ease, background 0.25s ease;
    -webkit-transition: color 0.25s ease, background 0.25s ease;
    justify-content: space-between;
    align-items: center;
}

.sh-label i {
    font-size: 24px;
}

.sh-item:hover .sh-label {
    background: var(--e-global-color-primary);
    color: #fff;
}

/* -> Animación de entrada */

@keyframes sh-entrada {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@-webkit-keyframes sh-entrada {
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

/* -> Tablet */

@media (max-width: 1024px) {
    .sh-grid {
        grid-template-columns: repeat( 3, 1fr );
    }
}

/* -> Móvil */

@media (max-width: 768px) {
    .sh-grid {
        grid-template-columns: repeat( 2, 1fr );
        gap: 16px;
    }

    .sh-label {
        font-size: 12px;
        padding: 8px 6px;
    }
}

@media (max-width: 480px) {
    .sh-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}