/* ============================================================
   RESPONSIVE STYLES — Niranjan Shastri Kamakhya
   ============================================================ */

/* ---- 1440px ---- */
@media (max-width: 1440px) {
  :root { --container-max: 1200px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- 1280px (Laptop) ---- */
@media (max-width: 1280px) {
  :root { --container-max: 1100px; }
  .hero__content { gap: var(--sp-10); }
  .about__grid { gap: var(--sp-8); }
  .cta-banner__inner { gap: var(--sp-6); }
}

/* ---- 1024px (Tablet Landscape) ---- */
@media (max-width: 1024px) {
  :root {
    --container-max: 960px;
    --container-pad: var(--sp-5);
  }

  /* Header */
  .nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .header__cta .btn { display: none; }

  /* Hero */
  .hero__content {
    grid-template-columns: 1fr;
    padding-block: var(--sp-24) var(--sp-16);
  }
  .hero__right { display: none; }
  .hero__left { max-width: 100%; }
  .hero__heading { font-size: var(--fs-4xl); }

  /* Trust strip */
  .trust-strip__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-3);
  }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(227,168,62,0.12); }
  .trust-item:nth-child(3), .trust-item:last-child { border-bottom: none; }

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

  /* About */
  .about__grid { grid-template-columns: 1fr 1fr; }
  .about__image-col { display: none; }
  .about__grid { grid-template-columns: 1fr 1fr; }

  /* Testimonials */
  .testimonial-slide { grid-template-columns: repeat(2, 1fr); }

  /* CTA */
  .cta-banner__inner { grid-template-columns: 1fr; text-align: center; }
  .cta-banner__icon { display: none; }
  .cta-banner__right { display: none; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }

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

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---- 768px (Tablet) ---- */
@media (max-width: 768px) {
  :root {
    --container-pad: var(--sp-4);
  }

  /* Typography scale down */
  .section-title__heading { font-size: var(--fs-3xl); }
  .hero__heading { font-size: var(--fs-3xl); }
  .page-hero__heading { font-size: var(--fs-3xl); }

  /* Section padding */
  .section { padding-block: var(--sp-16); }

  /* Topbar */
  .topbar__right { display: none; }
  .topbar__inner { justify-content: center; }

  /* Hero */
  .hero__content { padding-block: var(--sp-20) var(--sp-12); }
  .hero__buttons { flex-direction: column; }
  .hero__buttons .btn { width: 100%; justify-content: center; }
  .hero__trust { grid-template-columns: repeat(2, 1fr); }

  /* Trust strip */
  .trust-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(227,168,62,0.1); }

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

  /* About */
  .about__grid { grid-template-columns: 1fr; }
  .about__image-col { display: block; max-width: 300px; margin: 0 auto; }

  /* Testimonials */
  .testimonial-slide { grid-template-columns: 1fr; }

  /* CTA Banner */
  .cta-banner { padding-block: var(--sp-12); }
  .cta-banner__heading { font-size: var(--fs-2xl); }
  .cta-banner__buttons { flex-direction: column; align-items: center; }
  .cta-banner__buttons .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: center; text-align: center; }

  /* Services full */
  .services-full-grid { grid-template-columns: 1fr; }

  /* Header */
  .header__inner { height: 64px; }

  /* Stats */
  .about__stats { flex-direction: row; flex-wrap: wrap; }
  .stat-card { flex: 1; min-width: 140px; }

  /* Contact form */
  .contact-form { padding: var(--sp-6); }
}

/* ---- 480px (Mobile) ---- */
@media (max-width: 480px) {
  :root {
    --container-pad: var(--sp-4);
  }

  /* Typography */
  .section-title__heading { font-size: var(--fs-2xl); }
  .hero__heading { font-size: var(--fs-2xl); }
  .page-hero__heading { font-size: var(--fs-2xl); }
  .about__heading { font-size: var(--fs-2xl); }

  /* Logo */
  .logo__text { display: none; }

  /* Hero */
  .hero { min-height: 90vh; }
  .hero__content { padding-block: var(--sp-20) var(--sp-10); }
  .hero__eyebrow-text { font-size: 10px; }

  /* Trust strip */
  .trust-strip__grid { grid-template-columns: repeat(2, 1fr); }

  /* Topbar */
  .topbar { display: none; }

  /* Mobile nav */
  .mobile-nav__link { font-size: var(--fs-2xl); }

  /* Section padding */
  .section { padding-block: var(--sp-12); }

  /* Cards */
  .service-card { padding: var(--sp-6); }
  .service-full-card { padding: var(--sp-8) var(--sp-6); }
  .testimonial-card { padding: var(--sp-6); }
  .stat-card { padding: var(--sp-5); }
  .contact-info-card { padding: var(--sp-4); }

  /* CTA */
  .cta-banner__heading { font-size: var(--fs-xl); }

  /* Buttons */
  .btn { padding: 0.8rem 1.5rem; font-size: 0.8rem; }
  .btn--lg { padding: 0.95rem 1.8rem; font-size: var(--fs-sm); }

  /* WhatsApp float */
  .whatsapp-float { bottom: var(--sp-4); right: var(--sp-4); padding: var(--sp-3); border-radius: 50%; }
  .whatsapp-float span { display: none; }

  /* About */
  .about__stats { flex-direction: column; }
}

/* ---- 390px / 360px (Small Mobile) ---- */
@media (max-width: 390px) {
  :root { --container-pad: var(--sp-3); }

  .hero__trust { grid-template-columns: 1fr; }
  .hero__buttons .btn { font-size: 0.75rem; }

  .section-title__heading { font-size: var(--fs-xl); }
  .hero__heading { font-size: var(--fs-xl); }

  .trust-strip__grid { grid-template-columns: 1fr; }
}

/* ---- Print ---- */
@media print {
  .header, .topbar, .footer, .whatsapp-float, .mobile-nav { display: none; }
  body { background: white; color: black; }
}
