@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .hero-inner,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding: 50px 0 70px;
  }

  .hero-visual {
    min-height: 380px;
  }

  .desktop-mock {
    left: 0;
    right: auto;
  }

  .works-grid,
  .contact-cards,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-card {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .contact-card:last-child {
    border-bottom: none;
  }

  .copy {
    text-align: left;
  }
}

@media (max-width: 640px) {

  .logo-mark {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .logo strong {
    font-size: 13px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-tags {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 300px;
  }

  .desktop-mock {
    width: 92%;
    top: 10px;
  }

  .mock-screen {
    height: 210px;
  }

  .mock-message {
    left: 16px;
    bottom: 18px;
    padding: 14px 16px;
    font-size: 13px;
  }

  .phone-mock {
    width: 108px;
    height: 210px;
    right: 0;
  }

  .section {
    padding: 66px 0;
  }

  .works-grid {
    gap: 18px;
  }

  .work-card {
    grid-template-columns: 1fr;
  }

  .work-img {
    min-height: 190px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-card {
    padding: 26px 18px;
  }
}
