/* ==========================================================================
   QUICK TURN AUTO KEYS — RESPONSIVE OVERRIDES
   Page-level and cross-cutting breakpoint adjustments not owned by a
   single component file.
   ========================================================================== */

/* Prevent any accidental horizontal overflow site-wide */
html,
body {
  max-width: 100vw;
}

img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 1080px) {
  .cta-band .container {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

@media (max-width: 920px) {

  /* Ensure grids collapse properly */
  .service-card-grid,
  .mfr-grid,
  .wcu-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 680px) {
  .hero {
    padding: 40px 0 56px;
  }

  .hero-ctas {
    flex-direction: column;
  }

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

  .hero-contact-strip {
    flex-direction: column;
    gap: 14px;
  }

  .cta-band .container {
    flex-direction: column;
    text-align: center;
  }

  .cta-band-actions {
    width: 100%;
    flex-direction: column;
  }

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

  .split-copy .hero-ctas,
  .split-copy .btn {
    width: 100%;
  }

  .floating-wa {
    bottom: 16px !important;
    right: 16px !important;
    width: 48px !important;
    height: 48px !important;
  }

  .floating-wa svg {
    width: 24px !important;
    height: 24px !important;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 32px !important;
    letter-spacing: -0.005em;
    line-height: 1.2;
  }

  h2 {
    font-size: 26px !important;
    line-height: 1.25;
  }

  .quote-form {
    padding: 22px 16px;
  }

  .service-card-body {
    padding: 18px;
  }

  .floating-wa {
    bottom: 12px !important;
    right: 12px !important;
    width: 44px !important;
    height: 44px !important;
  }

  .floating-wa svg {
    width: 22px !important;
    height: 22px !important;
  }
}

/* Very small phone (≤360px): let the logo lockup shrink so nothing wraps */
@media (max-width: 360px) {
  .site-header .container {
    height: auto;
    min-height: 78px;
    padding: 12px var(--pad-480);
  }

  .brand-word {
    font-size: 15px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-call {
    display: none;
  }

  /* Hide phone number text to save space on tiny screens */
}