/* =====================================================
   GLOBAL.CSS
   Estilos generales de ELANGIT
===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&display=swap');


/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height, 120px);
}

body {
    font-family: "Rajdhani", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
    background: #020611;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

body.header-ready {
    --header-height: 138px;
}

a {
    color: inherit;
}

img,
object,
svg,
video {
    display: block;
    max-width: 100%;
}


/* =====================================================
   BOTONES GENERALES
===================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 15px 30px;

    border-radius: 999px;

    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.6px;

    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        background 0.28s ease;
}

.primary {
    color: #ffffff;
    background: linear-gradient(135deg, #00aeff, #006dff);
    box-shadow: 0 0 36px rgba(0, 174, 255, 0.35);
}

.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 48px rgba(0, 174, 255, 0.5);
}

.secondary {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
}


/* =====================================================
   ACCESIBILIDAD
===================================================== */

:focus-visible {
    outline: 2px solid #00aeff;
    outline-offset: 4px;
}

::selection {
    color: #020611;
    background: #00aeff;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
