/* ==========================================================================
   ORMONDFELL — RESPONSIVE DESIGN & MEDIA QUERIES (responsive.css)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Large Screens (>= 1440px)
   -------------------------------------------------------------------------- */
@media (min-width: 1440px) {
  .hero-home__content {
    max-width: 920px;
  }
}

/* --------------------------------------------------------------------------
   Medium Desktop & Tablets Landscape (<= 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

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

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

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* --------------------------------------------------------------------------
   Tablets & Mobile Portrait (<= 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --header-height: var(--header-height-mobile);
    --space-4xl: 4.5rem;
    --space-5xl: 5.5rem;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

  .process-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

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

  .form-group--full {
    grid-column: span 1;
  }

  .hero-home {
    min-height: 75vh;
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 3.5rem;
  }

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

  .hero-home__actions .btn {
    width: 100%;
  }

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

  .cta-banner__actions .btn {
    width: 100%;
  }

  .filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.75rem;
    -webkit-overflow-scrolling: touch;
  }

  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
  }
}

/* --------------------------------------------------------------------------
   Small Mobile Devices (<= 374px)
   -------------------------------------------------------------------------- */
@media (max-width: 374px) {
  .brand {
    font-size: 1.15rem;
    gap: 0.5rem;
  }

  .brand__symbol {
    width: 26px;
    height: 26px;
  }

  .service-card,
  .industry-card__body,
  .inquiry-form {
    padding: 1.25rem;
  }
}

/* --------------------------------------------------------------------------
   Accessibility: Reduced Motion Preference
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   Print Stylesheet
   -------------------------------------------------------------------------- */
@media print {
  .site-header,
  .mobile-nav,
  .mobile-nav__overlay,
  .back-to-top,
  .filter-bar,
  .cta-banner__actions {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #666;
  }
}
