/* ── Large Desktop (max-width: 1200px) ── */
@media (max-width: 1200px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Tablet (max-width: 900px) ── */
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

  .grid-2 > :first-child {
    order: -1;
  }

  .process__steps {
    flex-direction: column;
  }

  .process__line {
    display: none;
  }
}

/* ── Mobile Landscape / Small Tablet (max-width: 768px) ── */
@media (max-width: 768px) {
  #navbar .nav-list {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  #navbar.nav--open .nav-list {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(28, 26, 23, 0.98);
    z-index: var(--z-modal);
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: none;
    top: 0;
    height: 100vh;
    width: 100%;
  }

  .nav--open .nav-link {
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: 1;
  }

  #hero h1 {
    font-size: clamp(3rem, 12vw, 5rem);
  }

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

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

  .section {
    padding: var(--space-lg) 0;
  }
}

/* ── Small Mobile (max-width: 480px) ── */
@media (max-width: 480px) {
  .section {
    padding: var(--space-lg) 0;
  }

  #whatsapp-btn {
    bottom: 1rem;
    right: 1rem;
    width: 52px;
    height: 52px;
  }

  .hero__cta {
    flex-direction: column;
    align-items: center;
  }

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

  .container {
    padding: 0 var(--space-sm);
  }

  .hero {
    min-height: 500px;
  }
}
