/* ==========================================================================
   VORTEX HEAVY DYNAMICS // GLOBAL LOGISTICS & ADVANCED MANUFACTURING
   RESPONSIVE STYLESHEET (responsive.css)
   Clean Adaptability across Desktop, Tablet, Mobile & Small Screens
   ========================================================================== */

/* --- LARGE SCREENS (Above 1600px) --- */
@media (min-width: 1600px) {
  :root {
    --container-max: 1840px;
  }
}

/* --- STANDARD LAPTOP / DESKTOP (1200px - 1440px) --- */
@media (max-width: 1440px) {
  .hero-headline {
    font-size: clamp(2.8rem, 7.2vw, 7.5rem);
  }

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

/* --- SMALL DESKTOP / TABLET LANDSCAPE (992px - 1199px) --- */
@media (max-width: 1199px) {
  :root {
    --header-height: 76px;
    --header-height-scrolled: 68px;
  }

  .main-nav {
    display: none; /* Switch to hamburger menu */
  }

  .header-telemetry {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

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

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

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

  .col-span-8,
  .col-span-7,
  .col-span-6,
  .col-span-5,
  .col-span-4 {
    grid-column: span 12;
  }

  .editorial-card-img-wrap {
    height: 320px;
  }

  .gallery-item.span-7,
  .gallery-item.span-5,
  .gallery-item.span-4,
  .gallery-item.span-8,
  .gallery-item.span-6 {
    grid-column: span 6;
  }

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

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

  .contact-channels-grid {
    grid-template-columns: 1fr;
  }

  .contact-primary-panel,
  .contact-sidebar-panel {
    grid-column: span 12;
  }
}

/* --- TABLET PORTRAIT (768px - 991px) --- */
@media (max-width: 991px) {
  .section {
    padding: clamp(4rem, 8vw, 6rem) 0;
  }

  .hero-headline {
    font-size: clamp(2.4rem, 7.5vw, 5.5rem);
    letter-spacing: -1px;
  }

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

  .gallery-item {
    height: 340px;
    grid-column: span 1 !important;
  }

  .brochure-section {
    padding: 2.5rem 1.75rem;
  }

  .brochure-specs-list {
    grid-template-columns: 1fr;
  }

  .social-links-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- MOBILE PHABLET / LANDSCAPE (576px - 767px) --- */
@media (max-width: 767px) {
  :root {
    --header-height: 70px;
    --header-height-scrolled: 64px;
    --container-pad: 1.25rem;
  }

  .logo-img {
    height: 36px;
  }

  .btn-brochure-nav span.brochure-text-full {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 3.5rem;
  }

  .hero-headline {
    font-size: clamp(2.2rem, 9.5vw, 4rem);
    line-height: 1;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

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

  .process-stepper {
    grid-template-columns: 1fr;
  }

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

  .gallery-item {
    height: 280px;
  }

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

  .brochure-actions .btn {
    width: 100%;
    text-align: center;
  }

  .final-cta-title {
    font-size: clamp(2.4rem, 8.5vw, 4.2rem);
  }

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

  .final-cta-actions .btn {
    width: 100%;
  }

  .contact-huge-title {
    font-size: clamp(2.4rem, 10vw, 4.5rem);
  }

  .contact-card {
    padding: 1.75rem 1.25rem;
  }

  .map-embed-frame {
    height: 320px;
  }

  .back-to-top-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
  }
}

/* --- SMALL MOBILE PHONES (Below 420px) --- */
@media (max-width: 420px) {
  .section-title {
    font-size: 2.2rem;
  }

  .hero-headline {
    font-size: 2rem;
  }

  .btn {
    padding: 14px 22px;
    font-size: 0.85rem;
  }

  .stat-number-wrap {
    font-size: 2.8rem;
  }

  .brochure-preview-card {
    padding: 1.5rem 1rem;
  }
}

/* --- TOUCH DEVICES & COARSE POINTERS --- */
@media (hover: none), (pointer: coarse) {
  .custom-cursor,
  .custom-cursor-follower {
    display: none !important;
  }

  body {
    cursor: auto !important;
  }

  a, button {
    cursor: pointer !important;
  }
}
