/* ==========================================================================
   Responsive adjustments — 320px+ / tablet / desktop
   ========================================================================== */

/* Mobile-first extras already in style.css; refine by breakpoint */

@media (max-width: 1199.98px) {
  .site-nav .nav-link--cta {
    margin: 0.5rem 0 0;
    display: inline-block;
  }

  .site-nav .navbar-collapse {
    background: rgba(7, 26, 51, 0.98);
    margin-top: 0.75rem;
    padding: 0.75rem 1rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(201, 164, 92, 0.2);
  }

  .site-nav .dropdown-menu {
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
  }

  .site-nav .dropdown-item {
    color: rgba(255, 255, 255, 0.9);
  }

  .site-nav .dropdown-item:hover {
    background: rgba(201, 164, 92, 0.15);
    color: var(--gold);
  }
}

@media (max-width: 991.98px) {
  .trust-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vmp-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero__content {
    padding: 4rem 0 3rem;
  }

  .cta-consultation__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-bar__email {
    display: none;
  }
}

@media (max-width: 767.98px) {
  body {
    padding-bottom: 64px; /* room for mobile contact bar */
  }

  .mobile-contact-bar {
    display: flex;
  }

  .float-whatsapp {
    bottom: 5.75rem;
    right: 0.85rem;
    width: 48px;
    height: 48px;
  }

  .back-to-top {
    right: 0.85rem;
    bottom: calc(4.35rem + env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
  }

  .top-bar__actions a:first-child {
    display: none;
  }

  .trust-strip__grid {
    grid-template-columns: 1fr;
  }

  .navbar-brand__text strong {
    font-size: 0.92rem;
  }

  .navbar-brand__text small {
    font-size: 0.65rem;
  }

  .navbar-brand__logo {
    width: 44px;
    height: 44px;
  }

  .section {
    padding: 3.25rem 0;
  }

  .news-ticker__label {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
    flex-wrap: wrap;
  }

  .kb-item {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Stack common page grids */
  .services-grid,
  .team-grid,
  .blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .services-grid,
  .team-grid,
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 992px) {
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
  }

  .team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
  }

  .blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Very small phones */
@media (max-width: 359.98px) {
  .hero__brand {
    font-size: 1.85rem;
  }

  .top-bar {
    font-size: 0.75rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .hero__actions {
    width: 100%;
  }
}
