/* =====================
   NAVBAR BASE
===================== */
.navbar-custom {
    background: transparent;
    transition: all 0.4s ease;
    padding: 10px 0;
}

.navbar-custom.scrolled {
    background: #05010cea;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Logo */
.logo {
    height: 40px;
    border-radius: 10px;
    background: #fff;
    padding: 1px;
}

/* Links */
.navbar-nav .nav-link {
    color: #fff;
    padding: 6px 12px;
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
}

/* Línea animada (Material Design) */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 0;
    left: 50%;
    bottom: 0;
    background: #fff;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* Botón login */
.btn-login {
    border: 1px solid #fff;
    border-radius: 25px;
    padding: 6px 18px;
}

.btn-login:hover {
    background: #fff;
    color: #0d6efd !important;
}

/* Dropdown */
.dropdown-custom {
    border-radius: 10px;
    overflow: hidden;
}

.dropdown-custom .dropdown-item {
    transition: background 0.3s;
}

.dropdown-custom .dropdown-item:hover {
    background: #0d6efd;
    color: #fff;
}

/* Mobile */
@media (max-width: 991px) {
    .navbar-custom {
        background: #01050cbd;
    }
}
/* =====================
   BOTÓN WHATSAPP
===================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;          /* 👈 IZQUIERDA */
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    z-index: 9999;       /* 👈 MUY IMPORTANTE */
    transition: all 0.3s ease;
}

/* Hover */
.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 15px 35px rgba(0,0,0,0.45);
    color: #fff;
}
@media (max-width: 576px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 26px;
        bottom: 20px;
        left: 20px;
    }
}
