/* ================================================================
   SANKET AYURVEDIC CLINIC — responsive.css
   Complete mobile-first responsive overrides
   ================================================================ */

/* ============================================================
   GLOBAL OVERFLOW PREVENTION
   ============================================================ */
html, body { overflow-x: hidden; max-width: 100%; }
img, video, iframe { max-width: 100%; }

/* ============================================================
   TABLET — max 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .nav-cta, .lang-switcher { display: none; }
  .treatments-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

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

  :root { --header-h: 60px; }

  html, body { overflow-x: hidden; }

  .section-pad { padding: 48px 0; }
  .section-header { margin-bottom: 32px; }
  .section-title { font-size: 1.6rem; }
  .section-subtitle { font-size: .88rem; }
  .container { padding: 0 16px; }

  /* HEADER */
  .site-header { height: var(--header-h); }
  .nav-container { height: var(--header-h); }
  .logo { font-size: 1rem; }
  .logo-icon { width: 34px; height: 34px; font-size: .9rem; }
  .nav-cta, .lang-switcher { display: none; }
  .hamburger { display: flex; }

  /* NAV DRAWER */
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(12px);
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s cubic-bezier(.4,0,.2,1), padding .3s ease;
    box-shadow: 0 8px 30px rgba(0,0,0,.1);
    border-top: 1px solid var(--border);
    z-index: 999;
  }
  .main-nav.open { max-height: 520px; padding: 12px 0 16px; }
  .nav-list { flex-direction: column; gap: 0; padding: 0 16px; width: 100%; }
  .nav-link { display: block; padding: 13px 16px; font-size: .93rem; border-radius: 10px; border-bottom: 1px solid var(--border); width: 100%; }
  .nav-list li:last-child .nav-link { border-bottom: none; }
  .dropdown { position: static; transform: none; box-shadow: none; border: none; background: var(--green-pale); border-radius: var(--radius-sm); margin-top: 4px; display: none; padding: 4px; }
  .nav-item.open .dropdown { display: block; }
  .dropdown-link { font-size: .82rem; padding: 9px 12px; }

  /* PAGE HERO */
  .page-hero { padding: calc(var(--header-h) + 32px) 0 44px; }
  .page-hero h1 { font-size: 1.8rem; }
  .page-hero p { font-size: .88rem; }

  /* TREATMENTS */
  .treatments-grid { grid-template-columns: 1fr; gap: 14px; }
  .treatment-card { padding: 22px 18px; }

  /* STATS */
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .stat-number { font-size: 2rem; }
  .stat-label { font-size: .78rem; }

  /* TESTIMONIALS */
  .testimonial-card { padding: 28px 20px; }
  .testimonial-text { font-size: .9rem; }

  /* FAQ */
  .faq-question { font-size: .88rem; padding: 16px 18px; }

  /* FORM */
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .radio-group { flex-direction: column; gap: 10px; }

  /* FOOTER */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 8px; }
  .footer-top { padding: 40px 0 28px; }

  /* NEWSLETTER */
  .newsletter-form { flex-direction: column; gap: 10px; }
  .newsletter-input { border-radius: var(--radius-sm); }
  .newsletter .btn { width: 100%; justify-content: center; }

  /* FLOATING */
  .whatsapp-float { bottom: 80px; right: 14px; width: 48px; height: 48px; font-size: 1.25rem; }
  .whatsapp-tooltip { display: none; }
  .scroll-top { bottom: 138px; right: 14px; width: 40px; height: 40px; }

  /* MOBILE BAR */
  .mobile-bottom-bar { display: flex; }
  body { padding-bottom: 68px; }

  /* BUTTONS */
  .btn-lg { padding: 13px 24px; font-size: .9rem; }

  /* SACRED */
  .sacred-center { font-size: .72rem; gap: 8px; }
  .sacred-thumb { width: 30px; height: 30px; }
}

/* ============================================================
   SMALL MOBILE — max 400px
   ============================================================ */
@media (max-width: 400px) {
  .container { padding: 0 12px; }
  .section-title { font-size: 1.4rem; }
  .btn { padding: 11px 18px; font-size: .82rem; }
  .logo { font-size: .88rem; }
  .stat-number { font-size: 1.6rem; }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header, .whatsapp-float, .scroll-top, .mobile-bottom-bar, .newsletter, .cta-banner { display: none !important; }
  body { padding-bottom: 0; }
}
