/* ==========================================================================
   MARSHALL TRADE SERVICES PTY LTD — RESPONSIVE STYLESHEET
   Breakpoints: 1440px+, 1200px, 992px, 768px, 576px, 375px
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Large Desktop (1440px+)
   -------------------------------------------------------------------------- */
@media screen and (min-width: 1440px) {
  :root {
    --container-max: 1380px;
    --font-size-5xl: 4.25rem;
  }

  .hero {
    min-height: 88vh;
    padding: 11rem 0 6.5rem;
  }
}

/* --------------------------------------------------------------------------
   2. Desktop (max-width: 1200px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 1200px) {
  .nav-desktop {
    gap: 1.25rem;
  }

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

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

  .about-grid {
    gap: 2.5rem;
  }
}

/* --------------------------------------------------------------------------
   3. Laptop / Tablet Landscape (max-width: 992px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 992px) {
  /* Navigation Toggle Shift */
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-actions .header-phone-link {
    display: none;
  }

  /* Layout Adjustments */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-form-card {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

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

  .about-content {
    padding-left: 0;
  }

  .about-accent-badge {
    right: 1rem;
    bottom: -1.5rem;
  }

  .roof-showcase-grid {
    grid-template-columns: 1fr;
  }

  .roof-showcase-media {
    min-height: 340px;
  }

  .roof-showcase-content {
    padding: 3rem 2rem;
  }

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

  .sector-card {
    height: 380px;
  }

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

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

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

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

  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

/* --------------------------------------------------------------------------
   4. Tablet Portrait (max-width: 768px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  :root {
    --space-4xl: 4rem;
    --space-3xl: 3rem;
    --container-padding: 1.25rem;
  }

  .hero {
    min-height: auto;
    padding: 8rem 0 4rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .trust-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

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

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

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

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

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

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

  .form-card {
    padding: 2rem 1.5rem;
  }

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

  .cta-banner {
    padding: 3rem 1.75rem;
  }

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

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

  .about-feature-list {
    grid-template-columns: 1fr;
  }

  .service-offerings-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   5. Mobile Landscape / Large Mobile (max-width: 576px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 576px) {
  .logo-img {
    height: 44px;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-input-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .hero-form-card {
    padding: 1.6rem 1.25rem;
  }

  .hero-direct-call {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .hero-call-divider {
    display: none;
  }

  .hero-slider-nav {
    flex-wrap: wrap;
    gap: 0.85rem;
  }

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

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

  .trust-items {
    grid-template-columns: 1fr;
  }

  .about-main-img {
    height: 380px;
  }

  .about-accent-badge {
    position: static;
    margin-top: 1.5rem;
    max-width: 100%;
  }

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

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

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

  .header-actions .btn-sm {
    padding: 0.45rem 0.85rem;
    font-size: 0.75rem;
  }
}

/* --------------------------------------------------------------------------
   6. Small Mobile (max-width: 375px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 375px) {
  .logo-img {
    height: 36px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.8rem;
  }

  .section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}
