/* =========================
   RESPONSIVE MEDIA QUERIES 
   ========================= */

/* Laptops & tablets (1024px and narrower) */
@media (max-width: 1024px) {
  :root {
    --gutter: 20px;
    --section-space: 60px;
    --section-head-gap: 40px;
    --box-pad: 26px;
    --box-pad-lg: 32px;
  }
}

/* Tablets (992px and narrower): the hero stacks into one column.
   This lives here (not in global.css) because it must load AFTER home.css.
   The nav row is hidden here too: logo + 6 links + button need ~950px. */
@media (max-width: 992px) {
  .banner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  nav {
    display: none;
  }
}

/* Phones & small tablets (768px and narrower) */
@media (max-width: 768px) {
  :root {
    --gutter: 16px;
    --section-space: 48px;
    --section-head-gap: 32px;
    --grid-gap: 16px;
    --box-pad: 22px;
    --box-pad-lg: 22px;
  }

  .footer-info {
    max-width: 100%;
  }
}

/* Small phones (480px and narrower) */
@media (max-width: 480px) {
  :root {
    --section-space: 40px;
    --box-pad: 18px;
    --box-pad-lg: 18px;
    --header-h: 68px;
  }

  .logo-text small {
    display: none;
  }

  header .btn {
    padding: 9px 14px;
    font-size: 0.8rem;
  }
}

/* Very small phones (360px and narrower): keep logo + button on one row */
@media (max-width: 360px) {
  .logo img {
    height: 34px;
  }

  .logo {
    gap: 8px;
  }

  .logo-text h2 {
    font-size: 1rem;
  }

  header .btn {
    padding: 8px 10px;
    font-size: 0.72rem;
  }
}