/* =====================================================
   MICHAEL DECORAZIONI — Responsive (v2)
   ===================================================== */

/* Tablet: <= 1024px */
@media (max-width: 1024px) {
  .services-grid,
  .testimonials-grid,
  .why-grid,
  .gallery-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid::before { display: none; }

  .portfolio-masonry { columns: 2; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .map-container,
  .about-grid,
  .contact-grid,
  .michael-grid,
  .cta-final-grid,
  .hero-inner,
  .quote-banner-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .quote-banner-text { text-align: center; }
  .quote-banner-text p { max-width: none; margin: 0 auto; }
  .quote-form { padding: 1.5rem; }
  .quote-form { grid-template-columns: 1fr; }

  .map-embed { min-height: 400px; }

  .service-detail,
  .service-detail.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-detail.reverse .service-detail-image { order: 0; }
  .service-detail-image img { height: 320px; }

  .trust-bar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
  }

  .trust-item:nth-child(2):not(:last-child)::after { display: none; }

  .michael-mascotte { max-height: 380px; }
}

/* Mobile: <= 768px */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
    --container-padding: 1.25rem;
  }

  .section { padding: 4rem 0; }
  .section-lg { padding: 5rem 0; }

  /* Mobile menu */
  .menu-toggle { display: flex; }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 5rem 2rem 2rem;
    gap: 0;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
    overflow-y: auto;
  }

  .nav.active { right: 0; }

  .nav-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav-list li { border-bottom: 1px solid var(--color-border); }

  .nav-link {
    display: block;
    padding: 1rem 0;
    font-size: 1.05rem;
  }

  .nav-link::after { display: none; }

  .nav-cta {
    width: 100%;
    margin-top: 1.5rem;
    flex-direction: column;
  }

  .nav-phone {
    justify-content: center;
    padding: 0.85rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius-sm);
    width: 100%;
  }

  body.menu-open { overflow: hidden; }

  /* Hero */
  .hero { min-height: 90vh; }
  .hero-actions .btn { width: 100%; }
  .hero-scroll { display: none; }

  /* Trust bar */
  .trust-bar { padding: 2rem 0; }
  .trust-item:not(:last-child)::after { display: none; }
  .trust-item strong { font-size: 1.6rem; }

  /* Sections */
  .services-grid,
  .testimonials-grid,
  .why-grid,
  .gallery-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-masonry { columns: 1; }

  .section-header { margin-bottom: 2.5rem; }
  .section-header p { font-size: 1rem; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; gap: 1rem; }
  .contact-form-wrap,
  .cta-form { padding: 1.75rem; }

  .map-info { padding: 3rem 1.5rem; }
  .zone-list { grid-template-columns: 1fr; }

  /* Testimonial */
  .testimonial { padding: 1.75rem; }
  .testimonial-text { font-size: 1rem; }

  /* Footer */
  .footer { padding: 3.5rem 0 1.5rem; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-social { justify-content: center; }
  .footer-contact div { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Floating */
  .floating-actions { bottom: 1rem; right: 1rem; }
  .floating-btn { width: 52px; height: 52px; }

  .nav-phone span { display: none; }

  /* Michael section */
  .michael-mascotte { max-height: 320px; }
}

/* Small mobile: <= 480px */
@media (max-width: 480px) {
  .btn { font-size: 0.8rem; padding: 0.85rem 1.4rem; }
  .btn-lg { padding: 1rem 1.75rem; font-size: 0.85rem; }

  .trust-bar-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .trust-item strong { font-size: 1.4rem; }
  .trust-item span { font-size: 0.78rem; }

  .gallery-filters { gap: 0.4rem; }
  .filter-btn { padding: 0.5rem 1rem; font-size: 0.75rem; }
}

/* Print */
@media print {
  .header,
  .footer,
  .floating-actions,
  .cta-final,
  .menu-toggle,
  .hero-scroll {
    display: none;
  }

  body { color: #000; background: #fff; }
}

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

  .reveal { opacity: 1; transform: none; }
}
