/* Breakpoints: 1280px, 1100px, 900px, 768px, 600px, 420px */

@media (max-width: 1280px) {
  .hero::after {
    inset: 8% 3%;
    top: 95px;
  }

  .section {
    padding-block: 3.5rem;
  }

  .service-section,
  .split-layout {
    gap: 1.5rem;
  }
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    text-align: center;
  }

  .hero::after {
    inset: 7% 2%;
    top: 95px;
}

  .badges,
  .metrics-grid {
    justify-content: center;
  }

  .timeline {
    margin-top: 2.5rem;
  }

  .service-section:nth-child(even) .service-visual {
    order: initial;
  }
}

@media (max-width: 900px) {
  nav {
    background: rgba(6, 24, 15, 0.92);
    backdrop-filter: blur(10px);
  }

  .hero::after {
    inset: 4% 4.5%;
    top: 95px;
  }

  .nav-links {
    position: fixed;
    flex-direction: column;
    background: rgba(4, 12, 9, 0.98);
    padding: 2rem;
    transform: translateY(-120%);
    transition: var(--transition-base);
    gap: 1rem;
  }

  .nav-links.open {
    transform: translateY(64%);
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .nav-cta {
    margin-top: 0.5rem;
    width: 100%;
    justify-content: center;
  }

  .split-layout,
  .service-section {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0.25rem 0 0 1rem;
    min-width: unset;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .hero::after {
    inset: 3.5% 3.5%;
  top: 95px;
  }


  .hero .chip,
  .section-heading span {
    display: inline-block;
    margin-bottom: 0.4rem;
  }

  .cards-grid,
  .contact-grid,
  .grid-two,
  .grid-three,
  .locations-gallery {
    grid-template-columns: 1fr;
  }

  .location-map-preview {
    aspect-ratio: 16/9;
  }

  .testimonial {
    padding: 1.5rem;
  }

  .slider-controls {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 0.95rem;
  }

  .hero {
    padding-top: calc(var(--header-height) + 1.5rem);
  }

  .hero::after {
    inset: 2.6% 2.2%;
    top: 95px;   
  }

  .badge {
    width: 100%;
    justify-content: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .timeline {
    padding-left: 1.25rem;
  }

  .map-placeholder {
    min-height: 220px;
  }
}

@media (max-width: 420px) {
  .hero::after {
    inset: 1.8% 1.2%;
    top: 95px;  
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .section-heading h2 {
    font-size: 1.9rem;
  }

  .testimonial strong,
  .tagline {
    font-size: 1rem;
  }

  .scroll-indicator {
    right: 1rem;
    bottom: 1rem;
    width: 44px;
    height: 44px;
  }
}
