@media (max-width: 1199.98px) {
  .brand-logo { width: 215px; }
  .hero-title { font-size: 3.3rem; }
  .hero-doctor-wrap { right: -3%; width: 52%; }
  .benefit-item { border-right: 0; }
}

@media (max-width: 991.98px) {
  body.public-page { padding-top: 68px; }
  .public-header, .public-header .navbar { height: 68px; }
  .public-header .navbar-collapse { margin-top: 6px; padding: 16px; border-radius: 14px; background: white; box-shadow: var(--pc-shadow); }
  .brand-logo { width: 190px; height: 50px; }
  .hero { min-height: auto; }
  .hero-copy { padding: 55px 0 290px; }
  .hero-title { font-size: clamp(2.45rem, 8vw, 3.6rem); }
  .hero-doctor-wrap { right: 5%; width: 62%; height: 58%; }
  .float-health.one { right: 59%; top: 57%; }
  .float-health.two { right: 10%; top: 48%; }
  .search-panel { margin-top: -70px; }
  .filter-panel { position: static; }
  .dashboard-sidebar { transform: translateX(-100%); }
  .dashboard-sidebar.open { transform: translateX(0); }
  .dashboard-main { margin-left: 0; }
  .sidebar-toggle { display: inline-flex; }
  .dashboard-overlay.show { display: block; }
}

@media (max-width: 767.98px) {
  .section-space { padding: 54px 0; }
  .hero-copy { padding-top: 42px; }
  .hero-doctor-wrap { right: -8%; width: 87%; }
  .trust-pills { display: grid; grid-template-columns: 1fr 1fr; }
  .trust-pill:last-child { grid-column: 1 / -1; }
  .search-panel { margin-inline: 0; padding: 17px; }
  .benefit-band { padding: 18px; }
  .benefit-item { padding: 12px 8px; }
  .cta-pro { padding: 36px 24px; }
  .profile-main { padding-inline: 18px; }
  .profile-photo { width: 115px; height: 115px; }
  .dashboard-content { padding: 20px 15px; }
  .dashboard-topbar { height: 66px; padding: 0 15px; }
  .topbar-search { display: none; }
  .content-card { padding: 20px; }
  .booking-step { min-width: 62px; font-size: 0; }
  .booking-steps { overflow-x: auto; }
  .auth-panel { padding: 24px 18px; border-radius: 18px; }
  .auth-aside { min-height: 280px; }
  .table-responsive-stack thead { display: none; }
  .table-responsive-stack tr { display: block; padding: 12px; margin-bottom: 12px; border: 1px solid var(--pc-border); border-radius: 12px; }
  .table-responsive-stack td { display: flex; justify-content: space-between; gap: 14px; padding: .45rem !important; border: 0; text-align: right; }
  .table-responsive-stack td::before { content: attr(data-label); color: var(--pc-muted); font-weight: 700; text-align: left; }
}

@media (max-width: 575.98px) {
  .hero-copy { padding-bottom: 270px; }
  .hero-title { font-size: 2.35rem; }
  .hero-subtitle { font-size: .98rem; }
  .hero-doctor-wrap { width: 105%; right: -23%; height: 52%; }
  .float-health { width: 50px; height: 50px; font-size: 1.25rem; }
  .float-health.one { right: auto; left: 8%; top: 66%; }
  .float-health.two { right: 6%; top: 57%; }
  .trust-pill { padding: 9px; min-width: 0; font-size: .72rem; }
  .calendar-strip { grid-template-columns: repeat(5, minmax(67px, 1fr)); overflow-x: auto; }
  .page-hero { padding: 40px 0 30px; }
  .footer-logo { width: 200px; }
  .dashboard-title { font-size: 1.25rem; }
  .metric-value { font-size: 1.45rem; }
}

