/* ===================================================================
   RESPONSIVE OVERRIDES
   Mobile-first content already works at any width via fluid clamp()
   sizing in styles.css; the breakpoints below handle structural
   changes — grid collapses, the mobile nav panel, and spacing/tap
   target adjustments that a simple reflow can't provide.
   =================================================================== */

/* ---------- Large desktop refinement ---------- */
@media (min-width: 1600px) {
  :root {
    --container-width: 1360px;
  }
}

/* ---------- Desktop / small-laptop ---------- */
@media (max-width: 1180px) {
  .nav-list {
    gap: 1.5rem;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-nav {
    display: block;
    position: fixed;
    top: var(--header-height-scrolled);
    left: 0;
    right: 0;
    background: rgba(18, 16, 13, 0.98);
    backdrop-filter: blur(10px);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-medium) var(--ease-standard);
    z-index: 499;
  }

  .mobile-nav.is-open {
    max-height: 640px;
  }

  .mobile-nav-list {
    padding: 1.5rem 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }

  .mobile-nav-link {
    display: block;
    padding: 0.9rem 0;
    font-size: 1.05rem;
    color: var(--color-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-nav-cta {
    margin-top: 0.75rem;
    color: var(--color-primary);
    font-weight: 600;
    border-bottom: none;
  }

  .header-actions .btn-primary.btn-small {
    display: none;
  }

  .site-header {
    height: var(--header-height-scrolled);
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-quote {
    padding-left: 1.25rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .opportunities-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 2.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
  .container {
    padding-inline: 1.25rem;
  }

  .header-inner {
    padding-inline: 1.25rem;
  }

  .hero {
    min-height: 100svh;
    align-items: flex-end;
  }

  .hero-content {
    padding: 0 1.25rem 3.5rem;
  }

  .hero-headline {
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding-block: 3.5rem;
  }

  .section-heading {
    margin-bottom: 2.25rem;
  }

  .approach-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .contact-form {
    padding: 1.75rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .brand-name-main {
    font-size: 0.92rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }
}
