/* ============================================================
   Satva Developers — Responsive Overrides
   ============================================================ */

@media (max-width: 1199.98px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991.98px) {
  :root {
    --nav-h: 72px;
  }

  .section {
    padding: 72px 0;
  }

  .site-header .navbar-collapse {
    background: var(--white);
    margin-top: 0.75rem;
    padding: 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
  }

  .site-header.transparent:not(.scrolled) .navbar-collapse .nav-link {
    color: var(--charcoal) !important;
  }

  .site-header.transparent:not(.scrolled) .navbar-collapse .btn-outline {
    border-color: var(--charcoal);
    color: var(--charcoal);
  }

  .nav-cta {
    margin: 0.75rem 0 0;
  }

  .nav-link::after {
    display: none;
  }

  .intro-grid,
  .vision-mission,
  .contact-grid,
  .project-overview-grid,
  .newsletter-box {
    grid-template-columns: 1fr;
  }

  .intro-visual .main-img img {
    height: 400px;
  }

  .intro-badge {
    left: 16px;
    bottom: 16px;
  }

  .why-grid,
  .services-grid,
  .team-grid,
  .amenity-grid,
  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 160px;
  }

  .gallery-item:nth-child(n) {
    grid-column: span 3;
    grid-row: span 1;
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(6) {
    grid-column: span 6;
    grid-row: span 2;
  }

  .page-hero {
    min-height: 340px;
    padding: 120px 0 56px;
  }

  .project-detail-hero {
    min-height: 420px;
  }

  .info-panel {
    position: static;
  }

  .cta-band {
    background-attachment: scroll;
  }

  .home-hero {
    min-height: 92vh;
  }
}

@media (max-width: 767.98px) {
  .container {
    width: min(100% - 1.75rem, var(--container));
  }

  .section {
    padding: 60px 0;
  }

  .section-head {
    margin-bottom: 2.25rem;
  }

  .why-grid,
  .services-grid,
  .team-grid,
  .amenity-grid,
  .spec-grid,
  .values-grid,
  .stats-grid,
  .footer-grid,
  .process-steps,
  .distance-list {
    grid-template-columns: 1fr;
  }

  .intro-features {
    grid-template-columns: 1fr;
  }

  .intro-visual .main-img img {
    height: 300px;
  }

  .project-card {
    min-height: 420px;
  }

  .project-content p {
    opacity: 1;
    transform: none;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 140px;
  }

  .gallery-item:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-scroll {
    display: none;
  }

  .float-actions {
    right: 14px;
    bottom: 14px;
  }

  .float-btn {
    width: 48px;
    height: 48px;
  }

  .contact-form-wrap {
    padding: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .upcoming-banner {
    flex-direction: column;
    text-align: center;
  }

  .timeline::before {
    left: 12px;
  }

  .timeline-item {
    padding-left: 48px;
  }

  .timeline-dot {
    left: 2px;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand img {
    height: 46px;
    max-width: min(150px, 52vw);
  }

  .site-header.scrolled .navbar-brand img {
    height: 40px;
    max-width: min(130px, 48vw);
  }

  .home-hero .container {
    padding-top: 100px;
  }

  .btn-lg {
    padding: 0.95rem 1.5rem;
  }
}

/* Print */
@media print {
  .site-header,
  .float-actions,
  #preloader {
    display: none !important;
  }

  body {
    color: #000;
  }
}
