/* Base Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delays for elements side-by-side */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Gradient Text */
.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to right, #2563eb, #14b8a6);
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Mask for Marquee */
.marquee-mask {
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.shadow-float{
    box-shadow: 0 18px 30px rgba(0, 0, 0, .2);
}

#contacto .bg-white{
    box-shadow: 0 15px 30px rgba(0,0,0,.2);
}

#submitBtn{
    transition: all .2s ease-in-out;
}
#submitBtn:hover{ 
    box-shadow: 0 15px 30px rgb(37 99 235 / 50%); 
}
#submitBtn svg{
    transition: all .2s ease-in-out;
}
#submitBtn:hover svg{
    transform: rotate(90deg);
}

/* Custom Modern Cursor */
@media (pointer: fine) {
    body, a, button, input, textarea, select { 
        cursor: none !important; 
    }
    .cursor-dot, .cursor-outline {
        position: fixed;
        top: 0; 
        left: 0;
        border-radius: 50%;
        pointer-events: none; /* Evita que el cursor bloquee clics */
        z-index: 9999;
    }
    .cursor-dot {
        width: 8px; 
        height: 8px;
        background-color: #2563eb;
        transform: translate(-50%, -50%);
    }
    .cursor-outline {
        width: 40px; 
        height: 40px;
        border: 2px solid rgba(37, 99, 235, 0.4);
        transform: translate(-50%, -50%);
        transition: width 0.25s ease-out, height 0.25s ease-out, background-color 0.25s ease-out;
        will-change: width, height, transform;
    }
    .cursor-outline.hover-active {
        width: 65px; 
        height: 65px;
        background-color: rgba(37, 99, 235, 0.1);
        border-color: #2563eb;
    }
}
@media (pointer: coarse) {
    /* Ocultar en dispositivos táctiles */
    .cursor-dot, .cursor-outline { display: none; }
}

.partner-box {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem 1.5rem 2rem 1.5rem;
    text-align: center;
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}
.partner-box:hover {
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.08);
    transform: translateY(-10px);
    border-color: #e2e8f0;
}
.partner-img-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem auto;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    position: relative;
    border: 4px solid white;
    z-index: 2;
}
.partner-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.partner-box:hover .partner-img-wrapper img {
    transform: scale(1.1);
}
.partner-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}
.partner-box:hover .partner-social {
    bottom: 1.5rem;
}
.partner-info {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}
.partner-box:hover .partner-info {
    transform: translateY(-15px);
}

.w-32{ width: 10rem !important; }
.h-32{ height: 10rem !important; }

