/* ==========================================================================
   BIAFRA HOSPITAL — RESPONSIVE BREAKPOINTS
   Tested for: 1920 / 1440 / 1280 / 1024 / 768 / 480 / 390 / 360
   ========================================================================== */

/* ---------- ≤1280px (laptop) ---------- */
@media (max-width: 1280px) {
  .container { padding: 0 28px; }
  .hero-title { font-size: 44px; }
}

/* ---------- ≤1024px (tablet landscape) ---------- */
@media (max-width: 1024px) {
  .hero-inner { padding-top: 90px; }
  .hero { min-height: 92vh; }
  .hero-features-inner { grid-template-columns: repeat(2,1fr); }
  .hf-item { border-right:none; border-bottom:1px solid var(--border); padding-bottom:16px; margin-bottom:16px; }
  .hf-item:nth-child(2n) { border-right:none; }

  .about-layout, .featured-service, .detail-why-layout, .service-detail-intro,
  .contact-grid { grid-template-columns: 1fr; }
  .featured-service.reverse .fs-image { order:0; }

  .trust-grid, .why-grid, .services-grid, .doctors-grid, .stats-grid,
  .spec-grid, .resource-grid, .sub-services-grid, .related-services,
  .vmv-grid { grid-template-columns: repeat(2,1fr); }

  .sd-intro-split, .sd-howto { grid-template-columns: 1fr; }
  .sd-intro-photo img, .sd-howto-photo img { min-height: 260px; }
  .sd-offer-grid, .sd-disciplines-grid { grid-template-columns: 1fr; }
  .vmv2-grid { grid-template-columns: 1fr; }
  .vmv2-wrap { margin-top:-50px; }

  .apt-layout { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap:36px; }
  .nav-drop-menu { width: 440px; grid-template-columns: 1fr; }
}

/* ---------- ≤768px (tablet portrait) ---------- */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 60px 0; }
  .section-title { font-size: 28px; }
  .page-header { padding: 50px 0 44px; }
  .page-header h1 { font-size: 30px; }

  .topbar .topbar-left { gap:16px; }
  .topbar-item span.full-text { display:none; }

  .hero-title { font-size: 32px; }
  .hero-desc { font-size:14.5px; }
  .hero-btns .btn { width:100%; }
  .hero-btns { flex-direction:column; align-items:stretch; }
  .hero-features { padding: 0 20px; margin-top: -40px; }
  .hero-features-inner { grid-template-columns: 1fr 1fr; padding:20px; gap:16px; }
  .hero-spacer { height: 48px; }

  .trust-grid, .why-grid, .services-grid, .doctors-grid,
  .spec-grid, .resource-grid, .sub-services-grid, .related-services { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-cell { border-right:none; border-bottom:1px solid rgba(255,255,255,0.14); padding:32px 16px; }
  .stats-num { font-size:32px; }
  .vmv-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap:30px; padding:44px 0 30px; }

  .emergency-banner { flex-direction:column; align-items:flex-start; padding:34px 26px; }
  .emergency-actions { width:100%; }
  .emergency-actions .btn { flex:1; }

  .apt-form, .apt-info { padding:26px; }
  .form-row { grid-template-columns: 1fr; }

  .floating-actions { right:14px; bottom:14px; }
  .fab { width:48px; height:48px; font-size:19px; }

  .sd-hero-content h1 { font-size: 28px; }
  .sd-intro-text, .sd-howto-card { padding: 30px 24px; }
  .sd-centered-band { padding: 40px 0; }
}

/* ---------- ≤480px (mobile) ---------- */
@media (max-width: 480px) {
  .topbar { display:none; }
  .brand-name { font-size:16px; }
  .brand-sub { display:none; }
  .brand-logo { width:44px; height:44px; }

  .hero { padding-bottom: 20px; min-height: 85vh; }
  .hero-inner { padding-top: 70px; gap: 30px; }
  .hero-title { font-size: 27px; }
  .eyebrow span { font-size:9.5px; }

  .hero-features-inner { grid-template-columns: 1fr 1fr; gap:14px 10px; padding:16px; }
  .hf-title { font-size:12.5px; }
  .hf-desc { display:none; }
  .hf-icon { width:36px; height:36px; font-size:16px; }

  .trust-grid, .why-grid, .services-grid, .doctors-grid,
  .spec-grid, .resource-grid, .sub-services-grid, .related-services,
  .stats-grid, .footer-top { grid-template-columns: 1fr; }

  .about-stats { grid-template-columns: 1fr; }
  .doctor-photo { height:170px; }

  .contact-info-card { padding:24px; }
  .map-embed { height:240px; }

  .testimonial-carousel { max-width:100%; }
  .test-card { padding:26px 20px; }

  .footer-bottom { flex-direction:column; align-items:flex-start; }

  .mobile-nav { width:100%; }
}

/* ---------- ≤390px / ≤360px (small mobile) ---------- */
@media (max-width: 390px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 24px; }
  .section-title { font-size: 24px; }
  .btn { padding: 13px 20px; font-size: 13px; }
  .emergency-content h2 { font-size: 22px; }
  .apt-form, .apt-info { padding: 20px; }
}

/* ---------- Print (basic sanity) ---------- */
@media print {
  .site-header, .floating-actions, .mobile-nav, .back-to-top { display:none !important; }
}
