/* ==========================================================================
   Responsive rules (mobile-first base; these refine at Bootstrap breakpoints)
   xs <576 · sm ≥576 · md ≥768 · lg ≥992 · xl ≥1200 · xxl ≥1400
   ========================================================================== */

/* Below xl the navbar collapses into a stacked menu */
@media (max-width: 1199.98px) {
  .site-header .navbar-collapse {
    margin-top: .75rem; padding: .75rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    max-height: calc(100vh - var(--etw-header-height)); overflow-y: auto;
  }
  .site-header .nav-link { padding: .8rem 1rem; border-radius: var(--etw-radius-sm); }   /* ≥44px touch target */
  .site-header .dropdown-menu { background: rgba(255, 255, 255, .06); border: 0; box-shadow: none; margin: .25rem 0 .5rem; }
  .site-header .dropdown-item { color: rgba(255, 255, 255, .9); }
  .site-header .dropdown-item:hover, .site-header .dropdown-item:focus { background: rgba(255, 255, 255, .1); color: #fff; }
  .site-header .dropdown-item .bi { color: var(--etw-cyan); }
}

/* Phones */
@media (max-width: 575.98px) {
  :root { --etw-header-height: 68px; }
  .brand-logo { width: 44px; height: 44px; }
  .brand-name { font-size: 1.02rem; }
  .brand-tagline { display: none; }
  .btn-lg { padding: .75rem 1.5rem; font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
  .team-photo { width: 124px; height: 124px; }
  .whatsapp-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .back-to-top { right: 17px; bottom: 76px; }
  .section-head { margin-bottom: 2rem; }
  .stat-tile { padding: 1.1rem; }
}

/* Small tablets and up */
@media (min-width: 768px) {
  .footer-bottom { display: flex; justify-content: space-between; align-items: center; }
}

/* Phones: the theme toggle shares the CTA row, so tighten the two buttons to keep them fully visible */
@media (max-width: 575.98px) {
  .nav-cta { gap: .5rem; }
  .nav-cta .btn { min-width: 0; padding: .55rem .5rem; font-size: .88rem; }
  .nav-cta .btn .bi { margin-right: .3rem !important; }
}
@media (max-width: 379.98px) { .nav-cta .btn { font-size: .8rem; padding-inline: .35rem; } }
