/* =========================================================
   GECO CONSULTORA - MODERN PREMIUM PRELOADER
   ========================================================= */

#geco-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #131d27 0%, #0a0f16 100%);
    overflow: hidden;
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

#geco-preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: none;
}

/* Ambient glow orbs in background */
.geco-preloader-glow-1,
.geco-preloader-glow-2 {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    opacity: 0.35;
    animation: gecoAmbientPulse 5s ease-in-out infinite alternate;
}

.geco-preloader-glow-1 {
    background: #6f8f3a;
    top: 25%;
    left: 30%;
    transform: translate(-50%, -50%);
}

.geco-preloader-glow-2 {
    background: #ff7f2a;
    bottom: 25%;
    right: 30%;
    transform: translate(50%, 50%);
    animation-delay: -2.5s;
}

/* Main Content Box */
.geco-preloader-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Orbital Emblem Container */
.geco-preloader-emblem {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

/* Rotating SVG Orbit Ring */
.geco-orbit-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: gecoSpinClockwise 3s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    pointer-events: none;
}

.geco-orbit-svg-reverse {
    position: absolute;
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    animation: gecoSpinCounter 4.5s linear infinite;
    pointer-events: none;
    opacity: 0.6;
}

/* Inner Glass Badge */
.geco-preloader-badge {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35),
                inset 0 0 20px rgba(111, 143, 58, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
    animation: gecoBadgeFloat 3s ease-in-out infinite alternate;
}

/* Logo Image */
.geco-preloader-logo {
    width: 58px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(111, 143, 58, 0.55));
    animation: gecoLogoBreath 2.6s ease-in-out infinite alternate;
}

/* Typography */
.geco-preloader-brand {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 4px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #ffffff 40%, #b2d675 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.geco-preloader-tagline {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 24px 0;
}

/* Minimalist Progress Track */
.geco-preloader-progress {
    width: 170px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.geco-preloader-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 45%;
    border-radius: 99px;
    background: linear-gradient(90deg, #6f8f3a 0%, #ff7f2a 100%);
    box-shadow: 0 0 10px rgba(255, 127, 42, 0.6);
    animation: gecoProgressBar 1.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

/* Keyframe Animations */
@keyframes gecoSpinClockwise {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes gecoSpinCounter {
    0% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

@keyframes gecoBadgeFloat {
    0% {
        transform: translateY(0px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 0 20px rgba(111, 143, 58, 0.2);
    }
    100% {
        transform: translateY(-4px);
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), inset 0 0 25px rgba(255, 127, 42, 0.25);
    }
}

@keyframes gecoLogoBreath {
    0% {
        transform: scale(0.96);
        filter: drop-shadow(0 0 8px rgba(111, 143, 58, 0.4));
    }
    100% {
        transform: scale(1.04);
        filter: drop-shadow(0 0 16px rgba(136, 170, 73, 0.75));
    }
}

@keyframes gecoProgressBar {
    0% {
        left: -45%;
        width: 30%;
    }
    50% {
        width: 60%;
    }
    100% {
        left: 100%;
        width: 30%;
    }
}

@keyframes gecoAmbientPulse {
    0% {
        opacity: 0.25;
        transform: scale(0.9);
    }
    100% {
        opacity: 0.42;
        transform: scale(1.15);
    }
}
