@media (max-width: 1199.98px) {
  .site-header,
  .site-header.scrolled {
    background: rgba(9,36,61,.95);
    padding: 8px 0;
  }
  .desktop-nav { display: none; }
  .mobile-menu-toggle { display: block; order: 3; }
  .header-actions { margin-left: auto !important; }
  .hero-visual { height: 390px; }
  .process-line { grid-template-columns: repeat(3, 1fr); }
  .process-line::before { display: none; }
}

@media (max-width: 991.98px) {
  .section-padding { padding: 82px 0; }
  .hero-section .row { padding-top: 110px; padding-bottom: 90px; }
  .hero-visual { max-width: 520px; margin: auto; }
  .mission-grid,
  .result-grid,
  .emi-result-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-panel { align-items: flex-start; flex-direction: column; }
  .cursor-dot { display: none; }
}

@media (max-width: 767.98px) {
  .hero-section h1 { font-size: 42px; }
  .hero-subtitle { font-size: 18px; }
  .brand-logo { height: 48px; max-width: 142px; }
  .header-actions .btn-solar { display: none; }
  .main-panel { inset: 62px 18px; }
  .main-panel i { font-size: 78px; }
  .floating-card { min-width: 130px; padding: 14px; }
  .card-b { right: 4px; }
  .mission-grid,
  .result-grid,
  .emi-result-grid,
  .process-line { grid-template-columns: repeat(2, 1fr); }
  .timeline { flex-wrap: wrap; justify-content: flex-start; }
  .timeline::before { display: none; }
  .image-stack img { min-height: 380px; }
  .trusted-badge { left: 18px; right: 18px; }
  .project-card img { height: 245px; }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
  .gallery-grid a:first-child,
  .gallery-grid a:nth-child(5) { grid-row: span 1; }
  .contact-form,
  .calculator-card,
  .emi-calculator-card,
  .cta-panel { padding: 24px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 575.98px) {
  .container { width: min(100% - 28px, 540px); max-width: 100%; }
  .brand-mark { width: 38px; height: 38px; }
  .navbar-brand { font-size: 17px; max-width: calc(100vw - 116px); }
  .brand-logo { height: 42px; max-width: 124px; }
  .header-actions { gap: 8px; }
  .header-actions .btn-whatsapp {
    width: 42px;
    height: 42px;
    padding: 0;
    display: grid;
    place-items: center;
  }
  .hero-buttons .btn,
  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-slider .swiper-button-prev,
  .hero-slider .swiper-button-next {
    display: none;
  }
  .hero-visual { height: 330px; }
  .sun-orbit{display:none;}
  .solar-card.main-panel { inset: 74px 36px 56px; }
  .card-a { left: 0; top: 18px; }
  .card-b { top: 154px; }
  .card-c { left: 0; bottom: 0; }
  .section-title h2,
  .calculator-section h2,
  .contact-section h2 { font-size: 30px; }
  .filter-buttons button { flex: 1 1 auto; }
  .range-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 390px) {
  .hero-section h1 { font-size: 36px; }
  .hero-subtitle { min-height: auto; }
  .floating-card strong { font-size: 22px; }
  .floating-card span { font-size: 12px; }
  .mobile-sidebar { width: min(280px, 88vw); }
}
