/*======================================
    HEADER
======================================*/
.cabecera {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;
    min-height: 78px;

    display: flex;
    align-items: center;

    padding: 0 20px;

    box-sizing: border-box;

    .cabecera {
        background-color: #4A4A4A; /* Gris plomo */
        width: 100%;
    }
    
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}


/*======================================
    LOGO
======================================*/

.logo {
    display: flex;
    align-items: center;

    width: auto;
    margin: 0;
    padding: 0;

    flex: 0 0 auto;

    text-decoration: none;
}

.logo img {
    display: block !important;

    width: 250px !important;
    height: auto !important;

    max-width: 250px !important;
    max-height: 50px !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.logo:hover img {
    transform: scale(1.04);
    opacity: 0.92;
}


/*======================================
    MENÚ
======================================*/

.menu {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-left: auto;
    margin-right: 0;

    padding: 0;
}

/*======================================
    ENLACES DEL MENÚ
======================================*/

.menu a {
    position: relative;

    padding: 10px 15px;

    color: #4b5563;

    text-decoration: none;

    font-size: 15px;
    font-weight: 500;

    border-radius: 8px;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.menu a:hover {
    color: #f28b22;
    background: #fff7ed;
}


/*======================================
    LÍNEA INFERIOR
======================================*/

.menu a::after {
    content: "";

    position: absolute;

    left: 15px;
    bottom: 4px;

    width: 0;
    height: 2px;

    background: #f28b22;

    border-radius: 2px;

    transition: width 0.25s ease;
}

.menu a:hover::after {
    width: calc(100% - 30px);
}


/*======================================
    BOTÓN SOLICITAR DEMO
======================================*/

.menu .boton-demo {
    margin-left: 8px;

    padding: 11px 20px;

    background: #f28b22;
    color: white;

    border: 1px solid #f28b22;
    border-radius: 9px;

    font-weight: 600;

    box-shadow: 0 5px 14px rgba(242, 139, 34, 0.20);

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

.menu .boton-demo:hover {
    background: #df7610;
    border-color: #df7610;

    color: white;

    transform: translateY(-1px);

    box-shadow: 0 8px 20px rgba(242, 139, 34, 0.28);
}

.menu .boton-demo::after {
    display: none;
}
