@media (max-width: 1200px) {
  .grid--4,
  .segments-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .site-footer__col:nth-child(4) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1024px) {
  .services-grid,
  .feature-grid,
  .split,
  .contact-grid,
  .solutions-ia__grid,
  .cta__inner,
  .cases-grid,
  .blog-grid,
  .reasons-grid,
  .testimonials-grid,
  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr 1fr;
  }

  .split__media {
    aspect-ratio: auto;
  }

  .client-logo {
    width: 150px;
    height: 85px;
  }

  .section-header h2 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 68px;
  }

  .section {
    padding-block: var(--sp-8);
  }

  .section-header h2 {
    font-size: var(--fs-xl);
  }

  .grid--4,
  .grid--3,
  .grid--2,
  .services-grid,
  .feature-grid,
  .split,
  .contact-grid,
  .solutions-ia__grid,
  .cta__inner,
  .cases-grid,
  .blog-grid,
  .reasons-grid,
  .testimonials-grid,
  .segments-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero__title {
    font-size: clamp(2.1rem, 8vw, 3rem);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__proof {
    flex-direction: column;
    gap: var(--sp-3);
  }

  .cta__card {
    padding: var(--sp-6);
  }

  .timeline::before {
    left: 23px;
  }

  .timeline__item {
    grid-template-columns: 48px 1fr;
  }

  .timeline__num {
    width: 48px;
    height: 48px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }

  .site-footer__col:nth-child(4) {
    grid-column: auto;
  }

  .error-page__actions {
    flex-direction: column;
  }

  .client-logo {
    width: 130px;
    height: 70px;
  }

  .section--clients {
    padding-block: var(--sp-6);
  }

  .hero {
    min-height: 90svh;
  }

  .hero__content h1 {
    font-size: var(--fs-2xl);
  }

  .hero__content p {
    font-size: var(--fs-base);
  }

  .section-header {
    margin-bottom: var(--sp-6);
  }
}

@media (max-width: 640px) {
  .hero__proof-item {
    font-size: var(--fs-xs);
  }

  .hero__badge {
    font-size: 0.65rem;
  }

  .client-logo {
    width: 110px;
    height: 60px;
    padding: var(--sp-2) var(--sp-3);
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 1.25rem;
  }

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

  .split--reverse .split__media {
    order: 0;
  }

  .clients-carousel__track {
    gap: var(--sp-3);
  }
}

@media (max-width: 375px) {
  .site-header__logo-img {
    width: 120px;
  }

  .hero__actions {
    gap: var(--sp-3);
  }

  .hero__actions .btn {
    font-size: var(--fs-sm);
    padding: 0.75rem 1.5rem;
  }

  .client-logo {
    width: 100px;
    height: 55px;
    padding: var(--sp-1) var(--sp-2);
  }
}

@media (min-width: 1921px) {
  .container--wide {
    max-width: 1600px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__glow {
    display: none;
  }

  .hero__scroll {
    animation: none;
  }

  .hero__badge-dot {
    animation: none;
  }
}