/* ═══════════════════════════════════════════════════════════
   FIX IT JAIME — Responsive Breakpoints
   Mobile-first media queries
   ═══════════════════════════════════════════════════════════ */

/* ── Tablet and below (≤1024px) ───────────────────────────── */
@media (max-width: 1024px) {
    :root {
        --nav-height: 64px;
    }

    /* Navigation */
    .nav-menu {
        display: none;
    }

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

    .mobile-nav,
    .mobile-menu-overlay {
        display: block;
    }

    .header-phone {
        font-size: 1.1rem;
    }

    /* Hero */
    .hero .container {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: var(--space-7) 0;
    }

    .hero-form-card {
        max-width: 480px;
    }

    /* Steps */
    .steps-grid::before {
        display: none;
    }

    /* Why Choose */
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

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

    /* Service page */
    .service-page-layout {
        grid-template-columns: 1fr;
    }

    .service-sidebar {
        order: -1;
    }

    .sidebar-inner {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-4);
    }

    /* CTA Banner */
    .cta-banner .container {
        flex-direction: column;
        text-align: center;
    }

    .cta-banner-actions {
        flex-direction: column;
        width: 100%;
        max-width: 360px;
    }

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

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

/* ── Mobile (≤640px) ──────────────────────────────────────── */
@media (max-width: 640px) {
    :root {
        --topbar-height: auto;
        --nav-height: 60px;
        --space-9: 56px;
        --space-10: 72px;
    }

    .container {
        padding: 0 var(--space-4);
    }

    /* Top Bar */
    .top-bar .container {
        flex-direction: column;
        gap: var(--space-2);
        padding: var(--space-2) var(--space-4);
    }

    .top-bar-left,
    .top-bar-right {
        gap: var(--space-3);
        flex-wrap: wrap;
        justify-content: center;
    }

    .top-bar {
        text-align: center;
        font-size: 0.8rem;
    }

    /* Header */
    .header-cta .btn {
        display: none;
    }

    .header-phone {
        font-size: 1rem;
    }

    /* Hero */
    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }

    .hero-trust-chips {
        gap: var(--space-2);
    }

    .trust-chip {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .hero-ctas {
        flex-direction: column;
    }

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

    .hero-form-card {
        padding: var(--space-5);
    }

    /* Steps */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }

    .step-number {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }

    /* Service Cards */
    .grid-3,
    .grid-4,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    /* Page Hero */
    .page-hero {
        height: 200px;
    }

    .page-hero-ctas {
        flex-direction: column;
    }

    .page-hero-ctas .btn {
        width: 100%;
    }

    /* Service page sidebar */
    .sidebar-inner {
        grid-template-columns: 1fr;
    }

    /* Inline CTA */
    .inline-cta {
        flex-direction: column;
        text-align: center;
    }

    /* Testimonials */
    .testimonial-card {
        flex: 0 0 calc(100vw - 48px);
    }

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

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }

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

    /* Why Choose */
    .why-choose-stats {
        flex-direction: column;
    }

    /* Service content images */
    .service-content .alignleft,
    .service-content .alignright {
        float: none;
        max-width: 100%;
        margin: var(--space-5) 0;
    }

    /* Areas Grid */
    .areas-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ── Small phones (≤380px) ────────────────────────────────── */
@media (max-width: 380px) {
    .areas-grid {
        grid-template-columns: 1fr;
    }

    .hero-form-card {
        padding: var(--space-4);
    }

    .testimonial-card {
        flex: 0 0 calc(100vw - 32px);
        padding: var(--space-5);
    }
}

/* ── Large desktop (≥1280px) ──────────────────────────────── */
@media (min-width: 1280px) {
    .container {
        padding: 0 var(--space-6);
    }

    .hero {
        min-height: 660px;
    }
}

/* ── Print styles ─────────────────────────────────────────── */
@media print {
    .top-bar,
    .site-header,
    .hero-form-card,
    .cta-banner,
    .service-sidebar,
    .mobile-nav,
    .mobile-menu-overlay,
    .footer-cta-section {
        display: none !important;
    }

    .service-page-layout {
        grid-template-columns: 1fr;
    }

    body {
        color: #000;
        background: #fff;
        font-size: 12pt;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}
