/* =====================================================
   GURÚ ROJO | Tipografía Oficial BR Candor
   ===================================================== */

@font-face {
    font-family: 'BR Candor';
    src: url('../fonts/BRCandor-Thin-BF65519844332d9.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BR Candor';
    src: url('../fonts/BRCandor-ThinItalic-BF6551984411c9e.otf') format('opentype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'BR Candor';
    src: url('../fonts/BRCandor-ExtraLight-BF6551984402a12.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BR Candor';
    src: url('../fonts/BRCandor-ExtraLightItalic-BF6551984423a26.otf') format('opentype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'BR Candor';
    src: url('../fonts/BRCandor-Light-BF6551984540128.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BR Candor';
    src: url('../fonts/BRCandor-LightItalic-BF6551984403a7c.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'BR Candor';
    src: url('../fonts/BRCandor-Regular-BF65519844306f6.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BR Candor';
    src: url('../fonts/BRCandor-RegularItalic-BF6551984425e5f.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'BR Candor';
    src: url('../fonts/BRCandor-Medium-BF655198440bb69.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BR Candor';
    src: url('../fonts/BRCandor-MediumItalic-BF65519844162a5.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'BR Candor';
    src: url('../fonts/BRCandor-SemiBold-BF655198444222b.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BR Candor';
    src: url('../fonts/BRCandor-SemiBoldItalic-BF65519845dc383.otf') format('opentype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'BR Candor';
    src: url('../fonts/BRCandor-Bold-BF6551984434a53.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BR Candor';
    src: url('../fonts/BRCandor-BoldItalic-BF65519844306fa.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'BR Candor';
    src: url('../fonts/BRCandor-Black-BF655198441e922.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BR Candor';
    src: url('../fonts/BRCandor-BlackItalic-BF655198454b95c.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* =====================================================
   GURÚ ROJO | Estilos Globales
   Proyecto: New Branding 2027
   ===================================================== */

:root {
    --font-brand: 'BR Candor', 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --brand-navy: #151D2E;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
button,
input,
select,
textarea {
    font-family: var(--font-brand) !important;
}

/* Tipografía Oficial del Logotipo GURÚ ROJO (Aislamiento de Identidad de Marca) */
.font-logo {
    font-family: 'Outfit', sans-serif !important;
    letter-spacing: -0.025em;
}

/* Scrollbar Personalizado */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #E2E8F0;
}

.dark ::-webkit-scrollbar-track {
    background: #151D2E;
}

::-webkit-scrollbar-thumb {
    background: #D04050;
    border-radius: 4px;
}

/* ANIMACIÓN DEL PRELOADER: Aparición secuencial de aristas del hexágono a velocidad fluida (2.4s) */
@keyframes facetFade {
    0% {
        opacity: 0.1;
        transform: scale(0.85);
    }

    35% {
        opacity: 1;
        transform: scale(1);
    }

    70%,
    100% {
        opacity: 0.2;
        transform: scale(0.92);
    }
}

.facet-anim-0 {
    animation: facetFade 2.4s infinite ease-in-out 0.0s;
}

.facet-anim-1 {
    animation: facetFade 2.4s infinite ease-in-out 0.2s;
}

.facet-anim-2 {
    animation: facetFade 2.4s infinite ease-in-out 0.4s;
}

.facet-anim-3 {
    animation: facetFade 2.4s infinite ease-in-out 0.6s;
}

.facet-anim-4 {
    animation: facetFade 2.4s infinite ease-in-out 0.8s;
}

.facet-anim-5 {
    animation: facetFade 2.4s infinite ease-in-out 1.0s;
}

@keyframes pulseLogoText {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

.animate-pulse-slow {
    animation: pulseLogoText 5s infinite ease-in-out;
}

@keyframes progressBar {
    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(100%);
    }
}