@media (max-width: 1199.98px) {
  .hero-split {
    min-height: 640px;
  }

  .hero-rail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  :root {
    --header-h: 84px;
  }

  .header .logo-img {
    height: 56px;
  }

  .header-actions {
    display: none;
  }

  .hero-section--split {
    padding: 12px 0 20px;
  }

  .hero-split {
    grid-template-columns: 1fr;
    min-height: 0;
    width: min(100% - 24px, 1280px);
  }

  .hero-media {
    min-height: 360px;
    border-radius: 18px;
  }

  .hero-section .heroSwiper,
  .hero-section .swiper-wrapper,
  .hero-section .swiper-slide {
    height: 360px;
    min-height: 360px;
  }

  .hero-panel {
    border-radius: 18px;
  }

  .hero-panel-inner {
    padding: 22px 18px 16px;
  }

  .hero-panel-slides {
    position: relative;
    min-height: 0;
  }

  .hero-content {
    position: relative;
    inset: auto;
    display: none;
    transform: none;
  }

  .hero-content.active {
    display: block;
  }

  .hero-content h1 {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .hero-lead {
    -webkit-line-clamp: 4;
    line-clamp: 4;
  }

  .hero-rail {
    grid-template-columns: 1fr 1fr;
    max-height: 180px;
    overflow-y: auto;
  }

  .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 {
    grid-template-columns: 1fr;
    padding: 26px 22px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer {
    padding-top: 40px;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  :root {
    --header-h: 76px;
  }

  .header .logo-img {
    height: 48px;
  }

  .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,
  .hero-media {
    min-height: 280px;
    height: 280px;
  }

  .hero-rail {
    grid-template-columns: 1fr;
  }

  .hero-media-controls {
    inset-inline-start: 12px;
    bottom: 12px;
  }

  .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;
  }
}
