/* ===================================
   RESPONSIVE — MOBILE FIRST
   =================================== */

/* Tablet: 1024px and below */
@media (max-width: 1024px) {
    :root {
        --section-spacing: 80px;
    }

    .header-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .float-card-1 {
        left: 0;
    }

    .float-card-2 {
        right: 0;
    }

    .services-grid,
    .testimonials-grid,
    .pricing-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-teaser-grid,
    .service-detail {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-detail.reverse {
        direction: ltr;
    }

    .process-steps {
        flex-wrap: wrap;
        gap: 16px;
    }

    .process-connector {
        display: none;
    }

    .process-step {
        flex: 0 0 calc(50% - 8px);
    }

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

    .gallery-item-lg {
        grid-row: auto;
    }

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

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

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

/* Mobile: 768px and below */
@media (max-width: 768px) {
    :root {
        --section-spacing: 60px;
    }

    body {
        font-size: 15px;
    }

    .container {
        padding: 0 20px;
    }

    .hero {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 100px;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .services-grid,
    .testimonials-grid,
    .pricing-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .process-step {
        flex: 0 0 100%;
    }

    .gallery-grid,
    .gallery-full-grid {
        grid-template-columns: 1fr;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .cta-card {
        padding: 40px 24px;
    }

    .hero-float-card {
        display: none;
    }

    .about-teaser-badge {
        right: 10px;
        bottom: -10px;
    }

    .legal-nav ul {
        flex-direction: column;
    }

    .legal-nav a {
        display: block;
        text-align: center;
    }
}

/* Small mobile: 480px and below */
@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .gallery-filters {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 8px;
    }

    .gallery-filters::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        flex-shrink: 0;
    }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .glass-card {
        border-color: rgba(255, 255, 255, 0.2);
    }

    .nav-link,
    .footer-links a {
        color: var(--color-text-primary);
    }
}