/* ==========================================================================
   LIFTORES — Responsive Rules
   Breakpoints: 1440 / 1200 / 992 / 768 / 576 / 375
   ========================================================================== */

/* ----- 1440px: comfortable max-width, no changes needed beyond container ----- */
@media (max-width: 1440px) {
  .container {
    max-width: 1180px;
  }
}

/* ----- 1200px: tighten hero + grids slightly ----- */
@media (max-width: 1200px) {
  :root {
    --space-3xl: 6.5rem;
    --space-2xl: 5rem;
  }

  .hero-inner {
    gap: var(--space-xl);
  }

  .stats-grid {
    gap: var(--space-md);
  }
}

/* ----- 992px: collapse to single-column nav-adjacent layouts ----- */
@media (max-width: 992px) {
  .primary-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-visual {
    order: -1;
    max-width: 340px;
    margin-inline: auto;
  }

  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-visual {
    order: 0;
  }

  .split-visual {
    max-width: 480px;
    margin-inline: auto;
    width: 100%;
  }

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

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

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

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

/* ----- 768px: tablet ----- */
@media (max-width: 768px) {
  :root {
    --space-3xl: 5rem;
    --space-2xl: 3.5rem;
    --header-h: 72px;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg) var(--space-md);
  }

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

  .process-item {
    grid-template-columns: 52px 1fr;
  }

  .cta-band {
    padding: var(--space-xl) var(--space-md);
  }
}

/* ----- 576px: mobile ----- */
@media (max-width: 576px) {
  .container {
    padding-inline: var(--space-sm);
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

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

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

  .btn {
    width: 100%;
  }

  .cta-band .btn-row {
    align-items: stretch;
  }

  .section-head h2 {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .spec-strip {
    gap: var(--space-md);
  }
}

/* ----- 375px: small phones ----- */
@media (max-width: 375px) {
  :root {
    --space-lg: 1.75rem;
    --space-xl: 2.75rem;
  }

  .brand img {
    height: 34px;
  }

  .blueprint-card {
    padding: var(--space-md);
  }

  .form-card {
    padding: var(--space-md);
  }

  .hero-copy > p {
    font-size: 1rem;
  }
}

/* ----- Landscape tweak for short mobile viewports ----- */
@media (max-height: 480px) and (orientation: landscape) {
  .mobile-nav {
    justify-content: flex-start;
    padding-top: calc(var(--header-h) + var(--space-md));
    overflow-y: auto;
  }

  .mobile-nav ul {
    gap: var(--space-md);
  }

  .mobile-nav a {
    font-size: 1.4rem;
  }
}
