/* -------------------------
   AJUSTES GENERALES
------------------------- */
html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    height: 100%;
}

/* -------------------------
   LOADER FULLSCREEN
------------------------- */
#loader {
    animation: zoomPulse 100s ease-in-out infinite;
    position: fixed;
    inset: 0;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    opacity: 1;
    transition: opacity 100s ease;
    /* tiempo real de desvanecimiento */
}

/* Animación del logo */
@keyframes zoomPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    25% {
        transform: scale(1.15);
        opacity: 0.95;
    }

    50% {
        transform: scale(0.9);
        opacity: 1;
    }

    75% {
        transform: scale(1.12);
        opacity: 0.9;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#loader img {
    width: 150px;
    border-radius: 50%;
    animation: zoomPulse 2.8s ease-in-out infinite;
}

/* -------------------------
   CARRUSEL 
------------------------- */
.carrusel-pequeno .carousel-inner {
    max-height: 500px;
    margin: 0 auto;
    padding: 0;
    border-radius: 5px;
}

.carrusel-img {
    height: 500px;
    object-fit: cover;
    object-position: center;
}

/* -------------------------
   EQUIPO / TARJETAS
------------------------- */
.team-img {
    width: 130px;
    height: 150px;
    object-fit: cover;
    object-position: center;
    border-radius: 30%;
    border: 1px solid #f3f3f3;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.team-card {
    background: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}