@media (min-width: 1200px) {
  .site-header .navbar > .container {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
  }

  .site-header .order-xl-2 {
    min-width: 0;
  }

  .site-header .order-xl-3 {
    margin-left: 0 !important;
  }
}

@media (max-width: 1199.98px) {
  :root {
    --header-height: 92px;
  }

  .hero-panel {
    min-height: 680px;
  }
}

@media (max-width: 991.98px) {
  .hero {
    padding-top: 1.75rem;
  }

  .hero-content {
    max-width: none;
  }

  .results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .floating-whatsapp .floating-label {
    display: none;
  }
}

@media (max-width: 767.98px) {
  :root {
    --header-height: 74px;
  }

  .navbar-brand img {
    width: 132px;
    height: 80px;
  }

  .hero-panel {
    min-height: 560px;
  }

  .hero-content h1 {
    font-size: 2.55rem;
  }

  .hero-search {
    padding: 0.8rem;
  }

  .hero-search .input-group {
    gap: 0.7rem;
  }

  .hero-search .input-group > * {
    width: 100% !important;
  }

  .results-grid,
  .company-gallery {
    grid-template-columns: 1fr;
  }

  .page-hero-card,
  .cta-panel,
  .content-block,
  .newsletter-panel,
  .form-panel {
    border-radius: 1.45rem;
  }
}

@media (max-width: 575.98px) {
  .brand-copy span {
    display: none;
  }

  .hero-actions,
  .directory-meta,
  .pill-list {
    flex-direction: column;
    align-items: stretch;
  }

  .floating-whatsapp {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .feature-card-body,
  .directory-card-body,
  .guide-card-body,
  .article-card-body {
    padding: 1.15rem;
  }
}
