/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Large desktop */
@media (min-width: 1400px) {
  :root {
    --container: 1320px;
  }
}

/* Tablet landscape */
@media (max-width: 1024px) {
  .about-grid {
    gap: 40px;
  }

  .gallery-grid {
    gap: 12px;
  }
}

/* Tablet portrait */
@media (max-width: 768px) {
  :root {
    --section-pad: 60px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }

  .gallery-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Mobile */
@media (max-width: 600px) {
  :root {
    --section-pad: 48px;
    --gutter: 16px;
  }

  .section-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .btn {
    min-height: 56px;
    padding: 16px 28px;
    font-size: 0.85rem;
  }

  .modal {
    max-height: 95vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Very small screens */
@media (max-width: 375px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .hero-stats {
    gap: 16px;
  }

  .hero-stat-number {
    font-size: 1.6rem;
  }
}

/* Prevent any horizontal overflow */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* Touch targets */
@media (hover: none) and (pointer: coarse) {
  .navbar-nav a,
  .gallery-item,
  .service-card,
  .pricing-card {
    -webkit-tap-highlight-color: transparent;
  }

  .btn {
    min-height: 56px;
  }
}

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