/* ==========================================================================
   Responsive — All Media Queries (Mobile-First)
   ========================================================================== */

/* ---------- Max 1200px ---------- */
@media (max-width: 1200px) {
    .sports-showcase .grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-showcase .grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2xl);
    }
}

/* ---------- Max 1024px ---------- */
@media (max-width: 1024px) {
    /* Navigation */
    .main-nav__menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Hero */
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__content {
        max-width: 100%;
    }

    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    /* Why Kinexa */
    .why-kinexa .container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    /* How It Works */
    .how-it-works__steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .how-it-works__steps::before {
        display: none;
    }

    /* Blog layout */
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    /* Process steps */
    .production-timeline {
        grid-template-columns: 1fr;
    }

    .production-timeline::before {
        display: none;
    }
}

/* ---------- Max 768px ---------- */
@media (max-width: 768px) {
    /* Grid overrides */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

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

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

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

    .related-posts__grid {
        grid-template-columns: 1fr;
    }

    .post-navigation {
        grid-template-columns: 1fr;
    }

    /* Trust bar */
    .trust-bar__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Why Kinexa cards */
    .why-kinexa__cards {
        grid-template-columns: 1fr;
    }

    /* How It Works */
    .how-it-works__steps {
        grid-template-columns: 1fr;
    }

    /* Form rows */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

    /* Global reach */
    .global-reach__stats {
        grid-template-columns: repeat(3, 1fr);
    }

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

    /* Pricing tiers */
    .pricing-tiers {
        grid-template-columns: 1fr;
    }

    /* Timeline */
    .timeline {
        padding-left: var(--space-2xl);
    }

    /* Page hero */
    .page-hero {
        padding-top: calc(var(--header-height) + var(--space-2xl));
    }

    /* Process step */
    .process-step {
        grid-template-columns: 60px 1fr;
        gap: var(--space-md);
    }

    .process-step__number {
        width: 60px;
        height: 60px;
    }

    /* Author bio */
    .author-bio {
        flex-direction: column;
        text-align: center;
    }

    /* Lightbox nav */
    .lightbox__nav {
        width: 40px;
        height: 40px;
    }

    .lightbox__nav--prev {
        left: var(--space-sm);
    }

    .lightbox__nav--next {
        right: var(--space-sm);
    }

    /* Section padding reduction */
    .section {
        padding-top: var(--section-pad-sm);
        padding-bottom: var(--section-pad-sm);
    }
}

/* ---------- Max 576px ---------- */
@media (max-width: 576px) {
    /* Hero */
    .hero__title {
        font-size: clamp(36px, 10vw, 48px);
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .hero__stats {
        flex-direction: column;
        width: 100%;
    }

    .hero__stat-card {
        width: 100%;
        min-width: 0;
    }

    /* Sports grid */
    .sports-showcase .grid {
        grid-template-columns: 1fr;
    }

    .product-showcase .grid {
        grid-template-columns: 1fr;
    }

    /* Trust bar */
    .trust-bar__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-bar__grid > *:last-child {
        grid-column: span 2;
    }

    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: var(--fs-body-sm);
    }

    .btn--lg {
        padding: 14px 28px;
        font-size: var(--fs-body);
    }

    /* CTA section */
    .cta-section__actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .gallery-filter {
        gap: var(--space-xs);
    }

    .gallery-filter__btn {
        padding: 6px 14px;
        font-size: var(--fs-caption);
    }

    /* Share buttons */
    .share-buttons {
        flex-wrap: wrap;
    }

    /* WhatsApp float */
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }

    /* Quote form */
    .quote-form {
        padding: var(--space-lg);
    }

    /* Global reach stats */
    .global-reach__stats {
        grid-template-columns: 1fr;
    }
}
