/*
/* "CORPORACIÓN SER" STYLE SHEET */
/* """"""""""""""""""""""""""""" */

/*
/* Variables Root Styles */
/* --------------------- */
:root {

    --font-family--mulish: "Mulish", sans-serif;
    --font-family--rubik: "Rubik", sans-serif;

    --color-black: #282828;
    --color-black-light: #545454;
    --color-gray-light: #F4F4F4;
    --color-gray-dark: #E9E9E9;

    --color-primary: #0B6EA8; /* Azul oceánico (acento, llamado a la acción) */
    --color-primary-light: #00A1D4; /* Cyan costa (variante clara) */
    --color-secondary: #1A3C5A; /* Azul oscuro profundo (fondos oscuros, hovers) */
    --color-secondary-light: #D47A2B; /* Naranja terracota (acentos cálidos) */
    --color-accent: #3E8C37; /* Verde naturaleza (acentos puntuales) */
    
    
}



/*
/* Generic Styles */
/* -------------- */
body {
    font-family: var(--font-family--mulish);
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-black-light);
    box-sizing: border-box;
}

section {
    overflow: hidden;
}

.row {
    margin: 0!important;
}



/*
/* Nav Styles */
/* ---------- */
.navbar{
    transition:500ms ease;
    background: transparent;
    padding: 0!important;
  }

.navbar-scrolled {
    background:var(--color-black);
    
}


.nav-item .nav-link {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
}

.nav-item .nav-link.active {
    color: #fff;
    border-bottom: 5px solid var(--color-primary);
}

.carousel-caption {
    bottom: 4.25rem;
    right: 10%;
    left: 10%;
}

.navbar-toggler {
    border-color: #fff;
    color: #fff;
    font-size: 1.5rem;
}

.navbar-toggler:hover {
    color: var(--color-primary);
}

.navbar-toggler:focus {
    border-color: transparent;
}

.navbar-nav {
    background-color: var(--color-black);
}



/*
/* Images Styles */
/* ------------- */
.img-carousel {
    filter: brightness(45%);
}

.logo--footer{
    width: 100%;
    height: auto!important;
    max-width: 250px;
    /* filter: grayscale(1); */
}

.logo--header {
    width: 100%;
    max-width: 200px;
    max-height: 80px;
    height: auto!important;
}


/*
/* Button Styles */
/* ------------- */
.btn--hero {
    font-size: 1rem;
    font-weight: 600;
    border-radius: 79px;
    padding: 1rem 2.5rem;
    color: #ffffff;
    background-color: var(--color-primary);
    text-decoration: none;
    transition: all 500ms;
    animation-delay: 1200ms;
    animation-duration: 800ms;
    animation-fill-mode: both;
}

.btn--hero:hover {
    background-color: var(--color-secondary);
}

.btn--hero-secondary{
    text-decoration: none;
}

.btn--reverse {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    margin: 0.25rem;
    display: inline-block;
    font-weight: 900;
    border-radius: 70px;
    color: var(--color-primary);
    border: 3px solid var(--color-primary);
    text-decoration: none;
    transition: all 500ms;
    animation-delay: 1200ms;
    animation-duration: 800ms;
    animation-fill-mode: both;
    background-color: transparent;
}

.btn--reverse:hover {
    color: var(--color-secondary);
    border: 3px solid var(--color-secondary);
}

.btn--circuit {
    font-size: 1rem;
    font-weight: 900;
    border-radius: 70px;
    padding: .5rem 2rem;
    color: var(--color-primary);
    border: 3px solid var(--color-primary);
    text-decoration: none;
    transition: all 500ms;
    animation-delay: 1200ms;
    animation-duration: 800ms;
    animation-fill-mode: both;
    background-color: transparent;
    font-size: 1.125rem;
    font-family: var(--font-family--rubik);
    font-weight: 500;  
}

.btn--circuit:hover {
    color: var(--color-secondary);
    border: 3px solid var(--color-secondary);
}

.link-circuit {
    color: var(--color-primary);
    text-decoration: none;
}

.link-circuit:hover {
    color: var(--color-secondary);
}

.btn--circuit--modal {
    font-size: 1rem;
    font-weight: 900;
    border-radius: 70px;
    padding: 5px 2rem;
    color: var(--color-primary);
    border: 3px solid var(--color-primary);
    text-decoration: none;
    transition: all 500ms;
    animation-delay: 1200ms;
    animation-duration: 800ms;
    animation-fill-mode: both;
    background-color: transparent;
    font-size: 1.125rem;
    font-family: var(--font-family--rubik);
    font-weight: 500;  
}

.btn--circuit--modal:hover {
    color: var(--color-secondary);
    border: 3px solid var(--color-secondary);
}

.link--footer {
    color: var(--color-black);
    background-color: var(--color-gray-dark);
    font-size: 2rem;
    border: 1px solid var(--color-gray-dark);
    padding: 1px 10px;
    border-radius: 10%;
    transition: all 500ms;
    animation-delay: 1200ms;
    animation-duration: 800ms;
    animation-fill-mode: both;
}

.link--footer:hover {
    background-color: var(--color-primary);
    border: 1px solid var(--color-primary);
    color: #fff;
}

.powered--footer {
    color: var(--color-black-light);
    font-weight: bold;
}


/*
/* Background Color Styles */
/* ----------------------- */
.bg--color-black {
    background-color: var(--color-black);
}
.bg--color-gray-light {
    background-color: var(--color-gray-light);
}
.bg--color-gray-dark {
    background-color: var(--color-gray-dark);
}

.bg--color-primary {
    background-color: var(--color-primary);
}

.bg--color-secondary {
    background-color: var(--color-secondary);
}

.bg--btn-custom {
    background-color: var(--color-primary);
    transition: all 500ms;
    animation-delay: 1200ms;
    animation-duration: 800ms;
    animation-fill-mode: both;
}

.bg--btn-custom:hover {
    background-color: var(--color-secondary);
}

.bg--runner {
    background-image: url(../img/bg-carrera-1.jpg);
    min-height: 600px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.bg--circuit {
    background-image: url(../img/bg-carrera-2.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 0;
    
}

.bg--color-black--degrade {
    background-color: rgba(28, 28, 28, 0.8);
    height: 100%;
}



/*
/* Font Styles */
/* ----------- */
.mulish-normal {
    font-family: var(--font-family--mulish);
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}



/*
/* Text Styles */
/* ----------- */
.title--hero {
    font-family: var(--font-family--rubik);
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 2.75rem;
    margin-bottom: -4px;
    letter-spacing: -3px;
}

.text--hero {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.title--primary {
    font-family: var(--font-family--rubik);
    color: var(--color-black);
    font-size: 2.4rem;
    font-weight: 500;
    text-transform: uppercase;
}

.title--secondary {
    color: var(--color-black);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
}

.text-left {
    text-align: left;
}

.circuit__title {
    text-align: center;
    font-size: 4rem;
}



/*
/* Text Color Styles */
/* ----------------- */
.color--primary {
    color: var(--color-primary);;
}

.color--secondary-light {
    color: var(--color-secondary-light)!important;
}

.color--primary-light {
    color: var(--color-primary-light);
}



/*
/* Icon Styles */
/* ----------- */
.icon {
    font-size: 2.5rem;
    font-weight: 700;
}

.icon__box {
    border-style: solid;
    border-width: 0px 1px 0px 0px;
    border-color: rgba(2, 2, 2, 0.1);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}



/*
/* Info-Race Floating Card */
/* ----------------------- */
.info-race--floating {
    position: relative;
    z-index: 10;
    margin-top: -60px;
    padding-left: 1rem;
    padding-right: 1rem;
}

.info-race__card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.info-race__item {
    padding: 1.5rem 1.25rem;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.info-race__item--last {
    border-right: none;
}

.info-race__item-icon {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-right: 0.85rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.info-race__item-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    margin-bottom: 0.2rem;
}

.info-race__item-value {
    display: block;
    font-family: var(--font-family--rubik);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-black);
    line-height: 1.3;
}

.info-race__item-detail {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-black-light);
    margin-top: 0.15rem;
}

.info-race__cta {
    background-color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.info-race__cta:hover {
    background-color: var(--color-secondary);
}

.info-race__cta-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-family: var(--font-family--rubik);
    font-size: 1.15rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1.5rem 1rem;
    width: 100%;
    height: 100%;
}

.info-race__cta-link i {
    font-size: 2rem;
    margin-bottom: 0.4rem;
}

.info-race__cta-link:hover {
    color: #fff;
}



/*
/* Decorative Styles */
/* ----------------- */
.decorative {
    display: inline-block;
    position: relative;
    z-index: 1;
}

.decorative::before {
    content: '';
    display: block;
    width: 100%;
    z-index: -1;
    position: absolute;
    bottom: 5px;
    height: 12px;
    background: var(--color-primary);
}

.decorative--circuit {
    display: inline-block;
    position: relative;
    z-index: 1;
}

.decorative--circuit::before {
    content: '';
    display: block;
    width: 100%;
    z-index: -1;
    position: absolute;
    bottom: 5px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
}

.decorative--kit {
    display: inline-block;
    position: relative;
    z-index: 1;
}

.decorative--kit::before {
    content: '';
    display: block;
    width: 100%;
    z-index: -1;
    position: absolute;
    bottom: 5px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
}



/*
/* Modal Styles */
/* ------------ */

.modal-content {
    background-color: var(--color-black);
    color: var(--color-white);
}

.modal-header {
    border-bottom-color: transparent ;
}

.modal-title {
    text-transform: uppercase;
    font-weight: 700;
    font-style: italic;
}

.modal-footer {
    border-top-color: transparent ;
}

.btn-close-modal {
    color: var(--color-white);
}

.btn-close-modal:hover {
    border-color: var(--color-white);
}



/*
/* Kit Section Styles */
/* ------------------ */
.kit__box {
    max-width: 60%;
    margin: 0 auto;
}

.kit__icon {
    font-size: 3.5rem;
    margin-right: 2rem; 
}



/*
/* RRSS Section Styles */
/* ------------------- */
.rrss__box {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}






/*
/* Media Query Styles */
/* ------------------ */
@media (min-width: 992px) { 
    .navbar-nav {
        background-color: transparent;
        width: 100%;
        justify-content: flex-end;
    }

    .nav-item {
        padding: 5px 10px;
    }

    .nav-link {
        font-size: 1rem;
    }

    .carousel-caption {
        right: 15%;
        left: 15%;
    }

    .title--hero {
        font-size: 4.3rem;
    }

    .text--hero {
        font-size: 1.375rem;
    }

    .logo--header {
        max-width: 300px;
    }
    
}

@media (max-width: 767px) {
    .info-race--floating {
        margin-top: -30px;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .info-race__item {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        padding: 1rem 1.15rem;
    }

    .info-race__item--last {
        border-bottom: none;
    }

    .info-race__item-icon {
        font-size: 1.5rem;
        margin-right: 0.75rem;
    }

    .info-race__item-value {
        font-size: 0.95rem;
    }

    .info-race__cta {
        border-radius: 0 0 12px 12px;
    }

    .info-race__cta-link {
        flex-direction: row;
        gap: 0.5rem;
        padding: 1rem;
        font-size: 1rem;
    }

    .info-race__cta-link i {
        font-size: 1.4rem;
        margin-bottom: 0;
    }
}

@media (min-width: 1400px) { 

}