.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg);
    backdrop-filter: blur(10px);
    transition: background 0.4s var(--ease-smooth);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-top {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(0.8rem, 2vw, 1.2rem) clamp(0.5rem, 2vw, 1rem) clamp(0.5rem, 2vw, 0.8rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    height: clamp(45px, 8vw, 70px);
    width: auto;
    display: block;
    transition: transform 0.4s var(--ease-smooth);
}

.logo:hover {
    transform: scale(1.02);
}

.nav-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem clamp(0.8rem, 3vw, 1rem);
    max-width: 1400px;
    margin: 0 auto;
    gap: 0.5rem;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: clamp(0.4rem, 2vw, 0.6rem);
    flex-shrink: 0;
}

.social {
    width: clamp(2.2rem, 5vw, 2.8rem);
    height: clamp(2.2rem, 5vw, 2.8rem);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    text-decoration: none;
    transition: all 0.3s var(--ease-smooth);
}

.social:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

.social.instagram {
    background: var(--ig);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social.whatsapp {
    color: var(--wa);
}

.lang {
    position: relative;
    margin-left: clamp(0.2rem, 1vw, 0.4rem);
}

.lang-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--muted);
    padding: clamp(0.4rem, 1vw, 0.6rem) clamp(0.6rem, 2vw, 1rem);
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    font-weight: 400;
    transition: all 0.3s var(--ease-smooth);
}

.lang-btn:hover,
.lang.active .lang-btn {
    border-color: var(--gold);
    color: var(--gold);
}

.lang-drop {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: none;
    overflow: hidden;
    min-width: 150px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.lang.active .lang-drop {
    display: block;
}

.lang-opt {
    display: block;
    padding: 0.8rem 1rem;
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s var(--ease-smooth);
}

.lang-opt:hover,
.lang-opt.active {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: var(--muted);
    text-decoration: none;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 400;
    position: relative;
    padding: 0.4rem 0;
    transition: color 0.3s var(--ease-smooth);
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all 0.4s var(--ease-elegant);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--text);
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
    transform: none;
}

.cta {
    background: var(--gold);
    color: #000;
    padding: clamp(0.7rem, 2vw, 0.9rem) clamp(1.2rem, 3vw, 1.6rem);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s var(--ease-smooth);
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    flex-shrink: 0;
}

.cta:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gold);
    font-size: clamp(1.6rem, 4vw, 2rem);
    cursor: pointer;
    margin-left: 0.5rem;
    padding: 0.3rem;
    transition: transform 0.3s var(--ease-smooth);
    flex-shrink: 0;
}

.mobile-toggle:hover {
    transform: scale(1.1);
}

.mobile-toggle.active {
    transform: rotate(90deg);
}

.sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
    z-index: 2000;
    padding: clamp(1.5rem, 5vw, 2.5rem);
    transition: right 0.5s var(--ease-elegant);
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}

.sidebar.active {
    right: 0;
}

.sidebar-close {
    position: absolute;
    top: clamp(1.2rem, 3vw, 1.5rem);
    right: clamp(1.2rem, 3vw, 1.5rem);
    background: none;
    border: none;
    color: var(--muted);
    font-size: clamp(1.6rem, 4vw, 2rem);
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.sidebar-close:hover {
    color: var(--gold);
    background: rgba(255, 255, 255, 0.05);
}

.sidebar-logo {
    text-align: center;
    margin-bottom: clamp(2rem, 5vw, 3rem);
    padding-top: clamp(2rem, 6vw, 4rem);
}

.sidebar-logo img {
    height: clamp(50px, 10vw, 65px);
    width: auto;
}

.sidebar-nav {
    list-style: none;
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

.sidebar-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s var(--ease-elegant);
}

.sidebar.active .sidebar-nav li {
    opacity: 1;
    transform: translateX(0);
}

.sidebar.active .sidebar-nav li:nth-child(1) { transition-delay: 0.1s; }
.sidebar.active .sidebar-nav li:nth-child(2) { transition-delay: 0.15s; }
.sidebar.active .sidebar-nav li:nth-child(3) { transition-delay: 0.2s; }
.sidebar.active .sidebar-nav li:nth-child(4) { transition-delay: 0.25s; }
.sidebar.active .sidebar-nav li:nth-child(5) { transition-delay: 0.3s; }
.sidebar.active .sidebar-nav li:nth-child(6) { transition-delay: 0.35s; }

.sidebar-nav a {
    display: block;
    padding: clamp(1rem, 3vw, 1.2rem) 0;
    color: var(--text);
    text-decoration: none;
    font-size: clamp(1.1rem, 3.5vw, 1.3rem);
    font-weight: 400;
    transition: all 0.3s var(--ease-smooth);
}

.sidebar-nav a:hover {
    color: var(--gold);
    padding-left: 1rem;
}

.sidebar-cta {
    display: block;
    text-align: center;
    background: var(--gold);
    color: #000;
    padding: clamp(0.9rem, 2vw, 1rem);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    margin-top: clamp(1.5rem, 4vw, 2rem);
    transition: all 0.3s var(--ease-smooth);
    opacity: 0;
    transform: translateY(20px);
}

.sidebar.active .sidebar-cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.sidebar-cta:hover {
    background: var(--gold-light);
    transform: scale(1.02);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-smooth);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1024px) {
    .nav-links,
    .cta {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-bottom {
        justify-content: space-between;
    }

    .nav-left {
        gap: clamp(0.3rem, 1.5vw, 0.5rem);
    }

    .sidebar {
        width: 85%;
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .navbar {
        background: rgba(0, 0, 0, 0.98);
    }

    .nav-top {
        padding: 0.7rem 1rem 0.5rem;
    }

    .logo {
        height: 48px;
    }

    .nav-bottom {
        padding: 0.4rem 1rem;
    }

    .nav-left {
        gap: 0.3rem;
    }

    .social {
        width: 2.2rem;
        height: 2.2rem;
        font-size: 1.1rem;
    }

    .lang-btn {
        padding: 0.35rem 0.7rem;
        font-size: 0.8rem;
    }

    .mobile-toggle {
        font-size: 1.6rem;
        padding: 0.2rem;
    }

    .sidebar {
        width: 90%;
        max-width: 320px;
    }

    .sidebar-logo {
        padding-top: 3.5rem;
    }

    .sidebar-logo img {
        height: 55px;
    }

    .sidebar-nav a {
        font-size: 1.1rem;
        padding: 0.9rem 0;
    }
}

@media (max-width: 480px) {
    .navbar {
        background: rgba(0, 0, 0, 0.99);
    }

    .nav-top {
        padding: 0.6rem 0.8rem 0.4rem;
    }

    .logo {
        height: 42px;
    }

    .nav-bottom {
        padding: 0.3rem 0.8rem;
    }

    .nav-left {
        gap: 0.2rem;
    }

    .social {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }

    .lang-btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.75rem;
        gap: 0.2rem;
    }

    .lang-btn i {
        font-size: 0.8rem;
    }

    .lang-drop {
        min-width: 130px;
    }

    .lang-opt {
        padding: 0.7rem 0.9rem;
        font-size: 0.9rem;
    }

    .mobile-toggle {
        font-size: 1.4rem;
        margin-left: 0.3rem;
        padding: 0.2rem;
    }

    .sidebar {
        width: 95%;
        max-width: 300px;
        padding: 1.5rem;
    }

    .sidebar-logo {
        margin-bottom: 2rem;
        padding-top: 3rem;
    }

    .sidebar-logo img {
        height: 50px;
    }

    .sidebar-nav {
        margin-bottom: 1.5rem;
    }

    .sidebar-nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }

    .sidebar-nav a {
        font-size: 1rem;
        padding: 0.8rem 0;
    }

    .sidebar-cta {
        padding: 0.9rem;
        font-size: 0.95rem;
        margin-top: 1.5rem;
    }

    .sidebar-close {
        top: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
        font-size: 1.5rem;
    }
}