@media (max-width: 1024px) {
    :root {
        --spacing-desktop: var(--spacing-tablet);
    }
    
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
    
    .hero-grid, .about-grid {
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-desktop: var(--spacing-mobile);
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .nav-links {
        display: none; /* In a real app, toggle mobile menu here */
    }
    
    .hero-grid, .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .image-stack {
        margin-top: 40px;
    }
    
    .img-main {
        width: 100%;
    }
    
    .img-offset {
        position: relative;
        width: 80%;
        bottom: 0;
        margin-top: -15%;
        margin-left: 20%;
    }
    
    .services-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 60px 20px;
        width: 100%;
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.25rem; }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
        margin-bottom: 12px;
    }
}