/* ============================================
   RESPONSIVE FINE-TUNING
   ============================================ */

/* Phones */
@media (max-width: 639px) {
  :root {
    --container-padding: 16px;
    --header-height: 84px;
    --header-height-scrolled: 76px;
  }
  section {
    padding-block: var(--space-xl);
  }
  .hero-cta .btn {
    flex: 1 1 auto;
  }
  .card-destination {
    flex-basis: 190px;
  }
  .form-row {
    grid-template-columns: 1fr !important; /* overrides inline 2-column rows */
  }
  .brand-name span {
    letter-spacing: 0.18em;
  }
}

@media (max-width: 374px) {
  .brand-name { display: none; }
  .hero-cta .btn { width: 100%; }
}

/* Space for the floating mobile contact bar */
@media (max-width: 1023px) {
  body {
    padding-bottom: 88px;
  }
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }
}

/* The header must sit above the open mobile menu so the close (X) button stays reachable */
body.nav-open .site-header {
  z-index: calc(var(--z-mobile-menu) + 1);
}
