html,
body {
    overflow-x: hidden !important;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    /*padding-top: 90px;*/
    overflow-y: clip;
}

section {
    scroll-margin-top: 90px;
}

/* --- Loading general --- */
.loadable {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at top right, rgba(0, 49, 91, 0.15), transparent 30%),
        radial-gradient(circle at bottom left, rgba(32, 102, 162, 0.12), transparent 30%),
        rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
}

/* CARD PRINCIPAL */
.enterprise-loader {
    position: relative;
    width: min(90%, 420px);
    padding: 45px 35px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.10),
        0 2px 12px rgba(0, 49, 91, 0.08);
    backdrop-filter: blur(20px);
    overflow: hidden;
    text-align: center;
}

/* EFECTO BRILLO */
.enterprise-loader::before {
    content: "";
    position: absolute;
    inset: -150%;
    background:
        linear-gradient(120deg,
            transparent 40%,
            rgba(255, 255, 255, 0.55) 50%,
            transparent 60%);
    animation: shine 3s linear infinite;
}

/* LOGO */
.loader-logo {
    width: 170px;
    max-width: 80%;
    position: relative;
    z-index: 2;
    margin-bottom: 28px;
    animation: floatLogo 3s ease-in-out infinite;
}

/* CÍRCULO ANIMADO */
.loader-ring {
    position: absolute;
    top: 28px;
    left: 50%;
    width: 180px;
    height: 180px;
    transform: translateX(-50%);
    border-radius: 50%;
    border:
        3px solid rgba(32, 102, 162, 0.08);
    border-top:
        3px solid #2066A2;
    animation: rotateRing 1.2s linear infinite;
}

/* CONTENIDO */
.loader-content {
    position: relative;
    z-index: 2;
}

/* TITULO */
.loader-title {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: #00315B;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* SUBTITULO */
.loader-subtitle {
    font-family: 'Montserrat', sans-serif;
    color: #6B7280;
    font-size: 0.95rem;
    margin-bottom: 24px;
    letter-spacing: .5px;
}

/* BARRA */
.loader-progress {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 30px;
    overflow: hidden;
}

/* ANIMACION BARRA */
.loader-progress-bar {
    width: 40%;
    height: 100%;
    border-radius: inherit;
    background:
        linear-gradient(90deg,
            #00315B,
            #2066A2,
            #4A90E2);
    animation: loadingBar 1.5s ease-in-out infinite;
}

/* ANIMACIONES */

@keyframes rotateRing {
    from {
        transform: translateX(-50%) rotate(0deg);
    }
    to {
        transform: translateX(-50%) rotate(360deg);
    }
}

@keyframes loadingBar {
    0% {
        transform: translateX(-120%);
    }
    100% {
        transform: translateX(320%);
    }
}

@keyframes floatLogo {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-6px);
    }
}

@keyframes shine {
    0% {
        transform: rotate(25deg) translateX(-100%);
    }
    100% {
        transform: rotate(25deg) translateX(100%);
    }
}

.loadable.fade-out {
    opacity: 0;
    visibility: hidden;
    transition: all .5s ease;
}

/****** FIN LOADING ******/