.navbar-proceso {
    min-height: 88px;
    background-color: #ffffff;

    border-bottom: 1px solid rgba(0, 0, 0, 0.06);

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);

    z-index: 1020;
}

.navbar-proceso.sticky-top {
    top: 0;
}


/*
|--------------------------------------------------------------------------
| Contenedor
|--------------------------------------------------------------------------
*/

.navbar-proceso .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;

    flex-wrap: nowrap;

    min-width: 0;
}


/*
|--------------------------------------------------------------------------
| Identidad izquierda
|--------------------------------------------------------------------------
*/

.navbar-proceso-brand {
    min-width: 0;

    display: flex;
    align-items: center;

    flex: 1 1 auto;

    margin-right: 1.5rem;

    text-decoration: none;
}


/*
|--------------------------------------------------------------------------
| Logo Proceso Electoral
|--------------------------------------------------------------------------
*/

.navbar-proceso-logo {
    display: block;

    width: auto;
    height: 58px;

    flex-shrink: 0;

    margin-right: 1rem;

    object-fit: contain;
}


/*
|--------------------------------------------------------------------------
| Título
|--------------------------------------------------------------------------
*/

.navbar-proceso-title {
    color: #15233c;

    font-size: clamp(1.1rem, 1.6vw, 1.45rem);
    font-weight: 700;
    line-height: 1.2;

    white-space: normal;
}


/*
|--------------------------------------------------------------------------
| IEEQ
|--------------------------------------------------------------------------
*/

.navbar-ieeq {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    overflow: hidden;
}

.navbar-ieeq-logo {
    display: block;

    width: auto;
    height: 52px;

    max-width: 220px;

    object-fit: contain;
}

.navbar-ieeq-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.navbar-ieeq-logo {
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

@media (hover: hover) {

    .navbar-ieeq-link:hover .navbar-ieeq-logo {
        transform: scale(1.04);
        opacity: 0.9;
    }
}

.navbar-ieeq-link:focus-visible {
    outline: 3px solid rgba(138, 21, 137, 0.30);
    outline-offset: 4px;
    border-radius: 4px;
}

/*
|--------------------------------------------------------------------------
| Contenedor izquierdo
|--------------------------------------------------------------------------
*/

.navbar-proceso-left {
    min-width: 0;

    display: flex;
    align-items: center;

    gap: 1rem;
}


/*
|--------------------------------------------------------------------------
| Botón Inicio
|--------------------------------------------------------------------------
*/

.navbar-home-button {
    min-height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 0.5rem;

    padding: 0.55rem 1rem;

    flex-shrink: 0;

    color: var(--primary);

    font-size: 0.9rem;
    font-weight: 600;

    text-decoration: none;

    background-color: rgba(138, 21, 137, 0.07);

    border: 1px solid rgba(138, 21, 137, 0.18);
    border-radius: 8px;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.navbar-home-button i {
    font-size: 0.95rem;
}


/*
|--------------------------------------------------------------------------
| Hover
|--------------------------------------------------------------------------
*/

@media (hover: hover) {

    .navbar-home-button:hover {
        color: #ffffff;

        background-color: var(--primary);
        border-color: var(--primary);

        transform: translateY(-1px);
    }
}


/*
|--------------------------------------------------------------------------
| Teclado
|--------------------------------------------------------------------------
*/

.navbar-home-button:focus-visible {
    outline: 3px solid rgba(138, 21, 137, 0.3);
    outline-offset: 3px;
}

/*
|--------------------------------------------------------------------------
|Pantallas
|--------------------------------------------------------------------------
*/

@media (min-width: 992px) and (max-width: 1199.98px) {

    .navbar-proceso-left {
        gap: 0.75rem;
    }

    .navbar-home-button {
        min-height: 40px;

        padding: 0.5rem 0.75rem;

        font-size: 0.85rem;
    }
}

/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 991.98px) {

    .navbar-proceso {
        min-height: 78px;
    }

    .navbar-proceso-logo {
        height: 48px;
        margin-right: 0.75rem;
    }

    .navbar-proceso-title {
        font-size: 1.05rem;
    }

    .navbar-ieeq-logo {
        height: 42px;
        max-width: 170px;
    }

    .navbar-proceso-left {
        gap: 0.65rem;
    }

    .navbar-home-button {
        width: 40px;
        height: 40px;
        min-height: 40px;

        padding: 0;

        border-radius: 8px;
    }

    .navbar-home-text {
        display: none;
    }
}


/*
|--------------------------------------------------------------------------
| Móvil
|--------------------------------------------------------------------------
*/

@media (max-width: 575.98px) {

    .navbar-proceso {
        min-height: 68px;

        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    .navbar-proceso-brand {
        margin-right: 0.5rem;
    }

    .navbar-proceso-logo {
        height: 38px;
        margin-right: 0.5rem;
    }

    .navbar-proceso-title {
        max-width: 145px;

        font-size: 0.82rem;
        line-height: 1.15;
    }

    .navbar-ieeq-logo {
        height: 32px;
        max-width: 105px;
    }

    .navbar-proceso-left {
        gap: 0.4rem;
    }

    .navbar-home-button {
        width: 36px;
        height: 36px;
        min-height: 36px;
    }

    .navbar-home-button i {
        font-size: 0.85rem;
    }
}


/*
|--------------------------------------------------------------------------
| Móviles muy pequeños
|--------------------------------------------------------------------------
*/

@media (max-width: 390px) {

    .navbar-proceso-logo {
        max-width: 48px;
    }

    .navbar-proceso-title {
        max-width: 125px;
        font-size: 0.76rem;
    }

    .navbar-ieeq-logo {
        max-width: 76px;
    }
}