/* ─────────────────────────────────────────────────────────
   RESPONSIVE — all media queries (mobile / tablet)
   Load this LAST so its overrides win.
   ───────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .hero-tiles {
    opacity: 0.16;
    transform: scale(0.9);
    transform-origin: top right;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-logo-img { height: 28px; }

  .cases-grid,
  .knowledge-grid {
    grid-template-columns: 1fr 1fr;
  }

  .guide-card {
    grid-template-columns: 1fr;
  }

  .guide-right {
    justify-content: flex-start;
    padding: 0 48px 48px;
  }

  .why-circles {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-top {
    gap: 40px;
  }

  .footer-nav {
    gap: 40px;
  }

  .footer-logo-image {
    width: 220px;
  }

  .footer-tagline {
    font-size: 15px;
    max-width: 100%;
  }
}

@media (max-width: 700px) {
  .hero {
    height: 100svh;
    min-height: 560px;
  }

  .hero-content {
    bottom: 140px;
  }

  .hero-chapters {
    grid-template-columns: repeat(2, 1fr);
    bottom: 48px;
    gap: 4px 0;
  }

  .hero-chapter {
    padding: 10px 16px 10px 0;
  }

  .chapter-label {
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .hero-headline {
    font-size: clamp(36px, 10vw, 60px);
    letter-spacing: -0.055em;
    line-height: 0.88;
  }

  .why {
    padding-top: 72px;
  }

  .dark-divider {
    height: 100px;
  }
}

@media (max-width: 600px) {
  .cases-grid,
  .knowledge-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    padding: 56px 24px 32px;
    min-height: 0;
  }

  .footer-top {
    flex-direction: column;
    gap: 36px;
    margin-bottom: 40px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 28px;
  }

  .footer-logo-image {
    width: 180px;
  }

  .footer-tagline {
    font-size: 14px;
    line-height: 1.65;
    margin-top: 16px;
    max-width: 100%;
  }

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

  .footer-legal {
    gap: 14px;
  }

  /* smooth single gradient on narrow screens — no visible band edges */
  .site-footer {
    background:
      linear-gradient(175deg,
        #EA6525 0%,
        #c4501a 28%,
        #6b2208 58%,
        #1a0800 80%,
        #000000 100%
      );
  }
}
