/* =========================================================
   Responsive overrides – Krishna Home Care Nursing Service
   ========================================================= */

@media (max-width: 1199.98px) {
  .brand-lockup img {
    height: 84px;
    max-width: 400px;
  }

  .navbar-nav .nav-link {
    padding: 0.4rem 0.5rem !important;
    font-size: 0.85rem;
  }

}

@media (max-width: 991.98px) {
  :root {
    --header-offset: 110px;
    --sticky-cta-h: calc(64px + env(safe-area-inset-bottom, 0px));
  }

  .brand-lockup img {
    height: 72px;
    max-width: 340px;
  }

  .top-bar {
    display: none;
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero {
    min-height: clamp(480px, 72vh, 640px);
    padding: 3rem 0 2.75rem;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(16, 44, 70, 0.82) 0%, rgba(16, 44, 70, 0.7) 55%, rgba(16, 44, 70, 0.78) 100%);
  }

  .hero-title {
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .mobile-sticky-cta {
    display: flex;
  }

  .enquiry-panel {
    padding: 1.35rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }

  .services-slider {
    padding: 0 0 0.25rem;
  }

  .services-nav {
    display: none;
  }

  .footer-bottom {
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

  .map-wrap,
  .map-frame {
    min-height: 280px;
  }

  .contact-grid > [class*="col-"] {
    display: block;
  }
}

@media (min-width: 992px) {
  .steps-track::before {
    content: '';
    position: absolute;
    top: 42px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(18, 100, 163, 0.25), transparent);
    z-index: 0;
  }
}

@media (max-width: 767.98px) {
  .brand-lockup {
    min-height: 64px;
  }

  .brand-lockup img {
    height: 64px;
    max-width: 260px;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .trust-item {
    justify-content: flex-start;
  }

  .about-image img {
    min-height: 260px;
  }

  .policy-hero {
    padding: 2.5rem 0 2rem;
  }
}

@media (max-width: 575.98px) {
  .section {
    padding: 2.85rem 0;
  }

  .service-actions {
    flex-direction: column;
  }

  .service-actions .btn {
    width: 100%;
  }

  .area-chips {
    gap: 0.5rem;
    max-width: 100%;
    padding: 0;
  }

  .area-chip {
    font-size: 0.8rem;
    padding: 0.45rem 0.75rem;
  }

  .mobile-sticky-cta .sticky-btn {
    font-size: 0.88rem;
    min-height: 46px;
  }
}

@media (max-width: 374.98px) {
  .brand-text .brand-meta {
    display: none;
  }

  .hero-badge {
    font-size: 0.78rem;
  }

  .mobile-sticky-cta .sticky-btn span {
    font-size: 0.82rem;
  }
}

/* Prevent sticky bar covering last interactive content */
@media (max-width: 991.98px) {
  .site-footer {
    padding-bottom: 5.5rem;
  }

  .site-footer .footer-bottom {
    padding-bottom: 1.75rem;
  }

  .enquiry-panel {
    margin-bottom: 0.5rem;
  }

  .policy-content {
    padding-bottom: 5rem;
  }
}
