/* ============================
   SIDEBAR PROFESIONAL AVIVA
============================ */

body {
    overflow-x: hidden;
}

/* ============================
   SIDEBAR
============================ */

.sidebar {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100vh;
    z-index: 3000;
    transition: left 0.5s ease;
    padding: 160px 40px;
    box-sizing: border-box;
    overflow-y: auto;
    background:
        radial-gradient(circle at 20% 30%, rgba(1,188,231,0.08), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(1,188,231,0.06), transparent 40%),
        linear-gradient(135deg, #ffffff, #f4f9fc);
}

.sidebar.open {
    left: 0;
}


/* ============================
   HAMBURGUESA
============================ */

/* oculto en escritorio */

li.hidden-bars {
    display: none;
}

/* botón hamburguesa */

.hamburger-button {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hamburger-button:focus:not(:focus-visible) {
    outline: none;
}

/* iconos */

.hamburger-icon,
.cross-icon {
    position: absolute;
    transition: all 0.45s cubic-bezier(.34,1.56,.64,1);
}

/* estado inicial */

.hamburger-icon {
    fill: #1e293b;
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.cross-icon {
    stroke: #1e293b;
    opacity: 0;
    transform: rotate(-90deg) scale(0.8);
}

/* estado activo */

.hamburger-button.active .hamburger-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.8);
}

.hamburger-button.active .cross-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* ============================
   CONTENIDO SIDEBAR
============================ */

.title-sidebar {
    text-align: center;
    color: #1e293b;
    font-size: 38px;
    font-weight: 600;
    margin-bottom: 50px;
    letter-spacing: 1px;
}

.title-sidebar-two {
    display: block;
    text-align: center;
    font-size: 22px;
    font-weight: 500;
    margin: 18px 0;
    color: #334155;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.title-sidebar-two:hover {
    color: #01bce7;
    transform: translateX(5px);
}

.title-sidebar-two::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    margin: 6px auto 0;
    background-color: #01bce7;
    transition: width 0.3s ease;
}

.title-sidebar-two:hover::after {
    width: 40%;
}

/* ============================
   RESPONSIVE
============================ */

@media (max-width: 900px) {

    header nav ul li:not(.hidden-bars) {
        display: none !important;
    }

    li.hidden-bars {
        display: flex !important;
        align-items: center;
    }

}
