/* ============================================================
   RESPONSIVE.CSS - MOBILE RESPONSIVE
   ============================================================ */

/* ── Tablet ── */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 40px;
    }
    
    .hero p {
        font-size: 17px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .service-hero .container {
        grid-template-columns: 1fr;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-layout {
        grid-template-columns: 1fr;
    }
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-dropdown);
        border-bottom: 1px solid var(--gray-light);
    }
    
    .nav.open {
        display: flex;
    }
    
    .hero {
        min-height: 80vh;
        padding: 120px 0 60px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .hero-stat-number {
        font-size: 22px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-card .blog-image {
        height: 180px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .service-hero h1 {
        font-size: 28px;
    }
    
    .service-hero-right .price {
        font-size: 28px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr 1fr;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .filter-tabs {
        flex-wrap: wrap;
    }
    
    .filters-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        margin-top: 24px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 50px !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
    }
    
    .timeline-item::before {
        left: 12px !important;
    }
    
    .timeline-item:nth-child(odd)::before {
        right: auto;
    }
    
    .info-item {
        padding: 12px 0;
    }
    
    .map-container {
        height: 250px;
    }
    
    .pricing-component {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .component-item {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .calculator-container {
        grid-template-columns: 1fr;
    }
    
    .pricing-summary {
        position: static;
    }
    
    .ai-chat-window {
        width: calc(100vw - 24px);
        right: 12px;
        left: 12px;
        height: 60vh;
    }
    
    .ai-toggle {
        width: 52px;
        height: 52px;
        font-size: 24px;
    }
    
    .mega-menu-dropdown {
        display: none !important;
    }
    
    .mega-menu-mobile {
        display: block !important;
    }
    
    .command-palette-modal {
        max-height: 90vh;
    }
    
    .command-palette-body {
        max-height: 300px;
    }
    
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-consent-actions {
        width: 100%;
        justify-content: center;
    }
}

/* ── Small Mobile ── */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}