@media (max-width: 992px) {
    .nav-toggle {
        display: inline-flex !important;
        flex-direction: column;
        align-items: center; justify-content: center; gap: 5px;
        width: 40px; height: 40px;
        background: none; border: none; color: var(--c-text);
        cursor: pointer;
    }
    .nav-toggle span {
        display: block; width: 22px; height: 2px;
        background: currentColor; border-radius: 2px;
        transition: transform 0.3s var(--ease, ease), opacity 0.3s;
    }
    .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
    .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 992px) {
    .mobile-menu {
        position: fixed !important;
        top: var(--header-h, 60px);
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        height: calc(100dvh - var(--header-h, 60px)) !important;
        background: rgba(5, 11, 26, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 99;
        padding: 1.5rem 1.5rem 3rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: var(--c-overlay-strong, rgba(5, 11, 26, 0.98));
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        display: flex !important;
        flex-direction: column;
    }
    .mobile-menu.is-open {
        transform: translateX(0);
    }
    .mobile-menu__list {
        list-style: none; padding: 0; margin: 0;
        display: flex; flex-direction: column; gap: 0.3rem;
    }
    .mobile-menu__list a {
        display: block;
        padding: 1.1rem 0.5rem;
        font-family: var(--font-head, 'Sora', sans-serif);
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--c-text);
        text-decoration: none;
        border-bottom: 1px solid rgba(110, 198, 255, 0.1);
        transition: color 0.2s, padding-left 0.2s;
    }
    .mobile-menu__list a:hover,
    .mobile-menu__list a:active {
        color: var(--c-accent-2);
        padding-left: 1.2rem;
    }
    .mobile-menu__cta { display: none !important; }
}

@media (max-width: 992px) {
    .site-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: var(--header-h, 60px) !important;
        z-index: 100 !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: var(--c-header-bg) !important;
        backdrop-filter: blur(20px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
        border-radius: 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
    }
    .site-header.is-scrolled,
    .site-header.is-pill {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        border-radius: 0 !important;
    }
}

@media (min-width: 993px) {
    .float-stack__mobile-only { display: none !important; }
}

@media (max-width: 992px) {
    .float-stack {
        position: fixed !important;
        bottom: 1rem !important;
        right: 1rem !important;
        left: auto !important;
        z-index: 90;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 0.55rem;
        transform: translateY(0);
        opacity: 1;
        transition:
            transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
            opacity 0.35s ease;
    }
    .float-stack.is-stack-hidden {
        transform: translateY(140%) !important;
        opacity: 0 !important;
        pointer-events: none;
    }

    .float-stack__btn {
        width: 44px; height: 44px;
        border-radius: 50%;
        background: var(--c-surface);
        border: 1px solid var(--c-border);
        color: var(--c-text-dim);
        box-shadow: var(--shadow);
        display: inline-flex; align-items: center; justify-content: center;
        cursor: pointer; position: relative; overflow: hidden;
        flex-shrink: 0;
        transition: transform 0.3s var(--ease, ease), border-color 0.3s, color 0.3s, box-shadow 0.3s;
    }
    .float-stack__btn:hover,
    .float-stack__btn:active {
        transform: scale(1.1);
        border-color: var(--c-accent-2);
        color: var(--c-accent-2);
    }
    .float-stack__btn .lang-flag-img {
        width: 22px; height: 15px;
        object-fit: cover; border-radius: 3px;
        display: block;
    }
    .float-stack__btn .theme-toggle__sun,
    .float-stack__btn .theme-toggle__moon { position: absolute; }

    .float-whatsapp {
        width: 44px !important; height: 44px !important;
        position: relative !important;
        bottom: auto !important; right: auto !important; left: auto !important;
    }
    .float-whatsapp i { font-size: 22px !important; }

    .back-to-top {
        position: relative !important;
        width: 44px !important; height: 44px !important;
        max-height: 44px;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
    }
    .back-to-top:not(.is-visible) {
        opacity: 0; max-height: 0; margin-top: -0.55rem; pointer-events: none;
    }
    .back-to-top.is-visible {
        opacity: 1; max-height: 44px; margin-top: 0;
    }
}

@media (max-width: 992px) {
    .m-lang-menu {
        position: fixed !important;
        bottom: 11rem !important;
        right: 1rem !important;
        left: auto !important;
        flex-direction: column !important;
        gap: 0.2rem !important;
        padding: 0.4rem !important;
        background: var(--c-surface) !important;
        border: 1px solid var(--c-border) !important;
        border-radius: var(--radius) !important;
        box-shadow: var(--shadow-lg) !important;
        min-width: 150px !important;
        opacity: 0;
        transform: translateY(10px) scale(0.96);
        pointer-events: none;
        transition: opacity 0.25s var(--ease, ease), transform 0.25s var(--ease, ease);
        z-index: 95;
    }
    .m-lang-menu.is-open {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }
    .m-lang-item {
        display: flex; align-items: center; gap: 0.6rem;
        padding: 0.55rem 0.7rem;
        border-radius: 8px !important;
        color: var(--c-text-dim);
        font-size: 0.9rem; font-weight: 500;
        transition: background 0.2s, color 0.2s;
        width: 100%;
    }
    .m-lang-item:hover,
    .m-lang-item:active { background: var(--c-accent-soft); color: var(--c-text); }
    .m-lang-item.is-active {
        color: #fff;
        background: linear-gradient(120deg, var(--c-accent), var(--c-accent-2));
    }
    .m-lang-item img {
        width: 22px !important; height: 15px !important;
        object-fit: cover; border-radius: 3px; display: block;
    }
    .m-controls { display: none !important; }
}

@media (max-width: 992px) {
    .hero {
        min-height: calc(100vh - var(--header-h, 60px)) !important;
        min-height: calc(100svh - var(--header-h, 60px)) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: calc(var(--header-h, 60px) + 2rem) 1rem 2.5rem !important;
    }
    .hero__content {
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }
    .hero__cta {
        justify-content: center !important;
    }
    .hero__scroll { display: none !important; }
    .hero__subtitle { margin-bottom: 0.4rem; }
    .hero__cta { margin-top: 0.6rem; }
}


