/* ==========================================================================
   Aspire Glass Projects — Responsive Rules
   ========================================================================== */

/* ---------- Laptops / small desktops ---------- */
@media (max-width: 1180px) {
  :root { --container-width: 100%; }
  .container { padding: 0 32px; }
  .services-grid, .portfolio-grid, .portfolio-page-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}

/* ---------- Tablets ---------- */
@media (max-width: 992px) {
  .main-nav { position: fixed; top: 0; right: -100%; width: min(340px, 82%); height: 100vh; background: var(--color-dark); flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 110px 34px 34px; gap: 28px; transition: right 0.45s var(--ease); z-index: 1100; }
  .main-nav.open { right: 0; box-shadow: -20px 0 50px rgba(0,0,0,0.35); }
  .main-nav ul { flex-direction: column; gap: 22px; width: 100%; }
  .main-nav ul a { font-size: 1.05rem; display: block; }
  .nav-cta { width: 100%; text-align: center; margin-top: 10px; }
  .hamburger { display: flex; }

  .about-split, .story-grid, .service-detail-row, .contact-grid, .project-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .project-info-card { position: static; }
  .gallery-item:first-child { grid-column: 1 / -1; }
  .about-split-media img, .story-media img, .service-detail-media img { height: 380px; }
  .story-grid.reverse .story-media, .service-detail-row.reverse .service-detail-media { order: 0; }
  .about-split-media .float-card { position: static; margin-top: -60px; max-width: 100%; }

  .hero-content-wrap { padding-bottom: 100px; }
  .hero-controls, .hero-pagination { display: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  body { font-size: 15px; }

  .site-header { height: 72px; }
  .brand-logo { height: 36px; }
  .brand-name { font-size: 0.92rem; }

  .hero-slider { min-height: 560px; }
  .hero-slide-text h1 { font-size: 2rem; }
  .hero-slide-text p { font-size: 1rem; }
  .hero-cta-group { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-cta-group .btn { width: 100%; justify-content: center; }

  .about-split-section, .services-section, .why-section, .portfolio-section, .story-section,
  .values-section, .services-detail, .portfolio-page-section, .contact-section, .cta-band,
  .project-detail-section {
    padding-top: 80px; padding-bottom: 80px;
  }

  .project-gallery-grid { grid-template-columns: 1fr; }
  .gallery-item, .gallery-item:first-child { aspect-ratio: 4 / 3; grid-column: auto; }
  .project-info-card { padding: 26px 22px; }
  .project-related { margin-top: 70px; padding-top: 50px; }

  .lightbox-nav { width: 42px; height: 42px; font-size: 1.5rem; margin: 0 10px; }
  .lightbox-close { top: 16px; right: 16px; width: 40px; height: 40px; }
  .lightbox-stage { max-width: 92vw; max-height: 74vh; }
  .lightbox-stage img { max-height: 74vh; }
  .lightbox-counter { bottom: -32px; }

  .services-grid, .portfolio-grid, .portfolio-page-grid, .values-grid, .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-info-card { padding: 34px 26px; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .cta-band-buttons { flex-direction: column; }
  .cta-band-buttons .btn { width: 100%; }

  .page-banner { height: 46vh; min-height: 320px; padding-bottom: 44px; }

  .portfolio-filters { gap: 8px; }
  .filter-btn { padding: 9px 16px; font-size: 0.78rem; }
}

/* ---------- Small mobile ---------- */
@media (max-width: 400px) {
  .hero-slide-text h1 { font-size: 1.7rem; }
  .float-card { padding: 20px 22px; }
}
