@media (max-width: 1199.98px) {
  .hero-section {
    height: min(100vh, 820px);
  }
}

@media (max-width: 991.98px) {
  :root {
    --header-h: 86px;
  }

  .header .logo-img {
    height: 58px;
  }

  .header-actions {
    display: none;
  }

  .header .navbar-nav {
    background: transparent;
    padding: 0;
  }

  .hero-section {
    height: auto;
    min-height: 0;
  }

  .hero-section .heroSwiper {
    flex: none;
    height: auto;
  }

  .hero-section .swiper-wrapper,
  .hero-section .swiper-slide {
    height: auto;
  }

  .hero-slide-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 260px auto;
    height: auto;
  }

  .hero-copy {
    padding: 24px 20px 20px;
    align-items: flex-start;
    height: auto;
    order: 2;
  }

  .hero-media {
    order: 1;
    height: 260px;
  }

  .hero-content h1 {
    max-width: none;
    font-size: clamp(2.1rem, 9vw, 3.2rem);
  }

  .hero-lead {
    -webkit-line-clamp: 3;
  }

  .hero-dock {
    padding: 12px;
  }

  .hero-dock-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-controls {
    justify-content: space-between;
  }

  .hero-pager {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .about-section,
  .about-intro-section,
  .products-section,
  .products-page-section,
  .why-section,
  .contact-section,
  .details-section {
    padding: 72px 0;
  }

  .why-layout,
  .story-block,
  .story-block--reverse,
  .about-spotlight {
    grid-template-columns: 1fr;
    direction: rtl;
  }

  [dir="ltr"] .story-block--reverse {
    direction: ltr;
  }

  .about-spotlight {
    gap: 18px;
  }

  .about-spotlight__media {
    min-height: 280px;
    height: 280px;
  }

  .about-spotlight__panel {
    padding: 28px 22px;
  }

  .about-metrics {
    grid-template-columns: 1fr;
  }

  .why-head {
    max-width: none;
  }

  .why-visual-card {
    min-height: 280px;
    height: 280px;
  }

  .why-list {
    grid-template-columns: 1fr;
  }

  .why-feature-card {
    padding: 18px 16px;
  }

  .about-pills,
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-head--center {
    align-items: center;
  }

  .section-title {
    max-width: none;
  }

  .contact-channels {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top,
  .footer-contacts,
  .footer-navs {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer {
    padding-top: 36px;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  :root {
    --header-h: 78px;
  }

  .header .logo-img {
    height: 50px;
  }

  .hero-pages {
    padding: calc(var(--header-h) + 32px) 0 32px;
  }

  .hero-pages h1 {
    font-size: 1.9rem;
  }

  .hero-section .heroSwiper,
  .hero-section .swiper-wrapper,
  .hero-section .swiper-slide {
    min-height: 0;
  }

  .hero-slide-grid {
    grid-template-rows: 220px auto;
  }

  .hero-media {
    height: 220px;
  }

  .hero-copy {
    padding: 20px 16px 16px;
  }

  .about-section,
  .about-intro-section,
  .products-section,
  .products-page-section,
  .why-section,
  .contact-section,
  .details-section {
    padding: 52px 0;
  }

  .product-bento > :nth-child(n) {
    grid-column: span 12;
  }

  .product-cat-card {
    min-height: 280px;
  }

  .service-tile__media {
    height: 190px;
  }

  .about-pills,
  .service-grid,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .why-feature-card {
    padding: 16px 0;
  }

  .contact-card-form {
    padding: 24px 18px;
  }

  .contact-channels {
    grid-template-columns: 1fr;
  }

  .contact-submit-button,
  .btn-learn-more-creative,
  .btn-hero-outline {
    width: 100%;
    justify-content: center;
  }

  .story-photo,
  .why-visual-card {
    height: 240px;
  }

  .footer-contacts,
  .footer-navs {
    grid-template-columns: 1fr;
  }

  .footer-cta-btn {
    width: 100%;
    justify-content: center;
  }

  .details-body {
    padding: 1.3rem;
  }
}
