/* ── Tablet / Small desktop ─────────────────────────────────── */
@media (max-width: 1100px) {
  .nav-links,
  .desktop-call { display: none; }

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

  .two-col,
  .contact-grid,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-card { aspect-ratio: auto; padding: 2.5rem; }

  .service-grid { grid-template-columns: 1fr 1fr; column-gap: 1.4rem; }
  .work-grid    { grid-template-columns: 1fr 1fr; }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .section    { padding: 4.5rem 0; }
  .section-sm { padding: 3rem 0; }

  .hero { min-height: auto; padding-top: 3rem; padding-bottom: 3rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Hero inline stats: tighter spacing, allow wrapping */
  .hero-stats { gap: 0.7rem 1.4rem; margin-top: 2rem; }
  .hero-stat { font-size: 0.88rem; }

  /* Consistent gap between every pill/badge and the heading that follows */
  .badge,
  .pill { margin-bottom: 1.15rem; }
  .badge + h1, .badge + h2, .badge + h3,
  .pill  + h1, .pill  + h2, .pill  + h3,
  .badge + .section-title,
  .pill  + .section-title { margin-top: 0; }

  /* Services / Work: single column */
  .service-grid,
  .work-grid { grid-template-columns: 1fr; }

  /* Gallery footer stacks */
  .gallery-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .gallery-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  /* Testimonials smaller cards */
  .testimonial-card { width: 280px; }

  /* Contact form more padding on mobile */
  .contact-form-card { padding: 1.2rem; }

  /* CTA banner */
  .cta-banner { padding: 1.5rem; }
  .cta-banner h3 { font-size: 1.3rem; }
}

/* ── Extra small ────────────────────────────────────────────── */
@media (max-width: 480px) {
  .container { width: calc(100% - 2rem); }
  .hero h1   { font-size: clamp(2rem, 10vw, 3rem); }
  .about-card .about-badges { gap: 0.35rem; }
  .about-badge { font-size: 0.7rem; padding: 0.25rem 0.6rem; }
}
