/* ==========================================================================
   Responsive adjustments (Bootstrap breakpoints: 576 / 768 / 992 / 1200 / 1400)
   ========================================================================== */

/* Large desktop */
@media (min-width: 1400px) {
  .container { max-width: 1280px; }
}

/* Below desktop nav: collapse menu styling */
@media (max-width: 1199.98px) {
  .navbar-collapse {
    background: #fff; border-radius: var(--ls-radius); box-shadow: var(--ls-shadow);
    padding: .75rem; margin-top: .65rem; max-height: calc(100vh - 140px); overflow-y: auto;
  }
  .navbar .nav-link { padding: .75rem 1rem !important; }
  .dropdown-menu { box-shadow: none; border: 0; padding: 0 0 .5rem 1rem; background: transparent; }
  .header-actions { padding: .75rem 1rem .25rem; border-top: 1px solid var(--ls-border); margin-top: .5rem; }
}

@media (max-width: 991.98px) {
  .hero { text-align: center; }
  .hero .hero-ctas { justify-content: center; }
  .hero-points { justify-content: center; }
  .hero-media { max-width: 560px; margin: 2.5rem auto 0; }
  .trust-strip { margin-top: 0; }
  .img-stack { padding: 0 0 2rem 1.5rem; }
  .policy-nav { position: static; margin-bottom: 1.5rem; }
  .featured-post img { min-height: 220px; }
}

@media (max-width: 767.98px) {
  body { font-size: 1rem; }
  .section-head { margin-bottom: 1.75rem; }
  .float-badge { padding: .55rem .75rem; font-size: .85rem; }
  .float-badge i { width: 34px; height: 34px; font-size: 1rem; }
  .float-badge.b1 { left: 0; }
  .float-badge.b2 { right: 0; }
  .day-timeline::before { left: 8px; }
  .day-timeline li { grid-template-columns: 1fr; gap: .2rem; padding-left: 2.1rem; }
  .day-timeline li::after { left: 2px; }
  .day-timeline time { text-align: left; }
  .cta-band { text-align: center; }
  .cta-band .d-flex { justify-content: center; }
  .table-responsive { border-radius: var(--ls-radius); }

  /* Sticky bottom call / WhatsApp bar on phones */
  .mobile-cta-bar {
    display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1045;
    background: #fff; border-top: 1px solid var(--ls-border); box-shadow: 0 -6px 20px rgba(0, 0, 0, .06);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-cta-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; min-height: 60px;
    font-family: var(--ls-font-head); font-weight: 600; font-size: .82rem; text-decoration: none; color: var(--ls-text);
  }
  .mobile-cta-bar a i { font-size: 1.25rem; }
  .mobile-cta-bar a.m-call i { color: var(--ls-secondary-dark); }
  .mobile-cta-bar a.m-wa i { color: #128C4B; }
  .mobile-cta-bar a.m-apply { background: var(--ls-primary-dark); color: #fff; }
  body.has-mobile-bar { padding-bottom: 64px; }
  /* Floating WhatsApp is replaced by the bar on phones so nothing overlaps */
  .fab-stack { bottom: 76px; right: 12px; }
  .fab-whatsapp { display: none; }
  .consent-banner { bottom: 72px; left: 10px; right: 10px; }
}

@media (max-width: 575.98px) {
  .btn-lg { padding: .8rem 1.4rem; font-size: 1.02rem; }
  .hero .hero-ctas .btn { width: 100%; }
  .cta-band .btn { width: 100%; }
  .announce { font-size: .85rem; }
  .brand-name { font-size: 1.25rem; }
  .brand-tag { display: none; }
  .navbar-brand img { width: 40px; height: 40px; }
  .step { padding: 4.2rem 1.2rem 1.2rem; }
  .step::before { top: 1.1rem; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .6rem; }
  .gallery-thumb .g-cap { font-size: .78rem; padding: 1.5rem .6rem .5rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .img-stack { padding: 0; }
  .img-stack .img-2 { display: none; }
  .contact-tile { gap: .75rem; }
  .form-card { border-radius: var(--ls-radius); }
}

@media (max-width: 359.98px) {
  .brand-name { font-size: 1.1rem; }
  .navbar-brand img { width: 34px; height: 34px; }
  .float-badge { display: none; }
  .mobile-cta-bar a { font-size: .75rem; }
}
