@media (max-width: 1100px) {
  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 0.72rem;
  }

  .header-quote {
    display: none;
  }

  .product-grid,
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-grid {
    grid-template-columns: 1.25fr repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  :root {
    --nav-height: 76px;
  }

  .section {
    padding: 85px 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    align-items: stretch;
    background: rgba(6, 22, 41, 0.985);
    display: flex;
    flex-direction: column;
    gap: 0;
    inset: var(--nav-height) 0 auto 0;
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    position: fixed;
    transition: max-height 0.42s ease, padding 0.42s ease;
  }

  .nav-links.is-open {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
    padding: 20px;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links a {
    display: block;
    font-size: 0.86rem;
    padding: 15px 6px;
  }

  .nav-links a::after {
    display: none;
  }

  .hero__scroll {
    display: none;
  }

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

  .stat:nth-child(2)::after {
    display: none;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .split,
  .split--reverse,
  .quality-layout,
  .contact-grid {
    gap: 65px;
    grid-template-columns: 1fr;
  }

  .split--reverse .media-frame {
    order: 2;
  }

  .quality-visual {
    max-height: 520px;
    min-height: 0;
  }

  .process-flow {
    gap: 24px 8px;
    grid-template-columns: repeat(4, 1fr);
  }

  .process-flow::before {
    display: none;
  }

  .process-row,
  .process-row:nth-child(even) {
    gap: 35px;
    grid-template-columns: 0.65fr 1.35fr;
    margin-bottom: 35px;
  }

  .process-row:nth-child(even) .process-row__visual {
    order: 0;
  }

  .gallery-item,
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(7) {
    grid-column: span 6;
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(6) {
    grid-column: span 12;
    grid-row: span 2;
  }

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

@media (max-width: 700px) {
  :root {
    --container: min(100% - 30px, 1180px);
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
    margin-bottom: 36px;
  }

  .brand__text {
    font-size: 0.78rem;
  }

  .hero {
    background-position: 60% center;
    min-height: 920px;
    padding-top: 125px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 14vw, 4.6rem);
  }

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

  .hero__actions .btn {
    width: 100%;
  }

  .hero__trust {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .stats {
    margin-top: -42px;
  }

  .stat {
    padding: 26px 18px;
  }

  .stat__label {
    font-size: 0.65rem;
  }

  .media-frame__badge {
    bottom: 20px;
    left: -5px;
    min-height: 110px;
    width: 145px;
  }

  .media-frame::before {
    display: none;
  }

  .checks--two,
  .product-grid,
  .card-grid,
  .industry-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-detail__visual,
  .product-detail__visual img {
    min-height: 380px;
  }

  .product-card__body h3,
  .product-card__body p {
    min-height: 0;
  }

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

  .process-step__number {
    height: 58px;
    width: 58px;
  }

  .process-row,
  .process-row:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .process-row__visual {
    min-height: 160px;
  }

  .page-hero {
    min-height: 500px;
    padding: 150px 0 75px;
  }

  .page-hero h1 {
    font-size: clamp(2.75rem, 14vw, 4.2rem);
  }

  .cta-band {
    padding: 45px 28px;
  }

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

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

  .timeline-item {
    gap: 35px;
    grid-template-columns: 60px 1fr;
  }

  .timeline-item__body::before {
    left: -42px;
  }

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

  .filter-buttons {
    flex-wrap: nowrap;
    margin-inline: -15px;
    overflow-x: auto;
    padding: 0 15px 8px;
  }

  .filter-btn {
    flex: 0 0 auto;
  }

  .search-box {
    max-width: none;
  }

  .modal__dialog {
    display: block;
    overflow-y: auto;
  }

  .modal__image {
    height: 260px;
  }

  .modal__content {
    overflow-y: visible;
    padding: 30px 24px;
  }

  .gallery-grid {
    display: grid;
    grid-auto-rows: 250px;
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item:nth-child(n) {
    grid-column: 1;
    grid-row: auto;
  }

  .lightbox {
    padding: 70px 20px;
  }

  .lightbox__nav {
    bottom: 16px;
    top: auto;
    transform: none;
  }

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

  .form-field--full {
    grid-column: auto;
  }

  .contact-form {
    padding: 28px 20px;
  }

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

  .form-actions .btn {
    width: 100%;
  }

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .floating-whatsapp {
    border-radius: 50%;
    bottom: 18px;
    font-size: 0;
    height: 52px;
    padding: 0;
    right: 18px;
    width: 52px;
  }

  .floating-whatsapp__icon {
    border: 0;
    font-size: 0.75rem;
    height: auto;
    width: auto;
  }

  .back-to-top {
    bottom: 80px;
    right: 22px;
  }
}

@media (max-width: 420px) {
  .brand__text small {
    display: none;
  }

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

  .stat {
    border-bottom: 1px solid var(--line);
  }

  .stat::after {
    display: none;
  }

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

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

  .category-directory__links a {
    text-align: center;
  }

  .product-detail__visual,
  .product-detail__visual img {
    min-height: 300px;
  }

  .product-specs li {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .product-specs strong {
    max-width: none;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
