/* ==========================================
   TOP BAR
========================================== */
.topbar {
    background: var(--sionline-blue);
    color: white;
    font-size: .85rem;
    padding: 10px 0;
}

.topbar span {
    margin-right: 30px;
}

.topbar i {
    color: var(--sionline-yellow);
}

/* ==========================================
   NAVBAR
========================================== */
.navbar-sionline {
    background: white;
    min-height: 80px;
    box-shadow: 0 2px 20px rgba(0,0,0,.07);
    position: relative; /* ← quitado el sticky */
    z-index: 999;
}

/* ==========================================
   BRAND / LOGO ALINEADO
========================================== */
.navbar-brand {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-product {
    height: 36px;
    width: auto;
}

/* Separador vertical entre título y logo */
.brand-divider {
    width: 1px;
    height: 28px;
    background: #d0d5e8;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sionline-blue);
    margin: 0;
    white-space: nowrap;
}

/* ==========================================
   MENÚ
========================================== */
.nav-link {
    color: var(--sionline-blue);
    font-weight: 500;
    margin: 0 6px;
    position: relative;
    transition: color .25s;
    padding-bottom: 4px !important;
}

.nav-link:hover {
    color: var(--sionline-orange);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--sionline-orange);
    transition: width .25s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--sionline-orange);
}

/* ==========================================
   BOTÓN CTA
========================================== */
.btn-demo {
    min-width: 180px;
    text-align: center;
    white-space: nowrap;
}

/* ==========================================
   TOGGLER
========================================== */
.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ==========================================
   RESPONSIVE  ≤991px
========================================== */
@media (max-width: 991px) {
    .navbar-sionline {
        min-height: auto;
        padding: 12px 0;
    }

    .logo-product {
        height: 28px;
    }

    .product-name {
        font-size: 1.05rem;
    }

    .brand-divider {
        height: 22px;
    }

    .navbar-collapse {
        margin-top: 16px;
        background: white;
        padding: 16px;
        border-radius: 12px;
        box-shadow: 0 5px 20px rgba(0,0,0,.08);
    }

    .navbar-nav {
        text-align: center;
    }

    .nav-item {
        margin-bottom: 8px;
    }

    .nav-link::after {
        display: none; /* sin subrayado en móvil */
    }

    .btn-demo {
        width: 100%;
        margin-top: 12px;
    }

    .topbar {
        text-align: center;
    }

    .topbar span {
        display: block;
        margin: 4px 0;
    }
}