/* ====== GRID ====== */
.box-content .row{
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.box-content .col-md-4{
    display: flex;
    flex-direction: column;
}

/* ====== TARJETA ====== */
.box-item{
    background: linear-gradient(180deg,#fff7cc,#ffffff);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
    transition: all 0.45s ease;
    transform: translateY(40px);
    opacity: 0;
    position: relative;
    perspective: 1200px;
}


/* Visible */
.box-item.show{
    transform: translateY(0);
    opacity: 1;
    animation: float 6s ease-in-out infinite;
}

/* Hover */
.box-item:hover{
    box-shadow: 0 18px 45px rgba(0,0,0,0.18);
}

.box-item:hover .content{
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(2px);
    border-radius: 0 0 16px 16px;
}


/* ====== IMAGEN ====== */
.box-item img.imgR{
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #f2f2f2;
    padding: 12px;
    transition: transform 0.45s ease;
}

.box-item:hover img{
    transform: scale(1.1);
}

/* ====== CONTENIDO ====== */
.box-item .content{
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 18px;
}

/* TEXTOS */
.titulo1{
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: 1.2px;
    font-size: 16px;
    color: #0f0f0f;
}

.parrafo1,
.box-item .content p{
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #444;
}

.span1 span{
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #1a1a1a;
    font-weight: 800;
}

/* ====== BOTÓN ====== */
.arepuestoR{
    margin-top: 14px;
    padding: 11px 26px;
    background: #ffffff;
    color: #FFB800;
    border-radius: 30px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    letter-spacing: 1.5px;
    font-weight: 800;
    border: 2px solid #FFB800;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* Hover */
.arepuestoR:hover{
    background: #FFB800;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 10px 28px rgba(255,184,0,0.45);
}


/* ====== GLOW CORPORATIVO ====== */
.box-item::before{
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 22px;
    background: radial-gradient(circle at 20% 20%, #FFC800, transparent 60%),
                radial-gradient(circle at 80% 80%, #FFB800, transparent 60%);
    opacity: 0;
    transition: 0.5s;
    z-index: 0;
    filter: blur(28px);
}

.box-item:hover::before{
    opacity: 0.8;
}



.box-item::after{
    content: "";
    position: absolute;
    inset: 0;
    background: 
      linear-gradient(120deg, transparent 45%, rgba(255,200,0,0.15) 50%, transparent 55%),
      linear-gradient(300deg, transparent 48%, rgba(255,200,0,0.12) 52%, transparent 56%);
    opacity: 0;
    transition: 0.5s;
    pointer-events: none;
    z-index: 1;
}

.box-item:hover::after{
    opacity: 1;
}

/* ====== FLOTACIÓN ====== */
@keyframes float{
    0%{ transform: translateY(0); }
    50%{ transform: translateY(-6px); }
    100%{ transform: translateY(0); }
}

/* ====== EFECTO BOTÓN ====== */
.arepuestoR::after{
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 120%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
    transition: 0.5s;
}

.arepuestoR:hover::after{
    left: 120%;
}

.box-content{
    position: relative;
}

.box-content::before{
    content:"";
    position:absolute;
    inset:0;
    background:
      radial-gradient(circle at 20% 10%, rgba(255,200,0,0.12), transparent 40%),
      radial-gradient(circle at 80% 30%, rgba(255,200,0,0.10), transparent 45%),
      radial-gradient(circle at 50% 90%, rgba(255,200,0,0.08), transparent 40%);
    pointer-events:none;
    z-index:0;
}

/* ====== REFLEJO ENERGÉTICO ANIMADO ====== */
.box-item::after{
    content: "";
    position: absolute;
    top: -140%;
    left: -60%;
    width: 60%;
    height: 350%;
    background: linear-gradient(
        120deg,
        rgba(255,200,0,0.0),
        rgba(255,200,0,0.35),
        rgba(255,255,255,0.6),
        rgba(255,200,0,0.35),
        rgba(255,200,0,0.0)
    );
    transform: rotate(25deg);
    opacity: 0.8;
    pointer-events: none;
    animation: energyReflect 6s ease-in-out infinite;
}

/* Animación del reflejo */
@keyframes energyReflect{
    0%{
        top: -160%;
        left: -80%;
        opacity: 0;
    }
    10%{
        opacity: 1;
    }
    50%{
        top: 120%;
        left: 120%;
        opacity: 0.9;
    }
    60%{
        opacity: 0.3;
    }
    100%{
        top: 160%;
        left: 160%;
        opacity: 0;
    }
}

.box-item .content,
.box-item img{
    position: relative;
    z-index: 2;
}

.titulo1,
.parrafo1,
.box-item .content p,
.span1 span{
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
