@media (max-width: 1023px) {
  .hero-grid,
  .differentials-grid,
  .contact-grid,
  .section-heading-split,
  .footer-grid,
  .page-hero-inner,
  .content-grid,
  .feature-list,
  .related-links,
  .contact-data-grid {
    grid-template-columns: 1fr;
  }

  .section-heading-split {
    display: grid;
    align-items: start;
  }

  .section-heading p,
  .contact-copy p {
    max-width: 100%;
  }

  .hero-cards {
    display: none;
  }

  .differentials-aside {
    position: static;
  }

  .footer-grid {
    gap: 40px;
  }

  .page-hero {
    padding: 72px 0 40px;
  }

  .page-hero-panel {
    padding: 22px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 88px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 32px);
    padding-bottom: 64px;
  }

  .hero-line {
    display: none;
  }

  .hero-accent-base,
  .hero-accent-overlay {
    width: 60%;
  }

  .hero-stats {
    gap: 24px;
  }

  .section-dark,
  .differentials {
    padding: 72px 0;
  }

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

  .section-heading-split {
    gap: 16px;
  }

  .site-footer {
    padding: 48px 0 32px;
  }

  .page-main {
    padding-top: 96px;
  }

  .page-section {
    padding: 72px 0;
  }

  .differential-item {
    gap: 16px;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .site-header {
    padding: 14px 0;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
  }

  .brand-text {
    font-size: 1.1rem;
  }

  .hero-copy h1 {
    font-size: 3rem;
    margin-bottom: 24px;
  }

  .hero-description {
    margin-bottom: 32px;
  }

  .hero-description,
  .differentials-aside p,
  .contact-copy p {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions > a:first-child {
    width: 100%;
  }

  .hero-actions > a:first-child .button {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    margin-top: 42px;
    padding-top: 28px;
  }

  .contact-card,
  .service-card,
  .growth-card {
    padding: 20px;
  }

  .section-heading,
  .growth-card-head {
    margin-bottom: 42px;
  }

  .section-heading {
    margin-bottom: 48px;
  }

  .growth-card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .differential-item {
    flex-direction: column;
    gap: 12px;
    padding: 28px 0;
  }

  .differential-item > span {
    font-size: 2.8rem;
  }

  .footer-bottom,
  .footer-bottom div {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    gap: 12px;
  }
}

@media (max-width: 479px) {
  .hero-copy h1 {
    font-size: 2.55rem;
  }

  .hero-description,
  .differentials-aside p,
  .contact-copy p {
    font-size: 1rem;
  }

  .hero-stats {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    justify-content: space-between;
  }

  .stat strong {
    font-size: 1.85rem;
  }

  .stat span {
    font-size: 0.72rem;
  }
}
