/* ==========================================================
   Resplandor interior (inner glow) - compartido
   ========================================================== */
.nex-inner-glow {
    transition: box-shadow 0.35s ease, background-color 0.35s ease;
}

.nex-glow-pulse {
    animation: nex-glow-pulse-anim 2.2s ease-in-out infinite;
}

@keyframes nex-glow-pulse-anim {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.25);
    }
}

/* ==========================================================
   Texto con gradiente (reutilizable: números, títulos, etc.)
   ========================================================== */
.nex-gradient-text {
    display: inline-block;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================
   Contador
   ========================================================== */
.nex-counter-wrap {
    position: relative;
    display: block;
    overflow: hidden;
}

.nex-counter-number {
    display: block;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.2;
}

.nex-counter-title {
    display: block;
    margin-top: 8px;
    font-size: 16px;
}

/* ==========================================================
   Botón
   ========================================================== */
.nex-button-wrap {
    display: block;
}

.nex-glow-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.nex-glow-button:hover.nex-inner-glow {
    box-shadow: inset 0 0 var(--nex-glow-blur-hover, 45px) var(--nex-glow-spread, 0px) var(--nex-glow-color-hover, var(--nex-glow-color)) !important;
}

.nex-button-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

/* ==========================================================
   Tarjeta con resplandor
   ========================================================== */
.nex-glow-card {
    display: flex;
    flex-direction: column;
    position: relative;
}

.nex-card-media {
    display: inline-flex;
}

.nex-card-icon {
    display: inline-flex;
    line-height: 1;
}

.nex-card-image img {
    height: auto;
    display: block;
}

.nex-card-title {
    margin: 0 0 10px;
}

.nex-card-description {
    margin: 0;
}

.nex-card-button {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    align-self: center;
}

.nex-glow-card.nex-inner-glow,
.nex-glow-card.nex-inner-glow-hover {
    transition: box-shadow 0.35s ease;
}

/* Resplandor solo al pasar el mouse sobre la tarjeta */
.nex-glow-card.nex-inner-glow-hover:hover {
    box-shadow: var( --nex-glow-shadow );
}
