/* ========== RESPONSIVE STYLES & MEDIA QUERIES ========== */

@media (max-width: 900px) {
  .hero__grid,
  .cta {
    grid-template-columns: 1fr;
  }

  .cta__img {
    justify-self: start;
  }

  .header__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    gap: 20px;
    flex-wrap: nowrap;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav__menu {
    width: auto;
    justify-content: flex-end;
    position: static;
  }

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

  .map-container {
    height: 250px;
  }

  .form {
    order: -1;
  }
}

@media (max-width: 768px) {
  .brand__logo {
    width: 36px;
    height: 36px;
    padding: 3px;
  }

  .brand__name {
    font-size: 0.95rem;
  }

  .brand__tag {
    font-size: 0.7rem;
  }

  .nav__menu {
    display: none;
  }

  .nav__toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 60px 0;
  }

  .section {
    padding: 60px 0;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .portfolioCard img {
    height: 180px;
  }
}
