/* ===========================
   DESKTOP (>= 992px)
=========================== */
@media (min-width: 992px) {
    .menu-btn,
    .mobile-menu,
    .menu-overlay,
    .close-btn {
        display: none !important;
    }
}

/* ===========================
   TABLET & MOBILE (<= 991px)
=========================== */
@media (max-width: 991px) {
    .nav-links {
        display: none !important;
    }

    .menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .65);
        z-index: 1000;
        opacity: 0;
        pointer-events: none;
        transition: opacity .35s ease;
    }

    .menu-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        height: 100dvh;
        background: rgba(0, 0, 0, .96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 1001;
        transform: translateX(-100%);
        transition: transform .4s cubic-bezier(.4, 0, .2, 1);
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .mobile-menu.active {
        transform: translateX(0);
    }

    .mobile-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 22px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
        flex-shrink: 0;
    }

    .mobile-menu-header .logo {
        font-size: 22px;
        font-weight: 800;
        color: #fff;
        text-decoration: none;
    }

    .mobile-menu-header .logo span {
        color: #ff6b00;
    }

    .close-btn {
        background: none;
        border: none;
        color: #fff;
        font-size: 32px;
        cursor: pointer;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: color .3s ease;
    }

    .close-btn:hover {
        color: #ff6b00;
    }

    .mobile-nav-links {
        list-style: none;
        padding: 8px 0;
        margin: 0;
        flex: 1;
    }

    .mobile-nav-links li {
        opacity: 0;
        transform: translateX(-24px);
        transition: opacity .45s ease, transform .45s ease;
    }

    .mobile-menu.active .mobile-nav-links li {
        opacity: 1;
        transform: translateX(0);
    }

    .mobile-menu.active .mobile-nav-links li:nth-child(1) { transition-delay: .08s; }
    .mobile-menu.active .mobile-nav-links li:nth-child(2) { transition-delay: .14s; }
    .mobile-menu.active .mobile-nav-links li:nth-child(3) { transition-delay: .20s; }
    .mobile-menu.active .mobile-nav-links li:nth-child(4) { transition-delay: .26s; }
    .mobile-menu.active .mobile-nav-links li:nth-child(5) { transition-delay: .32s; }
    .mobile-menu.active .mobile-nav-links li:nth-child(6) { transition-delay: .38s; }

    .mobile-nav-links a {
        display: block;
        padding: 18px 20px;
        color: #fff;
        text-decoration: none;
        font-size: 18px;
        font-weight: 600;
        border-bottom: 1px solid rgba(255, 255, 255, .06);
        transition: color .3s ease, background .3s ease, padding-left .3s ease;
    }

    .mobile-nav-links a:hover {
        color: #ff6b00;
        background: rgba(255, 255, 255, .05);
        padding-left: 28px;
    }

    .mobile-nav-links .call-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin: 10px 20px;
        padding: 12px 24px;
        background: linear-gradient(135deg, #007bff, #0056b3);
        border-radius: 50px;
        font-size: 16px;
        font-weight: 600;
        color: #fff;
        width: fit-content;
        box-shadow: 0 8px 20px rgba(0, 123, 255, .35);
        transition: all .3s ease;
    }

    .mobile-nav-links .call-btn i {
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, .2);
        border-radius: 50%;
        font-size: 16px;
        animation: ring 1.5s infinite;
    }

    .mobile-nav-links .call-btn:hover {
        background: linear-gradient(135deg, #0069d9, #004085);
    }

    body.menu-open .whatsapp-float,
    body.menu-open .call-float,
    body.menu-open .floating-btn,
    body.menu-open .order-btn {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .features .container {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content h1 {
        font-size: 45px;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-image {
        order: -1;
    }

    .page-hero-content h1 {
        font-size: 40px;
    }
}

/* ===========================
   MOBILE ONLY (< 768px)
=========================== */
@media (max-width: 768px) {
    .features .container {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 35px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons a {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .counter-grid {
        grid-template-columns: 1fr;
    }

    .cta-box h2 {
        font-size: 36px;
    }

    .whatsapp-float {
        height: 58px;
        width: 58px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float i {
        font-size: 28px;
        min-width: 58px;
    }

    @keyframes autoExpand {
        0%, 15% { width: 58px; }
        20%, 55% { width: 160px; }
        60%, 100% { width: 58px; }
    }

    .whatsapp-float:hover,
    .whatsapp-float:focus {
        width: 160px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .page-hero-content h1 {
        font-size: 32px;
    }
}

/* ===========================
   SMALL MOBILE (< 480px)
=========================== */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 60px;
    }

    .features {
        padding: 60px 0;
    }

    .feature-box {
        padding: 30px;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .counter-box h2 {
        font-size: 42px;
    }

    .blog-card img {
        height: 180px;
    }

    .page-hero-content h1 {
        font-size: 26px;
    }
}
