/* ========== 1200px ========== */
@media screen and (max-width: 1200px) {
  html {
    font-size: 14px;
  }

  nav.navbar {
    padding: var(--space-sm) var(--space-2xl);
  }

  .nav-toggle {
    display: block;
    background: none;
    border: none;
    margin-left: auto;
    z-index: 2;
  }

  .nav-menu {
    position: absolute;
    top: 60px;
    right: 0;
    width: 220px;
    flex-direction: column;
    background: var(--background-color);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    display: none;
    z-index: 1;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
    text-align: left;
    padding: 10px 30px;
  }

  .nav-menu li button {
    width: 100%;
  }

  .hero {
    flex-direction: column;
  }
  .hero-content {
    flex: 100%;
  }

  .mobile {
    display: block;
    justify-self: center;
  }

  .desktop {
    display: none;
  }

  .get-started {
    width: 100%;
  }

  .section-description {
    max-width: 100%;
  }

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

  .contact-content {
    background-image: none;
    background-position: 0;
    padding: var(--space-5xl);
  }

  .contact-form {
    width: 100%;
  }
}

/* ========== 900px ========== */
@media screen and (max-width: 900px) {
  html {
    font-size: 12px;
  }

  .section-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-content,
  .hero-image {
    flex: 100%;
  }

  .brands {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-list {
    grid-template-columns: minmax(300px, 1fr);
  }

  .service-cta button {
    width: 100%;
    margin: 0 auto;
  }

  .section-cta-icon {
    display: none;
  }

  .use-case-list {
    flex-direction: column;
  }

  .use-case-item {
    width: 100%;
    border-right: none;
    margin-bottom: var(--space-xs);
    padding-bottom: var(--space-xs);
    border-bottom: 1px solid var(--accent-color);
  }

  .use-case-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }

  .testimonial-list {
    flex-direction: column;
  }

  .footer-navbar,
  .footer-menu,
  .footer-contact {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: none;
  }

  .footer-legal a,
  .footer-menu li a {
    text-decoration: none;
  }

  .footer-contact {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: var(--space-xl);
  }

  .footer--contact h3 {
    text-align: center;
    margin: auto;
    margin-bottom: var(--space-sm);
  }

  .social-desktop {
    display: none;
  }

  .social-mobile {
    display: flex;
    justify-content: center;
    margin-top: var(--space-md);
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: var(--space-sm);
  }

  .footer-legal {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--space-lg);
  }

  .footer-menu {
    margin-bottom: var(--space-md);
  }
}

/* ========== 600px ========== */
@media screen and (max-width: 600px) {
  html {
    font-size: 10px;
  }

  body {
    padding: 3.5rem 3.5rem 0 3.5rem;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

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

  .team-cta button {
    width: 100%;
  }

  .contact-content {
    padding: var(--space-3xl);
  }
}

/* ========== 300px ========== */
@media screen and (max-width: 300px) {
  html {
    font-size: 8px;
  }

  body {
    padding: 3rem 3rem 0 3rem;
  }

  .contact-content {
    padding: var(--space-xl);
  }
}
