@media (max-width: 1199.98px) {
  .hero-section .heroSwiper,
  .hero-section .swiper-wrapper,
  .hero-section .swiper-slide {
    height: min(86vh, 740px);
  }
}

@media (max-width: 991.98px) {
  :root {
    --header-h: 84px;
  }

  .header .logo-img {
    height: 60px;
  }

  .header-actions {
    display: none;
  }

  .hero-section .heroSwiper,
  .hero-section .swiper-wrapper,
  .hero-section .swiper-slide {
    height: auto;
    min-height: 640px;
  }

  .hero-copy {
    padding-bottom: 150px;
    align-items: flex-end;
  }

  .hero-content h1 {
    max-width: none;
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .hero-lead {
    -webkit-line-clamp: 3;
  }

  .hero-dock-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-pager {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .hero-pager-label {
    white-space: nowrap;
  }

  .about-section,
  .about-intro-section,
  .products-section,
  .products-page-section,
  .why-section,
  .contact-section,
  .details-section {
    padding: 64px 0;
  }

  .why-layout,
  .contact-grid,
  .story-block,
  .story-block--reverse,
  .about-spotlight {
    grid-template-columns: 1fr;
    direction: rtl;
  }

  [dir="ltr"] .story-block--reverse {
    direction: ltr;
  }

  .about-spotlight__media {
    min-height: 280px;
    height: 280px;
  }

  .about-spotlight__panel {
    padding: 28px 22px;
  }

  .about-metrics,
  .about-pills,
  .service-grid,
  .why-list {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-head--center {
    align-items: center;
  }

  .section-title {
    max-width: none;
  }

  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }

  .footer {
    padding-top: 48px;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .footer-bottom-contacts {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  :root {
    --header-h: 76px;
  }

  .header .logo-img {
    height: 52px;
  }

  .hero-pages {
    padding: calc(var(--header-h) + 28px) 0 28px;
  }

  .hero-pages h1 {
    font-size: 1.9rem;
  }

  .hero-section .heroSwiper,
  .hero-section .swiper-wrapper,
  .hero-section .swiper-slide {
    min-height: 580px;
  }

  .about-section,
  .about-intro-section,
  .products-section,
  .products-page-section,
  .why-section,
  .contact-section,
  .details-section {
    padding: 48px 0;
  }

  .product-bento > :nth-child(n) {
    grid-column: span 12;
  }

  .product-cat-card {
    min-height: 280px;
  }

  .service-tile__media {
    height: 180px;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .why-feature-card {
    padding: 18px 14px;
  }

  .contact-card-info,
  .contact-card-form {
    padding: 28px 18px;
  }

  .contact-submit-button,
  .btn-learn-more-creative,
  .btn-hero-outline {
    width: 100%;
    justify-content: center;
  }

  .story-photo,
  .why-visual-card {
    height: 240px;
  }

  .footer-cta h2 {
    font-size: 1.5rem;
  }

  .footer-cta-btn {
    width: 100%;
    justify-content: center;
  }

  .details-body {
    padding: 1.3rem;
  }
}
