/* =========================================
   PRIME INTERIOR — Responsive Styles
   ========================================= */

/* =========================================
   TABLET (max 991px)
   ========================================= */
@media (max-width: 991.98px) {

  .nav-links,
  .nav-phone { display: none; }

  .nav-toggle { display: flex; }

  .hero-strip { display: none; }

  .about-preview-text { padding-right: 0; margin-bottom: 3rem; }

  .about-image-wrap img { height: 400px; }

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

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .proj-card-large { grid-row: auto; }
  .proj-card-large img { min-height: 400px; }

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

  .stat-item:nth-child(2) { border-right: none; }

  .why-features { padding-left: 0; margin-top: 3rem; }

  .why-image-col img { height: 400px; }

  .philosophy-grid { grid-template-columns: 1fr; }

  .team-grid { grid-template-columns: 1fr; }

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

  .service-detail-content { padding: 2.5rem 0 0; }

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

  .associates-grid {
    flex-wrap: wrap;
  }

  .associate-item {
    flex: 1;
    min-width: 50%;
    border-bottom: 1px solid var(--clr-border);
  }

  .footer-brand { margin-bottom: 2.5rem; }
}

/* =========================================
   MOBILE (max 767px)
   ========================================= */
@media (max-width: 767.98px) {

  .site-nav { padding: 1.1rem 0; }
  .site-nav.nav-scrolled { padding: 0.75rem 0; }

  .home-hero { min-height: 100svh; }

  .home-hero-title { font-size: clamp(2.2rem, 10vw, 3rem); }

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

  .hero-cta-group .btn-prime { width: 100%; justify-content: center; }

  .page-hero { height: 45vh; min-height: 320px; }

  .page-hero-content { padding-bottom: 2rem; }

  .services-grid { grid-template-columns: 1fr; }

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

  .stat-item {
    padding: 1.5rem 1rem;
    border-right: 1px solid rgba(26,26,26,0.12);
    border-bottom: 1px solid rgba(26,26,26,0.12);
  }

  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-bottom: none; }
  .stat-item:nth-child(4) { border-right: none; border-bottom: none; }

  .projects-masonry { grid-template-columns: 1fr; }

  .gallery-card img { height: 260px; }
  .gallery-card.tall img { height: 320px; }

  .gallery-overlay { opacity: 1; }
  .gallery-info { opacity: 1; transform: none; }

  .values-grid { grid-template-columns: 1fr; }

  .projects-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

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

  .form-submit-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .associate-item { min-width: 100%; border-right: none; }

  .about-image-wrap { padding-top: 1.25rem; padding-left: 1.25rem; }

  .team-card { padding: 2rem; }

  .about-story-quote { padding: 1rem 1.25rem; }
  .about-story-quote blockquote { font-size: var(--fs-xl); }

  .cta-banner { padding: 5rem 0; }

  .contact-layout { padding-top: 3.5rem; }

  .contact-info-col { margin-bottom: 3rem; }

  .service-detail-content { padding: 0; }

  .nav-cta { display: none; }

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

  .breadcrumb-nav { display: none; }

  .back-to-top,
  .whatsapp-float { bottom: 1.25rem; right: 1.25rem; }

  .back-to-top { bottom: 5.5rem; right: 1.25rem; }

  .hero-strip { display: none; }
}

/* =========================================
   SMALL MOBILE (max 480px)
   ========================================= */
@media (max-width: 479.98px) {

  .filter-buttons { gap: 0.4rem; }

  .filter-btn {
    padding: 0.4rem 0.9rem;
    font-size: 10px;
  }

  .btn-prime { padding: 0.8rem 1.75rem; font-size: 11px; }

  .section-title { font-size: clamp(1.5rem, 6vw, 2rem); }
}

/* =========================================
   LARGE SCREENS (min 1400px)
   ========================================= */
@media (min-width: 1400px) {
  .service-detail-content { padding: 0 5rem; }
  .why-features { padding-left: 5rem; }
  .about-preview-text { padding-right: 4.5rem; }
}

/* =========================================
   PRINT
   ========================================= */
@media print {
  .site-nav,
  .whatsapp-float,
  .back-to-top,
  .cta-banner,
  footer { display: none; }

  body { font-size: 12pt; }

  .page-hero { height: auto; padding: 2rem 0; }
  .page-hero-bg,
  .page-hero-overlay { display: none; }
  .page-hero-title { color: #000; }
}
